Hello, I'm trying to run  python pwb.py replace -fix:ComboLists
-file:PageList.txt in command prompt.
ComboLists is a new fix I wrote into user_fixes.py that finds a specific
template on the page and replaces its content with more up to date
information
The new information to be added is generated by another script I wrote.
There is no way around it, my template generator must take the page's title
as an input.
So my current solution is for the generator to also iterate through the
exact same page list found in PageList.txt
As long as every page on the list is being edited, everything works fine,
but things break if there is any page on the list that does not require
editing and replace.py skips over it so the two functions will no longer be
working in sync.
I'd like to know if there is any way to directly figure out what page the
replace.py is currently viewing and use it as an input for my script
written in user_fixes.py

Thank you.
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/OC75ADODYU5YGONZGHZQUUNBCOWAAS5X/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

Reply via email to