r36354 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36353‎ | r36354 | r36355 >
Date:20:23, 16 June 2008
Author:tstarling
Status:old
Tags:
Comment:
Fixes for special page reorganisation in r36353.
Modified paths:
  • /trunk/extensions/CentralAuth/SpecialGlobalUsers.php (modified) (history)
  • /trunk/extensions/LdapAuthentication/LdapAuthentication.php (modified) (history)
  • /trunk/extensions/MultiUpload/SpecialMultipleUpload.php (modified) (history)
  • /trunk/extensions/Wikidata/AddPrefs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MultiUpload/SpecialMultipleUpload.php
@@ -44,10 +44,6 @@
4545 }
4646
4747 /**
48 - *
49 - */
50 -require_once 'SpecialUpload.php';
51 -/**
5248 * Entry point
5349 */
5450 function wfSpecialMultipleUpload() {
@@ -476,4 +472,4 @@
477473 $wgOut->addHTML( $text );
478474 }
479475 return true;
480 -}
\ No newline at end of file
 476+}
Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php
@@ -41,8 +41,6 @@
4242 # Support is available at http://www.mediawiki.org/wiki/Extension_talk:LDAP_Authentication
4343 #
4444
45 -require_once( 'AuthPlugin.php' );
46 -
4745 //constants for search base
4846 define("GROUPDN", 0);
4947 define("USERDN", 1);
@@ -1813,9 +1811,6 @@
18141812 }
18151813 $wgAuth->printDebug( "User does not exist in local database; creating.", NONSENSITIVE );
18161814
1817 - //Require SpecialUserlogin so that we can get a loginForm
1818 - require_once( 'SpecialUserlogin.php' );
1819 -
18201815 //This section contains a silly hack for MW
18211816 global $wgLang;
18221817 global $wgContLang;
Index: trunk/extensions/CentralAuth/SpecialGlobalUsers.php
@@ -1,7 +1,5 @@
22 <?php
33
4 -require_once( 'SpecialListusers.php' );
5 -
64 class SpecialGlobalUsers extends SpecialPage {
75
86 function __construct() {
Index: trunk/extensions/Wikidata/AddPrefs.php
@@ -38,8 +38,6 @@
3939
4040 function wfSpecialPreferencesExtension()
4141 {
42 - require_once('SpecialPreferences.php');
43 -
4442 // override the default preferences form
4543 class SpecialPreferencesExtension extends PreferencesForm
4644 {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r36353* Reorganised the includes directory, creating subdirectories db, parser and ...tstarling20:21, 16 June 2008

Status & tagging log