canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,698
edits
(further clarification about how to name pages) |
|||
Line 21: | Line 21: | ||
=== Page URL Format === | === Page URL Format === | ||
In order to make all pages | In order to make content discoverable, all pages names should be created with sentence casing, using underscores (_) for spaces. | ||
Correct examples include: | |||
* This_is_a_good_page_name | |||
* So_is_this | |||
The following conventions should not be used: | |||
* No CamelCase | * No CamelCase | ||
* No UPPERCASE | * No UPPERCASE (unless whatever topic the page is about uses uppercase, such as an acronym) | ||
* No page-names-separated-by-hyphens. | * No page-names-separated-by-hyphens. | ||
* No Page:Name | * No Page:Name | ||
Mediawiki, the software that powers MozillaWiki, uses underscores only to differentiate words in page titles. If you use ''FooBar'', mediawiki will think ''FooBar'' is one word and won't return search results for either 'foo' or 'bar', but only 'foobar'. Similarly, if you use foo-bar, mediawiki won't return this page is search results for 'foo' or 'bar' but only 'foo-bar' exactly. If you've ever wondered why it can be hard to find things on MozillaWiki, this is quite often why. | |||
Also, keep in mind that in mediawiki, page titles are case-sensitive. [[Test_page]] and [[Test_Page]] are different pages. | |||
=== The Deal on Namespaces === | === The Deal on Namespaces === |