dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b8efacc
)
Merge "Parser: Use 'Special:Badtitle/Parser' instead of 'NO TITLE'"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Thu, 26 Sep 2019 14:15:53 +0000
(14:15 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 26 Sep 2019 14:15:53 +0000
(14:15 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
ec1628f
..
9ec5834
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-910,7
+910,7
@@
class Parser {
*/
public function setTitle( $t ) {
if ( !$t ) {
- $t = Title::
newFromText( 'NO TITLE
' );
+ $t = Title::
makeTitle( NS_SPECIAL, 'Badtitle/Parser
' );
}
if ( $t->hasFragment() ) {