WikiIndex talk:How do categories work: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(→‎tag/category news: how do we move forward)
 
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
== footer/inline ==
{{Talk header}}{{TOC right}}
If you do it this way with that footer, then we don't need the tag template at all.  We just put the categories in anywhere on the page.  The tag template is only used when we want the category to show up on the page, the way John's been talking about.  peace, [[User:TedErnst|TedErnst]] 21:32, 22 Jan 2006 (EST)
==[[Template:Tag|tag template]] or category==
Use tag or category template when you want it to show in the article in addition to the bottom category section, else normal category command is fine --[[Raymond King]] | <small>[[User talk:Rathbone|talk]]</small> 17:34, 12 Feb 2006 (EST)


Yes, that's right, use tag or category template when you want it to show in the article in addition to the bottom category section, else normal category command is fine --[[Raymond King]] | <small>[[User talk:Rathbone|talk]]</small> 17:34, 12 Feb 2006 (EST)
==tag / category news==
*The [[Template:Tag]] <code><nowiki>{{tag|CATEGORYNAME}}</nowiki></code> command works fine in-line.  You can use this when wanting to link to a [[Special:Categories|category]] from within the description.
*The MediaWiki category feature <code><nowiki>[[Category:CATEGORYNAME]]</nowiki></code> can be used for any <s>tags</s> categories that do not appear in the text.  These categories go at the end of the entry.


==Difference between tag and category==
::Bulleted list of tags is not necessary, but if someone wants to use them, there should be no problem with that. [[MarkDilley]] | <small>[[User talk:MarkDilley|talk]]</small>
Is there any? [[User:Robin Patterson|robinp]] 17:14, 12 Feb 2006 (EST)


No, in this wiki "tag" is a synonym for "category" and the "tag" and "category" templates are the same.  We did that because "category" sounds heirarchical whereas "tag" is not.  "tag" is also shorter and easier to use.  But I am concerned that the extra confusion isn't worth it and we should just stick to category since that's the mediawiki standard.  Thoughts welcome --[[Raymond King]] | <small>[[User talk:Rathbone|talk]]</small> 17:34, 12 Feb 2006 (EST)
==questions==
I've read much of what has been added here since my last contribution. I'm puzzled at the sentence "You can use these when wanting to link to a category from within the description":
#How do we use them?
#To "to link to a category from within the description" you just put a colon in front of it, eg <tt><nowiki>[[:category:all]]</nowiki></tt>.
[[User:Robin Patterson|robinp]] 16:16, 4 Apr 2006 (EDT)


: Ray, I'm not sure I agreeIn fact, I'd like to propose we get rid of the category template to better differentiate between inline tags (using the tag template) and mediawiki categories (using the category function) that only show up in the footer. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 22:40, 17 Feb 2006 (EST)
:: Great question, RobinThe point is that we're not just linking to the category, we're putting the page in question into that category as well.  We do that by simply using <tt><nowiki>{{tag|CATEGORYNAME}}</nowiki></tt> in the description text.  If the term doesn't appear in the text, then just use <tt><nowiki>[[Category:CATEGORYNAME]]</nowiki></tt> at the end, as usual. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 17:04, 4 Apr 2006 (EDT)


== tag/category news ==
==CamelCase==
Is using [[CamelCase]] still necessary for naming the categories? Personally, I've been blithely breaking this rule. Does this break something for someone somewhere down the line? Or is this a legacy instruction? --[[User:MarvelZuvembie|MarvelZuvembie]] 21:30, 8 October 2009 (EDT)


Okay, Mark and I have been working on this and here's what we've done.
:At the time when I wrote this, I was unaware of the history of CamelCase in wikis. Having started out on [[English Wikipedia|Wikipedia]], I have tended to emulate that style and thus avoid CamelCase, as well as the gratuitous use of uppercase letters. But, even though it feels wrong to me stylistically, I now see why we would want to keep this tradition alive. And on the practical side, using this convention might help us avoid category duplication such as we have with "[[:Category:Open source|open source]]":
:*Category:OpenSource
:*Category:Open source
:*Category:Open Source
:However, fixing all the categories which I have created which do not follow this model will be fairly labor-intensive. Hopefully, someone knows how to use a bot to do it. --[[User:MarvelZuvembie|MarvelZuvembie]] 15:17, 15 March 2010 (EDT)


* The Template: Tag <pre>{{tag|CATEGORYNAME}}</pre> and Template: Category <pre>{{category|CATEGORYNAME}}</pre> commands now should work fine in-line. You can use these when wanting to link to a category from within the description. If eliminating one of these is your desire, I'd suggest eliminating category, because of the next point.
==Categories not working?==
[[Argumentrix]] is in several categories but isn't listed within them. What's up with that? Did I do something wrong? [[Special:Contributions/76.100.115.189|76.100.115.189]]


