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

TASK DESCRIPTION
  I want to remove a category from the intersection list of two other 
categories using the `-intersect` argument. (To remove duplicate pages in a 
supercategory.)
  
  If I run the `listpages` list with `-intersect` everything is correct, there 
are only 12 pages.
  `pwb.py listpages -family:wikisource -lang:ru -cat:"ОУН-УПА" -cat:"Украина" 
-intersect`
  
  But when I run the same with the `category` script, the script starts 
emptying the entire global category "Украина". But it should have been only 
from those 12 pages.
  `pwb.py category -family:wikisource -lang:ru -cat:"ОУН-УПА" -cat:"Украина" 
-intersect remove -from:"Украина"`.
  
  Note: The problem is more serious, because a bug was found with the `-always` 
parameter T318236 <https://phabricator.wikimedia.org/T318236>, so the bot 
empties the global category without question.

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

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

To: Vladis13
Cc: Aklapper, pywikibot-bugs-list, Vladis13, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, 
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to