Page MenuHomePhabricator

DRTRIGON-15 F53 (copied from wiki)
Closed, ResolvedPublic

Description

This issue was converted from https://jira.toolserver.org/browse/DRTRIGON-15.
Summary: F53 (copied from wiki)
Issue type: New Feature - A new feature of the product, which has yet to be developed.
Priority: Major
Status: Closed
Assignee: drtrigon <dr.trigon@surfeu.ch>


From: drtrigon <dr.trigon@surfeu.ch>

Date: Thu, 02 Sep 2010 21:43:05

Id 25 (weiter unten) angehen und ...

  1. 'replace_tmpl.py' (für ''Individuelle Vorlagenersetz- und Bearbeitungsaufträge''): weiterentwickeln, hier ein Konzeptentwurf;
    • Befehle von max. 20 Ersetzungen können direkt ausgeführt werden, alles andere ''nur nach'' Simulation
    • Simulationen werden ausgeführt und das Resultat mit eindeutiger Id auf Ausgabeseite geschrieben, damit kann der Befehl (durch Angabe der Sim-Id) ausgeführt werden
    • In der Simulation werden alle relevanten Informationen gespeichert und bei Ausführung wieder eingelesen, so können problematische Einträge in der Simulationsausgabe noch modifiziert werden und der Bot nutzt einfach diese Angaben
    • Bei jeder Botbearbeitung wird der Name des Auftraggebers vermerkt
    • Simulationen sollten jeder Stunde, die Ersetzungen 1 mal pro Tag laufen
    • Resultate werden mit Verweisen zu ev. Fehlern oder Problemen auf Ausgabeseite zusammengefasst, zur Nachbearbeitung, falls es ein kleiner Auftrag war, oder die Anpassungen der Sim-Daten nicht ausgereicht haben
  2. 'sum_disc.py': Umstellung auf [1] (ev. 'getbacklinks_switch', 'globwikinotify_switch' u.a. weiter betreiben)
  3. 'subster.py': Kann eigentlich öffentlich werden, da mit der [2] jeder den Bot jetzt auch konfigurieren kann
  4. ev. auch mal kurz analysieren, was für ein Bot überhaupt sinnvoll ist, bzw. gebraucht wird?!; mal rumfragen ...

REPORTED: DrTrigon; 19:57, 20. Dez. 2009 (CET)

[1] http://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_LiquidThreads
[2] http://toolserver.org/~drtrigon/cgi-bin/substersim.py


Version: unspecified
Severity: major

Details

Reference
bz59464

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:32 AM
bzimport set Reference to bz59464.

From: drtrigon <dr.trigon@surfeu.ch>

Date: Sat, 18 Sep 2010 00:27:32

Instead of further developing 'replace_tmpl.py' make a wiki interface for 'replace.py'. This interface and 'replace.py' are a more generalized version of 'replace_tmpl.py'. Then implement special features e.g. for template replacement and others!


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sun, 19 Sep 2010 22:57:28

subster.py can also be used to update the used bot revision number in wiki.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Mon, 20 Sep 2010 17:16:27

replace_tmpl.py:

  • subclass replace.py (fixes.py) bot
  • subclass template.py bot
  • make wiki UI for the functions they provide!!
  • create specialized functions like in replace_tmpl.py!!

From: drtrigon <dr.trigon@surfeu.ch>

Date: Mon, 20 Sep 2010 19:03:09

Another idea for a bot is given in: http://de.wikipedia.org/w/index.php?title=Wikipedia:Bots/Anfragen&oldid=77370441#Vorlage:FIFA-Rang_aktualisieren

This could be done by something very similar to subster.py and thus would be quite interesting.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Mon, 20 Sep 2010 19:14:22

Some other ideas for bot and toolserver scripts:

  • clean_user_sandbox.py:
    • subclass new clean_sandbox.py
  • irc_client.py:
    • look at articlenos.py and maintcont.py
  • DrTrigonBot - toolserver scripts:
    • look at rcsort.py

From: drtrigon <dr.trigon@surfeu.ch>

Date: Mon, 07 Feb 2011 21:45:31

welcome.py: some wiki use it but dewiki has banned it. Look at http://de.wikipedia.org/w/index.php?title=Benutzer:DrTrigonBot&oldid=80324642 for more info.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Wed, 16 Feb 2011 11:40:47

Does anyone already handle http://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_Syntaxkorrektur by bot? Or is that considered as bad style (and not allowed)? Was there any discussion/talk about it already? (I was not able to find something...)

Talk with Merlissimo in IRC #wikipedia-de-bots answered the question:

(12:14:20) DrTrigon: Merlissimo: Hallo! Frage; Gab es schon Ueberlegungen oder Anfragen [[Wikipedia:WikiProjekt_Syntaxkorrektur]] wenigstens teilweise per Bot zu machen? Ich weiss nur von [[Benutzer:Xqbot]] der sich (zumindest früher mal) um fehlende <references /> tags kümmert...

