DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:scriptheader

This is an old revision of the document!


scriptheader Plugin

Compatible with DokuWiki

2010-11-07

plugin Add script headers to each page rendered by DokuWiki

Last updated on
2011-01-30
Provides
Action

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

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

except [filepattern]

Change Log

  • 2011-01-30
    • Initial release

Known Bugs and Issues

None

Discussion

Your comments are welcome.

plugin/scriptheader.1296418283.txt.gz · Last modified: 2011-01-30 21:11 by sflitman

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