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:
1d71306
)
Parser: Use 'Special:Badtitle/Parser' instead of 'NO TITLE'
author
Fomafix
<fomafix@googlemail.com>
Fri, 30 Aug 2019 09:43:35 +0000
(11:43 +0200)
committer
Fomafix
<fomafix@googlemail.com>
Sun, 22 Sep 2019 19:35:15 +0000
(21:35 +0200)
Change-Id: I818ac7d4766c3e52b56c2bd4abddb88e4140003b
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
a19f86c
..
121afed
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-908,7
+908,7
@@
class Parser {
*/
public function setTitle( $t ) {
if ( !$t ) {
- $t = Title::
newFromText( 'NO TITLE
' );
+ $t = Title::
makeTitle( NS_SPECIAL, 'Badtitle/Parser
' );
}
if ( $t->hasFragment() ) {