Page MenuHomePhabricator

Point local sidebars to UploadWizard rather than old Commons upload
Closed, ResolvedPublic

Description

UploadWizard has been default link in Commons' sidebar for a while, it's probably a trivially desired enhancement to point to it rather than to the old upload where it is hardcoded in the config; it seems only 2 es and 1 pt wikis remembered to do so. (Just noticed on it.source.)

Playing the devil's advocate, one could say that people coming from local projects may be looking for the old upload form for local->Commons import, which is not available in the UploadWizard, but 1) it's rarely so because those wikis usually have upload disabled, 2) import is done by experienced users who know how to find it.

'wgUploadNavigationUrl' => array(
Projects
'wikinews' => '
commons.wikimedia.org/wiki/Special:Upload',

Individual wikis
'ckbwiki' => '
commons.wikimedia.org/wiki/Commons:Upload/ckb?uselang=ckb',
'cswiki' => 'commons.wikimedia.org/wiki/Special:UploadWizard?uselang=cs',
'cswikibooks' => '
commons.wikimedia.org/wiki/Special:UploadWizard?uselang=cs',
'cswikinews' => 'commons.wikimedia.org/wiki/Special:UploadWizard?uselang=cs',
'cswikiquote' => '
commons.wikimedia.org/wiki/Special:UploadWizard?uselang=cs',
'cswikisource' => 'commons.wikimedia.org/wiki/Special:UploadWizard?uselang=cs',
'cswikiversity' => '
commons.wikimedia.org/wiki/Special:UploadWizard?uselang=cs',
'cswiktionary' => 'commons.wikimedia.org/wiki/Special:UploadWizard?uselang=cs',
'dawiki' => '
commons.wikimedia.org/wiki/Special:UploadWizard?uselang=da&campaign=dk', bug 37662
'dewikisource' => '
commons.wikimedia.org/wiki/Special:Upload?uselang=de',
'enwikibooks' => 'commons.wikimedia.org/wiki/Commons:Upload',
'enwikiquote' => '
commons.wikimedia.org/wiki/Special:Upload',
'enwiktionary' => 'commons.wikimedia.org/wiki/Special:Upload',
'eswikibooks' => '
commons.wikimedia.org/wiki/Commons:Upload/es?uselang=es',
'eswiktionary' => 'commons.wikimedia.org/wiki/Special:Upload?uselang=es',
'euwiki' => '
commons.wikimedia.org/wiki/Commons:Upload/eu?uselang=eu',
'huwiktionary' => 'commons.wikimedia.org/wiki/Commons:Upload/hu',
'incubatorwiki' => '/wiki/Special:MyLanguage/Incubator:Upload',
'jawikisource' => '
commons.wikimedia.org/wiki/Special:Upload',
'lawiki' => 'commons.wikimedia.org/wiki/Special:Upload?uselang=la', bug 13190
'ndswiki' => 'commons.wikimedia.org/wiki/Special:Upload',
'nlwiki' => '
commons.wikimedia.org/wiki/Commons:Upload/nl?uselang=nl',
'nlwikisource' => 'commons.wikimedia.org/wiki/Commons:Upload/nl?uselang=nl',
'nlwikiquote' => '
commons.wikimedia.org/wiki/Commons:Upload/nl?uselang=nl',
'nlwiktionary' => 'commons.wikimedia.org/wiki/Commons:Upload/nl?uselang=nl',
'plwiki' => '
pl.wikipedia.org/wiki/Wikipedia:Prześlij_plik', bug 42579
'plwikiquote' => '
commons.wikimedia.org/wiki/Special:Upload?uselang=pl',
'ptwikibooks' => 'commons.wikimedia.org/wiki/Commons:Upload/pt?uselang=pt',
'ruwikinews' => '
commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=ru',
'specieswiki' => 'commons.wikimedia.org/wiki/Special:Upload',
'zhwikinews' => '
commons.wikimedia.org/wiki/Commons:Upload/zh-hans',


Version: unspecified
Severity: enhancement

Details

Reference
bz53904

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:00 AM
bzimport set Reference to bz53904.

I support the idea to move any "Commons:Upload" to "Special:UploadWizard". The Nemo arguments are sensible.

Just a careful note: We should before check upload wizard has already been localized in target language and take this opportunity to encourage the community to translate it.

So I offer we:

  • now move any Commons:Upload to Special:UploadWizard for any language where the upload wizard is available
  • ask translation communities to localize the wizard
  • then change the remaining after the translations have been done

Have you found any language, among those, which has less translations in UW than in the local interface? Looks unlikely. https://translatewiki.net/wiki/Special:MessageGroupStats/ext-uploadwizard

(In reply to comment #3)

What's the state of this?

Just needs a patch to do the config change for all languages.

Change 88072 had a related patch set uploaded by Odder:
(bug 53904) Point local sidebars to UploadWizard on Commons

https://gerrit.wikimedia.org/r/88072

Change 88072 merged by jenkins-bot:
(bug 53904) Point local sidebars to UploadWizard on Commons

https://gerrit.wikimedia.org/r/88072

Merged and sidebar cache is not even working against us.

UploadWizard is broken most of the time, at least for some users. And when you submit patches, you have to depend on the good-will of their developer to get it merged; you have to amend perfectly valid patches just "because we use anonymous functions" and not "$.proxy", for example.

I wish such changes would be more carefully evaluated.

`$wmgAltUploadForm` does not help if UploadWizard's JS breaks before it was able to display that link. One of it's most stupid design errors.