Template talk:Archive navigation

From Wikipedia, the free encyclopedia
Jump to: navigation, search


Is there any way to truncate this template on the last archive, so a redlink to a nonexistant archive doesn't appear? /Blaxthos 21:12, 7 October 2006 (UTC)

No, it's an bug in {{#ifexist}} that is that it cant handle sub-pages. AzaToth 21:15, 7 October 2006 (UTC)

I've never coded for wiki* or anything, so maybe this is a silly suggestion, but how about just adding a boolean 3rd arg, when set to 1 (or present at all) it supresses the redlink'd archive page (Archive+1). /Blaxthos 21:23, 7 October 2006 (UTC)

I think having the redlink is useful; it shows people where to put the next archive, it makes sure they call it "Archive 3" rather than "archive 3", "Archive3", "Archive/3" or something like that - because if they did, the link wouldn't work – Gurch 09:23, 12 October 2006 (UTC)

I'm a bit tired at the moment, and can't understand the code I wrote, but I did the above in {{Log}}. It might or might not work here if somebody wants to try it! --kingboyk 00:23, 6 March 2007 (UTC)

On second thoughts, I think for human edited pages like this is used on, the red link is handy. --kingboyk 19:58, 6 April 2007 (UTC)


I recently created User_talk:Carcharoth/Archive_7, which displays the archive pages at the top fine, but the previous page, User_talk:Carcharoth/Archive_6, doesn't have the link to Archive 7. What is going on? Carcharoth 02:18, 11 December 2006 (UTC)

I see a link to 07 just after "Archive 06". Looks to be working from here. /Blaxthos 02:21, 11 December 2006 (UTC)
That was weird. I clicked 'edit this page' for the Archive 6 page, entered 'null edit' in the edit summary box, then clicked save. The archive template now works, but the null edit doesn't appear in the history (I didn't change anything). Maybe Wikipedia:Null edit? Carcharoth 02:23, 11 December 2006 (UTC)
Bingo. It was a template caching/job queue problem. The null edit jumped the template update to the front of the job queue. I think. Carcharoth 02:24, 11 December 2006 (UTC)
This is not a bug or defect. null edits are still needed sometime to place a specific page in front of a long job queue, because pages using templates may take some long time to be purged from the cache if the template or links that they use are modified (remember that a template or link reference may need purging many pages from the cache and, depending on the current server load, this may take significant time. Such cache purge is queued becauseit would take too much ressource on the server if all dependencies were updated in real time each time a linked page is added or a dependant template is updated.
Null edits are however still needed for pages that include templates inserting categories for the embedding page, if these generated categories are modified (an explicit "purge" action does not alter existing categories immediately, and this make take hours or days for the categories of the embedding page to be updated).
When you save a page without editing it, it is normal that nothing appears in the history, because there was no diff to place in the history. However, it has the immediate effect of recomputing the categories for the null-edit saved page... verdy_p 22:54, 2 January 2007 (UTC)


I made the change to enable a dynamic list of up to 20 pages, instead of the older static display of three fixed pages. Any problem? AzaToth 23:22, 2 January 2007 (UTC)

Category talk[edit]

Have I done something wrong, or is this broken on category talk pages? Please see:

--kingboyk 19:57, 6 April 2007 (UTC)

Kingboyk: Thanks for reporting this. So I investigated it:
Yes, many of these archive templates are broken when on "Category talk" and "Help talk" pages. The reason is that those namespaces doesn't fully support subpages. Most of us consider that a bug, so we have reported the bug. You can read more about that at Wikipedia:Village pump (technical)/Archive 59#Subpage feature.
But there is no telling when they are going to fix that bug, so I am coding a workaround. See template {{pgn}} that I will plug into these archive boxes.
--David Göthberg (talk) 22:31, 22 April 2009 (UTC)

Added feature[edit]

As some old archives were named incorrectly (e.g. "archive2" instead of "Archive 2"), I have added the possibility to use custom pagenames with optional "prev" and "next" fields. I suppose no bugs should result from this. Súrendil 18:26, 7 September 2007 (UTC)


Could we also have an endarchive? My archive seen here has a redlink at the end. :| TelCoNaSpVe :| 02:21, 7 July 2010 (UTC)
I could make it so that it only displays if the page actually exists. But would this be desirable in every case? — Martin (MSGJ · talk) 21:20, 8 July 2010 (UTC)
Possibly. Let's see if it is... :| TelCoNaSpVe :| 21:37, 8 July 2010 (UTC)
How's this? — Martin (MSGJ · talk) 21:54, 8 July 2010 (UTC)
Perfect! Thanks so much! :| TelCoNaSpVe :| 21:58, 8 July 2010 (UTC)
Okay, Yes check.svg Done. Let's see if anyone objects to this. — Martin (MSGJ · talk) 22:16, 8 July 2010 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── Hmmm... one of my previous archives appears to have changed during this new process. It doesn't seem that inconvenient but I'm requesting a change to the archive template anyway, if anybody has the time to do it. :| TelCoNaSpVe :| 13:57, 13 July 2010 (UTC)



Can an admin move the documentation information to a seperate /doc page by adding {{documentation}}? Thanks! MathCool10 Sign here! 02:29, 14 April 2009 (UTC)

Yes check.svg Done. All categories, interwikis, and documentation moved to transcluded /doc subpage. –Drilnoth (TCL) 02:40, 14 April 2009 (UTC)


Not sure what has happened here, but this template has not formatted correctly on my first archive page, it is fine on all the rest. Link User_talk:Mollsmolyneux/Archive_1. What have I done wrong? Thanks for any help --Mollsmolyneux (talk) 19:13, 11 July 2010 (UTC)

The same thing happened to my page, but mine was on a subpage, User:Battleaxe9872/Archive 1. Battleaxe9872 Talk 14:40, 2 August 2010 (UTC)
See the two sections directly above this one. I had the same problem. :| TelCoNaSpVe :| 21:11, 4 August 2010 (UTC)