r47020 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47019‎ | r47020 | r47021 >
Date:21:56, 8 February 2009
Author:ialex
Status:deferred
Tags:
Comment:
* Assign Special:BadImages to the "media" group on Special:SpecialPages (patch by techman224)
* Also fix a E_STRICT
Modified paths:
  • /trunk/extensions/BadImage/BadImage.page.php (modified) (history)
  • /trunk/extensions/BadImage/BadImage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/BadImage/BadImage.php
@@ -27,6 +27,7 @@
2828 $wgExtensionAliasesFiles['BadImages'] = $dir . 'BadImage.alias.php';
2929
3030 $wgSpecialPages['Badimages'] = 'BadImageManipulator';
 31+$wgSpecialPageGroups['Badimages'] = 'media';
3132 $wgExtensionFunctions[] = 'efBadImageSetup';
3233
3334 $wgAvailableRights[] = 'badimages';
Index: trunk/extensions/BadImage/BadImage.page.php
@@ -15,7 +15,7 @@
1616 parent::__construct( 'Badimages' );
1717 }
1818
19 - function execute() {
 19+ function execute( $par ) {
2020 global $wgUser, $wgOut, $wgRequest;
2121 $this->setHeaders();
2222

Status & tagging log