Knowledge (XXG)

:Bots/Requests for approval/Jmax-bot - Knowledge (XXG)

Source 📝

267:
current revision was not made by a whitelisted user, the bot would check the last 5 or so revisions, and comparing them for differences, and attempting to determine if any vandalism had occurred (perhaps someone could clue me in on a good method of determining vandalism). Of course, this introduces some faults: the implementation of the vandalism detection may not, and probably will not, be perfect; as well as the issue of attempting to craft a perfect whitelist for a community-contributed project. Thoughts? --
355:
that in mind, I suggest: run the bot once an hour. When it runs, it goes to the page history, and selects the last version by a trusted user, and generates the count based on that version. (Only three users regularly add/remove articles from that page - myself, Marskell, and Joel. For now, that should suffice as a list) This technique is 100% vandalproof and should produce very accurate results.
44: 811:
Would support the dirty hack (it was my first thought as an alternative), doubt I'd support it as an admin bot. As previous RFAs for bot accounts have shown, people are pretty wary of giving out those privileges unless there is a clear benefit outweighing the downside, in the scheme of things I can't
850:
The hack is not a good idea. However, I don't have any objections to Jmax supplying the code to someone who does have an admin account, who could schedule it as a cron job on their own admin account. I looked over the code myself a few days ago, and it seems straightforward (or as straightforward as
772:
I understand fully. If there are any admins with Perl experience who would like to use (perhaps contribute) the bot and accompanying framework (which is currently rather bare, but shall hopefully grow), then I would prefer that. Alternatively, Werdna (on IRC - #wikipedia) suggested that the count be
364:
I'll think further on it, but Raul's plan seems to make sense, since the only users who change the number (add or delete FAs per FAC or FARC) are Raul, Joelr31 and Marskell, while other users may make other sorts of changes. A recent (but rare) example: an admin deleted his own featured article,
758:
I am philosophically opposed to allowing a non-admin to control a bot account with admin rights. If Jmax- publishes his code, I would not be opposed to allowing an existing admin to set up a bot account to run it. Or even just have Jmax- run all the code except the part requiring admin rights and
354:
I have a simple suggestion which should be relatively simple to code (simpler than most of the above suggestions). If we have to choose between having the count slightly stale, or allowing vandals the opportunity to vandalize it, I think it's obvious everyone here would choose the former. Bearing
334:
My thought is that the vandal spoofing feature is to stop ridiculous changes to the number. An additional feature throttling changes to 5% or less may do that, while the whitelist check and pause greatly reduces the chances of a bad change going through at all. (The FA regulars can state if an
794:
should be minimized. If the only need for sysop priviledges is to update a protected template, I recommend splitting the functionality into two bots, 1) a non-admin bot that updates a non-protected page (or equivalently edit a local file, send an email, etc.), and 2) an admin bot which does the
266:
The bot does not currently support any whitelist, as I was expecting to encounter issues, such as these, that I had not previously prepare for, and it would have been a waste of resources to design a system without fully understanding the requirements. So, I was thinking that in the event the
365:
although there had been no FAR. The bot (as proposed) would have allowed that (someone caught it manually). If the count is based on Joelr31, Marskell, and Raul, it will stay accurate. I believe. I track the changes, but if I see a problem, I could alert one of them.
510:? That would be a good idea. The only thing I would like for it is to store in memory the revision_id of the last edit it processed, so if indeed hell freezes over and no "authorized user" edits the page substantially, it doesn't warn over and over again every hour. 335:
update has ever involved a greater proportion than that.) I'm not sure that the effort involved in a technical solution comparing a user who removes an article and one who reverts him, and trying to decide who is correct, is worth the effort. Thoughts on this?
697:
Status - As I told Jmax, I'm letting it run for a few days. If nothing problematic happens (and so far, nothing has) then I'm going to set the bot and sysop flags on the Jmax bot account, and then all Jmax has to do is set it to target the FA num template.
379:
I'm a little lost having been out of the loop for a while, but as far as I'm understanding this, Raul's suggestion makes sense. The people taking care of the numbers are pretty close knit and careful about things, and I don't think anything will slip by.
280:
Hi Jmax-, Thanks for all your work on this. Last night, I came up with an example of how the whitelist might work with a 15 minute wait after an edit by an editor not on the whitelist on the FA talk page, which I'll paste here for convenient
773:
placed in a sub-page of User:Jmax-bot with the suffix '.js', which would make it only editable by that user, and sysops. This feels like a dirty hack, however, and may not be the best solution. In addition, I will publish the code shortly. --
213:
Quick question - can you explain a little about the whitelist? (And how a newly registered account can't mess it up by making a vandalism at the right moment). Also, if/when it is given the admin flag, I assume it can be retargetted at
249:
Another question: non-admin users routinely change the categories or names (to fix redirects) of featured articles: if the last edit is not an admin or a whitelist user, what will the bot do? (Thanks so much for the help, Jmax.)
405:
Ok, that is what I have gone with. It will search the last 15 revisions for the latest revision by any of Raul654, Marskell, or Joelr31. It will then use that revision as the count. See the updated debug report on
564:(reindent)It depends on if you want the vandal-spoofing feature, the lack of which is a total deal breaker if the number appears on the Main Page. It would be nice to be able to transclude a FFA count, perhaps to a 663:
I just finished the other stuff I was working on - is it solved, then, or should I have a look? If the bot is going to be counting, I'm going to delete those goofy commented subcounts by section, which are a chore.
640:
Please make sure that there are no "red herrings" in the FFA count debug. It only checks for links between two specified boundaries, and could possibly pick up false positives. I'll run it right now for you.
317:
Both Titoxd and Sandy both make good points above in response. Sandy's point can perhaps be addressed by having the bot check for changes to the FA number, rather than any change at all. So for example:
479:
You presume correctly. Perhaps I should go one step further to make it post on the talk page in that case, or some other way to notify you three in that situtation (currently it merely prints an error).
489:
That seems excessive, as it would mean about 23 talk posts a day given that the total on WP:FA changes at best once in 24 hrs. The update will show up on watchlists? That should be oversight enough.
469:
I also have one final question - what happens if it scans through the past 15 revisions and doesn't find one by myself, Joel, or Marskell? Presumably, it should do nothing in that case.
989: 621:
This is great, Jmax. My count on FFAs is one off from the bot, so as I soon as I finish up some other work, I'll run through that and see what's up. Thanks so much. Back to you later,
442:(reindent)Yes, that is much simpler (aka better) than what I was thinking. Final-ish questions: (1) can you set it to run hourly and (2) do you foresee any problems with adding 748:
discussion, sysop bots are not exactly a ordinary thing, it's not something any 'crat can just set rights on. At the very least, the code for this one needs to be published --
524:
That's a given. So, what is the status on this? The bot is ready, and has been for some time. Oh, another question: Should I expand the bot to count WP:GA? --
821:
I was neutral on TawkerbotTorA, but at least there was a decent rationale (a few hundred blocks per month). This is one edit per day? Opposed to sysopping it.
235:
One question. What happens if an RC patroller reverts the vandalism? Neither UserA nor VandalReverter would be on the whitelist... what would the bot do then?
651:
I see WP:FA in the bot count, which appears to coming from the link in the final section header, "Former featured articles that have been re-promoted". -
21: 917: 534: 339: 870:
I don't see technical issues - it's just a major misuse of the .js file for something it was never intended for. It feels... icky.
537:
has a count in the text which myself, Joelr31 and Marskell are keeping manually. The structure of the article is very similar to
84: 812:
see saving an admina single edit per day (or the FA count being wrong for while) being considered to be that huge a benefit. --
79: 305:
12:15: 15 minutes having elapsed, the bot checks again. It sees that the last editor was whitelisted and updates the count.
893:
OK, in that case, Jmax, can you please modify the bot to add the number (and just the number) to the Jmax bot's .js file?
843: 114: 533:
I would think GA would be pretty hard to count, because anyone can add and delete. If you're offering to expand,
99: 879:
That's the feeling of a hack, alright. Anyways, if consensus proves to be to use the hack, I'll gladly do it. --
197: 592: 320:(I have commented out my extended examples in the interests of keeping the viewed page to a manageable size. - 407: 193: 745: 961: 957: 944: 940: 930: 926: 909: 897: 883: 874: 865: 855: 825: 816: 791: 777: 763: 752: 736: 724: 715: 702: 687: 683: 673: 669: 658: 655: 645: 630: 626: 616: 613: 585: 582: 550: 546: 528: 519: 493: 484: 473: 463: 453: 450: 428: 424: 414: 384: 374: 370: 359: 349: 346: 327: 324: 271: 259: 255: 244: 222: 514: 239: 822: 591:
I've updated the debug report to include a list of whitelisted users. I have also added FFA counts. See
652: 610: 579: 447: 343: 321: 201: 94: 507: 89: 760: 602: 565: 572: 443: 215: 74: 953: 936: 922: 679: 665: 622: 542: 420: 366: 251: 17: 840: 606: 832:
I'd also support the .js subpage, which makes a lot more sense than sysopping the bot. --
538: 499: 189: 145: 446:
as another target, since the page with the update times and list of articles is useful.
229: 459:
It is currently running hourly, and, adding another target is no problem whatsoever. --
795:
necessary edit to the protected page with published, minimum number of lines of code.
983: 862: 813: 786:
I agree that giving a bot +sysop is not to be taken lightly. This is like creating a
490: 381: 55: 894: 871: 852: 712: 699: 470: 356: 219: 861:
Can you expand on why it is not a good idea? I can't see any technical issues. --
578:, as a way for final troubleshooting. Otherwise, I'm running out of questions. - 299:
12:00: The bot checks the page, sees that UserA is not on the whitelist and waits
906: 837: 833: 749: 511: 236: 302:
12:02: WhitelistedUserB reverts the vandalism by UserA to the version by AdminX
43: 880: 799: 774: 733: 721: 642: 596: 525: 481: 460: 411: 268: 125: 541:, except that there is a comment field for tally by area, which is a hassle. 732:
Ok, thanks for your help BT! I've made the change and it's updated now. --
952:
Marskell removed an article, and it updated correctly in both places.
787: 759:
have seperate bot controlled by an admin copy over the figures.
601:
Sweet! Can you have the bot put the most recent FFA number into
342:
suggested an update closer to every hour. Is that possible? -
968:
The above discussion is preserved as an archive of the debate.
678:
Yes, that was it; it was counting the WP:FA in the heading.
204:. Perhaps more at a future date, pending any requests. 920:
count also approved, and if so, where is it being put?
709: 109: 104: 69: 744:
needs full code published. If anyone read the massive
498:
I think Jmax means that if of the last 15 revisons to
974:
Subsequent comments should be made in a new section.
39:
Subsequent comments should be made in a new section.
609:, so people can avoid the manual update. Thanks! - 990:Approved Knowledge (XXG) bot requests for approval 293:11:30: AdminX removes two articles as part of FARC 33:The following discussion is an archived debate. 605:? We can then transclude the number back into 8: 905:and article count put on the main page -- 506:are by either one of you three, to ask at 188:Currently, it merely counts the number of 918:Knowledge (XXG):Former featured articles 708:Note - I promoted two FAs today and it 340:Knowledge (XXG) talk:Featured articles 155:(e.g. Continuous, daily, one time run) 7: 935:I see it's already done - thanks ! 535:WIkipedia:Former featured articles 28: 41:The result of the discussion was 42: 131:Automatic or Manually Assisted: 568:with a commented section like 1: 962:17:31, 18 December 2006 (UTC) 945:16:00, 17 December 2006 (UTC) 931:15:51, 17 December 2006 (UTC) 910:08:08, 17 December 2006 (UTC) 898:18:18, 16 December 2006 (UTC) 884:22:18, 15 December 2006 (UTC) 875:18:06, 15 December 2006 (UTC) 866:17:59, 15 December 2006 (UTC) 856:17:01, 15 December 2006 (UTC) 826:15:19, 15 December 2006 (UTC) 817:11:48, 15 December 2006 (UTC) 778:08:24, 15 December 2006 (UTC) 764:08:05, 15 December 2006 (UTC) 753:07:50, 15 December 2006 (UTC) 737:04:53, 15 December 2006 (UTC) 725:01:42, 15 December 2006 (UTC) 716:20:17, 14 December 2006 (UTC) 703:18:52, 14 December 2006 (UTC) 688:03:30, 15 December 2006 (UTC) 674:03:19, 15 December 2006 (UTC) 659:02:14, 15 December 2006 (UTC) 646:02:07, 15 December 2006 (UTC) 631:02:00, 15 December 2006 (UTC) 617:01:53, 15 December 2006 (UTC) 586:14:05, 14 December 2006 (UTC) 551:12:34, 14 December 2006 (UTC) 529:09:46, 14 December 2006 (UTC) 520:07:48, 14 December 2006 (UTC) 494:03:45, 13 December 2006 (UTC) 485:22:39, 12 December 2006 (UTC) 474:21:32, 12 December 2006 (UTC) 464:03:24, 13 December 2006 (UTC) 454:15:14, 12 December 2006 (UTC) 429:09:21, 12 December 2006 (UTC) 415:09:14, 12 December 2006 (UTC) 385:22:36, 11 December 2006 (UTC) 375:18:20, 11 December 2006 (UTC) 360:16:55, 11 December 2006 (UTC) 350:13:30, 11 December 2006 (UTC) 328:15:14, 12 December 2006 (UTC) 296:11:58: UserA blanks the page. 272:07:16, 11 December 2006 (UTC) 260:04:32, 11 December 2006 (UTC) 245:04:30, 11 December 2006 (UTC) 223:03:43, 11 December 2006 (UTC) 851:Perl can be, at any rate). 1006: 836:16:09, 15 December 2006 ( 419:Looks good - nice work! 971:Please do not modify it. 593:User:Jmax-bot/FFACounter 338:Also, the discussion at 137:Programming Language(s): 36:Please do not modify it. 742:Anything w/ sysop privs 508:Knowledge (XXG) talk:FA 408:User:Jmax-bot/FACounter 194:User:Jmax-bot/FACounter 792:Trusted Computing Base 312: 174:Already has a bot flag 286: 139:Perl, WWW::Mechanize 22:Requests for approval 164:Edit rate requested: 18:Knowledge (XXG):Bots 710:worked like a charm 607:Knowledge (XXG):FFA 603:Template:FFA number 566:Template:FFA number 192:and places them on 539:Knowledge (XXG):FA 500:Knowledge (XXG):FA 444:Template:FA number 216:Template:FA number 146:Knowledge (XXG):FA 804: 803:2006-12-15 08:41Z 410:for an example -- 331: 230:the example here: 190:Featured Articles 186:Function Details: 143:Function Summary: 997: 973: 806: 802: 577: 571: 517: 319: 242: 46: 38: 1005: 1004: 1000: 999: 998: 996: 995: 994: 980: 979: 978: 969: 796: 575: 569: 515: 240: 210: 202:User:BanyanTree 120: 59: 34: 26: 25: 24: 12: 11: 5: 1003: 1001: 993: 992: 982: 981: 977: 976: 950: 949: 948: 947: 891: 890: 889: 888: 887: 886: 848: 847: 830: 829: 828: 808: 807: 783: 782: 781: 780: 767: 766: 761:Dragons flight 730: 729: 728: 727: 695: 694: 693: 692: 691: 690: 638: 637: 636: 635: 634: 633: 562: 561: 560: 559: 558: 557: 556: 555: 554: 553: 467: 466: 440: 439: 438: 437: 436: 435: 434: 433: 432: 431: 396: 395: 394: 393: 392: 391: 390: 389: 388: 387: 336: 332: 311: 310: 309: 308: 307: 306: 303: 300: 297: 294: 285: 284: 283: 282: 275: 274: 263: 262: 247: 226: 225: 209: 206: 152:Edit period(s) 119: 118: 112: 107: 102: 97: 92: 87: 82: 77: 72: 70:Approved BRFAs 67: 60: 58: 53: 52: 51: 29: 27: 15: 14: 13: 10: 9: 6: 4: 3: 2: 1002: 991: 988: 987: 985: 975: 972: 966: 965: 964: 963: 959: 955: 946: 942: 938: 934: 933: 932: 928: 924: 921: 919: 914: 913: 912: 911: 908: 904: 900: 899: 896: 885: 882: 878: 877: 876: 873: 869: 868: 867: 864: 860: 859: 858: 857: 854: 845: 842: 839: 835: 831: 827: 824: 820: 819: 818: 815: 810: 809: 805: 801: 793: 790:program. The 789: 785: 784: 779: 776: 771: 770: 769: 768: 765: 762: 757: 756: 755: 754: 751: 747: 746:TawkerbotTorA 743: 739: 738: 735: 726: 723: 720:Of course! -- 719: 718: 717: 714: 711: 707: 706: 705: 704: 701: 689: 685: 681: 677: 676: 675: 671: 667: 662: 661: 660: 657: 654: 650: 649: 648: 647: 644: 632: 628: 624: 620: 619: 618: 615: 612: 608: 604: 600: 599: 598: 594: 590: 589: 588: 587: 584: 581: 574: 567: 552: 548: 544: 540: 536: 532: 531: 530: 527: 523: 522: 521: 518: 513: 509: 505: 501: 497: 496: 495: 492: 488: 487: 486: 483: 478: 477: 476: 475: 472: 465: 462: 458: 457: 456: 455: 452: 449: 445: 430: 426: 422: 418: 417: 416: 413: 409: 404: 403: 402: 401: 400: 399: 398: 397: 386: 383: 378: 377: 376: 372: 368: 363: 362: 361: 358: 353: 352: 351: 348: 345: 341: 337: 333: 329: 326: 323: 316: 315: 314: 313: 304: 301: 298: 295: 292: 291: 290: 289: 288: 287: 279: 278: 277: 276: 273: 270: 265: 264: 261: 257: 253: 248: 246: 243: 238: 234: 233: 232: 231: 224: 221: 217: 212: 211: 207: 205: 203: 199: 195: 191: 187: 183: 181: 178: 175: 171: 169: 165: 161: 159: 156: 153: 149: 147: 144: 140: 138: 134: 132: 128: 127: 124: 116: 113: 111: 108: 106: 103: 101: 98: 96: 93: 91: 88: 86: 83: 81: 78: 76: 73: 71: 68: 66: 62: 61: 57: 54: 49: 45: 40: 37: 31: 30: 23: 19: 970: 967: 951: 915: 902: 901: 892: 849: 797: 741: 740: 731: 696: 639: 563: 503: 468: 441: 227: 198:this request 185: 184: 179: 176: 173: 172: 167: 163: 162: 157: 154: 151: 150: 142: 141: 136: 135: 130: 129: 122: 121: 64: 47: 35: 32: 916:Is the FFA 823:Thatcher131 281:reference: 208:Discussion 133:Automatic 110:rights log 100:page moves 573:FA number 218:, right? 196:, as per 148:counting 123:Operator: 105:block log 984:Category 903:Approved 491:Marskell 382:Marskell 80:contribs 56:Jmax-bot 48:Approved 20:‎ | 895:Raul654 872:Raul654 853:Raul654 713:Raul654 700:Raul654 471:Raul654 357:Raul654 220:Raul654 166:1 edit 907:Tawker 834:ais523 788:setuid 750:Tawker 653:Banyan 611:Banyan 580:Banyan 448:Banyan 344:Banyan 322:Banyan 160:Daily 954:Sandy 937:Sandy 923:Sandy 881:Jmax- 800:Quarl 775:Jmax- 734:Jmax- 722:Jmax- 680:Sandy 666:Sandy 643:Jmax- 623:Sandy 597:Jmax- 543:Sandy 526:Jmax- 482:Jmax- 461:Jmax- 421:Sandy 412:Jmax- 367:Sandy 269:Jmax- 252:Sandy 228:From 177:(Y/N) 126:Jmax- 85:count 16:< 958:Talk 941:Talk 927:Talk 684:Talk 670:Talk 656:Tree 627:Talk 614:Tree 583:Tree 547:Talk 512:Tito 504:none 451:Tree 425:Talk 371:Talk 347:Tree 325:Tree 256:Talk 237:Tito 170:day 115:flag 95:logs 75:talk 65:BRFA 863:pgk 814:pgk 200:by 168:per 90:SUL 986:: 960:) 943:) 929:) 686:) 672:) 641:-- 629:) 595:-- 576:}} 570:{{ 549:) 516:xd 502:, 480:-- 427:) 373:) 258:) 241:xd 182:N 956:( 939:( 925:( 846:) 844:C 841:T 838:U 798:— 682:( 668:( 625:( 545:( 423:( 369:( 330:) 254:( 180:: 158:: 117:) 63:( 50:.

Index

Knowledge (XXG):Bots
Requests for approval

Jmax-bot
BRFA
Approved BRFAs
talk
contribs
count
SUL
logs
page moves
block log
rights log
flag
Jmax-
Knowledge (XXG):FA
Featured Articles
User:Jmax-bot/FACounter
this request
User:BanyanTree
Template:FA number
Raul654
03:43, 11 December 2006 (UTC)
the example here:
Tito
xd
04:30, 11 December 2006 (UTC)
Sandy
Talk

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.