Only you can help us build a free scout media repository!
Please create an account to start uploading your images now.

ScoutMedia:Implementing Scouting Dictionary

From ScoutMedia, the free scout media repository

To integrate Scouting Dictionary do this:

On server create file:


with this content:

  $wgExtensionFunctions[] = "wfScoutDict";

 function wfScoutDict() {
     global $wgParser;
     $wgParser->setHook( "scoutdict", "renderScoutDict" );

 # The callback function for converting the input text to HTML output
 function renderScoutDict( $input, $argv ) {
     # $argv is an array containing any arguments passed to the extension like <example argument="foo" bar>..
     $output .= file_get_contents("$input");
     return $output;

And add end of LocalSettings.php this content:

#Extension for Scouting Dictionary

To use Dictinary in pages use tag like this: