scriptheader Plugin

Compatible with DokuWiki

  • 2012-01-25 "Angua" yes
  • 2011-05-25 "Rincewind" yes
  • 2010-11-07 "Anteater" 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

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: 2012/02/12 01:41 by 68.3.82.251
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate