Last modified: 2014-11-18 22:58:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75439, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73439 - Set $wgUploadNavigationUrl on it.wikivoyage
Set $wgUploadNavigationUrl on it.wikivoyage
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Dereckson
https://it.wikivoyage.org/wiki/MediaW...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-14 22:26 UTC by Andyrom75
Modified: 2014-11-18 22:58 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andyrom75 2014-11-14 22:26:43 UTC
Please set $wgUploadNavigationUrl = '//commons.wikimedia.org/wiki/Special:UploadWizard';


in order to eliminate the following code:
$(function(){
    mw.util.addPortletLink('p-tb', '//commons.wikimedia.org/wiki/Special:UploadWizard',
              'Carica su Commons', 't-uploadcommons', 'Carica file multimediali su Commons', 'm', '#t-specialpages');
});
$(document).ready(function () {
    $("#t-upload").css("display","none");
    $("#t-uploadcommons a").text("Carica un file");
});

from https://it.wikivoyage.org/wiki/MediaWiki:Common.js.

Possibly keeping the same label ("Carica un file") and tooltip ('Carica file multimediali su Commons') as currently shown in https://it.wikivoyage.org pages.
Comment 1 Andre Klapper 2014-11-14 23:31:35 UTC
(In reply to Andyrom75 from comment #0)
> Please set $wgUploadNavigationUrl =
> '//commons.wikimedia.org/wiki/Special:UploadWizard';

Where and for what? In the MediaWiki codebase? 
Or for some Wikimedia site and its server settings?
Comment 2 Andre Klapper 2014-11-14 23:32:46 UTC
[Moving to "Wikimedia" product as I assume that this request is about settings / configuration of the website, not about the codebase of MediaWiki itself.]
Comment 3 Gerrit Notification Bot 2014-11-15 03:48:23 UTC
Change 173480 had a related patch set uploaded by Dereckson:
Set $wgUploadNavigationUrl on it.wikivoyage

https://gerrit.wikimedia.org/r/173480
Comment 4 Andyrom75 2014-11-15 08:13:23 UTC
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 https://it.wikivoyage.org
Comment 5 Gerrit Notification Bot 2014-11-18 19:25:34 UTC
Change 173480 merged by jenkins-bot:
Set $wgUploadNavigationUrl on it.wikivoyage

https://gerrit.wikimedia.org/r/173480
Comment 6 Dereckson 2014-11-18 19:29:15 UTC
Yes we figured it were well about it.wikivoyage, per comment 1.

Change merged by Reedy.
Comment 7 Dereckson 2014-11-18 19:37:56 UTC
alt + shift + u shorcut works, but link is hidden by the $("#t-upload").css("display","none"); instruction, pending the elimination planned in comment 1.
Comment 8 Andyrom75 2014-11-18 22:58:52 UTC
Just done. Thanks a lot!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links