1060:
613:
380:
828:
601:
1107:
290:
48:
279:
API call for {{S-start}} when there is a music infobox (needs 3 calls), then remove entire succession box. If the box is preceded by a header line (with only whitespace between the "=" and the "{", then the header line will be removed as well. If the box find a NavBox constructed in the page, it will
903:
So last time we got blanklineA then a blank line (hiding at the end of the "end}}") then blanklineB - equals three blank lines. Added a \n at the end of the RegEx, we reduce that to two blank lines (BlanklineA then
BlanklineB), do we want to cull that to one blank line? One easy way to do that would
482:
I checked the skipped film, etc., articles and the succession boxes are not for record charts, so they're OK. The rest look fine, except the one that didn't remove the === headers (I fixed it). I think there's only a few where the succession boxes are in a separate section with "succession" in the
769:
main.pagepage allow bot to edit page Pages done so far 0 ============================================TOP OF ORIG====================== ============================================BOTTOM OF ORIG====================== 1 1 0 0 SStart 1 Manual 0 1 0 writing page tagged manual
889:, thus leaving the "newline" following that section intact. Adding a "\n" to end of the regEx grabs that new line as well. The question is before we do the run is - do you want to eliminate double blank lines - reason... most (not all) are like...
684:
Trouble with public writing articles, they are never consistent. OK, I see the minor issue - I should have looked for "Navboxes}}" and not "Navboxes". C'ést la vie. I suppose we had better think about another trial, maybe a bit bigger?
904:
be another RegEx replace for two blank lines to be one blank lines - but that would work over the whole page OR we would have to have a separate check for two \n after the end}}, if we only want to fix that double blank line.
754:
Tested in my sandbox4 - now correctly runs - the debug output (below)is OK (the 1 0 above the "writing" indicates 1 Navbox found, and zero Navbox or
Navboxes with the closing braces - i.e a Navbox constructed on the
347:
Difficult to do a second run (I was trialling at 5+5 to start), as wiki obviously does not update it's search index very fast, the second run went through all the files done before - checking each one
344:
A couple of non-music articles (Film, video game) got caught - they had an "infobox Album" on the same page - now looks for infoboxes that are not song/slbum/single in the article, if found will skip.
770:++++++++++++++++++++++++++++++++++++++++++++TOP OF NEW+++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++BOTTOM OF NEW++++++++++++++++++++ User:Ronhjones/Sandbox4
1181:
397:
18:20, 12 June 2018 to 18:21, 12 June 2018. All articles were music ones. The following were found in the search, but were skipped as they had a non-music infobox as well.
516:
I made that RegEx more complicated than it needed to be (after it selected the single "="), Looks better now. I'll put that revision into a user sandbox and test again.
1036:
Tweaked the code - now deletes both headings (dummy run only), Will do the second lot of 250 tomorrow (after Wiki indexes the pages done properly), including that page
970:
18:14 to 18:21 20th June. Even one succession box found in a navbox and tagged properly. Please have a look at the diffs, if looks good, then I'll scale up.
280:
skip and mark for manual removal (there are only a few succession boxes inside a NavBox - not worth all the extra programming to try and catch all variants)
235:
707:
Yes, it seems one can always count on one more variation. I though I removed most of the navboxes with succession boxes, but there are 10 with "Chart
885:
OK, I've done some dummy runs to make sure I'm picking up the blank line - The code was being deleted from the start of the first line to the final
966:
I've done a quick 50 trial, just to ensure that the changes to the RegEx went as planned. It seems to be doing all we are asking it to do -
667:
21:
927:
Well, basically everything between start/end of those templates should be purged. And leading/trailing whitespace normalized accordingly.
834:
250 songs, 250 albums. After the navbox/whitespace issues are resolved. Also, point to this BRFA during the trial for the edit summaries.
607:
Again 25 songs, 25 albums. I also take it the problematic edits from the previous bot run were reverted/fixed? 18:17, 14 June 2018 (UTC)
832:
Approved for extended trial (500 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
605:
Approved for extended trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
152:
338:
140:
1127:
937:
844:
808:
457:
306:
87:
294:
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
334:- an "=" on the preceding line, got trapped by the RegEx and removed. RegEx changed to look for 2 to 6 "=" signs, not one.
1078:
967:
632:
394:
360:
82:
659:
236:
Wikipedia_talk:Manual_of_Style/Record_charts#RfC_on_whether_succession_boxes_should_appear_in_song_and_album_articles
1073:
Final 250 in one run. I've looked at them all, they have removed exactly what was required - including the problem
164:
739:
Since we also want this to run as a weekly check once the bulk have been processed - I'd rather get it right now.
663:
though, the succession boxes were removed, but an empty navbox titled "Chart procession and succession" remained.
117:
363:
18:51, 11 June 2018 to 20:47, 11 June 2018. Will finish trial tomorrow (should allow wiki's index to catch up).
1021:- has a double header before the boxes. Reverted back, so I can trial it when tweaked. The other 249 are fine
102:
1140:
1091:
1046:
1031:
1005:
980:
950:
914:
873:
857:
821:
781:
749:
727:
695:
679:
645:
581:
555:
526:
511:
492:
470:
432:
373:
319:
239:
221:
158:
146:
207:
1113:
I've reviewed a few, and all seem fine with the correct whitespace and everything. Gonna take it on
1163:
134:
40:
1123:
933:
840:
804:
453:
302:
97:
544:
https://en.wikipedia.org/search/?title=User:Ronhjones/Sandbox4&diff=prev&oldid=845606912
92:
1074:
1018:
1001:
723:
675:
577:
488:
567:
Looks good. FWIW, I found about 42 uses of level 2, 3, and 4 headers with "Chart succession".
1135:
945:
852:
816:
498:
465:
314:
77:
331:
1131:
1082:
1037:
1022:
991:
971:
941:
905:
864:
848:
812:
792:
One additional issue is that it often replaces succession boxes with empty lines, e.g.
787:
772:
740:
702:
686:
652:
636:
562:
546:
517:
502:
477:
461:
439:
423:
364:
310:
129:
17:
827:
600:
1175:
1119:
1114:
929:
880:
836:
800:
622:
533:
449:
298:
263:
635:
16:11, 15 June 2018 to 16:23, 15 June 2018. All music articles, all look OK to me.
1068:
1012:
997:
961:
734:
719:
671:
626:
573:
537:
484:
388:
216:
58:
240:
Knowledge:Bot_requests#Removing_succession_boxes_from_song_and_album_articles
996:
I looked through all of them and couldn't find any problems. Good to go. —
631:
All problematic edits from the previous bot run were fixed before run. See
325:
Mainly good so far, boxes removed as planned, A few wrinkles showed up...
863:
OK, I'll check the ones done and see how we can ensure a clean removal.
1017:
Famous last words... Made it up to 250 total, and one tiny, wrinkle...
795:, and seems to leave some blank lines alone when it should remove them
1156:
The above discussion is preserved as an archive of the debate.
354:
Edit summary wrong when just adding the manual template - fixed.
1162:
To request review of this BRFA, please start a new section at
194:
39:
To request review of this BRFA, please start a new section at
328:
It helps to have "return" at the end of a subroutine, doh!
796:
793:
712:
664:
570:
568:
543:
445:
182:
176:
170:
112:
107:
72:
668:
Category:Music pages for manual succession box removal
337:
The manual template got added again on a second sweep
233:Links to relevant discussions (where appropriate):
229:Removal of succession Boxes from Music Articles
33:The following discussion is an archived debate.
798:. It should replace them with nothing at all.
657:I reviewed the diffs and they look fine. On
8:
1182:Approved Knowledge bot requests for approval
1081:20:07, 21 June 2018 to 20:23, 21 June 2018
351:has a "S-start" template before processing.
718:). I can removed these if it's easier. —
341:- now checks for its presence and skips.
247:Large run to start, then a weekly run
7:
251:Estimated number of pages affected:
666:I didn't see that it was added to
28:
201:Automatic, Supervised, or Manual:
45:The result of the discussion was
1105:
1058:
826:
611:
599:
378:
288:
46:
339:Hallelujah (Leonard Cohen song)
296:25 for songs, 25 for albums.
193:15:33, Sunday, June 10, 2018 (
1:
897:{{S-end}} <blanklineB: -->
1117:that all 500 were fine too.
1079:Special:Contributions/RonBot
968:Special:Contributions/RonBot
896:{{S-start} <box code: -->
633:Special:Contributions/RonBot
501:- back to the RegEx tester!
395:Special:Contributions/RonBot
361:Special:Contributions/RonBot
1198:
393:Final 20 of trial now run
1141:20:36, 21 June 2018 (UTC)
1092:20:26, 21 June 2018 (UTC)
1077:with the double headers.
1047:20:49, 20 June 2018 (UTC)
1032:20:18, 20 June 2018 (UTC)
1006:19:44, 20 June 2018 (UTC)
981:18:28, 20 June 2018 (UTC)
951:19:47, 19 June 2018 (UTC)
915:19:43, 19 June 2018 (UTC)
874:01:40, 18 June 2018 (UTC)
858:00:57, 18 June 2018 (UTC)
822:00:53, 18 June 2018 (UTC)
782:15:26, 17 June 2018 (UTC)
750:16:15, 16 June 2018 (UTC)
728:15:26, 16 June 2018 (UTC)
696:18:12, 15 June 2018 (UTC)
680:17:55, 15 June 2018 (UTC)
646:16:32, 15 June 2018 (UTC)
582:16:30, 13 June 2018 (UTC)
556:22:37, 12 June 2018 (UTC)
527:21:56, 12 June 2018 (UTC)
512:21:50, 12 June 2018 (UTC)
493:19:27, 12 June 2018 (UTC)
471:18:54, 12 June 2018 (UTC)
433:18:33, 12 June 2018 (UTC)
374:23:24, 11 June 2018 (UTC)
320:16:12, 11 June 2018 (UTC)
1159:Please do not modify it.
447:are rather problematic.
36:Please do not modify it.
400:Howard the Duck (film)
253:Initially around 7000
359:Above can be seen at
222:User:RonBot/5/Source1
22:Requests for approval
409:Whiplash (2014 film)
208:Programming language
895:<blanklineA: -->
670:, but I fixed it. —
264:Exclusion compliant
406:As Good as It Gets
403:Super Mario Galaxy
227:Function overview:
1075:Rivers of Babylon
1019:Rivers of Babylon
444:Edits like these
277:Function details:
1189:
1161:
1139:
1109:
1108:
1087:
1072:
1062:
1061:
1042:
1027:
1016:
995:
976:
965:
949:
910:
884:
869:
856:
830:
820:
791:
777:
745:
738:
706:
691:
656:
641:
630:
615:
614:
603:
566:
551:
541:
522:
507:
499:Hound Dog (song)
481:
469:
443:
428:
392:
382:
381:
369:
318:
292:
291:
187:
186:
50:
49:
38:
1197:
1196:
1192:
1191:
1190:
1188:
1187:
1186:
1172:
1171:
1170:
1157:
1118:
1106:
1085:
1066:
1064:Trial complete.
1059:
1040:
1025:
1010:
989:
974:
959:
928:
908:
898:
878:
867:
835:
799:
785:
775:
771:
743:
732:
711:and succession"
700:
689:
650:
639:
620:
617:Trial complete.
612:
560:
549:
531:
520:
505:
497:I see that was
475:
448:
437:
426:
412:Precious (film)
386:
384:Trial complete.
379:
367:
332:Led Zeppelin IV
297:
289:
286:
245:Edit period(s):
132:
128:
123:
62:
47:
34:
26:
25:
24:
12:
11:
5:
1195:
1193:
1185:
1184:
1174:
1173:
1169:
1168:
1152:
1151:
1150:
1149:
1148:
1147:
1146:
1145:
1144:
1143:
1056:
1055:
1054:
1053:
1052:
1051:
1050:
1049:
984:
983:
957:
956:
955:
954:
953:
920:
919:
918:
917:
894:
893:
892:
891:
890:
768:
767:
766:
765:
764:
763:
762:
761:
760:
759:
758:
757:
756:
597:
596:
595:
594:
593:
592:
591:
590:
589:
588:
587:
586:
585:
584:
421:
420:
419:
418:Cats (musical)
416:
413:
410:
407:
404:
401:
376:
357:
356:
355:
352:
345:
342:
335:
329:
285:
282:
122:
121:
115:
110:
105:
100:
95:
90:
85:
80:
75:
73:Approved BRFAs
70:
63:
61:
56:
55:
54:
29:
27:
18:Knowledge:Bots
15:
14:
13:
10:
9:
6:
4:
3:
2:
1194:
1183:
1180:
1179:
1177:
1167:
1165:
1160:
1154:
1153:
1142:
1137:
1133:
1129:
1125:
1121:
1116:
1112:
1104:
1103:
1102:
1101:
1100:
1099:
1098:
1097:
1096:
1095:
1094:
1093:
1090:
1089:
1080:
1076:
1070:
1065:
1048:
1045:
1044:
1035:
1034:
1033:
1030:
1029:
1020:
1014:
1009:
1008:
1007:
1003:
999:
993:
988:
987:
986:
985:
982:
979:
978:
969:
963:
958:
952:
947:
943:
939:
935:
931:
926:
925:
924:
923:
922:
921:
916:
913:
912:
902:
901:
900:
899:
888:
882:
877:
876:
875:
872:
871:
862:
861:
860:
859:
854:
850:
846:
842:
838:
833:
829:
824:
823:
818:
814:
810:
806:
802:
797:
794:
789:
783:
780:
779:
753:
752:
751:
748:
747:
736:
731:
730:
729:
725:
721:
717:
713:
710:
704:
699:
698:
697:
694:
693:
683:
682:
681:
677:
673:
669:
665:
662:
661:
654:
649:
648:
647:
644:
643:
634:
628:
624:
618:
610:
609:
608:
606:
602:
583:
579:
575:
571:
569:
564:
559:
558:
557:
554:
553:
545:
539:
535:
530:
529:
528:
525:
524:
515:
514:
513:
510:
509:
500:
496:
495:
494:
490:
486:
479:
474:
473:
472:
467:
463:
459:
455:
451:
446:
441:
436:
435:
434:
431:
430:
422:
417:
414:
411:
408:
405:
402:
399:
398:
396:
390:
385:
377:
375:
372:
371:
362:
358:
353:
350:
346:
343:
340:
336:
333:
330:
327:
326:
324:
323:
322:
321:
316:
312:
308:
304:
300:
295:
283:
281:
278:
274:
272:
269:
266:
265:
260:
258:
257:Namespace(s):
254:
252:
248:
246:
242:
241:
237:
234:
230:
228:
224:
223:
220:
218:
213:
211:
209:
204:
202:
198:
196:
192:
188:
184:
181:
178:
175:
172:
169:
166:
163:
160:
157:
154:
151:
148:
145:
142:
139:
136:
131:
127:
119:
116:
114:
111:
109:
106:
104:
101:
99:
96:
94:
91:
89:
86:
84:
81:
79:
76:
74:
71:
69:
65:
64:
60:
57:
53:
44:
42:
37:
31:
30:
23:
19:
1158:
1155:
1110:
1083:
1063:
1057:
1038:
1023:
972:
906:
886:
865:
831:
825:
784:
773:
741:
715:
714:(similar to
708:
687:
658:
637:
616:
604:
598:
547:
518:
503:
424:
383:
365:
348:
293:
287:
276:
275:
270:
267:
262:
261:
256:
255:
250:
249:
244:
243:
232:
231:
226:
225:
215:
214:
206:
205:
200:
199:
190:
189:
179:
173:
167:
161:
155:
149:
143:
137:
125:
124:
67:
51:
35:
32:
415:Half-Life 2
217:Source code
191:Time filed:
709:procession
284:Discussion
259:Mainspace
219:available:
203:Automatic
183:ANI search
177:rights log
165:page moves
153:edit count
113:rights log
103:page moves
1111:Approved.
992:Ronhjones
788:Ronhjones
703:Ronhjones
653:Ronhjones
563:Ronhjones
483:header. —
478:Ronhjones
440:Ronhjones
171:block log
130:Ronhjones
126:Operator:
108:block log
52:Approved.
1176:Category
1120:Headbomb
930:Headbomb
881:Headbomb
837:Headbomb
801:Headbomb
623:Headbomb
534:Headbomb
450:Headbomb
299:Headbomb
268:(Yes/No)
141:contribs
83:contribs
59:RonBot 5
20: |
1164:WT:BRFA
1069:Ojorojo
1013:Ojorojo
998:Ojorojo
962:Ojorojo
735:Ojorojo
720:Ojorojo
716:Imagine
672:Ojorojo
660:Imagine
627:Ojorojo
574:Ojorojo
538:Ojorojo
485:Ojorojo
389:Ojorojo
212:Python
41:WT:BRFA
1088:jones
1043:jones
1028:jones
977:jones
911:jones
870:jones
778:jones
746:jones
692:jones
642:jones
552:jones
523:jones
508:jones
429:jones
370:jones
1115:faith
887:end}}
755:page)
349:still
88:count
16:<
1002:talk
724:talk
676:talk
625:and
578:talk
542:See
536:and
489:talk
273:Yes
238:via
210:(s):
159:logs
135:talk
118:flag
98:logs
78:talk
68:BRFA
1084:Ron
1039:Ron
1024:Ron
973:Ron
907:Ron
866:Ron
774:Ron
742:Ron
688:Ron
638:Ron
548:Ron
519:Ron
504:Ron
425:Ron
366:Ron
195:UTC
147:SUL
93:SUL
1178::
1134:·
1130:·
1126:·
1004:)
944:·
940:·
936:·
851:·
847:·
843:·
815:·
811:·
807:·
726:)
678:)
619:.
580:)
491:)
464:·
460:·
456:·
313:·
309:·
305:·
197:)
1166:.
1138:}
1136:b
1132:p
1128:c
1124:t
1122:{
1086:h
1071::
1067:@
1041:h
1026:h
1015::
1011:@
1000:(
994::
990:@
975:h
964::
960:@
948:}
946:b
942:p
938:c
934:t
932:{
909:h
883::
879:@
868:h
855:}
853:b
849:p
845:c
841:t
839:{
819:}
817:b
813:p
809:c
805:t
803:{
790::
786:@
776:h
744:h
737::
733:@
722:(
705::
701:@
690:h
674:(
655::
651:@
640:h
629::
621:@
576:(
572:—
565::
561:@
550:h
540::
532:@
521:h
506:h
487:(
480::
476:@
468:}
466:b
462:p
458:c
454:t
452:{
442::
438:@
427:h
391::
387:@
368:h
317:}
315:b
311:p
307:c
303:t
301:{
271::
185:)
180:·
174:·
168:·
162:·
156:·
150:·
144:·
138:·
133:(
120:)
66:(
43:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.