From: Alexandre Emsenhuber Date: Mon, 14 Apr 2008 16:16:02 +0000 (+0000) Subject: (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses X-Git-Tag: 1.31.0-rc.0~48338 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=91ba0f419d8123c63c1f333765671570528257ae;p=lhc%2Fweb%2Fwiklou.git (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 3abb9d11ad..84c8fcceef 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -179,6 +179,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13705) Don't show rollback link in page history if called with dir=prev * (bug 13708) Don't set "Search results" title when loading Special:Search without query +* (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses === API changes in 1.13 === diff --git a/includes/Article.php b/includes/Article.php index 8a919c816b..3d444c2810 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -899,7 +899,7 @@ class Article { # check if we're displaying a [[User talk:x.x.x.x]] anonymous talk page if( $ns == NS_USER_TALK && - User::isIP( $this->mTitle->getText() ) ) { + IP::isValid( $this->mTitle->getText() ) ) { $wgOut->addWikiMsg('anontalkpagetext'); }