Parsoid/Deployments/T336101 followup

Description of issue

edit

Parsoid included a TOC related change as part of 1.41.0-wmf.7 (Add synthetic TOC if necessary, T92999, T333023). This fix was to make Parsoid compatible with the core parser wrt handing of TOC as part of work to serve all page views via Parsoid. However, as explained in the phab task, we did not account for the fact that the train may be rolled back. We do have a documented process for handling train rollbacks when new Parsoid HTML changes are introduced (but we have never actually exercised it in the past), and unfortunately, we ended up exercising this scenario the one time we overlooked it.

In the time that the new Parsoid had been live on group2 wikis, RESTBase had been populated with Parsoid's new HTML version. But, after rollback, that new HTML was served to VisualEditor and DiscussionTools The net result is that after rollback, Parsoid got requests to convert HTML to wikitext that included the new synthetic TOC marker, but the rolled back Parsoid did not know how to ignore. As a result, many pages edited with VisualEditor or DiscussionTools got a stray __TOC__ (or its localized form) introduced as a dirty diff.

How do we fix this?

edit

We wrote a script to process the recent changes stream for this timeframe (when group2 wikis were rolled back) and examined diffs to see if they had a stray __TOC__ (or its localized form) marker and have dumped that list below. There may be some minor gaps on some wikis, but we think we have captured over 95% of pages that were impacted.

Many thanks to User:Tacsipacsi for filing the bug and providing guidance and feedback in this process - that included useful code reviews on the script to make sure it worked as intended.

Please use this list to fix up the pages appropriately. Once you fix it, please strike out the entry (rather than deleting it maybe?) so that others know not to process it.

False positives

edit

There are likely several false positive reports where talk pages are involved. This is because the page in question likely had discussions of __TOC__ (including possibly reports of the dirty diff), and so all subsequent edits to the page got included in this report below. This is especially the case for a lot of the zhwiki talk page links below.

Yes Done ar.wikipedia.org

edit
  1. Diff (may not be latest rev); Edit Current Revision Fixed
  2. Diff (may not be latest rev); Edit Current Revision Fixed
  3. Diff (may not be latest rev); Edit Current Revision Fixed
  4. Diff (may not be latest rev); Edit Current Revision Fixed
  5. Diff (may not be latest rev); Edit Current Revision Fixed
  6. Diff (may not be latest rev); Edit Current Revision Fixed
  7. Diff (may not be latest rev); Edit Current Revision Fixed
  8. Diff (may not be latest rev); Edit Current Revision Fixed
  9. Diff (may not be latest rev); Edit Current Revision Fixed

Yes Done az.wikipedia.org

edit
  1. Diff (may not be latest rev); Edit Current Revision

Yes Done bg.wikipedia.org

edit
  1. Diff (may not be latest rev); Edit Current Revision Fixed
  2. Diff (may not be latest rev); Edit Current Revision Fixed

Yes Done bn.wikipedia.org

edit
  1. Diff (may not be latest rev); Edit Current Revision Fixed
  2. Diff (may not be latest rev); Edit Current Revision Fixed

Yes Done cs.wikipedia.org

edit
Extended content
  1. Diff (may not be latest rev); Edit Current Revision
  2. Diff (may not be latest rev); Edit Current Revision
  3. Diff (may not be latest rev); Edit Current Revision
  4. Diff (may not be latest rev); Edit Current Revision
  5. Diff (may not be latest rev); Edit Current Revision
  6. Diff (may not be latest rev); Edit Current Revision
  7. Diff (may not be latest rev); Edit Current Revision
  8. Diff (may not be latest rev); Edit Current Revision
  9. Diff (may not be latest rev); Edit Current Revision
  10. Diff (may not be latest rev); Edit Current Revision
  11. Diff (may not be latest rev); Edit Current Revision
  12. Diff (may not be latest rev); Edit Current Revision
  13. Diff (may not be latest rev); Edit Current Revision
  14. Diff (may not be latest rev); Edit Current Revision

