Aram created this task.
Aram added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  This category_redirect script 
<https://doc.wikimedia.org/pywikibot/master/scripts_ref/scripts.html#module-scripts.category_redirect>
 is an amazing script of Pywikibot, but I just realized that it is not working 
as it's documented. Issues are:
  
  - After running the script, it's saving pages immediately without prompt the 
user to allow or skip the page.
  - While pressing `Ctrl+C` and interrupting the script, we get `Traceback 
(most recent call last):...` instead of the execution, read and write 
calculations.
  - Typo: `recenty` → `recently`
  - This is the doc of the script and indicates that it will do some good 
functions, but it is just doing those parts I have bolded here: **The bot will 
look for categories that are marked with a category redirect template, take the 
first parameter of the template as the target of the redirect**, and move all 
pages and subcategories of the category there. **It also changes hard redirects 
into soft redirects**, and fixes double redirects. A log is written under 
<userpage>/category_redirect_log. Only category pages that haven't been edited 
for a certain cooldown period (currently 7 days) are taken into account.
  - I have localized more than 10 messages of this script into `ckb` a while 
ago, but they are still printed in English. Please update the i18n.
  
  In the doc point I haven't tested everything, but the thing I'm sure is that 
the script doesn't moving pages/subcategories of to the redirected page. All I 
have seen from the script is just like this edit 
<https://ckb.wikipedia.org/w/index.php?title=%D9%BE%DB%86%D9%84:%D8%A6%D8%A7%D8%A8%D9%88%D9%88%D8%B1%DB%8C%DB%8C_%D8%A6%D8%A7%D8%B3%DB%8C%D8%A7_%D8%A8%DB%95%D9%BE%DB%8E%DB%8C_%D9%88%DA%B5%D8%A7%D8%AA&diff=prev&oldid=1133596>.
 That is all I have noticed. Thanks!

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

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

To: Aram
Cc: Aklapper, pywikibot-bugs-list, Aram, mevo, 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