r17293 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17292‎ | r17293 | r17294 >
Date:21:41, 29 October 2006
Author:simetrical
Status:old
Tags:
Comment:
(bug 7738) Add credits for Poem and ProofreadPage extensions.
Modified paths:
  • /trunk/extensions/Poem/Poem.php (modified) (history)
  • /trunk/extensions/ProofreadPage/ProofreadPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage.php
@@ -5,6 +5,10 @@
66 }
77
88 $wgHooks['OutputPageParserOutput'][] = 'wfProofreadPageParserOutput';
 9+$wgExtensionCredits['parserhook'][] = array(
 10+ 'name' => 'ProofreadPage',
 11+ 'author' => 'ThomasV'
 12+);
913
1014 function wfProofreadPageParserOutput( &$out, &$pout ) {
1115 global $wgTitle, $wgJsMimeType, $wgScriptPath, $wgRequest;
Index: trunk/extensions/Poem/Poem.php
@@ -19,6 +19,12 @@
2020 # http://meta.wikimedia.org/wiki/Poem_Extension
2121
2222 $wgExtensionFunctions[]="wfPoemExtension";
 23+$wgExtensionCredits['parserhook'][] = array(
 24+ 'name' => 'Cite',
 25+ 'author' => 'Nikola Smolenski',
 26+ 'description' => 'adds <nowiki><poem></nowiki> tag for poem formatting',
 27+ 'url' => 'http://meta.wikimedia.org/wiki/Poem_Extension'
 28+);
2329
2430 function wfPoemExtension() {
2531 $GLOBALS['wgParser']->setHook("poem","PoemExtension");