Yes Done dag.wikipedia.org

edit
  1. Diff (may not be latest rev); Edit Current Revision Fixed

Yes Done de.wikipedia.org

edit

  1. Diff (may not be latest rev); Edit Current Revision
  2. Diff (may not be latest rev); Edit Current Revision
  3. Diff (may not be latest rev); Edit Current Revision
  4. Diff (may not be latest rev); Edit Current Revision
  5. Diff (may not be latest rev); Edit Current Revision
  6. Diff (may not be latest rev); Edit Current Revision
  7. Diff (may not be latest rev); Edit Current Revision
  8. Diff (may not be latest rev); Edit Current Revision
  9. Diff (may not be latest rev); Edit Current Revision
  10. Diff (may not be latest rev); Edit Current Revision
  11. Diff (may not be latest rev); Edit Current Revision
  12. Diff (may not be latest rev); Edit Current Revision
  13. Diff (may not be latest rev); Edit Current Revision
  14. Diff (may not be latest rev); Edit Current Revision
  15. Diff (may not be latest rev); Edit Current Revision
  16. Diff (may not be latest rev); Edit Current Revision
  17. Diff (may not be latest rev); Edit Current Revision
  18. Diff (may not be latest rev); Edit Current Revision
  19. Diff (may not be latest rev); Edit Current Revision
  20. Diff (may not be latest rev); Edit Current Revision
  21. Diff (may not be latest rev); Edit Current Revision
  22. Diff (may not be latest rev); Edit Current Revision
  23. Diff (may not be latest rev); Edit Current Revision
  24. Diff (may not be latest rev); Edit Current Revision
  25. Diff (may not be latest rev); Edit Current Revision
  26. Diff (may not be latest rev); Edit Current Revision
  27. Diff (may not be latest rev); Edit Current Revision
  28. Diff (may not be latest rev); Edit Current Revision
  29. Diff (may not be latest rev); Edit Current Revision
  30. Diff (may not be latest rev); Edit Current Revision
  31. Diff (may not be latest rev); Edit Current Revision
  32. Diff (may not be latest rev); Edit Current Revision
  33. Diff (may not be latest rev); Edit Current Revision
  34. Diff (may not be latest rev); Edit Current Revision
  35. Diff (may not be latest rev); Edit Current Revision
  36. Diff (may not be latest rev); Edit Current Revision
  37. Diff (may not be latest rev); Edit Current Revision
  38. Diff (may not be latest rev); Edit Current Revision
  39. Diff (may not be latest rev); Edit Current Revision
  40. Diff (may not be latest rev); Edit Current Revision
  41. Diff (may not be latest rev); Edit Current Revision
  42. Diff (may not be latest rev); Edit Current Revision
  43. Diff (may not be latest rev); Edit Current Revision
  44. Diff (may not be latest rev); Edit Current Revision
  45. Diff (may not be latest rev); Edit Current Revision
  46. Diff (may not be latest rev); Edit Current Revision
  47. Diff (may not be latest rev); Edit Current Revision
  48. Diff (may not be latest rev); Edit Current Revision
  49. Diff (may not be latest rev); Edit Current Revision
  50. Diff (may not be latest rev); Edit Current Revision
  51. Diff (may not be latest rev); Edit Current Revision
  52. Diff (may not be latest rev); Edit Current Revision
  53. Diff (may not be latest rev); Edit Current Revision
  54. Diff (may not be latest rev); Edit Current Revision
  55. Diff (may not be latest rev); Edit Current Revision
  56. Diff (may not be latest rev); Edit Current Revision
  57. Diff (may not be latest rev); Edit Current Revision
  58. Diff (may not be latest rev); Edit Current Revision
  59. Diff (may not be latest rev); Edit Current Revision
  60. Diff (may not be latest rev); Edit Current Revision
  61. Diff (may not be latest rev); Edit Current Revision
  62. Diff (may not be latest rev); Edit Current Revision
  63. Diff (may not be latest rev); Edit Current Revision
  64. Diff (may not be latest rev); Edit Current Revision
  65. Diff (may not be latest rev); Edit Current Revision
  66. Diff (may not be latest rev); Edit Current Revision
  67. Diff (may not be latest rev); Edit Current Revision
  68. Diff (may not be latest rev); Edit Current Revision
  69. Diff (may not be latest rev); Edit Current Revision

