Confirmed users
1,364
edits
m (avoid doubled slashes) |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| 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 === | ||
| Line 47: | Line 57: | ||
=== How to Create a Subpage === | === How to Create a Subpage === | ||
; To create a | ; To create a subpages : Add Subpage_name to Main_page_name like https://wiki.mozilla.org/Local_Maker_Project/Subpage_One. The main page needs to exist. The main page name in this example is "Local Maker Project" (without the slash). | ||
<br /> | <br /> | ||