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
Have TitleParser::parseTitle() default to NS_MAIN to match Title
[lhc/web/wiklou.git]
/
includes
/
gallery
/
TraditionalImageGallery.php
diff --git
a/includes/gallery/TraditionalImageGallery.php
b/includes/gallery/TraditionalImageGallery.php
index
479ca5d
..
5ede631
100644
(file)
--- a/
includes/gallery/TraditionalImageGallery.php
+++ b/
includes/gallery/TraditionalImageGallery.php
@@
-170,8
+170,8
@@
class TraditionalImageGallery extends ImageGalleryBase {
}
// @todo Code is incomplete.
}
// @todo Code is incomplete.
- // $linkTarget = Title::newFromText(
$wgContLang->getNsText( MWNamespace::getUser() ) .
- // ":{$ut}" );
+ // $linkTarget = Title::newFromText(
MediaWikiServices::getInstance()->
+ //
getContentLanguage()->getNsText( MWNamespace::getUser() ) .
":{$ut}" );
// $ul = Linker::link( $linkTarget, $ut );
$meta = [];
// $ul = Linker::link( $linkTarget, $ut );
$meta = [];