Difference between revisions of "Help:Contents"

From Pearl Language
Jump to navigation Jump to search
(→‎Categories: Instructions.)
m (→‎Categories: Instructions++)
Line 20: Line 20:
#Create a specific page for key concepts and topics so they are accessible by:
#Create a specific page for key concepts and topics so they are accessible by:
#:<code><nowiki>http://pearllanguage.org/</nowiki>''topic''</code>
#:<code><nowiki>http://pearllanguage.org/</nowiki>''topic''</code>
#Put a redirection on the topic page:
#Have the topic page redirect to the category page:
#:<code><nowiki>#REDIRECT [[</nowiki>category:''topic''<nowiki>]]</nowiki></code>
#:<code><nowiki>#REDIRECT [[</nowiki>category:''topic''<nowiki>]]</nowiki></code>
#Put all the meat on the category page.

Revision as of 10:05, 25 December 2013

Navigation

Editing

Creating and editing pearls

Please see form:oyster to create and edit a pearl and its properties.

Singular page name and plural redirect

Often you need both the singular and plural version of a page. For example, if you have user story, you will probably also need user stories at some point in time. Therefore:

  1. write the original page in singular form; and
  2. create a redirect to the original page for the plural form.

Special characters

Create a redirect without the special character for page names that use special characters like ‘?’ or ‘!’. For example, anyone else redirects to anyone else? so that the permalink http://pearllanguage.org/anyone_else takes you to anyone else?.

Use a right single quotation mark

Use a right single quotation mark “’” in page names when appropriate. That is, do not use a straight quote “'”. For example, don’t just do something, stand there!.

Categories

You want pretty URLs because URLs are part of the user experience. Therefore

  1. Create a specific page for key concepts and topics so they are accessible by:
    http://pearllanguage.org/topic
  2. Have the topic page redirect to the category page:
    #REDIRECT [[category:topic]]
  3. Put all the meat on the category page.