Page MenuHomePhabricator

Define $wgUploadNavigationUrl for ptwikibooks
Closed, ResolvedPublic

Description

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?


Version: unspecified
Severity: enhancement
URL: http://pt.wikibooks.org/wiki/T%C3%B3pico:Wikilivros:Di%C3%A1logos_comunit%C3%A1rios/Imagens_usadas_no_projeto

Details

Reference
bz27069

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:20 PM
bzimport set Reference to bz27069.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

Should local updates still be possible or should it be disabled completely?

(In reply to comment #1)

Should local updates still be possible or should it be disabled completely?

They should still be possible.

jeluf wrote:

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

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?