r52395 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52394‎ | r52395 | r52396 >
Date:11:49, 25 June 2009
Author:minuteelectron
Status:deferred
Tags:
Comment:
Mibbit extension:
* Parse the special page header message.
Modified paths:
  • /trunk/extensions/Mibbit/Mibbit.php (modified) (history)
  • /trunk/extensions/Mibbit/Mibbit_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Mibbit/Mibbit_body.php
@@ -19,7 +19,7 @@
2020 $this->setHeaders();
2121
2222 // Introduction message, explaining to users what this is etc.
23 - $wgOut->addHTML( Xml::element( 'p', null, wfMsg( 'mibbit-header' ) ) );
 23+ $wgOut->addHTML( Xml::element( 'p', null, wfMsgExt( 'mibbit-header', array( 'parseinline' ) ) );
2424
2525 // Prepare query string to pass to widget.
2626 $queryAssoc = array(
Index: trunk/extensions/Mibbit/Mibbit.php
@@ -8,7 +8,7 @@
99 *
1010 * @link http://www.mediawiki.org/wiki/Extension:Mibbit
1111 *
12 - * @author MinuteElectron <minuteelectron@googlemail.com>
 12+ * @author Robert Leverington <robert@rhl.me.uk>
1313 * @copyright Copyright © 2008 - 2009 Robert Leverington.
1414 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
1515 */
@@ -24,11 +24,12 @@
2525 'descriptionmsg' => 'mibbit-desc',
2626 'author' => 'Robert Leverington',
2727 'url' => 'http://www.mediawiki.org/wiki/Extension:Mibbit',
28 - 'version' => '1.4',
 28+ 'version' => '1.4.1',
2929 );
3030
 31+$dir = dirname( __FILE__ ) . '/';
 32+
3133 // Register special page.
32 -$dir = dirname( __FILE__ ) . '/';
3334 $wgSpecialPages[ 'Mibbit' ] = 'Mibbit';
3435 $wgSpecialPageGroups[ 'Mibbit' ] = 'wiki';
3536 $wgAutoloadClasses[ 'Mibbit' ] = $dir . 'Mibbit_body.php';

Status & tagging log