r75536 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75535‎ | r75536 | r75537 >
Date:12:56, 27 October 2010
Author:reedy
Status:deferred
Tags:
Comment:
Remove unused global. Fix typo, wrap some lines
Modified paths:
  • /trunk/extensions/WikiBhasha/WikiBhasha.alias.php (modified) (history)
  • /trunk/extensions/WikiBhasha/WikiBhashaSpecial.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiBhasha/WikiBhashaSpecial.php
@@ -3,7 +3,7 @@
44 /*
55 *
66 * We need to overload the special page constructor to initialize our own data also if we want to change the behavior of the SpecialPage class itself.
7 -* it will ececute when called from the child class
 7+* it will execute when called from the child class
88 *
99 */
1010
@@ -21,7 +21,7 @@
2222 * @param $par Parameters passed to the page
2323 */
2424 function execute( $par ) {
25 - global $wgRequest, $wgOut;
 25+ global $wgOut;
2626 $this->setHeaders();
2727 $wgOut->addHTML( '<h2>message goes here</h2>' );
2828 }
Index: trunk/extensions/WikiBhasha/WikiBhasha.alias.php
@@ -2,7 +2,8 @@
33
44 /*
55 *
6 -* It allows the page title to be translated to another language. The page title can be customized into another language, the URL of the page would still be something like .../Special:WikiBhasha, even when the user language is not English.
 6+* It allows the page title to be translated to another language. The page title can be customized into another language,
 7+ * the URL of the page would still be something like .../Special:WikiBhasha, even when the user language is not English.
78 *
89 */
910

Status & tagging log