Xqt added a comment.

  cosmetic_changes will skip the page:
  
    C:\pwb\GIT\core>pwb -lang:cs cosmetic_changes -page:Limpopo -simulate
    WARNING: C:\pwb\GIT\core\pywikibot\bot.py:784: UserWarning: Site objects 
have been created before arguments were handled
      warn('Site objects have been created before arguments were handled',
    
    Retrieving 1 pages from wikipedia:cs.
    
    
    >>> Limpopo <<<
    @@ -49 +49 @@
    - [[Kategorie:Limpopo]]
    + [[Kategorie:Limpopo| ]]
    
    Edit summary: robot: kosmetické úpravy
    Do you want to accept these changes? ([y]es, [N]o, [a]ll, [q]uit): y
    ERROR: Skipping Limpopo because of a save related error: Edit to page 
[[Limpopo]] failed:
    Editing restricted by {{bots}}, {{nobots}} or site's equivalent of {{in 
use}} template
    
    1 pages read
    0 pages written
    0 pages skipped
    Execution time: 4 seconds
    Read operation time: 4.0 seconds
    Script terminated successfully.
    
    C:\pwb\GIT\core>
  
  Do you mean the cosmetic changes hook should also be skipped then?

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

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

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

Reply via email to