Module talk:Archive
Red links are back
After the merge, {{aan}} shows red links to archive pages that don't exist yet; e.g. at Talk:Intergovernmental_Panel_on_Climate_Change/Archive_12.--Oneiros (talk) 18:21, 18 October 2014 (UTC)
- @Oneiros: I think I had a reason for doing it that way after reading the TfD discussion, but if people are seeing it as a bug, then keeping the old behaviour is probably best. I've changed the module so that {{aan}} suppresses red links by default. You can always change this on individual archive templates by setting
|noredlinks=yes
or|noredlinks=no
. — Mr. Stradivarius ♪ talk ♪ 03:45, 31 October 2014 (UTC)
Link to non-existing archive should not be selflink
@Mr. Stradivarius: The top of Talk:Annexation of Crimea by the Russian Federation/Archive 8 currently displays a blue "Archive 7" link followed by two bold black unlinked "Archive 8" due to selflinks. The second of these should have been a red "Archive 9" link, and purging the page will make it so (I tested on other newly created archives at [1]). I guess the issue is that when the page was created (via the API if it matters), ifexist or a Lua equivalent returned false for the page itself so the module thinks the page itself is the first non-existing archive. It will automatically be fixed by any rerendering of the page but it's confusing while it lasts. Could the module add code to say that if the page being created is registered as the first non-existing archive then add 1 to the archive number in the link? PrimeHunter (talk) 10:27, 14 June 2016 (UTC)