284:
page and do a regex to find any string where the site is mentioned (extracting the year, month, and nomnitive title). We create a compound key based on the 3 pieces of information and look it up to see if we've already searched for that reference in the new site, and if so, don't bother asking the site again for the same information. If we haven't found the new location of the reference, we go and brute force ask the site "For this Year, Month, Day, and Title, do you have a page?" The site will return a 404 if we haven't guessed right, but returns a 200 when we do guess right. We store the successes url into our cache of already searched for replacements and return the new url so that the string can be replaced in the text. The last step would be to save the page with an appropriate notice (Something to the effect of "
546:
632:
367:
48:
283:
Bot asks for all the weblinks that are *.okazu.blogspot.com, It then goes through to evaluate if the page should be adjusted and what exemptions are appropriate. Exempt pages include BotReq, User pages, and any page that is an "Archive". Once the exemptions are dealt with we gather the text of the
288:
Replacing okazu.blogspot.com refs with yuricon.com equivilants"). Once the bot task is ran, there should be no need to run it again as the maintenance levels will be much more managable. This task is not exclusion eligible as we're fixing links to make them point at something that is working
614:
Ok, after 24 edits (and a few corrections from suprises) I am standing down and waiting for feedback. I think doing the gruntwork of the replacements (but having each replacement verified by me before the bot moves on) is a reasonable compromise between the needs of WP and the needs of the
230:
Source referenced in many pages has relocated to a new server and changed their page location format. The new format is somewhat predictable but requires poking to figure out which day the old page points at.
495:
if this is something to be added to the request. If there are concerns about it running 100% unattended I can kick the task off and review each replacement to verify that it's not doing anything unintentional.
510:
I think it would be good to have a log page for the task so it can easily be reviewed. I trust
Hasteur, though, and if he is comfortable the bot is going to do exactly what was requested, I'm fine either way.
487:
As part of a bot trial, I always review every single diff (as I'm a perfectionist). I feel that it could run unattended, but having a log page of every diff this task makes so that a human set of eyes
571:
682:
593:
412:
At this point I stopped my run and started poking into how the user did the remapping and found that they have a blogger2wordpress addon that gets the new home of the content.
574:
which the bot dutifly tried to work on. I reversed the change and added an condition where the page title has "Archive" or "archive" in it's title. Updated the bot's code
555:
Let's complete the bot trial. If everything works fine. I can approve for fully automated run. I'll need you around because they are more links taht need fix. --
641:
I trust you to check th edits while the bot is running or after the bot is done. It's clear that are some edge cases e did not cover wth the bot trial. --
21:
88:
550:
Approved for extended trial (30 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
597:
575:
83:
153:
519:
328:
371:
Approved for trial (30 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
141:
118:
103:
650:
624:
609:
587:
564:
536:
505:
478:
460:
421:
382:
360:
345:
314:
237:
223:
165:
646:
560:
474:
378:
356:
98:
664:
40:
93:
407:- Partially correct. The remainders are where the short name has changed. We can do better than this
208:
78:
596:
automatically. Reversed the bot's actions and put a special guard against AfD discussions. Coded in
159:
147:
525:
334:
642:
620:
605:
583:
556:
501:
484:
470:
456:
417:
374:
352:
310:
135:
17:
59:
529:
338:
245:
One time run, but may need to be ran again if a large collection of new links pops up.
545:
676:
512:
492:
321:
300:
255:
638:
616:
601:
579:
552:
497:
466:
452:
413:
306:
130:
469:
do you think it has to be automated then then review every single edit then? --
217:
238:
Knowledge (XXG):Bot_requests#Replace_links_from_a_referenced_site_for_WP:ANIME
436:- Correct (changes some of the archive links which I'm not wild about)
451:
At this point I think I've provided a good second demonstration.
657:
The above discussion is preserved as an archive of the debate.
572:
Knowledge (XXG):Peer review/Kashimashi: Girl Meets Girl/archive1
663:
To request review of this BRFA, please start a new section at
195:
39:
To request review of this BRFA, please start a new section at
594:
Knowledge (XXG):Articles for deletion/GirlFriends (manga)
444:
439:
434:
429:
405:
400:
394:
391:
222:
Pywikibot with special driver above it. Driver file is
183:
177:
171:
113:
108:
73:
351:
The number of edits is small. Let's give it a try. --
683:Approved Knowledge (XXG) bot requests for approval
235:Links to relevant discussions (where appropriate):
491:review them would be wise. Obviously it's up to
305:as the editor primarily championing this cause.
33:The following discussion is an archived debate.
251:Accorging to the requesting user, 136 pages.
431:- Cleans up the Hana no Asuka-gumi! talk page
8:
7:
249:Estimated number of pages affected:
397:in the very next revision manually
28:
202:Automatic, Supervised, or Manual:
45:The result of the discussion was
630:
544:
365:
194:00:29, Thursday, June 11, 2015 (
46:
1:
699:
615:editors/readers at large.
651:20:56, 13 June 2015 (UTC)
625:15:18, 13 June 2015 (UTC)
610:15:10, 13 June 2015 (UTC)
588:15:00, 13 June 2015 (UTC)
565:11:57, 12 June 2015 (UTC)
537:19:16, 12 June 2015 (UTC)
506:11:51, 12 June 2015 (UTC)
479:06:39, 12 June 2015 (UTC)
461:23:18, 11 June 2015 (UTC)
422:23:00, 11 June 2015 (UTC)
383:22:20, 11 June 2015 (UTC)
361:22:20, 11 June 2015 (UTC)
346:00:51, 11 June 2015 (UTC)
315:00:35, 11 June 2015 (UTC)
660:Please do not modify it.
36:Please do not modify it.
393:- Wrong configuration,
269:Already has a bot flag
22:Requests for approval
209:Programming language
18:Knowledge (XXG):Bots
570:New trial revealed
256:Exclusion compliant
228:Function overview:
535:
344:
281:Function details:
690:
662:
634:
633:
548:
532:
526:Talk to Nihonjoe
522:
518:
515:
426:Second Test Run
369:
368:
341:
335:Talk to Nihonjoe
331:
327:
324:
304:
188:
187:
50:
49:
38:
698:
697:
693:
692:
691:
689:
688:
687:
673:
672:
671:
658:
631:
530:
520:
513:
366:
339:
329:
322:
298:
295:
243:Edit period(s):
133:
129:
124:
63:
47:
34:
26:
25:
24:
12:
11:
5:
696:
694:
686:
685:
675:
674:
670:
669:
628:
627:
612:
590:
542:
541:
540:
539:
464:
463:
449:
448:
447:
442:
437:
432:
424:
410:
409:
408:
403:
398:
349:
348:
294:
291:
123:
122:
116:
111:
106:
101:
96:
91:
86:
81:
76:
74:Approved BRFAs
71:
64:
62:
57:
56:
55:
29:
27:
15:
14:
13:
10:
9:
6:
4:
3:
2:
695:
684:
681:
680:
678:
668:
666:
661:
655:
654:
653:
652:
648:
644:
640:
637:
626:
622:
618:
613:
611:
607:
603:
599:
595:
591:
589:
585:
581:
577:
573:
569:
568:
567:
566:
562:
558:
554:
551:
547:
538:
533:
531:Join WP Japan
527:
523:
516:
509:
508:
507:
503:
499:
494:
490:
486:
483:
482:
481:
480:
476:
472:
468:
462:
458:
454:
450:
445:
443:
440:
438:
435:
433:
430:
428:
427:
425:
423:
419:
415:
411:
406:
404:
401:
399:
396:
392:
390:
389:
387:
386:
385:
384:
380:
376:
372:
363:
362:
358:
354:
347:
342:
340:Join WP Japan
336:
332:
325:
319:
318:
317:
316:
312:
308:
302:
292:
290:
287:
286:HasteurBot 10
282:
278:
276:
273:
270:
266:
264:
261:
258:
257:
252:
250:
246:
244:
240:
239:
236:
232:
229:
225:
224:
221:
219:
214:
212:
210:
205:
203:
199:
197:
193:
189:
185:
182:
179:
176:
173:
170:
167:
164:
161:
158:
155:
152:
149:
146:
143:
140:
137:
132:
128:
120:
117:
115:
112:
110:
107:
105:
102:
100:
97:
95:
92:
90:
87:
85:
82:
80:
77:
75:
72:
70:
66:
65:
61:
60:HasteurBot 10
58:
53:
44:
42:
37:
31:
30:
23:
19:
659:
656:
643:Magioladitis
635:
629:
592:Encountered
557:Magioladitis
549:
543:
488:
485:Magioladitis
471:Magioladitis
465:
375:Magioladitis
370:
364:
353:Magioladitis
350:
296:
285:
280:
279:
274:
271:
268:
267:
262:
259:
254:
253:
248:
247:
242:
241:
234:
233:
227:
226:
216:
215:
207:
206:
201:
200:
191:
190:
180:
174:
168:
162:
156:
150:
144:
138:
126:
125:
68:
51:
35:
32:
320:Thanks. ···
289:correctly.
218:Source code
192:Time filed:
388:In order:
293:Discussion
220:available:
204:Automatic
184:ANI search
178:rights log
166:page moves
154:edit count
114:rights log
104:page moves
636:Approved.
446:- Correct
441:- Correct
402:- Correct
172:block log
127:Operator:
109:block log
677:Category
493:Nihonjoe
301:Nihonjoe
272:(Yes/No)
260:(Yes/No)
142:contribs
84:contribs
52:Approved
20: |
665:WT:BRFA
639:Hasteur
617:Hasteur
602:Hasteur
580:Hasteur
553:Hasteur
498:Hasteur
467:Hasteur
453:Hasteur
414:Hasteur
307:Hasteur
213:Python
131:Hasteur
41:WT:BRFA
395:undid
89:count
16:<
647:talk
621:talk
606:talk
598:here
584:talk
576:here
561:talk
502:talk
475:talk
457:talk
418:talk
379:talk
357:talk
311:talk
277:Yes
211:(s):
160:logs
136:talk
119:flag
99:logs
79:talk
69:BRFA
514:日本穣
511:···
489:can
373:--
323:日本穣
297:CC
265:No
196:UTC
148:SUL
94:SUL
679::
649:)
623:)
608:)
600:.
586:)
578:.
563:)
528:·
524:·
521:投稿
517:·
504:)
477:)
459:)
420:)
381:)
359:)
337:·
333:·
330:投稿
326:·
313:)
198:)
667:.
645:(
619:(
604:(
582:(
559:(
534:!
500:(
473:(
455:(
416:(
377:(
355:(
343:!
309:(
303::
299:@
275::
263::
186:)
181:·
175:·
169:·
163:·
157:·
151:·
145:·
139:·
134:(
121:)
67:(
54:.
43:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.