From MediaWiki.org
Jump to navigation Jump to search
Available from version ??? (Gerrit change 47548)
Allow extensions to add libraries
Define function:
public static function onScribuntoExternalLibraries( $engine, &$libs ) { ... }
Attach hook:
$wgHooks['ScribuntoExternalLibraries'][] = 'MyExtensionHooks::onScribuntoExternalLibraries';
Called from:File(s): CommonTest.php
Function(s): setUp

For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:ScribuntoExternalLibraries extensions.


  • $engine String - script engine to use (e.g Lua)
  • &$libs Array - Libraries to load