* Include software-visible client IP address in Special:Version comment
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 17 Aug 2005 08:05:32 +0000 (08:05 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 17 Aug 2005 08:05:32 +0000 (08:05 +0000)
  as a proxy debugging aid
committing live hack

RELEASE-NOTES
includes/SpecialVersion.php

index 1e743dc..b4e03d4 100644 (file)
@@ -23,6 +23,9 @@ Misc work going on.....
 * Partial support for Basque language (from wikipedia and meta)
 * (bug 3116) Division by zero on [[Image:Foo.png|123x123px|]]
 * Fix display of read-only lockfile message
+* Update all stats fields on recount.sql
+* Include software-visible client IP address in Special:Version comment
+  as a proxy debugging aid
 
 
 === Caveats ===
index a525d35..9b5e150 100644 (file)
@@ -60,6 +60,11 @@ or [http://www.gnu.org/copyleft/gpl.html read it online]
                }
        }
        $wgOut->addWikiText( $out );
+       
+       global $wgIP;
+       $wgOut->addHTML( '<!-- visited from '
+               . str_replace( '--', ' - - ', htmlspecialchars( $wgIP ) )
+               . " -->\n" );
 }
 
 function formatExtensionCredits( $name, $author, $url = null, $version = null ) {