Difference between revisions of "LocalStyleGuide"

From TTWiki
Jump to navigationJump to search
m (5 revisions)
 
(Style edits, corrected links, added)
Line 1: Line 1:
 
 
=Local Style Guide*=
 
=Local Style Guide*=
   
-=Use of "Preview"=-
+
===Use of '''Preview'''===
   
ALWAYS, and we mean '''ALWAYS''', use the Preview feature to check on your edits before committing them.  Do lots of edits and then save, not lots of saves while you edit.
+
ALWAYS, and we mean '''ALWAYS''', use the Preview feature to check on your edits before committing them. Do lots of edits and then save, not lots of saves while you edit.
   
To find out what markup you can use in addition to the stuff available from the "Quicklinks" bar when editing, see the ))TikiWiki[[]]TikiWiki[[ [http://tikiwiki.org/tiki-index.php?page=WikiSyntax|WikiSyntax] page and the ))TikiWiki[[]]TikiWiki[[ [http://doc.tikiwiki.org/tiki-index.php?page=Wiki%20Text%20Formatting|Text Formatting] page.
+
To find out what markup you can use in addition to the stuff available from the sidebar and [[Help:Editing|Editing help]] <!-- TBC --> when editing, see the [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Wikipedia Cheatsheet] page for now, which is the MediaWiki syntax and formatting help page. New pages specific to [http://www.tt-wiki.net/wiki/Main_Page The Transport Tycoon Wiki] will be created and linked in the nick of time.
   
-=Use of the &quot;comment&quot; field=-
+
===Use of the Summary field===
   
When editing a page, put something helpful in the &quot;comment&quot; field (when you go to make an edit, it's directly beneath the big edit box - see?) &nbsp;to make it easier for all concerned to see who did what at-a-glance. &nbsp;The idea for the comments list is that someone can look at a version comment, and establish '''without''' having to look at individual diffs and comparisons to see what changed between versions. &nbsp;It also facilitates transparency, one of the reasons why Wikis even exist.
+
When editing a page, put something helpful in the "'''Summary'''" field (when you go to make an edit, it's directly beneath the big edit box - see?) to make it easier for all concerned to see who did what at-a-glance. The idea for the comments list is that someone can look at a version comment, and establish '''without''' having to look at individual diffs and comparisons to see what changed between versions. It also facilitates transparency, one of the reasons why Wikis even exist.
   
 
Examples of useful comments:
 
Examples of useful comments:
Line 16: Line 15:
 
<pre>Fixed some typos. (Tells us what you did)
 
<pre>Fixed some typos. (Tells us what you did)
   
Expanded upon first paragraph. &nbsp;(Tells us where you did it)
+
Expanded upon first paragraph. (Tells us where you did it)
   
Removed obsolete information about Thisthat & Theother, plc. &nbsp;(Does exactly what it says on the tin)
+
Removed obsolete information about Thisthat & Theother, plc. (Does exactly what it says on the tin)
   
Updated revision dates. &nbsp;(Brief, but hopefully there won't be much of those on the given page to be updated)</pre>
+
Updated revision dates. (Brief, but hopefully there won't be much of those on the given page to be updated)</pre>
   
 
Examples of not-so-useful comments:
 
Examples of not-so-useful comments:
   
<pre> &nbsp; &nbsp; &nbsp; &nbsp; (Empty comment - people have to check the diffs for each version)
+
<pre>   (Empty comment - people have to check the diffs for each version)
   
Written by xyz. (You don't say? &nbsp;It's not as if the &quot;history&quot; list already shows who wrote it ...)
+
Written by xyz. (You don't say? It's not as if the "history" list already shows who wrote it ...)
   
Added more information. &nbsp;(Oh, well isn't that helpful? &nbsp;Tells everything doesn't it?)</pre>
+
Added more information. (Oh, well isn't that helpful? Tells everything doesn't it?)</pre>
   
 
Be warned -- if you do not include a useful comment with an edit, that page may be rolled back and your edit UNDONE.
 
Be warned -- if you do not include a useful comment with an edit, that page may be rolled back and your edit UNDONE.
   
<nowiki><nowiki>* Not inspired by the author's use of TeX. &nbsp;Honestly ...</nowiki></nowiki>
+
<nowiki><nowiki>* Not inspired by the author's use of TeX. Honestly ...</nowiki></nowiki>

Revision as of 00:06, 14 June 2011

Local Style Guide*

Use of Preview

ALWAYS, and we mean ALWAYS, use the Preview feature to check on your edits before committing them. Do lots of edits and then save, not lots of saves while you edit.

To find out what markup you can use in addition to the stuff available from the sidebar and Editing help when editing, see the Wikipedia Cheatsheet page for now, which is the MediaWiki syntax and formatting help page. New pages specific to The Transport Tycoon Wiki will be created and linked in the nick of time.

Use of the Summary field

When editing a page, put something helpful in the "Summary" field (when you go to make an edit, it's directly beneath the big edit box - see?) to make it easier for all concerned to see who did what at-a-glance. The idea for the comments list is that someone can look at a version comment, and establish without having to look at individual diffs and comparisons to see what changed between versions. It also facilitates transparency, one of the reasons why Wikis even exist.

Examples of useful comments:

Fixed some typos. (Tells us what you did)

Expanded upon first paragraph. (Tells us where you did it)

Removed obsolete information about Thisthat & Theother, plc. (Does exactly what it says on the tin)

Updated revision dates. (Brief, but hopefully there won't be much of those on the given page to be updated)

Examples of not-so-useful comments:

           (Empty comment - people have to check the diffs for each version)

Written by xyz. (You don't say? It's not as if the "history" list already shows who wrote it ...)

Added more information. (Oh, well isn't that helpful? Tells everything doesn't it?)

Be warned -- if you do not include a useful comment with an edit, that page may be rolled back and your edit UNDONE.

<nowiki>* Not inspired by the author's use of TeX. Honestly ...</nowiki>