* The mediawiki category feature <pre>[[Category:CATEGORYNAME]]</pre> can be used for any tags that do not appear in the text.  The suggestion is to use this instead of a bulleted list of tags. The bulleted list of tags is not needed because all categories for a page show up in the footer anyway.
: The way you added categories to the [[Argumentrix]] page at WikiIndex looks correct to me. They show up at the bottom of the page in the "Categories:" line, and when I click on each of them, I see "Argumentrix" listed properly on each category page. Perhaps a recent upgrade fixed whatever the problem was. If you see it again, please tell us about it. --[[User:DavidCary|DavidCary]] ([[User talk:DavidCary|talk]]) 07:24, 17 March 2013 (PDT)
 
** This is where I propose placing [[Category:Foo]] above the template code, to get these types of categoriy in the footer before the template category, to push back redudant categories in the footer. (I like the redundancy in this instance, just want to bury it a little to highlight other info) [[MarkDilley]] | <small>[[User talk:MarkDilley|talk]]</small>
 
How's this sound?  Is it clear?  Is it a good idea?  [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 22:27, 17 Feb 2006 (EST)
 
: Bulleted list of tags is not necessary, but if someone wants to use them, there should be no problem with that. [[MarkDilley]] | <small>[[User talk:MarkDilley|talk]]</small>
:: That's fine with me, but we need to decie which one to use for the add a wiki boilerplate. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 22:33, 17 Feb 2006 (EST)
 
YES!  Ted, u da man!!!! -[[Raymond King]] | <small>[[User talk:Rathbone|talk]]</small> 02:07, 18 Feb 2006 (EST)
 
We we need to ratify this on the [http://www.wikiindex.com/Talk:Proposals#Proposal:_17-Feb-2006:_Tag_and_category_use proposals page]?  If so, can we do that?  If not, someone let me know and I'll update this [[How do categories work]] page. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 12:06, 18 Feb 2006 (EST)

Latest revision as of 21:12, 19 December 2022

this talk page is for discussing improvements to the WikiIndex:How do categories work article

tag template or category[edit]

Use tag or category template when you want it to show in the article in addition to the bottom category section, else normal category command is fine --Raymond King | talk 17:34, 12 Feb 2006 (EST)

tag / category news[edit]

  • The Template:Tag {{tag|CATEGORYNAME}} command works fine in-line. You can use this when wanting to link to a category from within the description.
  • The MediaWiki category feature [[Category:CATEGORYNAME]] can be used for any tags categories that do not appear in the text. These categories go at the end of the entry.
Bulleted list of tags is not necessary, but if someone wants to use them, there should be no problem with that. MarkDilley | talk

questions[edit]

I've read much of what has been added here since my last contribution. I'm puzzled at the sentence "You can use these when wanting to link to a category from within the description":

  1. How do we use them?
  2. To "to link to a category from within the description" you just put a colon in front of it, eg [[:category:all]].

robinp 16:16, 4 Apr 2006 (EDT)

Great question, Robin. The point is that we're not just linking to the category, we're putting the page in question into that category as well. We do that by simply using {{tag|CATEGORYNAME}} in the description text. If the term doesn't appear in the text, then just use [[Category:CATEGORYNAME]] at the end, as usual. TedErnst | talk 17:04, 4 Apr 2006 (EDT)

CamelCase[edit]

Is using CamelCase still necessary for naming the categories? Personally, I've been blithely breaking this rule. Does this break something for someone somewhere down the line? Or is this a legacy instruction? --MarvelZuvembie 21:30, 8 October 2009 (EDT)

At the time when I wrote this, I was unaware of the history of CamelCase in wikis. Having started out on Wikipedia, I have tended to emulate that style and thus avoid CamelCase, as well as the gratuitous use of uppercase letters. But, even though it feels wrong to me stylistically, I now see why we would want to keep this tradition alive. And on the practical side, using this convention might help us avoid category duplication such as we have with "open source":
  • Category:OpenSource
  • Category:Open source
  • Category:Open Source
However, fixing all the categories which I have created which do not follow this model will be fairly labor-intensive. Hopefully, someone knows how to use a bot to do it. --MarvelZuvembie 15:17, 15 March 2010 (EDT)

Categories not working?[edit]

Argumentrix is in several categories but isn't listed within them. What's up with that? Did I do something wrong? 76.100.115.189

The way you added categories to the Argumentrix page at WikiIndex looks correct to me. They show up at the bottom of the page in the "Categories:" line, and when I click on each of them, I see "Argumentrix" listed properly on each category page. Perhaps a recent upgrade fixed whatever the problem was. If you see it again, please tell us about it. --DavidCary (talk) 07:24, 17 March 2013 (PDT)