Hi replace.py users,
I wrote a new chapter to Meta, mainly for beginners. I hope it will be easier to start with this description. See http://meta.wikimedia.org/wiki/Pywikipediabot/replace.py#Overview. Please check it and complete is necessary. (Article on fixes.py is the next important task.)
2011/8/28 Bináris wikiposta@gmail.com
Please check it and complete is necessary.
is --> if
I wrote a new chapter to Meta, mainly for beginners. I hope it will be easier to start with this description. See http://meta.wikimedia.org/wiki/Pywikipediabot/replace.py#Overview. Please check it and complete if necessary. (Article on fixes.py is the next important task.)
Thanks a lot - such manual fits perfectly well into my (very long term) plans for creation of a "Script WikiUserInterface" bot... ;))
Greetings
2011/8/28 Dr. Trigon dr.trigon@surfeu.ch
Thanks a lot - such manual fits perfectly well into my (very long term) plans for creation of a "Script WikiUserInterface" bot... ;))
What will this bot do? I can hardly imagine from the name.
The main concept is to "forward" some command line calls of scripts, e.g. things like:
templatecount -count -namespace:0 ref note templatecount -count ref note template test1 test2 "space test" -subst replace -page:John_Doe -fix:isbn weblinkchecker Benutzer_Diskussion:DrTrigon cosmetic_changes Benutzer_Diskussion:DrTrigon -always add_text -page:Benutzer:DrTrigon/Spielwiese -text:HaLLo image FlagrantCopyvio.jpg
to the wiki in a manner that some wiki users (NOT! all ;) can run such calls like from command line. Exactly speaking the bot runs the scripts, first answering all questions whether to change something with 'n' (no) and returns the output to the wiki. The user then can have a look at this output (imagine a SIMPLE replace job) and edit all problematic pages manual, then give the job again back to the bot which will do the rest (all other pages that had no problems)...
This is roughly speaking the idea. Since a lot of scripts/bots in framework use the very same yes/no/blabla user interface (e.g. replace.py, template.py, ...) this will work without much effort. To include other scripts needs to change them a little bit OR make the script_WUI.py smarter. ;)
Some (very early stage) test-edits can be found at [1] and the according jobs at [2].
You can also find further information on [3] but I have to applogize since they are currently available in German only...
Be aware this is a very early concept - in later stage things like nice pages including e.g. check-boxes or other fancy stuff to make the user interaction as easy and intuitive as possible... Let your imagination run free! ;))
[1] http://de.wikipedia.org/wiki/Benutzer:DrTrigonBot/Simulation [2] http://de.wikipedia.org/w/index.php?title=Benutzer:DrTrigonBot/Simon_sagt&am... [3] http://de.wikipedia.org/wiki/Benutzer:DrTrigonBot
Am 28.08.2011 14:56, schrieb Bináris:
2011/8/28 Dr. Trigon <dr.trigon@surfeu.ch mailto:dr.trigon@surfeu.ch>
Thanks a lot - such manual fits perfectly well into my (very long term) plans for creation of a "Script WikiUserInterface" bot... ;))
What will this bot do? I can hardly imagine from the name.
-- Bináris
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
and to be fair I have to admit the concept was initially inspired by [1] (Sebmols Sebbot) and my desire to get something similar for template remplacements. But since there is already the code that does this I decided to focus on the UserInterface and make all this "more" (meaning more general, more powerfull and more cool... ;)
[1] http://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_Kategorien/Warteschlange
Am 28.08.2011 14:56, schrieb Bináris:
2011/8/28 Dr. Trigon <dr.trigon@surfeu.ch mailto:dr.trigon@surfeu.ch>
Thanks a lot - such manual fits perfectly well into my (very long term) plans for creation of a "Script WikiUserInterface" bot... ;))
What will this bot do? I can hardly imagine from the name.
-- Bináris
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org