Last modified: 2011-06-12 18:21:40 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 T29069, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27069 - Define $wgUploadNavigationUrl for ptwikibooks
Define $wgUploadNavigationUrl for ptwikibooks
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://pt.wikibooks.org/wiki/T%C3%B3p...
: shell
Depends on:
Blocks: 29360
  Show dependency treegraph
 
Reported: 2011-01-31 13:36 UTC by Helder
Modified: 2011-06-12 18:21 UTC (History)
3 users (show)

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


Attachments

Description Helder 2011-01-31 13:36:58 UTC
Hi!

Per discussion on URL above, please change the current "upload file" to:
http://commons.wikimedia.org/wiki/Commons:Upload/pt?uselang=pt

(Meanwhile, we are using a script to change the link:
http://pt.wikibooks.org/w/index.php?diff=cur&oldid=202654
)

By the way, most upload links on
http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php
have "http://". Wouldn't be better to change all links to the form

/wiki/commons:Commons:Upload/XXXX?uselang=XXXX

so that users can stay in secure server? Should I open a bug for that change?
Comment 1 JeLuF 2011-02-02 07:01:33 UTC
Should local updates still be possible or should it be disabled completely?
Comment 2 Helder 2011-02-02 10:07:42 UTC
(In reply to comment #1)
> Should local updates still be possible or should it be disabled completely?

They should still be possible.
Comment 3 JeLuF 2011-02-02 19:32:49 UTC
Your change has been completed.
Please reopen this ticket if anything went wrong.
The following configuration settings have been changed:
===================================================================
Index: InitialiseSettings.php
===================================================================
--- InitialiseSettings.php	(revision 1559)
+++ InitialiseSettings.php	(working copy)
@@ -874,6 +874,7 @@
     'plwikinews'    => false,
     'plwikiquote'   => 'http://commons.wikimedia.org/wiki/Special:Upload?uselang=pl',
     'ptwiki'        => 'http://pt.wikipedia.org/wiki/Wikipedia:Carregar_ficheiro',
+    'ptwikibooks'   => 'http://commons.wikimedia.org/wiki/Commons:Upload/pt?uselang=pt',
     'rowiki'	    => '/wiki/Wikipedia:Trimite_fi%C5%9Fier',
     'ruwikinews'    => 'http://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=ru',
     'specieswiki'   => 'http://commons.wikimedia.org/wiki/Special:Upload',
===================================================================
You can find the entire config file at
http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php
Comment 4 JeLuF 2011-02-02 19:35:24 UTC
The trick to use commons:Commons doesn't seem to work, I get redirected to http://commons.wikimedia.org/wiki/Commons:Upload/pt?uselang=pt when I try it at
https://secure.wikimedia.org/wikipedia/en/wiki/commons:Commons:Upload/pt?uselang=pt
Comment 5 Helder 2011-02-02 20:11:47 UTC
Thank you for fixing the link for us.

(In reply to comment #4)
> The trick to use commons:Commons doesn't seem to work, I get redirected to
> http://commons.wikimedia.org/wiki/Commons:Upload/pt?uselang=pt when I try it at
> https://secure.wikimedia.org/wikipedia/en/wiki/commons:Commons:Upload/pt?uselang=pt

Is that related to/caused by bug 5440?

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


Navigation
Links