It's better when it's simple

User Tools

Site Tools


scriptheader Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" unknown

plugin Add script headers to each page rendered by DokuWiki

Last updated on

Tagged with header, script


:!: 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

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.


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
  • 2020-06-06
    • Updated compatibility to 2020-06-01rc2
  • 2023-07-02
    • Updated compatibility to 2023-04-04a

Known Bugs and Issues


Your comments are welcome.

plugin/scriptheader.txt · Last modified: 2023-10-31 01:01 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki