Pass $this->getName() to getLocalUrl
authorSam Reed <reedy@users.mediawiki.org>
Sun, 25 Jul 2010 20:55:51 +0000 (20:55 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 25 Jul 2010 20:55:51 +0000 (20:55 +0000)
includes/filerepo/LocalFile.php

index b35ba0b..b0f61b7 100644 (file)
@@ -1125,7 +1125,7 @@ class LocalFile extends File {
         * Get the URL of the file description page.
         */
        function getDescriptionUrl() {
-               return $this->title->getLocalUrl();
+               return $this->title->getLocalUrl( $this->getName() );
        }
 
        /**