v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing Template talk:ArticleVersion

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 41: Line 41:
  
 
What is this api.mybrowserbar that keeps popping up when I click on different versions of pages? If I go to the 2010 subterranean trees article and click on "v0.31.08" it tries to redirect me to the api.mybrowserbar page which my antivirus software catches and calls.--[[Special:Contributions/208.81.12.34|208.81.12.34]] 18:44, 24 June 2010 (UTC)
 
What is this api.mybrowserbar that keeps popping up when I click on different versions of pages? If I go to the 2010 subterranean trees article and click on "v0.31.08" it tries to redirect me to the api.mybrowserbar page which my antivirus software catches and calls.--[[Special:Contributions/208.81.12.34|208.81.12.34]] 18:44, 24 June 2010 (UTC)
:I can't figure out which page you're talking about.  Clicking on the versioning template at [http://df.magmawiki.com/index.php/Category:DF2010:Subterranean_trees Category:DF2010:Subterranean_trees] just gets the standard redlink page, and checking the HTML for that doesn't seem to show anything.  I'd guess that your computer is infected with a virus in its browser.  Run a full scan with your antivirus, and probably one or two others if you can. --[[User:DeMatt|DeMatt]] 20:09, 24 June 2010 (UTC)
+
:I can't figure out which page you're talking about.  Clicking on the versioning template at [[Category:DF2010:Subterranean_trees]] just gets the standard redlink page, and checking the HTML for that doesn't seem to show anything.  I'd guess that your computer is infected with a virus in its browser.  Run a full scan with your antivirus, and probably one or two others if you can. --[[User:DeMatt|DeMatt]] 20:09, 24 June 2010 (UTC)
 
 
== Current/Obsolete Categories ==
 
Is it really necessary for this template to categorize pages in [[:Category:Current]] and [[:Category:Obsolete]]? As I see it, it would be far more useful to simply place them in categories matching their namespace name (as is already done for categories) so that we don't end up with one category that contains every single article from 3 old but very much distinct versions of Dwarf Fortress. --[[User:Quietust|Quietust]] 17:47, 5 November 2012 (UTC)
 
:That probably makes sense. --[[User:Briess|Briess]] 20:09, 5 November 2012 (UTC)
 
 
 
== NR link ==
 
 
 
The NR text should act as a link, and it does on [[Template:av]]. However, on [[DF2012:How_do_I_build_a_farm|this page]], it doesn't. Adding <code><nowiki>{{PAGENAME}}</nowiki></code> to the top of the page does display the page name as it should. Could this be related to spaces, by any chance? The only page I've found [[:Category:Missing Redirect|without a redirect]] that doesn't have spaces is [[DF:Versions]] (the av template is in the middle, as an example, but it '''does''' have a NR link that functions correctly). I don't see why spaces would be causing a problem – they usually work without problems – but does anyone know of a way to fix this? --{{User:Lethosor/sig}} 23:41, 25 February 2013 (UTC)
 
 
 
:This bug was caused by the inter-namespace link rewriting code--generic links to "foo" are automatically rewritten to <nowiki>"{{NAMESPACE}}:foo"</nowiki> when in one of the "versioned" namespaces (DF2012, v0.31, etc.). I have modified the template to explicitly force the NR link to point to mainspace as intended. --[[User:Loci|Loci]] 02:21, 26 February 2013 (UTC)
 
 
 
::Thanks. It looks like all of the "Missing Redirect" articles now point to the correct article in the main namespace. --{{User:Lethosor/sig}} 02:36, 26 February 2013 (UTC)
 
 
 
== Auto create redirect does NOT work ==
 
 
 
Just stumbled upon a page with pink text in its template([[DF2012:Quickstart_guide/Stockpiles|this one]]). So I clicked it, assuming thats what youre supposed to do when you see it(I never saw pink text before :P ). It sent me to a page with preset text, and when I clicked preview it showed me that the comment caused the page to not be recognized as a redirect.
 
 
 
I would fix this, but after a look at the source code I decided that I dont know enough about this template to figure out where the source of the preset page is located and remove the comment.
 
 
 
The comment is redunant anyway, as the info box that is preloaded when creating the redirect already tells you that you can press the save page button.
 
 
 
(I decided that I shouldnt create the redirect, actually, because the page is a subpage. Still, this bug should be fixed.) {{User:Latias1290/Sig/src|14:54|March 31, 2014}}
 
*Actually, I used that to auto-create the [[Dipscript]] redirect, and it worked just fine. When you actually save the page, the comment gets subst'ed into nothing and leaves a working redirect. --[[User:Quietust|Quietust]] ([[User talk:Quietust|talk]]) 17:20, 31 March 2014 (UTC)
 
I went ahead and removed the redundant text in the edit field. I'm not really sure if the "NR" link is necessary on subpages–are there any cases where redirects to subpages are needed? If there aren't, I'll go ahead and disable the link on subpages. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 19:02, 31 March 2014 (UTC)
 
 
 
Even with the comment removed, it still displays as "1. REDIRECT cv:Quickstart guide/Stockpiles" until saved, due to <nowiki>{{subst:PAGENAME}}</nowiki> occurring in the link. Once it's saved, however, Mediawiki treats it as a redirect and automatically redirects to the original (DF2012) page, most likely because it didn't realize it was a redirect before saving and didn't set the "redirect=no" parameter normally set when editing a redirect. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 19:07, 31 March 2014 (UTC)
 
 
 
This link has been removed entirely, since the AutoRedirect extension makes mainspace redirects unnecessary ([[Main:Quickstart_guide/Stockpiles]] redirects to [[DF2012:Quickstart_guide/Stockpiles]] automatically). &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 15:08, 7 June 2014 (UTC)
 
 
 
== "Note that some content may still need to be updated." ==
 
 
 
I suggest removing "Note that some content may still need to be updated." from this template. We already have [[Template:migrated article]] and [[Template:migrated section]]; if those templates aren't present the reader should assume the content is accurate for v50. [[User:NiftyManiac|NiftyManiac]] ([[User talk:NiftyManiac|talk]]) 21:31, 3 January 2023 (UTC)
 
:I added this because someone pointed out seemingly-conflicting language between this template saying an article is "current" and {{tl|migrated article}} saying that it's not. I could have sworn that discussion was somewhere on [[Dwarf_Fortress_Wiki_talk:Versions]], but I can't find it anymore. Anyway, I agree this language should be the first to go out of the various warnings. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 21:45, 4 January 2023 (UTC)
 
::It'll probably be a while until all 2k remaining migrated pages lose {{tl|migrated article}}. Since the migrated article template is always first, why not make the version text conditional on its presence? Tried a [[User:OddballJoe/Sandbox#Migration_Message|couple of options]]; the last purple one is my favorite, we could cut down on the amount of warnings by just putting the migration text completely in the version template. If we went this route I'd probably pick yellow for the color of current-but-migrated.
 
::Right now the Engraving article text doesn't start until halfway down my screen, so this would help. [[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 19:59, 5 January 2023 (UTC)
 
:::It's an interesting idea, but I don't think we can necessarily guarantee that {{tl|migrated article}} will always be before {{tl|av}}, or paired with {{tl|av}}, so I am hesitant to make {{tl|migrated article}} invisible. I'm open to reverting the {{tl|av}} language at this point, I suppose, since {{tl|migrated article}} is so obvious. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 18:57, 10 January 2023 (UTC)
 
:::: Good point. <s>Oooorrr... {{tl|migrated article}} and {{tl|av}} both include [[Template:version info]], which displays the av, migration, or combined messages, and only draws itself once per page.</s> Wait nvm that doesn't work at all. [[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 19:41, 10 January 2023 (UTC)
 
 
 
==v50 articles only show one previous version==
 
Lethosor, did you deliberately make this template show only v50 and v0.47 versions on v50 pages, while all other pages show all versions? Wanted to double check before I went ahead and fixed this. [[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 20:05, 4 January 2023 (UTC)
 
:Yes, that was deliberate, I (and [[User:Emi|Emi]]) wanted to just show the most commonly-used versions on the current pages. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 21:36, 4 January 2023 (UTC)
 
 
 
== Fix for ifexist wanted links ==
 
 
 
I don't know if it's of any interest, but someone figured out a way to check for the presence of a page via page properties to avoid the creation of a wanted link. See [https://avatar.fandom.com/wiki/Template:Linkless_exists Template:Linkless_exists at Avatar Wiki]. Like the page says, it's a little more expensive and the result is cached (which can be fixed/updated by API purging the template with the recursive arguments).--[[User:PlNG|PlNG]] ([[User talk:PlNG|talk]]) 16:35, 5 February 2023 (UTC)
 

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Please sign comments with ~~~~

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)