From: umherirrender Date: Fri, 27 Dec 2013 11:57:26 +0000 (+0100) Subject: Remove hints to fixed bug 54044 X-Git-Tag: 1.31.0-rc.0~17502^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=60b764796a9ebc425661a0e0fdefe4a34ab4bdc6;p=lhc%2Fweb%2Fwiklou.git Remove hints to fixed bug 54044 Change-Id: I119a2ec4114fd7939ef2d74e614b4a8ff8e257ac --- diff --git a/includes/Title.php b/includes/Title.php index d89a8212d2..5ab9e94d6d 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -3312,7 +3312,6 @@ class Title { # Can't make a link to a namespace alone... "empty" local links can only be # self-links with a fragment identifier. - # TODO: Why do we exclude NS_MAIN (bug 54044) if ( $dbkey == '' && $this->mInterwiki == '' && $this->mNamespace != NS_MAIN ) { return false; } diff --git a/tests/phpunit/includes/TitleTest.php b/tests/phpunit/includes/TitleTest.php index 58f01460a7..54e61998b2 100644 --- a/tests/phpunit/includes/TitleTest.php +++ b/tests/phpunit/includes/TitleTest.php @@ -104,7 +104,6 @@ class TitleTest extends MediaWikiTestCase { 'A ~~~~~ Timestamp', str_repeat( 'x', 256 ), // Namespace prefix without actual title - // ':', // bug 54044 'Talk:', 'Category: ', 'Category: #bar' diff --git a/tests/qunit/suites/resources/mediawiki/mediawiki.Title.test.js b/tests/qunit/suites/resources/mediawiki/mediawiki.Title.test.js index 4083564e88..aeefd64326 100644 --- a/tests/qunit/suites/resources/mediawiki/mediawiki.Title.test.js +++ b/tests/qunit/suites/resources/mediawiki/mediawiki.Title.test.js @@ -121,7 +121,6 @@ // purposes it is part of the title repeat( 'x', 252 ) + '.json', // Namespace prefix without actual title - // ':', // bug 54044 'Talk:', 'Category: ', 'Category: #bar'