Jump to content

User talk:Danski454/undo-move

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Quick fix

[edit]

@Danski454: Hi. This script has stopped working since the html markup of page history has changed. I found a quick fix for the issue and you just have to change the regular expression as follows:

/<abbr class="minoredit".+<span.+class="mw-plusminus-null mw-diff-bytes".*>\D*0\D*<\/span>.+<span class="comment.*">.+ moved page <a.+>(.+?)<\/a> to .+/

The parentheses inside <span class="comment"> for page moves has been removed in the new markup. There is also a new class added to the span named "comment--without-parentheses" which I'm not sure is added to every page move item in pages' history.

I've tested the fix on Talk:Maple Leaf Pro Wrestling and it works.

Regards, Jeeputer Talk 23:52, 16 August 2024 (UTC)[reply]

@Jeeputer:  Done, thanks for the fix Danski454 (talk) 15:29, 17 August 2024 (UTC)[reply]