DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:scriptheader

scriptheader Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes

plugin Add script headers to each page rendered by DokuWiki

Last updated on
2011-01-30
Provides
Action

Tagged with header, script

Installation

:!: External requirements: This plugin requires the following additional components that must be installed separately:

  • A configuration file in your wiki's conf directory named scriptheader.conf which just lists one or more javascript source files. The file is in typical PHP conf format, using a numeric key followed by a space followed by a value which is a URL. Start with a / so you will have both http and https semantics in the rendered page, but do not rely on relative URLs.
0 /js/myjavascript.js
1 /js/anotherfile.js

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Usage

It automatically operates on all pages in the wiki unless you add the following to the .conf file:

except /filepattern/

Change Log

  • 2011-01-30
    • Initial release
  • 2015-09-20
    • Updated compatibility to 2015-08-10a

Known Bugs and Issues

  • 2011-06-25 Problem with download link, changed to .tar.gz

Discussion

Your comments are welcome.

plugin/scriptheader.txt · Last modified: 2015-09-20 22:13 by 68.104.206.74