Difference between revisions of "Sandbox"
From Mario Fan Games Galaxy Wiki
Retriever II (talk | contribs) |
|||
Line 3: | Line 3: | ||
<source lang="php"><?php | <source lang="php"><?php | ||
echo "IF YOU ARE SEEING THIS IN COLOUR THEN THE TEST WAS A SUCCESS"; | echo "IF YOU ARE SEEING THIS IN COLOUR THEN THE TEST WAS A SUCCESS"; | ||
+ | |||
+ | if( !defined( 'MEDIAWIKI' ) ) | ||
+ | die(); | ||
+ | |||
+ | $wgExtensionCredits['parserhook']['SyntaxHighlight_GeSHi'] = array( | ||
+ | 'path' => __FILE__, | ||
+ | 'name' => 'SyntaxHighlight', | ||
+ | 'author' => array( 'Brion Vibber', 'Tim Starling', 'Rob Church', 'Niklas Laxström' ), | ||
+ | 'description' => 'Provides syntax highlighting using [http://qbnz.com/highlighter/ GeSHi Highlighter]', | ||
+ | 'descriptionmsg' => 'syntaxhighlight-desc', | ||
+ | 'url' => 'http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi', | ||
+ | ); | ||
?> | ?> | ||
</source> | </source> |
Revision as of 04:26, 12 July 2009
This be a Wiki test page thing, as we lack one, and I don't want to test it on other people's pages anymore. It's closed to everyone who isn't a sysop or better, though I suppose you could use the chat page if you want to experiment with things.
<?php
echo "IF YOU ARE SEEING THIS IN COLOUR THEN THE TEST WAS A SUCCESS";
if( !defined( 'MEDIAWIKI' ) )
die();
$wgExtensionCredits['parserhook']['SyntaxHighlight_GeSHi'] = array(
'path' => __FILE__,
'name' => 'SyntaxHighlight',
'author' => array( 'Brion Vibber', 'Tim Starling', 'Rob Church', 'Niklas Laxström' ),
'description' => 'Provides syntax highlighting using [http://qbnz.com/highlighter/ GeSHi Highlighter]',
'descriptionmsg' => 'syntaxhighlight-desc',
'url' => 'http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi',
);
?>