srishakatux added a comment.
Copying the notes from the etherpad: https://etherpad.wikimedia.org/p/swt-intro-to-pywikibot Participants ------------ | **Username** | **Wiki** | **Additional Info** | | User:Dolphyb | en | | | User:Dnshitobu | dag | Gurene Wikimedia Community & Dagbani Wikimedians User Group | | User:Mrb Rafi | ba | Bangla wiki | | User:NANöR | ar | | | User:BKing (WMF) | en | Site Reliability Engineer, Search Platform (and noob ;P ) | | User:HLepp (WMF) | en | WMF Technical Community Program Manager | | User:Amoaniwaa | twi | | | User:Naa2Darkoa | twi | | | User:Doc James | en | Wiki Project Med Foundation | | User:info-farmer | ta | Tamil wikimedia community (India) | | User:Kushared | ckb | Central Kurdish Wikipedia (ckb.wikipedia.org) | | User:Ptinphusmia | / | | | Md. Golam Mukit Khan | ba | | | Notes ----- - Link to the workshop slides: https://docs.google.com/presentation/d/1n8EAaxwzJO2Z5_amscuuq4Tm2BsrkcMpU4kgoBcDAfA/edit - Link to the workshop recording: Discussion / questions ---------------------- Hello, I already installed Pywikibot on my PC, but I have some questions (although I don't know if here is a good place and if it's a good time to ask here or not). - How can I add ckb messages to a script such as "ar", "fa" and others as you can see in the scripts. I done this in my own PC, but i want to do this in the original Pywikibot scripts. - You can look into how to contribute new translations to pywikibot scripts: https://www.mediawiki.org/wiki/Manual:Pywikibot/i18n. If this doesn't answer your question, you can follow up on the pywikibot mailing list or IRC channel. - I created SSH code, but every time Git Bash asks me for a password to sign in. How can that be solved? - You probably wanted to know how to setup and use a "SSH agent". How to set this up is dependent on which ssh subsystem you are using, so you might want to do web search for this. - I did some edits with my account through crontab jobs, but how can I login my bot and do these things with my bot instead of my account? - Maybe you want to know how to change the pywikibot configuration to use a different account. If so, you might want to look at https://www.mediawiki.org/wiki/Manual:Pywikibot/user-config.py. - If I had activated a group of crontab jobs, and for some reason my computer was damaged or lost, and users asked me to stop doing one or more jobs, what would happen or what should I do? - Yeah for this probably there isn't really you can do other than making sure that automated backups are set up in your computer. - About crontab jobs again, how does bot know that a new and orphaned article created? and adds an orphan tag on it immediately after publication? It's just an example to see how the process is performed. As time goes on, I might ask more questions. Thanks :) - The bot script would need to lookup the work to do somehow. This might be done by iterating a category or some other API provided by the wiki. It might be done by running SQL queries against the Wiki Replica databases (https://wikitech.wikimedia.org/wiki/Help:Toolforge/Database). It might be done by following the real-time events from the wikis with https://wikitech.wikimedia.org/wiki/Event_Platform/EventStreams. For orphan pages specifically, action=query&list=querypage&qppage=Lonelypages is one way to get a list of pages that do not have any incoming wiki links. This report is only updated once per month on Wikimedia wikis. 6. Is running a Pywikibot script on a local machine different from running a script on Toolforge? - Available libraries and their versions are likely to differ between a local machine and Toolforge, but assuming that at least the minimum requirements of the script are available on Toolforge there should not be a lot of difference. The main advantage of Toolforge over a local machine is the ability to add co-maintainers on Toolforge and that the computers in Toolforge are running and connected to the Internet at all times. TASK DETAIL https://phabricator.wikimedia.org/T301935 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: srishakatux Cc: pywikibot-bugs-list, Xqt, Aklapper, komla, srishakatux, Marianamais, Maberdour, Jyoo1011, JohnsonLee01, Zblace, SHEKH, Dijkstra, Khutuck, Zkhalido, Demian, Pavithraes, Marajozkee, Viztor, Wenyi, Jayprakash12345, Tbscho, MayS, WMNOastrid, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Susannaanas, mys_721tx, Gryllida, jayvdb, Masti, Alchimista, Rfarrand, Zack, bd808, Dzahn, jeremyb
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
