Roll back r17454 temporarily until I can talk over what to do about existing pages...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 6 Nov 2006 05:09:07 +0000 (05:09 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 6 Nov 2006 05:09:07 +0000 (05:09 +0000)
RELEASE-NOTES
includes/Title.php

index fd7d96a..f5f17fb 100644 (file)
@@ -146,8 +146,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Allow case-sensitive URLs to be used for uploading from URLs.
 * (bug 1109) Correct fix for compressed 304 responses when additional output
   buffers have been installed within the compression handler
-* (bug 98) Prohibit corner-case where it might be possible to create a page
-  beginning with a forward slash.
 
 
 == Languages updated ==
index 55bda5c..b81b631 100644 (file)
@@ -1551,16 +1551,6 @@ class Title {
                        return false;
                }
 
-               /**
-                * Pages whose titles start with / can confuse webservers
-                * and proxies. They can be unreachable with the pretty
-                * URLs. Forbid them explicitly.
-               */
-               if ( strpos( $r, '/') === 0 )
-               {
-                       return false;
-               }
-
                # We shouldn't need to query the DB for the size.
                #$maxSize = $dbr->textFieldSize( 'page', 'page_title' );
                if ( strlen( $r ) > 255 ) {
@@ -2308,7 +2298,7 @@ class Title {
         * @deprecated use DependencyWrapper
         */
        function getRelatedCache( $memc, $key, $expiry, $callback, $params = array() ) {
-               return DependencyWrapper::getValueFromCache( $memc, $key, $expiry, $callback,
+               return DependencyWrapper::getValueFromCache( $memc, $key, $expiry, $callback, 
                        $params, new TitleDependency( $this ) );
        }