Last modified: 2013-07-31 15:04:45 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 T53800, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51800 - "Upload file" link on ckb.wikipedia
"Upload file" link on ckb.wikipedia
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Unprioritized enhancement with 1 vote (vote)
: ---
Assigned To: This, that and the other (TTO)
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-22 10:36 UTC by Calak
Modified: 2013-07-31 15:04 UTC (History)
5 users (show)

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


Attachments

Description Calak 2013-07-22 10:36:30 UTC
After creating uploader group on ckb.wikipedia, "Upload file" link is not shown in toolbox for non-admin and non-uploader groups and this is not good.
Now it is shown for administrator and uploader groups and it redirected to "Special:Upload" and this is good.
Please provide this link for non-admin and non-uploader groups too and redirect it to Commons for non-admin and non-uploader groups:
http://commons.wikimedia.org/wiki/Commons:Upload/ckb?uselang=ckb
Thank you
Comment 1 Calak 2013-07-23 22:12:53 UTC
Please set 'wgUploadNavigationUrl' for ckb.wiki to:
//commons.wikimedia.org/wiki/Commons:Upload/ckb?uselang=ckb
Comment 2 This, that and the other (TTO) 2013-07-24 09:23:01 UTC
(In reply to comment #0)
> Please provide this link for non-admin and non-uploader groups too and
> redirect
> it to Commons for non-admin and non-uploader groups:
> http://commons.wikimedia.org/wiki/Commons:Upload/ckb?uselang=ckb
> Thank you

It is not possible to send the "Upload file" link to different places. Also, it is not possible to make the "Upload file" link appear (regardless of destination) for users without permission to upload.

As an alternative possibility, you could do what nlwiki has done and enable uploads from all users, but set $wgUploadNavigationUrl to point to Commons. That way, if users want to upload files locally, they would have to manually browse to Special:Upload. To do that, though, the uploader group would have to be deleted.
Comment 3 This, that and the other (TTO) 2013-07-24 09:23:52 UTC
I might be wrong, of course :) Please tell me if you know better.
Comment 4 Calak 2013-07-24 11:29:51 UTC
I think that if we set $wgUploadNavigationUrl to point to Commons, all users even users without permission to upload can see "Upload file" link.
Like en.wikibooks, although I don't have upload right there, but I can see "Upload file" link, because they set $wgUploadNavigationUrl to point to Commons.
Comment 5 Calak 2013-07-26 20:31:29 UTC
Is anybody here for resolving this simple bug?
Comment 6 Bawolff (Brian Wolff) 2013-07-26 20:39:00 UTC
(In reply to comment #4)
> I think that if we set $wgUploadNavigationUrl to point to Commons, all users
> even users without permission to upload can see "Upload file" link.
> Like en.wikibooks, although I don't have upload right there, but I can see
> "Upload file" link, because they set $wgUploadNavigationUrl to point to
> Commons.

Yes. If $wgUploadNavigationUrl is set, then upload a file link is shown for all users, even if they don't have upload rights locally.

---------

To clarify, if $wgUploadNavigationUrl is set, then that url will be used for *all* users, including those in uploader group. Once this is set, if someone wants to upload a file locally to ckbwiki, they would need to manually navigate to Special:Upload

(In reply to comment #5)
> Is anybody here for resolving this simple bug?

Generally config change bugs just take a week or so for somebody to get to them.
Comment 7 This, that and the other (TTO) 2013-07-27 02:13:39 UTC
OK, so really it is just a matter of setting wgUploadNavigationUrl. That is easily done.

The documentation at mediawikiwiki [[mw:Manual:$wgUploadNavigationUrl]] is unclear on this matter (i.e. user permissions): Brian, since you seem to know about this, do you think you could flesh it out a bit?
Comment 8 Bawolff (Brian Wolff) 2013-07-27 02:53:17 UTC
> The documentation at mediawikiwiki [[mw:Manual:$wgUploadNavigationUrl]] is
> unclear on this matter (i.e. user permissions): Brian, since you seem to know
> about this, do you think you could flesh it out a bit?

Done.
Comment 9 Calak 2013-07-27 05:26:37 UTC
OK, please set it to this address:
//commons.wikimedia.org/wiki/Commons:Upload/ckb?uselang=ckb
Comment 10 Gerrit Notification Bot 2013-07-27 05:33:49 UTC
Change 76237 had a related patch set uploaded by TTO:
(bug 51800) set wgUploadNavigationUrl to Commons for ckbwiki

https://gerrit.wikimedia.org/r/76237
Comment 11 Gerrit Notification Bot 2013-07-30 17:02:41 UTC
Change 76237 merged by jenkins-bot:
Set wgUploadNavigationUrl to Commons for ckbwiki

https://gerrit.wikimedia.org/r/76237
Comment 12 Calak 2013-07-30 17:27:31 UTC
Thank you very much.

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


Navigation
Links