dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "resourceloader: Optimise getCombinedVersion() with string concat"
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
file
/
ForeignDBFile.php
diff --git
a/includes/filerepo/file/ForeignDBFile.php
b/includes/filerepo/file/ForeignDBFile.php
index
7a982bd
..
ee4df1d
100644
(file)
--- a/
includes/filerepo/file/ForeignDBFile.php
+++ b/
includes/filerepo/file/ForeignDBFile.php
@@
-126,14
+126,14
@@
class ForeignDBFile extends LocalFile {
* @param Language|null $lang Optional language to fetch description in.
* @return string|false
*/
* @param Language|null $lang Optional language to fetch description in.
* @return string|false
*/
- function getDescriptionText( $lang = null ) {
+ function getDescriptionText(
Language
$lang = null ) {
global $wgLang;
if ( !$this->repo->fetchDescription ) {
return false;
}
global $wgLang;
if ( !$this->repo->fetchDescription ) {
return false;
}
- $lang = $lang ?
:
$wgLang;
+ $lang = $lang ?
?
$wgLang;
$renderUrl = $this->repo->getDescriptionRenderUrl( $this->getName(), $lang->getCode() );
if ( !$renderUrl ) {
return false;
$renderUrl = $this->repo->getDescriptionRenderUrl( $this->getName(), $lang->getCode() );
if ( !$renderUrl ) {
return false;