dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
523b1cd
)
Use getTitle() here, it's cleaner.
author
Chad Horohoe
<demon@users.mediawiki.org>
Tue, 7 Apr 2009 16:42:35 +0000
(16:42 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Tue, 7 Apr 2009 16:42:35 +0000
(16:42 +0000)
includes/specials/SpecialImport.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialImport.php
b/includes/specials/SpecialImport.php
index
c8f15ae
..
18054d6
100644
(file)
--- a/
includes/specials/SpecialImport.php
+++ b/
includes/specials/SpecialImport.php
@@
-136,7
+136,7
@@
class SpecialImport extends SpecialPage {
if( !$wgUser->isAllowed( 'import' ) && !$wgUser->isAllowed( 'importupload' ) )
return $wgOut->permissionRequired( 'import' );
- $action =
SpecialPage::getTitleFor( 'Import'
)->getLocalUrl( 'action=submit' );
+ $action =
$this->getTitle(
)->getLocalUrl( 'action=submit' );
if( $wgUser->isAllowed( 'importupload' ) ) {
$wgOut->addWikiMsg( "importtext" );