Premeditated created this task.
Premeditated added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Liuxinyu970226, 
Aklapper.

TASK DESCRIPTION
  Hi, the harvest_template.py with `-multi` as parameter adds every link that 
is found with `[[ ... ]]`. That is a problem when references is used in the 
infobox.
  
  Example:
  Infobox:
  
    ...
    | genre      = {{flatlist|
    *[[electronic music|Electronic]]<ref>{{cite 
web|last1=Romano|first1=Nick|title=n Vega, singer of electronic music duo 
Suicide, dies at 
78|url=http://www.ew.com/article/2016/07/17/alan-vega-dead-suicide-band-singer-dies-78|website=[[Entertainment
 Weekly]]|accessdate=17 July 2016}}</ref>
    ...
  
  In this example the harvesting is run by the following command: `python3 
pwb.py harvest_template -lang:en -family:wikipedia -namespace:0 -catr:"1970s 
albums" -template:"Infobox album" genre P136 -exists:p -multi`. That will add 
electronic music and Entertainment Weekly to Wikidata (site 
<https://www.wikidata.org/w/index.php?title=Q574758&diff=978952210&oldid=978952137>).

TASK DETAIL
  https://phabricator.wikimedia.org/T227954

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Premeditated
Cc: Aklapper, Liuxinyu970226, pywikibot-bugs-list, Premeditated, Viztor, 
DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to