Changes

Jump to navigation Jump to search
1,474 bytes added ,  00:12, 15 August 2005
A slightly better description.
:: OK, thank you anyway. I'll also try to ask some local wiki gurus for help. I wonder why http://sl.wikipedia.org/wiki/Category:Škrbina works. (Sorry for pointing to the Slovenian site (Stub Category), but it's English equivalent http://en.wikipedia.org/wiki/Category:Stub is empty.)
:: The most strange thing about it is that if you take a look at any article listed there (say [http://sl.wikipedia.org/wiki/Adrenalin Adrenalin]), no Category is given explicitely, only the <tt><nowiki>{{Stub}}</nowiki></tt> template is used. Also, if you ask for statistics there, all the stub articles are excluded, so there must be a way for special treatment of some articles such as the Taco's Release Notes. If I find out anything, I'll report it. --[[User:Mojca Miklavec|Mojca]] 00:15, 14 Aug 2005 (CEST)
:::This seems to be working fine now, with the "How To" category sans the "?" -- I just put <tt>{</tt><tt>{howto}}</tt> in the [[Title_PageTitle Page]] page, and it added the category automatically. --[[User:Brooks|Brooks]] 00:59, 15 Aug 2005 (CEST)
Addendum: The [[Bold small caps]] page showed up on the list when I made a minor edit to it and saved my edits. Apparently the system simply didn't process the changes through until the pages itself was edited, or something like that. (My guess is that adding a category to a template doesn't actually add the linkbacks for the pages containing that template to the category listing, and one has to edit the pages to invoke the code that adds the linkbacks. This is arguably a Wiki bug.) --[[User:Brooks|Brooks]] 01:51, 15 Aug 2005 (CEST)
 
Let me rephrase that for clarity. I added the template to the [[Title Page]] page, and noticed that this put the "Categories" link at the bottom of the page, and added [[Title Page]] to the list on [[:Category:How to]]. I also noticed that the "Categories" link was properly at the bottom of the [[Bold small caps]] page, but that it didn't show up on the category list page.
 
Thus, I concluded that the list on the [[:Category:How to]] page is statically generated. This implies that, at some point, a bit of Wiki internal code must be called to put things on the list. I hypothesized that the code to add page X to the list is called when page X is edited, but is NOT called when a template on page X is edited. Corrolary to this hypothesis is that the only reason that [[Bold small caps]] was not appearing on the list was that it had not yet been edited any after the "category" bit was added to the "How to" template, and thus that bit of internal code to add it to the list had not been called. I tested this hypothesis by making a very minor and unrelated edit to the [[Bold small caps]] page, and discovered that this did indeed cause it to be added to the list on [[:Category:How to]].
 
I suspect that this should be reported to MediaWiki as a bug, but I don't know enough about the system (and how up-to-date our install is) to do that, and I suspect it would be better done by one of the administrators.
 
--[[User:Brooks|Brooks]] 02:10, 15 Aug 2005 (CEST)

Navigation menu