From 29256f49146879fee9b413a622128cf43f1cefea Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 25 Jul 2010 20:55:51 +0000 Subject: [PATCH] Pass $this->getName() to getLocalUrl --- includes/filerepo/LocalFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index b35ba0b6a1..b0f61b7a57 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -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() ); } /** -- 2.20.1