Page MenuHomePhabricator

Detect and ignore links with wikitext substitutions
Closed, ResolvedPublic

Description

Today I noticed IABot marking two links as dead which contain the {{CURRENTYEAR}} special word. Both links, when clicked on the page, worked fine. I think that either IABot should stay away from links like this, or it should substitute valid special words (for itself, so without changing the wikitext).

Example: https://nl.wikipedia.org/w/index.php?title=Zonsopkomst&curid=57369&diff=50344067&oldid=49561952

Event Timeline

Cyberpower678 moved this task from Inbox to v2.0 on the InternetArchiveBot board.
Cyberpower678 moved this task from Unsorted to Bugs on the InternetArchiveBot (v2.0) board.

Recommend checking for and skipping URLs containing '{{' .. this and {{Billboard}} and other templates will mess up the parsing engine.

Cirdan renamed this task from Links with wikitext substitutions to Detect and ignore links with wikitext substitutions.Apr 3 2018, 7:01 AM
Cirdan added subscribers: Cirdan, Cyberpower678.

I have an idea how to deal without this, but it’s not going to happen until the lower level core gets its rewrite.

No longer relevant in the latest version of IABot.