dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
584de11
)
Pass language to File::getDescriptionText
author
umherirrender
<umherirrender_de.wp@web.de>
Wed, 23 Oct 2013 18:36:52 +0000
(20:36 +0200)
committer
Brian Wolff
<bawolff+wn@gmail.com>
Fri, 25 Oct 2013 00:04:12 +0000
(
00:04
+0000)
Follow-Up: Ifcae821a51f4207e7816e710d3b3857c7ed438b6
Change-Id: I8e13f672fd37319add1c090a5b2f38c45d18fda5
includes/ImagePage.php
patch
|
blob
|
history
diff --git
a/includes/ImagePage.php
b/includes/ImagePage.php
index
7ea06b0
..
515f146
100644
(file)
--- a/
includes/ImagePage.php
+++ b/
includes/ImagePage.php
@@
-600,7
+600,7
@@
EOT
$this->loadFile();
$descUrl = $this->mPage->getFile()->getDescriptionUrl();
- $descText = $this->mPage->getFile()->getDescriptionText();
+ $descText = $this->mPage->getFile()->getDescriptionText(
$this->getContext()->getLanguage()
);
/* Add canonical to head if there is no local page for this shared file */
if ( $descUrl && $this->mPage->getID() == 0 ) {