Help:Categories: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added special pages)
(added sort key info)
Line 8: Line 8:


It may take some time for a page to appear or disappear from a category. Try adding <code>?action=purge</code> at the end of the URL to nudge the server to do it faster. The wait time may be even longer if assigned through a template.
It may take some time for a page to appear or disappear from a category. Try adding <code>?action=purge</code> at the end of the URL to nudge the server to do it faster. The wait time may be even longer if assigned through a template.
{{note|Categories have been in a sort of frozen state since [[User:Pinsplash/Early July 2018 hacking incident|July 4-5 maintenance downtime]], probably due to RunJobs.php not running at all. Attempts to contact Valve ''have'' been made.}}
===Sorting keys===
A sort key allows you to change where in a category a page is listed. To change a page's location, simply add a <code>|</code> after the category name, and then specify where to put it. A sorting key can be as specific as needed. To make a page be categorized under the ''E''s, just add <code>|E</code>. See [[Wikipedia:WP:SORTKEY]] for more information and uses.


==See Also==
==See Also==

Revision as of 15:16, 28 July 2018

Help:Editing

Stub

This article or section is a stub. You can help by expanding it.

Categories are pages that group together pages which share similar purposes, subjects or other qualities. To add a page to a category, add it as a link at the bottom of the page. Some templates may also assign categories when added to a page.

Hidden categories are just that; categories usually not displayed on a page. This is done only for maintenance categories, like Category:TODO. To mark a category as hidden, add the magic word on that category's page.

If you want to simply link to a category on a page, put a : at the start of the page name, like this: [[:Category:Shaders]].

It may take some time for a page to appear or disappear from a category. Try adding ?action=purge at the end of the URL to nudge the server to do it faster. The wait time may be even longer if assigned through a template.

Note.pngNote:Categories have been in a sort of frozen state since July 4-5 maintenance downtime, probably due to RunJobs.php not running at all. Attempts to contact Valve have been made.

Sorting keys

A sort key allows you to change where in a category a page is listed. To change a page's location, simply add a | after the category name, and then specify where to put it. A sorting key can be as specific as needed. To make a page be categorized under the Es, just add |E. See Wikipedia:WP:SORTKEY for more information and uses.

See Also