This Forum has been archived

Forums: Admin Central Index Technical Help Keeping redlinks off Special:WantedPages
Central's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1603 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

Is there any way in the world of keeping some redlinks off Special:WantedPages? For instance, at w:c:tardis, I have a template called tardis:template:Timeline. What it does, with the help of a lot of other templates — but for the purposes of this discussion, mainly tardis:template:YearNav — is to sit on a page abot a year, say tardis:1960, and then provide a link to the ten years which surround 1960. That's find when you're talking the 20th century. Bu due to the nature of Doctor Who, we can have, say, 2360, but there won't page pages for 2355 and 2362, because no story has been set in those years. The more far flung the year, the less of a chance that surrounding years will ever be made.

So what I want is some way to prevent a redlink for showing up. I could use an #ifexist statement:

{{#ifexist:Admin Forum:This thread doesn't exist|[[Admin Forum:This thread doesn't exist]]|This thread really doesn't exist}} 
This thread really doesn't exist

Only thing is, in the past this didn't actually prevent the pages from showing up on Special:WantedPages. Does anyone know if this bug has been fixed? Or is there some clever bit of template coding which might trick Special:WantedPages into not "seeing" a redlink? czechout@fandom    fly tardis  <span style="">22:47: Thu 21 Jun 2012 

I think at the moment the ifexist bug still exists. As ParserFunctions are (as I understand) now in the main MediaWiki code release, this may well be fixed when 1.19 comes about, if not - then after 1.19 comes out, I'd bug staff to fix it. -- RandomTime 22:54, June 21, 2012 (UTC)
I tend to cheat when it comes to pages templates inadvertently create. Say the template links to Keeping redlinks off Special:WantedPages/subpage the Template automatically creates a wanted page, that will never legitimately exist. What I do is redirect it to a placeholder or dead end page, such as w:c:runescape:RuneScape:No Page. You can do the same for reserved pages although you might want to make a list of them somewhere when the page does become needed for content. Cqm 10:23,22/6/2012 (UTC)
That would cause #ifexist to return true, and create a link on the article for a page that shouldn't exist -- RandomTime 10:31, June 22, 2012 (UTC)
Obviously, the best plan would be to wait for 1.19 and bug the staff. But I have an idea anyway. You're using Semantics now aren't you? Would checking for one of the default properties that (obviously) don't exist on non-existant pages cause them to appear on WantedPages?    ǝsʞpɐןǝ  (message wall)  10:37, 22/06/2012