https://bugzilla.wikimedia.org/show_bug.cgi?id=28492
Bug #: 28492
Summary: Write wmf replag bot
Product: Wikimedia
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: IRC
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Like toolserver's replag bot would get it's data from the api:
action=query&meta=siteinfo&siprop=dbrepllag
Commands somewhat like:
[#wikimedia-tech] <Krinkle>: @replag
[#wikimedia-tech] <wmfreplag>: [s1] db26: 6; [s5] db14: 1, db35: 1
[#wikimedia-tech] <Krinkle>: @replag all
[#wikimedia-tech] <wmfreplag>: [s1] db36: 0, db32: 0, db12: 0, db26: 0, db38:
0; [s2] db13: 0, db30: 0, db24: 0; [s4] db31: 0, db22: 0, db33: 0;
[#wikimedia-tech] <wmfreplag>: [s5] db23: 0, db14: 0, db35: 0; [s6] db29: 0,
db21: 0, db7: 0; [s7] db37: 0, db18: 0, db16: 0;
[#wikimedia-dev] <Krinkle>: @replag s4
[#wikimedia-dev] <wmfreplag>: [s4] db31: 0, db22: 0, db33: 0
[#wikimedia-dev] <Krinkle>: @replag db36
[#wikimedia-dev] <wmfreplag>: db36: 0 (s1)
[#wikimedia-dev] <Krinkle>: @replag commonswiki
[#wikimedia-dev] <wmfreplag>: [commonswiki: s4] db31: 0, db22: 0, db33: 0
Info like dbserver-numbers, server-clusternumebrs and wikidb-names will be
periodically fetched from: Wikimedia's conf/db.php [1]
This is basically a reminder for myself right now, although I haven't started
on this yet so anyone who feels like it. Go ahead and assign it to yourself :-)
--
Krinkle
--
Krinkle
[1]
http://noc.wikimedia.org/conf/highlight.php?file=db.php
http://noc.wikimedia.org/conf/db.php.txt
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l