Having an article title with a different number than its associated category

From WhyNotWiki

Jump to: navigation, search

Contents

[edit] Introduction / discussion

Sometimes the article will be singular while the category is plural, because the category represents a "list" of all instances of that thing) while the article describes a single instance...

Category:Workstations or Category:Workstation ?

Example: I want to be able to specify singular when I add a single instance (singular) to a category:

=={{section category|Caveat}} {{section category|Built-in behavior is wrong}} s.downcase! returns nil rather than s!==

But I want it to actually add it to the category called "Caveats" (plural), since the category includes many instances (plural)!

Currently:

Categories are usually plural. For example, we have Category:Problems. But if I have an instance of that and I want to make a section heading out of it -- for example, "Problem: There's a fly in your soup" -- then you currently have to handle the inflection yourself, which results in most of the word being duplicated...

{{section category|Problems|Problem}}: There's a fly in your soup

But ideally we should have a link to the article as well as the category. But this currently necessitates some pretty verbose markup...

{{section category|Problems|[[Problems|Problem]]}}: There's a fly in your soup
produces:                   [[Problems|Problem]]
                            ([[:Category:Problems|category]])

More discussion at: Template:Section category

In the future:

Ideally, I think I'd like each word that is used as a category to be its own object, which is smart enough to inflect itself as needed (to present itself in either singular or plural form).

{{section category|Problems}}: There's a fly in your soup

This would look up the Word object for "Problems" and ask it, word.singular, which would output "Problem". No more icky duplication.

Also in the future, we won't really have a difference between "categories" and "articles", so one link will suffice (a link to the topic)...

[edit] Specific cases / examples

[Things I'm collecting (category)] -- Collect as many examples as possible so that we can see which patterns are the most pattern and optimize for them...

It also serves as a reference, which we can copy and paste from...

Article Category Single instance?
s: Incompatibility (concept) p: Category:Incompatibilities
p: Problems p: Category:Problems
s: Legal contract p: Category:Legal contracts
Totals: s:_, p:_

[edit]

This is the result an [incompatibility (category)] between ...

[edit] Concepts

Sometimes, although it's possible to form the plural of some singular noun, the plural and singular are rather different.

We may want to have:


[edit] More

More discussion at: Template:Section category

Personal tools