(12:14:29) linky: http://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_Syntaxkorrektur?redirect=no
(12:14:37) linky: http://de.wikipedia.org/wiki/Benutzer:Xqbot?redirect=no
(12:15:18) Merlissimo: wird nicht gerne gesehen, dass massenhaft per bot zu machen
(12:15:56) DrTrigon: ...dachte mir sowas! aber konnte keine Diskussion dazu finden... Danke für die Info! ![][1]
(12:17:03) Merlissimo: schau bei den abgelehnten botanträgen
(12:30:56) DrTrigon: Merlissimo: ...Du bist gut! ![][1] Hab was gefunden unter [Wikipedia:Bots/Anfragen/Archiv/2008-2#Fehlerkorrektur_f.C3.BCr_WikiProject_Check_Wikipedia], [[Wikipedia:Bots/Anträge_auf_Botflag/Archiv/2008]] und [[Wikipedia:Bots/Anträge_auf_Botflag/Archiv/2009]]. Danke Dir!!
(12:31:05) linky: http://de.wikipedia.org/wiki/Wikipedia:Bots/Anfragen/Archiv/2008-2#Fehlerkorrektur_f.C3.BCr_WikiProject_Check_Wikipedia
(12:31:13) linky: http://de.wikipedia.org/wiki/Wikipedia:Bots/Antr%C3%A4ge_auf_Botflag/Archiv/2008?redirect=no
(12:31:13) linky: http://de.wikipedia.org/wiki/Wikipedia:Bots/Antr%C3%A4ge_auf_Botflag/Archiv/2009?redirect=no

Simply to do all those corrections IS considered bad style, thus forget it! ![][2] To do some specific of thoses corrections e.g. <references /> tag (as done e.g. by Xqbot and AwOcBot) is ok... The question is which of those to do?!

[1]: https://jira.toolserver.org/images/icons/emoticons/smile.gif
[2]: https://jira.toolserver.org/images/icons/emoticons/wink.gif

From: drtrigon <dr.trigon@surfeu.ch>

Date: Sat, 30 Jul 2011 20:44:49

script_wui.py added (instead of replace_tmpl.py) in r133. Is experimental and beta.

Supports replace.py, template.py and templatecount.py so far.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sat, 06 Aug 2011 10:20:24

According to the ideas mentioned in <del>DRTRIGON-93</del> (and http://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion:Grip99&oldid=92123510#Subster) following concept:

bot_control.py should have an additional operating mode (e.g. command line param "-ircrc") that runs all the time (has to be restarted by SGE in case of failures) and watches the IRC RecentChanges channel irc://irc.wikimedia.org#de.wikipedia. In case of a page changes the bot_control.py runs subster.py (as usual) in order to update the page. This would make the subster tags pseudo-dynamic (more dynamic than now). May be to simplify, only pages listed/enrolled on a special page are checked this way.

This would also avoid to increase the execution frequency of subster.py by use of SGE/cron(ie) since the bot would run all the time - this could open additional techniques (e.g. for panel.py or else) - but also give new issues... ![][1]

[1]: https://jira.toolserver.org/images/icons/emoticons/wink.gif

From: drtrigon <dr.trigon@surfeu.ch>

Date: Sat, 06 Aug 2011 17:19:53

Another idea for option/parameter handling:

http://de.wikipedia.org/wiki/Benutzer:CopperBot/config.css


From: drtrigon <dr.trigon@surfeu.ch>

Date: Tue, 09 Aug 2011 09:25:05

Set of bots is now given; the list of bots already running will get enhanced with 'script_wui.py' the WikiUserInterface. This will be the last bot planned - other might be possible - according to time available - but are not planned!


From: drtrigon <dr.trigon@surfeu.ch>

Date: Wed, 10 Aug 2011 08:47:33

Try to implement good Version numbers like described in

Additionally clean-up the version handling (e.g. versions associated to tickets) to get a proper 'Release Notes':


From: drtrigon <dr.trigon@surfeu.ch>

Date: Fri, 12 Aug 2011 11:49:03

Modified 'articlenos.py' code that can be inserted into 'bot_control.py' as ircbot mode for 'subster.py'. Should then be runned as long-running job and use SGE to re-start in case of errors.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Thu, 25 Aug 2011 14:19:21

LiquidThreads could or will become a topic later again. But this is just a small part...

This bug was imported as RESOLVED. The original assignee has therefore not been
set, and the original reporters/responders have not been added as CC, to
prevent bugspam.

If you re-open this bug, please consider adding these people to the CC list:
Original assignee: dr.trigon@surfeu.ch
CC list: dr.trigon@surfeu.ch