Merge "Parser: Use 'Special:Badtitle/Parser' instead of 'NO TITLE'"
[lhc/web/wiklou.git] / includes / parser / Parser.php
index ec1628f..9ec5834 100644 (file)
@@ -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() ) {