Meno25 created this task.
Meno25 added a subscriber: Meno25.
Meno25 added a project: pywikibot-compat.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  When using template.py (compat) on Wikimedia Labs to remove a template from a 
list of articles using the command:
         python template.y "Persondata" -remove
  I noticed that the template 
([[https://ar.wikipedia.org/w/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Persondata&redirect=no|
 ar:Template:Persondata]]) gets removed only partially if one of the template 
parameters is another template.
  Examples:
  * 
[[https://ar.wikipedia.org/w/index.php?title=%D8%A3%D8%AC%D8%A7%D8%AB%D8%A7_%D9%83%D8%B1%D9%8A%D8%B3%D8%AA%D9%8A&diff=prev&oldid=16712908|
 Page 1]] (Here the parameter "DATE OF BIRTH" contains 
[[https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D9%84%D8%A8:%D8%AA%D8%A7%D8%B1%D9%8A%D8%AE_%D8%A7%D9%84%D9%85%D9%8A%D9%84%D8%A7%D8%AF
 | this template]])
  * 
[[https://ar.wikipedia.org/w/index.php?title=%D8%A2%D8%AF%D8%A7%D9%85_%D9%87%D8%A7%D9%85%D9%84&diff=prev&oldid=16712910|Page
 2]] (The same parameter contains the same template)
  I used the compat version of template.py. Didn't test the core version of the 
script.

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

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

To: Meno25
Cc: Aklapper, pywikibot-bugs-list, Meno25, Anshoe, Malyacko, jayvdb



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to