Difference between revisions of "Category talk:Archived Talk"
(Pondering) |
(result from doing just talk namespace) |
||
Line 12: | Line 12: | ||
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) | 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) | ||
+ | |||
+ | :That will result like this: | ||
+ | :[[Image:Mw-onlydiscussion.jpg]] | ||
+ | :(Sorry for censors, but I use Firefox Thai and reading Harry Potter Fanfiction right now and I don't want you all to know what exactly story I'm reading) This is a new installation with MediaWiki/1.14.0 with following line in LocalSettings.php | ||
+ | <pre> | ||
+ | // Custom namespace | ||
+ | define ("NS_ARCHIVED", 100); | ||
+ | define ("NS_ARCHIVED_TALK", 101); | ||
+ | //$wgExtraNamespaces[NS_ARCHIVED] = "Archived"; | ||
+ | $wgExtraNamespaces[NS_ARCHIVED_TALK] = "Archived_talk"; | ||
+ | </pre> | ||
+ | : but I'm agree that the Archived is useful for one other thing, to archived a full collection unmodified (except the table) articles from the old wiki. | ||
+ | :» <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> » 17:31, 29 April 2009 (UTC) |
Revision as of 18:31, 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)
- That will result like this:
- (Sorry for censors, but I use Firefox Thai and reading Harry Potter Fanfiction right now and I don't want you all to know what exactly story I'm reading) This is a new installation with MediaWiki/1.14.0 with following line in LocalSettings.php
// Custom namespace define ("NS_ARCHIVED", 100); define ("NS_ARCHIVED_TALK", 101); //$wgExtraNamespaces[NS_ARCHIVED] = "Archived"; $wgExtraNamespaces[NS_ARCHIVED_TALK] = "Archived_talk";