Page MenuHomePhabricator

Make commons_link.py handle Sister project links template
Open, NormalPublic

Description

Steps to reproduce
Run python pwb.py commons_link pages -lang:sr on pages containing Други пројекти (Sister project links, https://www.wikidata.org/wiki/Q5830969) template

Expected behavior
Bot should recognize Sister project links template and add a link to Commons inside instead of adding Commons template or should not do anything if the Sister project links template contains the link already

Current behavior
Sister project links template is completely ignored and Commons template is added inserting a duplicate information into the page

Event Timeline

Restricted Application added subscribers: PokestarFan, Aklapper. · View Herald TranscriptAug 9 2017, 8:44 AM
Restricted Application added a subscriber: pywikibot-bugs-list. · View Herald TranscriptAug 9 2017, 8:46 AM

Please edit the task summary and actually summarize your feature request for commons_link script in the task summary. Thanks.

Zoranzoki21 updated the task description. (Show Details)Aug 9 2017, 11:36 AM

Please edit the task summary and actually summarize your feature request for commons_link script in the task summary. Thanks.

Done.

FWIW, I still don't understand what this task is about. Specific examples are welcome.

FWIW, I still don't understand what this task is about. Specific examples are welcome.

This is task for request feature for commons_link script to if in article have template Sister project links (https://www.wikidata.org/wiki/Q5830969) and in this template have link on commons, not add, or if have this template, but no link in this, add there link. Are you understand now?

Are you understand now?

No. Specific examples (diffs) are welcome. I have troubles understanding a sentence if I cannot figure out the subject and the verb.

This comment was removed by Zoranzoki21.
Dvorapa renamed this task from Feature request for commons_link script to Make commons_link.py handle Sister project links template.Aug 20 2017, 10:57 AM
Dvorapa triaged this task as Normal priority.
Dvorapa added a project: Pywikibot.
Dvorapa updated the task description. (Show Details)
Dvorapa updated the task description. (Show Details)

I thinked and on other projects, no only on srwiki.. Thank you @Dvorapa on change of description.

Dvorapa removed Dvorapa as the assignee of this task.May 16 2019, 8:54 PM

Nope, this is about sister links template, not species template