Aude has submitted this change and it was merged.

Change subject: Hotfix for <0> in language urls
......................................................................


Hotfix for <0> in language urls

Change-Id: I14b126c793c8c30cd1a44b820ebdca8d082335af
---
M client/WikibaseClient.hooks.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Aude: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/client/WikibaseClient.hooks.php b/client/WikibaseClient.hooks.php
index 4c556d7..4187e3e 100644
--- a/client/WikibaseClient.hooks.php
+++ b/client/WikibaseClient.hooks.php
@@ -624,6 +624,7 @@
                                // Placeholder in case the page doesn't have 
any langlinks yet
                                // self::onBeforePageDisplay adds the 
JavaScript module which will overwrite this with a link
                                $template->data['language_urls'][] = array(
+                                       'text' => '',
                                        'id' => 'wbc-linkToItem',
                                        'class' => 'wbc-editpage 
wbc-nolanglinks',
                                );

-- 
To view, visit https://gerrit.wikimedia.org/r/52531
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I14b126c793c8c30cd1a44b820ebdca8d082335af
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <h...@online.de>
Gerrit-Reviewer: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: Daniel Kinzler <daniel.kinz...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to