r24961 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24960‎ | r24961 | r24962 >
Date:19:15, 20 August 2007
Author:aaron
Status:old
Tags:
Comment:
*Wtf does askSQL not show as restricted?
*Declare permission global as such
Modified paths:
  • /trunk/extensions/Asksql/Asksql_body.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -55,6 +55,7 @@
5656 # UI JS
5757 $wgOut->addScript( "<script type=\"{$wgJsMimeType}\" src=\"" . FLAGGED_JS . "\"></script>\n" );
5858
 59+ global $wgGroupPermissions, $wgUseRCPatrol;
5960 # Use RC Patrolling to check for vandalism
6061 # When revisions are flagged, they count as patrolled
6162 $wgUseRCPatrol = true;
Index: trunk/extensions/Asksql/Asksql_body.php
@@ -15,7 +15,7 @@
1616 class SpecialAsksql extends SpecialPage {
1717
1818 function SpecialAsksql() {
19 - SpecialPage::SpecialPage("Asksql");
 19+ SpecialPage::SpecialPage( 'Asksql', 'asksql' );
2020 }
2121
2222 function execute( $par ) {

Status & tagging log