Page MenuHomePhabricator

Set $wgUploadNavigationUrl on it.wikivoyage
Closed, ResolvedPublic


Please set $wgUploadNavigationUrl = '//';

in order to eliminate the following code:

mw.util.addPortletLink('p-tb', '//',
          'Carica su Commons', 't-uploadcommons', 'Carica file multimediali su Commons', 'm', '#t-specialpages');

$(document).ready(function () {

$("#t-uploadcommons a").text("Carica un file");



Possibly keeping the same label ("Carica un file") and tooltip ('Carica file multimediali su Commons') as currently shown in pages.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:59 AM
bzimport set Reference to bz73439.

(In reply to Andyrom75 from comment #0)

Please set $wgUploadNavigationUrl =

Where and for what? In the MediaWiki codebase?
Or for some Wikimedia site and its server settings?

[Moving to "Wikimedia" product as I assume that this request is about settings / configuration of the website, not about the codebase of MediaWiki itself.]

Change 173480 had a related patch set uploaded by Dereckson:
Set $wgUploadNavigationUrl on it.wikivoyage

I think that you have already understood it correctly (according to Gerrit), however, just to avoid any future doubt, I was referring to the configuration of

Change 173480 merged by jenkins-bot:
Set $wgUploadNavigationUrl on it.wikivoyage

Yes we figured it were well about it.wikivoyage, per comment 1.

Change merged by Reedy.

alt + shift + u shorcut works, but link is hidden by the $("#t-upload").css("display","none"); instruction, pending the elimination planned in comment 1.