Page MenuHomePhabricator

Show directly pictures/files from Commons on Arabic sister projects.
Closed, InvalidPublic

Description

Please show directly pictures/files on Commons on Arabic sister projects. The main purpose is to promote using Commons and to facilitate content management.

On Wikisource, the option seems active (as per https://phabricator.wikimedia.org/P896) but pictures do not open the same way as Wikipedia. Example:
Picture https://commons.wikimedia.org/wiki/File:Domenico-Fetti_Archimedes_1620.jpg
on Wikipedia, click on the picture
https://ar.wikipedia.org/wiki/%D8%A3%D8%B1%D8%AE%D9%85%D9%8A%D8%AF%D8%B3

and on Wikisource, click on the picture
https://ar.wikisource.org/wiki/%D9%85%D8%A4%D9%84%D9%81:%D8%A3%D8%B1%D8%AE%D9%85%D9%8A%D8%AF%D8%B3

Concerned projects:

  • Wikinews
  • Wikibooks
  • Wikiversity
  • Wikisource
  • Wiktionary
  • Wikiquote
  • Wikivoyage (if it's technically possible, the project is still in incubator)

Useful links:

https://www.mediawiki.org/wiki/Snippets/Direct_imagelinks_to_Commons
https://phabricator.wikimedia.org/P896

Community approval:

Event Timeline

Helmoony created this task.Oct 6 2018, 11:16 PM
Restricted Application added subscribers: alanajjar, Aklapper. · View Herald TranscriptOct 6 2018, 11:16 PM
Helmoony renamed this task from Show directly pictures/files on Commons on Arabic sister projects. to Show directly pictures/files from Commons on Arabic sister projects..Oct 6 2018, 11:17 PM
Aklapper changed the task status from Open to Stalled.Oct 6 2018, 11:56 PM

Hi @Helmoony, it is unclear to me what is requested here, as I do not understand which configuration you'd like to see changed.

When it comes to site configuration, $wgUseInstantCommons = true is already set for all wikis in https://noc.wikimedia.org/conf/CommonSettings.php.txt .

On ar.wikisource.org, https://ar.wikisource.org/wiki/ميدياويكي:Gadget-directLinkToCommons.js exists. It is defined in https://ar.wikisource.org/wiki/ميدياويكي:Gadgets-definition (and the default enables it by default for all users), and hence it is offered under https://ar.wikisource.org/wiki/خاص:تفضيلات#mw-prefsection-gadgets

On ar.wikipedia.org (and the other sites you listed), https://ar.wikipedia.org/wiki/ميدياويكي:Gadget-directLinkToCommons.js does not exist. If you want it to exist, you should create it (though see https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_(users)#Keep_gadgets_central how to avoid duplicating code) and also add it to https://ar.wikipedia.org/wiki/ميدياويكي:Gadgets-definition .
That would not require a task in Phabricator as it does not require changes in the site configuration, but someone on ar.wikipedia.org with sufficient permissions to create/edit these two pages.


(For future reference, please follow https://www.mediawiki.org/wiki/How_to_report_a_bug and provide

  1. a clear list of steps to reproduce the situation, step by step,
  2. what exactly you expect to happen
  3. what happens currently

to avoid misunderstandings.)

revi added a subscriber: revi.Oct 10 2018, 1:10 AM

IIRC It is a gadget to link Commons file to Commons, not a configuration.

Aklapper closed this task as Invalid.Oct 10 2018, 6:38 AM