Difference between revisions of "Category talk:Archived Talk"
(agree, some pre-cooked code ready to use) |
(Pondering) |
||
Line 10: | Line 10: | ||
</pre> | </pre> | ||
At least it do on my MediaWiki/1.14 installation at Thai RoboWiki. This will create the Archived and Archived_talk: namespaces. » <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> » 16:07, 29 April 2009 (UTC) | At least it do on my MediaWiki/1.14 installation at Thai RoboWiki. This will create the Archived and Archived_talk: namespaces. » <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> » 16:07, 29 April 2009 (UTC) | ||
+ | |||
+ | I kind of wonder what would hapepen if you omit the NS_ARCHIVE lines and leave the NS_ARCHIVED_TALK lines. Being an odd ID should still signify to it that it's a 'discussion' namespace, but not having NS_ARCHIVED might usefully do something? Or maybe that would just break it. I don't know. Just pondering --[[User:Rednaxela|Rednaxela]] 17:13, 29 April 2009 (UTC) |
Revision as of 18:13, 29 April 2009
I don't know if anybody else is paying attention, but Rednaxela brought up the idea of using a separate namespace for Archived Talk (on Talk:Migration), and I think it's a really good idea. I want to read up on Mediawiki namespaces a bit more before digging in and doing it, but I just wanted to note here that this is in the plans... --Voidious 15:59, 29 April 2009 (UTC)
I'm paying. I want it. This little piece of code put in LocalSettings.php will do:
// Custom namespace define ("NS_ARCHIVED", 100); define ("NS_ARCHIVED_TALK", 101); $wgExtraNamespaces[NS_ARCHIVED] = "Archived"; $wgExtraNamespaces[NS_ARCHIVED_TALK] = "Archived_talk";
At least it do on my MediaWiki/1.14 installation at Thai RoboWiki. This will create the Archived and Archived_talk: namespaces. » Nat | Talk » 16:07, 29 April 2009 (UTC)
I kind of wonder what would hapepen if you omit the NS_ARCHIVE lines and leave the NS_ARCHIVED_TALK lines. Being an odd ID should still signify to it that it's a 'discussion' namespace, but not having NS_ARCHIVED might usefully do something? Or maybe that would just break it. I don't know. Just pondering --Rednaxela 17:13, 29 April 2009 (UTC)