Reverted r40719, plainly flawed, for instance the hard-coded references to index...
authorTim Starling <tstarling@users.mediawiki.org>
Sat, 20 Sep 2008 02:55:02 +0000 (02:55 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sat, 20 Sep 2008 02:55:02 +0000 (02:55 +0000)
CREDITS
RELEASE-NOTES
includes/templates/NoLocalSettings.php

diff --git a/CREDITS b/CREDITS
index ee84c62..f2a4741 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -47,7 +47,6 @@ following names for their contribution to the product.
 * Juliano F. Ravasi
 * Louperivois
 * Marooned
-* Matt Johnston
 * Max Semenik
 * Michael De La Rue
 * Mike Horvath
index 5662ec1..1024ecf 100644 (file)
@@ -199,8 +199,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 14398) mwsuggest.js: Let width of container be configurable
 * (bug 15543) Only include user touched timestamp to generated CSS
 * (bug 15497) Removed encoding attribute from <?xml ?> tag
-* (bug 15544) Wiki not set up message (NoLocalSettings.php) now works for 
-  non-index.php entry pages (e.g. api.php). Patch by Matt Johnston.
 * (bug 12284) Special:Preferences now sets a returnto parameter on the link to
   Special:Userlogin. Patch by Marooned.
 * Fixed the HTTP accept language string detection length in 
index fde9706..75a7e95 100644 (file)
@@ -17,10 +17,6 @@ $path = '';
 if( isset( $_SERVER['SCRIPT_NAME'] )) {
        $path = htmlspecialchars( preg_replace('/index.php5?/', '', $_SERVER['SCRIPT_NAME']) );
 }
-#Remove filename in path, prevents going to corrupt URLs (e.g. http://server/path/api.phpconfig/index.php)
-if(substr($path, strlen($path)-1) != "/"){
-       $path = substr($path, 0, strrpos($path, "/")+1);
-}
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>