Page MenuHomePhabricator

Converting & to '&'
Closed, ResolvedPublic

Description

Diff

https://en.wikipedia.org/w/index.php?title=Hobart_coastal_defences&type=revision&diff=773699287&oldid=765437487

Sometimes URLs mistakenly contain XML versions of '&' and IABot URL encodes it .. solution check for '&' and convert to '&' prior to encoding.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

WaybackMedic has been fixing these in the wikitext as of a few weeks ago. A handful show up in each batch run.

Ugh. Another layer of decoding to add. htmlspecialchars_decode() should do the trick.

Cyberpower678 moved this task from Inbox to v1.3 on the InternetArchiveBot board.
Cyberpower678 moved this task from Unsorted to Bugs on the InternetArchiveBot (v1.3) board.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.
Qse24h closed this task as a duplicate of T164723: New git repository: <repo name>.