r33290 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33289‎ | r33290 | r33291 >
Date:16:16, 14 April 2008
Author:ialex
Status:old
Tags:
Comment:
(bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -899,7 +899,7 @@
900900
901901 # check if we're displaying a [[User talk:x.x.x.x]] anonymous talk page
902902 if( $ns == NS_USER_TALK &&
903 - User::isIP( $this->mTitle->getText() ) ) {
 903+ IP::isValid( $this->mTitle->getText() ) ) {
904904 $wgOut->addWikiMsg('anontalkpagetext');
905905 }
906906
Index: trunk/phase3/RELEASE-NOTES
@@ -179,6 +179,7 @@
180180 * (bug 13705) Don't show rollback link in page history if called with dir=prev
181181 * (bug 13708) Don't set "Search results" title when loading Special:Search
182182 without query
 183+* (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses
183184
184185 === API changes in 1.13 ===
185186

Status & tagging log