From 91ba0f419d8123c63c1f333765671570528257ae Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 14 Apr 2008 16:16:02 +0000 Subject: [PATCH] (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses --- RELEASE-NOTES | 1 + includes/Article.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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'); } -- 2.20.1