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:
73cee58
)
Followup r65037, do the same for the other route of badtitle
author
Sam Reed
<reedy@users.mediawiki.org>
Wed, 30 Jun 2010 15:34:59 +0000
(15:34 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Wed, 30 Jun 2010 15:34:59 +0000
(15:34 +0000)
includes/Wiki.php
patch
|
blob
|
history
diff --git
a/includes/Wiki.php
b/includes/Wiki.php
index
cb0ef8b
..
cb14e5c
100644
(file)
--- a/
includes/Wiki.php
+++ b/
includes/Wiki.php
@@
-190,6
+190,7
@@
class MediaWiki {
// Invalid titles. Bug 21776: The interwikis must redirect even if the page name is empty.
if( is_null($title) || ( ($title->getDBkey() == '') && ($title->getInterwiki() == '') ) ) {
$title = SpecialPage::getTitleFor( 'Badtitle' );
+ $output->setTitle( $title ); // bug 21456
# Die now before we mess up $wgArticle and the skin stops working
throw new ErrorPageError( 'badtitle', 'badtitletext' );