Page MenuHomePhabricator

DRTRIGON-96 'subster.py': Kann eigentlich öffentlich werden, da mit der [2] jeder den Bot jetzt auch konfigurieren kann
Closed, ResolvedPublic

Description

This issue was converted from https://jira.toolserver.org/browse/DRTRIGON-96.
Summary: 'subster.py': Kann eigentlich öffentlich werden, da mit der [2] jeder den Bot jetzt auch konfigurieren kann
Issue type: Sub-task - The sub-task of the issue
Priority: Major
Status: Closed
Assignee: drtrigon <dr.trigon@surfeu.ch>


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

Date: Wed, 24 Aug 2011 20:35:09


Version: unspecified
Severity: major

Details

Reference
bz59425

Event Timeline

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

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

Date: Wed, 24 Aug 2011 20:38:10

<del>subster.py can also be used to update the used bot revision number in wiki.</del>


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

Date: Wed, 24 Aug 2011 20:38:38

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: Wed, 24 Aug 2011 20:38:53

Another idea for option/parameter handling:

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


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

Date: Wed, 24 Aug 2011 20:41:31

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.-

<del>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]</del>

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.

Consider the fact that this is equivalent to substersim.py panel but more wiki-like since no external link or tool is needed.

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

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

Date: Thu, 25 Aug 2011 11:02:34

all implemented or tests started in r150.

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