Yes Done el.wikipedia.org

edit
  1. Diff (may not be latest rev); Edit Current Revision
  2. Diff (may not be latest rev); Edit Current Revision
  3. Diff (may not be latest rev); Edit Current Revision
  4. Diff (may not be latest rev); Edit Current Revision
  5. Diff (may not be latest rev); Edit Current Revision
  6. Diff (may not be latest rev); Edit Current Revision
  7. Diff (may not be latest rev); Edit Current Revision

Yes Done en.wikipedia.org

edit
Extended content
  1. Diff (may not be latest rev); Edit Current Revision
  2. Diff (may not be latest rev); Edit Current Revision
  3. Diff (may not be latest rev); Edit Current Revision
  4. Diff (may not be latest rev); Edit Current Revision
  5. Diff (may not be latest rev); Edit Current Revision
  6. Diff (may not be latest rev); Edit Current Revision
  7. Diff (may not be latest rev); Edit Current Revision
  8. Diff (may not be latest rev); Edit Current Revision
  9. Diff (may not be latest rev); Edit Current Revision
  10. Diff (may not be latest rev); Edit Current Revision
  11. Diff (may not be latest rev); Edit Current Revision
  12. Diff (may not be latest rev); Edit Current Revision
  13. Diff (may not be latest rev); Edit Current Revision
  14. Diff (may not be latest rev); Edit Current Revision
  15. Diff (may not be latest rev); Edit Current Revision
  16. Diff (may not be latest rev); Edit Current Revision
  17. Diff (may not be latest rev); Edit Current Revision
  18. Diff (may not be latest rev); Edit Current Revision
  19. Diff (may not be latest rev); Edit Current Revision
  20. Diff (may not be latest rev); Edit Current Revision
  21. Diff (may not be latest rev); Edit Current Revision
  22. Diff (may not be latest rev); Edit Current Revision
  23. Diff (may not be latest rev); Edit Current Revision
  24. Diff (may not be latest rev); Edit Current Revision
  25. Diff (may not be latest rev); Edit Current Revision
  26. Diff (may not be latest rev); Edit Current Revision
  27. Diff (may not be latest rev); Edit Current Revision
  28. Diff (may not be latest rev); Edit Current Revision
  29. Diff (may not be latest rev); Edit Current Revision
  30. Diff (may not be latest rev); Edit Current Revision
  31. Diff (may not be latest rev); Edit Current Revision
  32. Diff (may not be latest rev); Edit Current Revision
  33. Diff (may not be latest rev); Edit Current Revision
  34. Diff (may not be latest rev); Edit Current Revision
  35. Diff (may not be latest rev); Edit Current Revision
  36. Diff (may not be latest rev); Edit Current Revision
  37. Diff (may not be latest rev); Edit Current Revision
  38. Diff (may not be latest rev); Edit Current Revision
  39. Diff (may not be latest rev); Edit Current Revision
  40. Diff (may not be latest rev); Edit Current Revision
  41. Diff (may not be latest rev); Edit Current Revision
  42. Diff (may not be latest rev); Edit Current Revision
  43. Diff (may not be latest rev); Edit Current Revision
  44. Diff (may not be latest rev); Edit Current Revision
  45. Diff (may not be latest rev); Edit Current Revision
  46. Diff (may not be latest rev); Edit Current Revision
  47. Diff (may not be latest rev); Edit Current Revision
  48. Diff (may not be latest rev); Edit Current Revision
  49. Diff (may not be latest rev); Edit Current Revision
  50. Diff (may not be latest rev); Edit Current Revision
  51. Diff (may not be latest rev); Edit Current Revision
  52. Diff (may not be latest rev); Edit Current Revision
  53. Diff (may not be latest rev); Edit Current Revision
  54. Diff (may not be latest rev); Edit Current Revision
  55. Diff (may not be latest rev); Edit Current Revision
  56. Diff (may not be latest rev); Edit Current Revision
  57. Diff (may not be latest rev); Edit Current Revision
  58. Diff (may not be latest rev); Edit Current Revision
  59. Diff (may not be latest rev); Edit Current Revision
  60. Diff (may not be latest rev); Edit Current Revision
  61. Diff (may not be latest rev); Edit Current Revision
  62. Diff (may not be latest rev); Edit Current Revision
  63. Diff (may not be latest rev); Edit Current Revision
  64. Diff (may not be latest rev); Edit Current Revision
  65. Diff (may not be latest rev); Edit Current Revision
  66. Diff (may not be latest rev); Edit Current Revision
  67. Diff (may not be latest rev); Edit Current Revision
  68. Diff (may not be latest rev); Edit Current Revision
  69. Diff (may not be latest rev); Edit Current Revision
  70. Diff (may not be latest rev); Edit Current Revision
  71. Diff (may not be latest rev); Edit Current Revision
  72. Diff (may not be latest rev); Edit Current Revision
  73. Diff (may not be latest rev); Edit Current Revision
  74. Diff (may not be latest rev); Edit Current Revision
  75. Diff (may not be latest rev); Edit Current Revision
  76. Diff (may not be latest rev); Edit Current Revision
  77. Diff (may not be latest rev); Edit Current Revision
  78. Diff (may not be latest rev); Edit Current Revision
  79. Diff (may not be latest rev); Edit Current Revision
  80. Diff (may not be latest rev); Edit Current Revision
  81. Diff (may not be latest rev); Edit Current Revision
  82. Diff (may not be latest rev); Edit Current Revision
  83. Diff (may not be latest rev); Edit Current Revision
  84. Diff (may not be latest rev); Edit Current Revision
  85. Diff (may not be latest rev); Edit Current Revision
  86. Diff (may not be latest rev); Edit Current Revision
  87. Diff (may not be latest rev); Edit Current Revision
  88. Diff (may not be latest rev); Edit Current Revision
  89. Diff (may not be latest rev); Edit Current Revision
  90. Diff (may not be latest rev); Edit Current Revision
  91. Diff (may not be latest rev); Edit Current Revision
  92. Diff (may not be latest rev); Edit Current Revision
  93. Diff (may not be latest rev); Edit Current Revision
  94. Diff (may not be latest rev); Edit Current Revision
  95. Diff (may not be latest rev); Edit Current Revision
  96. Diff (may not be latest rev); Edit Current Revision
  97. Diff (may not be latest rev); Edit Current Revision
  98. Diff (may not be latest rev); Edit Current Revision
  99. Diff (may not be latest rev); Edit Current Revision
  100. Diff (may not be latest rev); Edit Current Revision
  101. Diff (may not be latest rev); Edit Current Revision
  102. Diff (may not be latest rev); Edit Current Revision
  103. Diff (may not be latest rev); Edit Current Revision
  104. Diff (may not be latest rev); Edit Current Revision
  105. Diff (may not be latest rev); Edit Current Revision
  106. Diff (may not be latest rev); Edit Current Revision
  107. Diff (may not be latest rev); Edit Current Revision
  108. Diff (may not be latest rev); Edit Current Revision
  109. Diff (may not be latest rev); Edit Current Revision
  110. Diff (may not be latest rev); Edit Current Revision
  111. Diff (may not be latest rev); Edit Current Revision
  112. Diff (may not be latest rev); Edit Current Revision
  113. Diff (may not be latest rev); Edit Current Revision
  114. Diff (may not be latest rev); Edit Current Revision
  115. Diff (may not be latest rev); Edit Current Revision
  116. Diff (may not be latest rev); Edit Current Revision
  117. Diff (may not be latest rev); Edit Current Revision
  118. Diff (may not be latest rev); Edit Current Revision
  119. Diff (may not be latest rev); Edit Current Revision
  120. Diff (may not be latest rev); Edit Current Revision
  121. Diff (may not be latest rev); Edit Current Revision
  122. Diff (may not be latest rev); Edit Current Revision
  123. Diff (may not be latest rev); Edit Current Revision
  124. Diff (may not be latest rev); Edit Current Revision
  125. Diff (may not be latest rev); Edit Current Revision
  126. Diff (may not be latest rev); Edit Current Revision
  127. Diff (may not be latest rev); Edit Current Revision
  128. Diff (may not be latest rev); Edit Current Revision
  129. Diff (may not be latest rev); Edit Current Revision
  130. Diff (may not be latest rev); Edit Current Revision
  131. Diff (may not be latest rev); Edit Current Revision
  132. Diff (may not be latest rev); Edit Current Revision
  133. Diff (may not be latest rev); Edit Current Revision
  134. Diff (may not be latest rev); Edit Current Revision
  135. Diff (may not be latest rev); Edit Current Revision
  136. Diff (may not be latest rev); Edit Current Revision
  137. Diff (may not be latest rev); Edit Current Revision
  138. Diff (may not be latest rev); Edit Current Revision
  139. Diff (may not be latest rev); Edit Current Revision
  140. Diff (may not be latest rev); Edit Current Revision
  141. Diff (may not be latest rev); Edit Current Revision
  142. Diff (may not be latest rev); Edit Current Revision
  143. Diff (may not be latest rev); Edit Current Revision
  144. Diff (may not be latest rev); Edit Current Revision
  145. Diff (may not be latest rev); Edit Current Revision
  146. Diff (may not be latest rev); Edit Current Revision
  147. Diff (may not be latest rev); Edit Current Revision
  148. Diff (may not be latest rev); Edit Current Revision
  149. Diff (may not be latest rev); Edit Current Revision
  150. Diff (may not be latest rev); Edit Current Revision
  151. Diff (may not be latest rev); Edit Current Revision
  152. Diff (may not be latest rev); Edit Current Revision
  153. Diff (may not be latest rev); Edit Current Revision
  154. Diff (may not be latest rev); Edit Current Revision
  155. Diff (may not be latest rev); Edit Current Revision
  156. Diff (may not be latest rev); Edit Current Revision
  157. Diff (may not be latest rev); Edit Current Revision
  158. Diff (may not be latest rev); Edit Current Revision
  159. Diff (may not be latest rev); Edit Current Revision
  160. Diff (may not be latest rev); Edit Current Revision
  161. Diff (may not be latest rev); Edit Current Revision
  162. Diff (may not be latest rev); Edit Current Revision
  163. Diff (may not be latest rev); Edit Current Revision
  164. Diff (may not be latest rev); Edit Current Revision
  165. Diff (may not be latest rev); Edit Current Revision
  166. Diff (may not be latest rev); Edit Current Revision
  167. Diff (may not be latest rev); Edit Current Revision
  168. Diff (may not be latest rev); Edit Current Revision
  169. Diff (may not be latest rev); Edit Current Revision
  170. Diff (may not be latest rev); Edit Current Revision
  171. Diff (may not be latest rev); Edit Current Revision
  172. Diff (may not be latest rev); Edit Current Revision
  173. Diff (may not be latest rev); Edit Current Revision
  174. Diff (may not be latest rev); Edit Current Revision
  175. Diff (may not be latest rev); Edit Current Revision
  176. Diff (may not be latest rev); Edit Current Revision
  177. Diff (may not be latest rev); Edit Current Revision
  178. Diff (may not be latest rev); Edit Current Revision
  179. Diff (may not be latest rev); Edit Current Revision
  180. Diff (may not be latest rev); Edit Current Revision
  181. Diff (may not be latest rev); Edit Current Revision
  182. Diff (may not be latest rev); Edit Current Revision
  183. Diff (may not be latest rev); Edit Current Revision
  184. Diff (may not be latest rev); Edit Current Revision
  185. Diff (may not be latest rev); Edit Current Revision
  186. Diff (may not be latest rev); Edit Current Revision
  187. Diff (may not be latest rev); Edit Current Revision
  188. Diff (may not be latest rev); Edit Current Revision
  189. Diff (may not be latest rev); Edit Current Revision
  190. Diff (may not be latest rev); Edit Current Revision
  191. Diff (may not be latest rev); Edit Current Revision
  192. Diff (may not be latest rev); Edit Current Revision
  193. Diff (may not be latest rev); Edit Current Revision
  194. Diff (may not be latest rev); Edit Current Revision
  195. Diff (may not be latest rev); Edit Current Revision
  196. Diff (may not be latest rev); Edit Current Revision
  197. Diff (may not be latest rev); Edit Current Revision
  198. Diff (may not be latest rev); Edit Current Revision
  199. Diff (may not be latest rev); Edit Current Revision
  200. Diff (may not be latest rev); Edit Current Revision
  201. Diff (may not be latest rev); Edit Current Revision
  202. Diff (may not be latest rev); Edit Current Revision
  203. Diff (may not be latest rev); Edit Current Revision
  204. Diff (may not be latest rev); Edit Current Revision
  205. Diff (may not be latest rev); Edit Current Revision
  206. Diff (may not be latest rev); Edit Current Revision
  207. Diff (may not be latest rev); Edit Current Revision
  208. Diff (may not be latest rev); Edit Current Revision
  209. Diff (may not be latest rev); Edit Current Revision
  210. Diff (may not be latest rev); Edit Current Revision
  211. Diff (may not be latest rev); Edit Current Revision
  212. Diff (may not be latest rev); Edit Current Revision
  213. Diff (may not be latest rev); Edit Current Revision
  214. Diff (may not be latest rev); Edit Current Revision
  215. Diff (may not be latest rev); Edit Current Revision
  216. Diff (may not be latest rev); Edit Current Revision
  217. Diff (may not be latest rev); Edit Current Revision
  218. Diff (may not be latest rev); Edit Current Revision
  219. Diff (may not be latest rev); Edit Current Revision
  220. Diff (may not be latest rev); Edit Current Revision
  221. Diff (may not be latest rev); Edit Current Revision
  222. Diff (may not be latest rev); Edit Current Revision
  223. Diff (may not be latest rev); Edit Current Revision
  224. Diff (may not be latest rev); Edit Current Revision
  225. Diff (may not be latest rev); Edit Current Revision
  226. Diff (may not be latest rev); Edit Current Revision
  227. Diff (may not be latest rev); Edit Current Revision
  228. Diff (may not be latest rev); Edit Current Revision
  229. Diff (may not be latest rev); Edit Current Revision
  230. Diff (may not be latest rev); Edit Current Revision
  231. Diff (may not be latest rev); Edit Current Revision
  232. Diff (may not be latest rev); Edit Current Revision
  233. Diff (may not be latest rev); Edit Current Revision
  234. Diff (may not be latest rev); Edit Current Revision
  235. Diff (may not be latest rev); Edit Current Revision
  236. Diff (may not be latest rev); Edit Current Revision
  237. Diff (may not be latest rev); Edit Current Revision
  238. Diff (may not be latest rev); Edit Current Revision
  239. Diff (may not be latest rev); Edit Current Revision
  240. Diff (may not be latest rev); Edit Current Revision
  241. Diff (may not be latest rev); Edit Current Revision
  242. Diff (may not be latest rev); Edit Current Revision
  243. Diff (may not be latest rev); Edit Current Revision
  244. Diff (may not be latest rev); Edit Current Revision
  245. Diff (may not be latest rev); Edit Current Revision
  246. Diff (may not be latest rev);