Vladis13 added a comment.

You got your query wrong.

mpaa@tools-bastion-03:~/core$ python scripts/listpages.py -mysqlquery:"SELECT page_namespace, page_title FROM page WHERE page_namespace = 0 LIMIT 10"

You run it from user-home directory, I installed configs of pwb in my user-home and it there works too. But me need run it from scripts in tool-home directory. In documentation Help:Tool_Labs/Developing#Setup Pwb the items 4-5 write that user-config.py should create in tools.tool@tools-login, same writen in User:Russell Blau/Using pywikibot on Labs.


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

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

To: Vladis13
Cc: Mpaa, valhallasw, Aklapper, pywikibot-bugs-list, Vladis13, Mdupont, JJMC89, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to