(bug 7738) Add credits for Poem and ProofreadPage extensions.

This commit is contained in:
Aryeh Gregor 2006-10-29 21:41:25 +00:00
parent 71c6e7ab9c
commit eae035c8e3

View file

@ -19,6 +19,12 @@
# http://meta.wikimedia.org/wiki/Poem_Extension # http://meta.wikimedia.org/wiki/Poem_Extension
$wgExtensionFunctions[]="wfPoemExtension"; $wgExtensionFunctions[]="wfPoemExtension";
$wgExtensionCredits['parserhook'][] = array(
'name' => 'Cite',
'author' => 'Nikola Smolenski',
'description' => 'adds <nowiki><poem></nowiki> tag for poem formatting',
'url' => 'http://meta.wikimedia.org/wiki/Poem_Extension'
);
function wfPoemExtension() { function wfPoemExtension() {
$GLOBALS['wgParser']->setHook("poem","PoemExtension"); $GLOBALS['wgParser']->setHook("poem","PoemExtension");