dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create a Special:Redirect page.
[lhc/web/wiklou.git]
/
includes
/
SpecialPageFactory.php
diff --git
a/includes/SpecialPageFactory.php
b/includes/SpecialPageFactory.php
index
719763c
..
6a73a1d
100644
(file)
--- a/
includes/SpecialPageFactory.php
+++ b/
includes/SpecialPageFactory.php
@@
-99,7
+99,6
@@
class SpecialPageFactory {
'Listusers' => 'SpecialListUsers',
'Listadmins' => 'SpecialListAdmins',
'Listbots' => 'SpecialListBots',
'Listusers' => 'SpecialListUsers',
'Listadmins' => 'SpecialListAdmins',
'Listbots' => 'SpecialListBots',
- 'Activeusers' => 'SpecialActiveUsers',
'Userrights' => 'UserrightsPage',
'EditWatchlist' => 'SpecialEditWatchlist',
'Userrights' => 'UserrightsPage',
'EditWatchlist' => 'SpecialEditWatchlist',
@@
-162,6
+161,7
@@
class SpecialPageFactory {
'Mytalk' => 'SpecialMytalk',
'Myuploads' => 'SpecialMyuploads',
'PermanentLink' => 'SpecialPermanentLink',
'Mytalk' => 'SpecialMytalk',
'Myuploads' => 'SpecialMyuploads',
'PermanentLink' => 'SpecialPermanentLink',
+ 'Redirect' => 'SpecialRedirect',
'Revisiondelete' => 'SpecialRevisionDelete',
'Specialpages' => 'SpecialSpecialpages',
'Userlogout' => 'SpecialUserlogout',
'Revisiondelete' => 'SpecialRevisionDelete',
'Specialpages' => 'SpecialSpecialpages',
'Userlogout' => 'SpecialUserlogout',
@@
-200,7
+200,7
@@
class SpecialPageFactory {
self::$mList['ChangeEmail'] = 'SpecialChangeEmail';
}
self::$mList['ChangeEmail'] = 'SpecialChangeEmail';
}
- if( $wgEnableJavaScriptTest ) {
+ if
( $wgEnableJavaScriptTest ) {
self::$mList['JavaScriptTest'] = 'SpecialJavaScriptTest';
}
self::$mList['JavaScriptTest'] = 'SpecialJavaScriptTest';
}
@@
-222,7
+222,7
@@
class SpecialPageFactory {
/**
* Initialise and return the list of special page aliases. Returns an object with
* properties which can be accessed $obj->pagename - each property is an array of
/**
* Initialise and return the list of special page aliases. Returns an object with
* properties which can be accessed $obj->pagename - each property is an array of
- * aliases; the first in the array is the can
n
onical alias. All registered special
+ * aliases; the first in the array is the canonical alias. All registered special
* pages are guaranteed to have a property entry, and for that property array to
* contain at least one entry (English fallbacks will be added if necessary).
* @return Object
* pages are guaranteed to have a property entry, and for that property array to
* contain at least one entry (English fallbacks will be added if necessary).
* @return Object
@@
-466,7
+466,7
@@
class SpecialPageFactory {
unset( $query['title'] );
$query = wfArrayToCgi( $query );
$title = $page->getTitle( $par );
unset( $query['title'] );
$query = wfArrayToCgi( $query );
$title = $page->getTitle( $par );
- $url = $title->getFullU
rl
( $query );
+ $url = $title->getFullU
RL
( $query );
$context->getOutput()->redirect( $url );
wfProfileOut( __METHOD__ );
return $title;
$context->getOutput()->redirect( $url );
wfProfileOut( __METHOD__ );
return $title;