Clicklaw Wikibooks Contributor Guide: Difference between revisions

From Clicklaw Wikibooks
Jump to navigation Jump to search
No edit summary
 
(205 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{GUIDEPAGE}}
{{GUIDEPAGE}}
This is a guide for editors and contributors who have accounts with Clicklaw Wikibooks, and who are actively responsible for editing content. The [[Clicklaw Wikibooks Contributor Guide]] is designed to get ''wiki'' contributors started. If you are not a ''Clicklaw Wikibooks'' contributor, but are a contributor to the main [http://www.clicklaw.bc.ca Clicklaw website] and looking for support, please see the [[Clicklaw Website Contributor Guide]].
This is a guide for contributors with Clicklaw Wikibooks accounts. It contains instructions for the technical aspects of editing and updating content.  
{{fmbox
 
| type  =  
This guide is to be used in conjunction with the [[Clicklaw Wikibooks Style Guide]], which aims to help contributors produce consistent and clear language, layout, and formatting. Also see the [[Clicklaw Wikibooks Cheatsheet]] for shortcuts for commonly used wiki commands.
| image = [[File:Nuvola_mimetypes_pdf.png‎|40px|link=|alt=]]  
 
| style = width:260px;clear: right;float: right;
===Before you edit===
| text = Download the [[Media:Clicklaw_Wikibook_Contributor_Guide.pdf|full Clicklaw Wikibooks Contributor Guide in PDF]] (current to March 2013).
====Know what you're responsible for====
Have you been invited to edit a particular title? Are you certain the page you're about to edit is part of the right wikibook title, and does not belong to a different wikibook?
 
Be conscientious about which page you are editing. Please only edit pages from those titles (or chapters within titles) for which you are responsible. Let your discretion guide you, or email [mailto:wikisupport@clicklaw.bc.ca?Subject=Wikibooks%20Contributor%20Support wikisupport@clicklaw.bc.ca] for help.
 
That said...
 
====Relax, you can't screw up====
Having asked you to be mindful of the pages you edit, take comfort in knowing you literally can't damage a page so badly that it cannot be restored.
 
See [[#Undoing changes |Undoing Changes]].
 
===The "Edit" screen===
Are you at the page you want to edit? Are you logged in? If yes, you can start editing. Please refer to the [[Clicklaw Wikibooks Style Guide]] before/while making edits.
#Click on the "Edit" tab or click on the "edit" link beside a particular section (if you only want to edit the text for a certain section of a page).<br /><br />[[File:Editing_a_page_on_the_wiki.png | border|800px | link=]]<br /><br />
#You can make changes to the text in the edit window, and click on the “Save page” button to save your changes.<br /><br />[[File:Editing_a_page_on_the_wiki_2.png |border| 900px | link=]]
 
==Basic editing tools and formatting==
{{Ambox
|type = notice
|text ='''Tip:''' See the [[Clicklaw Wikibooks Cheatsheet]] for the most basic tips on editing.
}}
}}
==Before you edit==
Clicklaw Wikibooks uses a simple markup language to control how content looks, but to start off, you need not know much about this markup language. Buttons along the top of the edit window frame do most of the formatting and wiki markup for you.
===Know what content you are responsible for===
 
Be conscientious about which page you are editing. Several different titles, or wikibooks, reside on this platform. Please only edit pages from those titles (or chapters within titles) for which you are responsible. Generally, let your discretion guide you, or email [mailto:editor@clicklaw.bc.ca?Subject=Wikibooks%20Contributor%20Support editor@clicklaw.bc.ca] for help.  
=== Bold ===
 
[[File:Edit toolbar bold.png|right|frame|link=]]
In the edit screen, selecting text then clicking the Bold button will apply the wiki markup to make the text appear bold.
Bold text is rarely called for by the [[Clicklaw Wikibooks Style Guide]]. Italics are preferred for giving emphasis. However, it is sometimes appropriate to bold the first word in a list item.
You can create bold text manually by enclosing one or more words in sets of three apostrophes.
 
Typing:
:<pre>I want to make '''this text''' bold.</pre>
Will look like this when you save or preview the page:
:I want to make '''this text''' bold.
 
=== Italics ===
[[File:Edit toolbar italic.png|framed|link=]]
In the edit screen, selecting text then clicking the Italic button will apply the wiki markup to make the text appear in italics.
Use Italics sparingly to add emphasis to words that are unfamiliar or to disambiguate ones that the reader might mistake. Italics are also used to cite cases, legislation or certain other sources.
 
To create italic text manually, enclose one or more words in sets of two apostrophes.
Typing:
:<pre>An ''arquebus'' is an early muzzle-loaded firearm, while an ''aquabus'' is a motorized boat.</pre>
Will look like this when you save or preview the page:
:An ''arquebus'' is an early muzzle-loaded firearm, while an ''aquabus'' is a motorized boat.
 
=== Links ===
==== Link to another website====
Examples of external links include any link to another website, or even a PDF or DOC file somewhere online. Cases on CanLII, for instance, require external links. The simplest way to insert an external link is to just type the full URL, including the <code><nowiki>http://</nowiki></code> prefix.  
Typing:
:<pre>For more information on the Court of Appeal process, visit http://www.courtofappealbc.ca</pre>
Will look like this when you save or preview the page:
:For more information on the Court of Appeal process, visit http://www.courtofappealbc.ca.
 
 
[[File:Edit toolbar link.png|framed|link=]]
Much of the time, you won't want the link to appear so obvious. To have other words appear with links to online resources, select the text you want to contain the link, then click the Link button. You will be prompted to enter the URL (the link to the online resource). Select "To an external web page", then click "Insert link".
 


But also...
Typing:
:<pre>For more information, visit the Court of Appeal BC's [http://www.courtofappealbc.ca Online Help Guide].</pre>
Will look like this when you save or preview the page:
:For more information, visit the Court of Appeal BC's [http://www.courtofappealbc.ca Online Help Guide].


===Relax, you can't screw it up===
==== Link to another wiki page ====
Yes. ''Can't'' screw up. You literally can't damage a page so badly that it cannot be restored.  
[[File:Edit toolbar link.png|framed|link=]]
One of the best things about this wiki platform is that each page has a "History" of older versions, including the one you just saved over. You (or another person) can always undo an edit and restore an older version of a page.
One page in a wiki often naturally leads to another page on the same wiki. Here is a link to the [[Clicklaw Wikibooks Style Guide]], which is a Clicklaw Wikibooks page. To make an internal link, click the Link button. You will be prompted to enter the target page, which must be the exact name of the page, and the text to display for the link. Select "To a wiki page" at the bottom, then click "Insert link".


===If we haven't taught you how to do it, ask us (or leave it be)===
Typing:
We are not asking you to become a computer programmers. But a minimum knowledge of the tools is required. Other than knowing how to log in, navigate around, and where to find things like the "Edit" tab, you will need to know how to:
:<pre>Editors are encouraged to read the [[Clicklaw Wikibooks Style Guide | Style Guide]].</pre>
# create (or fix) links to cases, legislation, other web resources,
Will look like this when you save or preview the page:
# make lists (like this numbered list),
:Editors are encouraged to read the [[Clicklaw Wikibooks Style Guide | Style Guide]].
# create emphasis for key words or documents using ''italics'', or in rare cases '''bold''',
Note: twin square brackets are used for internal links.
# divide pages with section headings and subheadings,
# indent paragraphs or blocks of text,
# create text in a <tt>plain format</tt> (for legislation excerpts), and
# understand a few technical things that are happening and the limited things you need to know to:
#*change what alert boxes are saying on pages,
#*work with your contributor bio page,
#*understand some of the weird coding and know what to leave alone,
#*''maybe'' change the contents of tables, and
#*participate in Discussion pages (these are locked down so only editors can see Discussions about a page).
This page shows you how to do the above. You are not expected to do anything technically beyond what is explained here.


==Logging in to your new account==
==== Link to a location on the same wiki page ====
Everyone who contributes to Clicklaw Wikibooks will be given an account. All of your work is linked to your account, so it’s important to use the same account every time.
Sometimes, you may need to refer to a section within the same page.
#You will receive an email from editor@clicklaw.bc.ca containing your username and password.
#Go to http://wiki.clicklaw.bc.ca/.
#Use the "Log in" button at the top right to log in with the username and password supplied in the email.
#Change your password to something secure that you will remember (if you need to find the Change Password page, it’s http://wiki.clicklaw.bc.ca/index.php?title=Special:ChangePassword).


[[File:Logging_in_to_your_new_account.png | border|link=]]
Typing:
:<pre>To learn how to insert links, read [[{{PAGENAME}}#Links | Links]].</pre>
Will look like this when you save or preview the page:
:To learn how to insert links, read [[{{PAGENAME}}#Links | Links]].


==Getting to the edit screen of a page==
==== Link to a location on another wiki page ====
Once you are logged in and viewing the page you want to edit:
Sometimes a reader only needs to see a small section of a larger wiki page. When that section is in the middle of a long page it can be hard for the reader to find. Alternately, you can save the reader from scrolling by building a targeted link to that relevant section.
#Click on the "Edit" tab (to edit the whole page) or click on the "edit" link for a particular section.<br /><br />[[File:Editing_a_page_on_the_wiki.png | border|800px | link=]]<br /><br />
 
#You can make changes to the text in the edit window, and click on the “Save page” button to save your changes.<br /><br />[[File:Editing_a_page_on_the_wiki_2.png |border| 900px | link=]]
Typing:
:<pre>To learn how to name a wiki page, read about [[Clicklaw Wikibooks Style Guide#Page titles | page naming convention]].</pre>
Will look like this when you save or preview the page:
:To learn how to name a wiki page, read about [[Clicklaw Wikibooks Style Guide#Page titles | page naming convention]].
 
=== Example of a court decision citation and link in proper wiki format ===
Typing: <pre>''[http://canlii.ca/t/2d35m Domirti v. Domirti]'', 2010 BCCA 472</pre>
 
Will cause this nice mix of italics and working links according to the [[Style Guide]]:
:''[http://canlii.ca/t/2d35m Domirti v. Domirti]'', 2010 BCCA 472
 
A case with no link available would be typed: <pre>''Mareva Compania Naviera S.A. v. International Bulkcarriers S.A.'', [1980] 1 All E.R. 213</pre>
 
It would look like this:
:''Mareva Compania Naviera S.A. v. International Bulkcarriers S.A.'', [1980] 1 All E.R. 213
 
== Headings and subheadings==
[[File:Edit toolbar heading.png|framed|link=]]
Clicklaw Wikibook pages rely heavily on in page headings and subheadings to break up content and to improve navigation.
Select what you want to become a heading, then select the Heading level from the Advanced menu. The results, when saved, will give you a primary section heading in the text of an article.
Headings within a page can also be produced by typing multiple equal signs, and you are not restricted to a single, primary level of header. A primary section heading is achieved by typing: <pre>==Words in primary heading==</pre>
 
A subsection below a primary heading is achieved by typing: <pre>===Words in secondary heading===</pre>
 
A maximum of five heading levels is possible. Just keep adding more equal sign symbols. Spaces between the equal signs and the heading text are optional, and will not affect the way the heading is displayed. The heading must be typed on a separate line. Include one blank line above the heading, and optionally one blank line below it, for readability in the edit screen. (Only two or more consecutive paragraph breaks will add white space between paragraphs of text in the page once saved.)
 
These points apply to in-page headings:
 
* Use ''sentence case'' for section headings — that is, the initial letter of a title is capitalized; otherwise, capital letters are used only where they would be used in a normal sentence.
* Headings should not normally contain links, especially where only part of a heading is linked.
* Section and subsection headings should preferably be unique within a page; otherwise section links may lead to the wrong place.
 
==Lists==
The [[Clicklaw Wikibooks Style Guide]] calls for using ''bulleted'' lists to break up serial information where the order is not important, and ''numbered'' lists where steps or some other sequence is important to understand the information.
 
The edit toolbar has the buttons for making lists in the Advanced menu. They are also simple to create as you type. Authorities on plain language writing agree that lists make information easier to absorb.
 
[[File:Edit toolbar numbered list.png|framed|link=]]
 
[[File:Edit toolbar bulleted list.png|framed|link=]]  
 
=== Making a list ===
Once you are logged in, and are in the Edit screen of the page you want to change:
* '''Numbered list''': Place each list item on its own line, and start each line with a pound symbol "<nowiki>#</nowiki>". Click "Show preview" to see the list. Notice that the numbered list automatically ends at the last line you started with a pound symbol. Alternatively, you can select the lines and click the Numbered List button.
 
* '''Bulleted list''': To make a list with bullets, follow the same steps as for a numbered list, but replace the pound symbol with an asterisk. You can also use the Bulleted List button.


===Using wiki codes===
=== List examples ===
Clicklaw Wikibooks uses wiki codes, a relatively simple markup language, to present the headings, lists, indented paragraphs and other formatting that give form and structure to a wiki page. For example, to make a numbered list, you put each item on a separate line and start the line with a pound symbol:


{| style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000"
{| class="wikitable"
|-
|-
! style="border-style: solid; border-width: 1px"| This wiki code
! Description
! style="border-style: solid; border-width: 1px"| Results in this display on the page
! This wiki code
! Results in this display on the page
|-
|-
| style="border-style: solid; border-width: 1px"|  
| ''Numbered list''
<tt># One</tt><br />
| <tt># One</tt><br />
<tt># Two</tt><br />
<tt># Two</tt><br />
<tt>## Two point one</tt><br />
<tt># Three</tt>
<tt># Three</tt>
| style="border-style: solid; border-width: 1px"|  
|  
# One
# One
# Two
# Two
## Two point one
# Three
# Three
|-
| ''Bulleted list''
| <tt>* Red</tt><br />
<tt>* Green</tt><br />
<tt>* Blue</tt>
|
* Red
* Green
* Blue
|}
More complicated lists with sublists are achieved by adding an extra pound or asterix symbol beside items you want to appear as indented subordinate list. Lists can include a mix of bullets and numbers at different levels. 
{| class="wikitable"
|-
! Description
! This wiki code
! Results in this display on the page
|-
| ''A numbered list with a subordinate list that is also numbered.''
| <tt># Item one</tt><br />
<tt># Leads to item two:</tt><br />
<tt>## Which itself has at least one sub-item</tt><br />
<tt>## And possibly two</tt><br />
<tt>## Or even three sub-items</tt><br />
<tt># Then back to the main numbered list and item three</tt>
|
# Item one
# Leads to item two:
## Which itself has at least one sub-item
## And possibly two
## Or even three sub-items
# Then back to the main numbered list and item three
|-
| ''A mixed list. Numbered list with a subordinate bulleted list.''
| <tt># Item one</tt><br />
<tt># Leads to item two:</tt><br />
<tt>#* Which itself has at least one sub-item</tt><br />
<tt>#* And possibly two</tt><br />
<tt>#* Or even three sub-items which all need to be bullets</tt><br />
<tt># Then back to the main list, which continues at item three</tt>
|
# Item one
# Leads to item two:
#* Which itself has at least one sub-item
#* And possibly two
#* Or even three sub-items which all need to be bullets
# Then back to the main list, which continues at item three
|-
| ''A bulleted list with a subordinate list of numbers,<br/> and a further subordinate list of bullets.''
| <tt>* This point is simple.</tt><br />
<tt>* This point is complicated, and includes:</tt><br />
<tt>*# Item one</tt><br />
<tt>*# Item two, which is:</tt><br />
<tt>*#* 40% X,</tt><br />
<tt>*#* 35% Y, and</tt><br />
<tt>*#* 25% Z.</tt><br />
<tt>*# Item three</tt><br />
<tt>* This last point is simple again.</tt><br />
|
* This point is simple.
* This point is complicated, and includes:
*# Item one
*# Item two, which is:
*#* 40% X,
*#* 35% Y, and
*#* 25% Z.
*# Item three
* This last point is simple again.
|}
|}


The good news is that there are not very many wiki codes, and many of them (for example, bold, italics, hyperlink) also have buttons in the edit toolbar that you can use that will automatically insert the codes.
==Images and video==
===Uploading images===
To upload an image that you will use in a wikibook, or a contributor profile, select the ''"Upload file"'' link from the sidebar navigation menu. It is located under the ''"Toolbox"'' header. Please use a descriptive name.


The [[Clicklaw Wikibooks Cheatsheet]] features the key wiki codes. Also available is a [[Clicklaw Wikibooks Style Guide]] that highlights key style and word usage for Clicklaw Wikibooks.
Please restrict your photos to ''.png'' or ''.jpg'' formats.


=== Note about updating resources in Legal Help for British Columbians ===
===Embedding images===
For contributors updating resources for the guide [[Legal Help for British Columbians]], please see the explanatory note on the [[Talk:Resource List|Resource List discussion page]]. (Resources are managed as individual pages that are then automatically consolidated on a single [[Resource List]].)
There are several ways to embed an image — however only a couple work well and support PDF, EPUB, and print-on-demand viewing. Consistency is important, so please use this approach:
{| class="wikitable"
|-
|Writing this:
|... should produce this:
|-
|
:<tt><nowiki>[[File:DescriptiveImageName.jpg| right | frame | link=| <span style="font-size:60%;">Copyright Information</span>]]</nowiki></tt>
|
[[File:DescriptiveImageName.jpg| right | frame | link=| <span style="font-size:60%;">Copyright Information</span>]]
|}


==Plain language writing==
Obviously, "''DescriptiveImageName.jpg''" should be replaced with the name of the image you uploaded.  
===A short definition of "Plain English"===
Brian Garner, from ''Legal Writing in Plain English,'' 2001, pp xiv:
<blockquote><tt>A word about "plain English." The phrase certainly shouldn't connote drab and dreary language. Actually, plain English is typically quite interesting to read. It's robust and direct—the opposite of gaudy, pretentious language. You achieve plain English when you use the simplest, most straightforward way of expressing an idea. You can still choose interesting words. But you'll avoid fancy ones that have everyday replacements meaning precisely the same thing.</tt>
</blockquote>


===Plain language tips===
The copyright information may take the form of ''"Copyright www.shutterstock.com"'', for example.
We are writing with the public reader in mind, not lawyers or other legal advocates. Depending on the wikibook, you may need to aim for a very low reading level. For example, [[Legal Help for British Columbians]] serves very basic information so people can take the first step towards finding help for their common legal problem. [[JP Boyd on Family Law]], on the other hand, presumes a higher reading level, since it offers motivated self-represented individuals a slightly more detailed description of family law. Both groups of readers benefit from plain language writing methods.
Some tips to consider when writing or reviewing legal information for the public:
# Think about your reader and question what they know or don't know. 
# Think about questions your readers will have on the topic, and organize your thoughts accordingly.
# Summarize main points using headers.
# Organize steps or similar information with lists.
# Write brief sentences and keep paragraphs short.
# Use common phrases and words.
# Avoid unnecessary descriptive adverbs and words.
# Write in the active voice and keep verb and subject close together.
# Ask another reader to evaluate your writing.


===More on plain language writing===
===Videos===
* [http://www.cba.org/cba/practicelink/cs/plainlanguage1.aspx CBA PracticeLink: Plain language legal writing]
Clicklaw Wikibooks supports videos embedded from Youtube. You will need to be working with videos you have already uploaded to Youtube directly. You cannot upload videos to Clicklaw Wikibooks directly.
* [http://www.plainlanguage.gov/examples/before_after/index.cfm Before and After Comparisons from www.plainlanguage.gov]
* [http://www.plainlanguage.gov/whatisPL/definitions/Kimble.cfm Joe Kimble, ''The Elements of Plain Language'' in the ''Michigan Bar Journal'', October 2002]


==Clicklaw Wikibooks Cheatsheet==
You have two options:
View the [[Clicklaw Wikibook Cheatsheet]] or download the [[Media:Clicklaw Wikibooks Cheatsheet.pdf | PDF]] file for convenient offline access or printing.
# left aligned videos
See the [[Clicklaw Wikibooks Style Guide]] for style and word usage.
# right aligned videos


==Using the Discussion tab to commenting on content==
These script might look complicated, but you will only be changing one thing: the ''unique identifier,'' ''e.g. ivsBIwncoiY''. This is the unique alphanumeric string found at the end of a Youtube video's "Share" link.
Clicklaw contributors have the ability to leave comments for other contributors or editors on any page of a Clicklaw Wikibook. This can be a very useful way to flag possible changes that you think might be worth considering, but you are not wanting to make without input from others. Note that any discussion pages are invisible to most users. Only logged-in contributors and those with accounts on Clicklaw Wikibooks can see comments posted in discussion pages. This was done deliberately so that members of the legal profession could make recommendations or have debates about how to present legal information, and do so freely without concern that the public may encounter comments or questions intended only for other editors, which taken out of context might cause confusion.


To leave a comment on a Discussion page:
To embed a video (left aligned) type:
:<pre>{{Video || video = {{#ev:youtube|ivsBIwncoiY|350|right}} }}</pre>
:Remember to replace "ivsBIwncoiY" with your own video's unique identifier.


#[[Logging In to Your New Account|Login to your account]] on Clicklaw Wikibooks.
This code should embed a left aligned video:
#[[How to Navigate around Clicklaw Wikibooks|Navigate to the page]] that you want to leave a comment on.
{|
#Click on the "Discussion" tab, and then click "Edit".
|-
#Add your comment, leaving your signature at the end. If you are replying to a comment, indent your comment one level further than the comment that you are replying to. So for example:
|{{Video || video = {{#ev:youtube|ivsBIwncoiY|350|right}} }}
::The link to the Consumer Protection BC's complaint roadmap needs to be updated. - Drew
|}
:::I have updated the link as of March 2013. - Beatriz
<br/>
(To indent, use colons for each level you want to indent - for example, two colons (::) to indent two levels.)
To embed a video (right aligned) type:
:<pre>{{Videoright || video = {{#ev:youtube|ivsBIwncoiY|350|right}} }}</pre><br />
:Again, remember to replace "ivsBIwncoiY" with your own video's unique identifier.


[[File:Discussion_tab.png| border|800px | link=]]
This code should embed a right aligned video:
===Leaving a signature===
{| width="100%"
Typing four tilde marks in a row will automatically place a signature for you, consisting of your username and the time that you left your signature. Please use a signature to let others know who made a contribution to a talk page, and when.
{| class="wikitable"
! Function
! Wiki markup (replaced when saving)
! Resulting wiki code
! Resulting display
|-
| Signature plus timestamp
| <pre>~~~~</pre>
|
<code><nowiki>[[</nowiki>{{ns:2}}:Username|Username]] 12:34, 1 February 2008 (UTC)</code>
| [[{{ns:2}}:Username|Username]] 12:34, 1 February 2008 (UTC)
|-
| Signature alone
| <pre>~~~</pre>
|
<code><nowiki>[[</nowiki>{{ns:2}}:Username|Username]] </code>
| [[{{ns:2}}:Username|Username]]
|-
|-
| Timestamp alone
|{{Videoright || video = {{#ev:youtube|ivsBIwncoiY|350|right}} }}
| <pre>~~~~~</pre>
| <code>12:34, 1 February 2008 (UTC)</code>
| 12:34, 1 February 2008 (UTC)
|}
|}


==Additional resources==
==Legal accuracy date==
Most pages advertise the last date of legal review. This is important for readers who want current legal information. The notice sits at the bottom of the page and looks like this:
 
{{REVIEWED | reviewer = [[Audrey Jun]], September 2016}}
 
There are two instances when the legal accuracy date notice on a page should be updated:
# the page has been reviewed in its entirety for legal accuracy and no change is required
# the page has been reviewed in its entirety for legal accuracy, changes were required, and all changes have been made
 
Contributors can change the legal accuracy date by:
* logging in
* going to the relevant page
* selecting Edit mode
* changing the month and year in this line:
:<pre> {{REVIEWED | reviewer = [[Audrey Jun]], September 2016}}</pre>
* clicking "Save page"
 
==Undoing changes==
One of the best things about this wiki platform is that each page has a "History" of older versions, including the one you just saved over. You (or another person) can always undo an edit and restore the older version.
 
When viewing a page's history tab:
* Selecting '''Undo''' on the current version will show you the difference between it and the next most recent version, and you can then select "Save page" to restore the earlier of the two versions.
* Selecting '''Rollback''' is usually overkill. This undoes all recent changes by that contributor back to the last version saved by another user other than that contributor. Do not use this option unless you are sure.
 
==Watchlists and user feedback== <!-- Do not remove or change the title of this heading since it is anchored as a help link in the article feedback tool-->
As an editor, certain pages (or whole titles) are assigned to you. Visitors can leave feedback on your pages, which can sometimes serve useful information on how to improve the content. Starting in 2020, visitors leaving feedback on your pages will trigger an email alert so you can see what they've said. The email will include a link for you to log in and check off the feedback as resolved.
 
See [[Notifications to Contributors if Users Leave Feedback]] for more instructions.
 
==Advanced features==
 
===Disabling Glossary/Terminology Popups===
Terms that appear along with their definitions on the [[Terminology]] page will automatically be detected the first time they appear on any article in the Clicklaw Wiki. In general, this saves work, since no manual coding is required to ensure that a legal term will include a definition. The automatic nature of this process, however, will result in false-positives in cases where a defined term also has a common meaning in addition to a legal one (the terms "hearing", and "order" for example).
 
====Disabling a single occurrence of a term====
To exclude defined terms from appearing with their pop-up definition (and where it is the first time the term has been used on a page), you should bracket the term with the HTML element:
 
<pre> <span class="noglossary">term</span> </pre>


The [[Clicklaw Wikibooks Style Guide]] highlights key style and word usage for pages on Clicklaw Wikibooks.
A <code><nowiki><div></nowiki></code> tag will also work but create a separate paragraph that may not be desired.


The [http://www.mediawiki.org/ MediaWiki] website also includes excellent support material — for example, instructions on [http://www.mediawiki.org/wiki/Help:Navigation navigating a wiki], [http://www.mediawiki.org/wiki/Help:Editing_pages editing pages], and [http://www.mediawiki.org/wiki/User_hub much more]. (MediaWiki is free, open source software that powers Clicklaw Wikibooks, as well as the hugely popular Wikipedia.)
====Disabling definitions for a whole page====
To exclude an entire article from receiving glossary popups you need to place one line of text on the page. From the edit screen include the text:  
<pre><nowiki>__NOGLOSSARY__</nowiki></pre> 


==For further information==
It is common to place this at the end of the text of a page.
This Guide is maintained by the Clicklaw site editors. For more information or support, please contact [mailto:editor@clicklaw.bc.ca editor at clicklaw.bc.ca].


{{Template:Navbox for Clicklaw Wikibooks Guide}}
{{Template:Navbox for Clicklaw Wikibooks Guide}}
<noinclude>__NOGLOSSARY__</noinclude>
<noinclude>__NOGLOSSARY__</noinclude>
[[Category:Navigation Page]]
[[Category:Clicklaw Wikibooks Guides]]
[[Category:Clicklaw Wikibooks Guides]]

Latest revision as of 19:50, 6 December 2019

This is a help page for contributors or users.


This is a guide for contributors with Clicklaw Wikibooks accounts. It contains instructions for the technical aspects of editing and updating content.

This guide is to be used in conjunction with the Clicklaw Wikibooks Style Guide, which aims to help contributors produce consistent and clear language, layout, and formatting. Also see the Clicklaw Wikibooks Cheatsheet for shortcuts for commonly used wiki commands.

Before you edit

Know what you're responsible for

Have you been invited to edit a particular title? Are you certain the page you're about to edit is part of the right wikibook title, and does not belong to a different wikibook?

Be conscientious about which page you are editing. Please only edit pages from those titles (or chapters within titles) for which you are responsible. Let your discretion guide you, or email wikisupport@clicklaw.bc.ca for help.

That said...

Relax, you can't screw up

Having asked you to be mindful of the pages you edit, take comfort in knowing you literally can't damage a page so badly that it cannot be restored.

See Undoing Changes.

The "Edit" screen

Are you at the page you want to edit? Are you logged in? If yes, you can start editing. Please refer to the Clicklaw Wikibooks Style Guide before/while making edits.

  1. Click on the "Edit" tab or click on the "edit" link beside a particular section (if you only want to edit the text for a certain section of a page).



  2. You can make changes to the text in the edit window, and click on the “Save page” button to save your changes.

Basic editing tools and formatting

Clicklaw Wikibooks uses a simple markup language to control how content looks, but to start off, you need not know much about this markup language. Buttons along the top of the edit window frame do most of the formatting and wiki markup for you.

Bold

In the edit screen, selecting text then clicking the Bold button will apply the wiki markup to make the text appear bold. Bold text is rarely called for by the Clicklaw Wikibooks Style Guide. Italics are preferred for giving emphasis. However, it is sometimes appropriate to bold the first word in a list item. You can create bold text manually by enclosing one or more words in sets of three apostrophes.

Typing:

I want to make '''this text''' bold.

Will look like this when you save or preview the page:

I want to make this text bold.

Italics

In the edit screen, selecting text then clicking the Italic button will apply the wiki markup to make the text appear in italics. Use Italics sparingly to add emphasis to words that are unfamiliar or to disambiguate ones that the reader might mistake. Italics are also used to cite cases, legislation or certain other sources.

To create italic text manually, enclose one or more words in sets of two apostrophes. Typing:

An ''arquebus'' is an early muzzle-loaded firearm, while an ''aquabus'' is a motorized boat.

Will look like this when you save or preview the page:

An arquebus is an early muzzle-loaded firearm, while an aquabus is a motorized boat.

Links

Link to another website

Examples of external links include any link to another website, or even a PDF or DOC file somewhere online. Cases on CanLII, for instance, require external links. The simplest way to insert an external link is to just type the full URL, including the http:// prefix. Typing:

For more information on the Court of Appeal process, visit http://www.courtofappealbc.ca

Will look like this when you save or preview the page:

For more information on the Court of Appeal process, visit http://www.courtofappealbc.ca.


Much of the time, you won't want the link to appear so obvious. To have other words appear with links to online resources, select the text you want to contain the link, then click the Link button. You will be prompted to enter the URL (the link to the online resource). Select "To an external web page", then click "Insert link".


Typing:

For more information, visit the Court of Appeal BC's [http://www.courtofappealbc.ca Online Help Guide].

Will look like this when you save or preview the page:

For more information, visit the Court of Appeal BC's Online Help Guide.

Link to another wiki page

One page in a wiki often naturally leads to another page on the same wiki. Here is a link to the Clicklaw Wikibooks Style Guide, which is a Clicklaw Wikibooks page. To make an internal link, click the Link button. You will be prompted to enter the target page, which must be the exact name of the page, and the text to display for the link. Select "To a wiki page" at the bottom, then click "Insert link".

Typing:

Editors are encouraged to read the [[Clicklaw Wikibooks Style Guide | Style Guide]].

Will look like this when you save or preview the page:

Editors are encouraged to read the Style Guide.

Note: twin square brackets are used for internal links.

Link to a location on the same wiki page

Sometimes, you may need to refer to a section within the same page.

Typing:

To learn how to insert links, read [[{{PAGENAME}}#Links | Links]].

Will look like this when you save or preview the page:

To learn how to insert links, read Links.

Link to a location on another wiki page

Sometimes a reader only needs to see a small section of a larger wiki page. When that section is in the middle of a long page it can be hard for the reader to find. Alternately, you can save the reader from scrolling by building a targeted link to that relevant section.

Typing:

To learn how to name a wiki page, read about [[Clicklaw Wikibooks Style Guide#Page titles | page naming convention]].

Will look like this when you save or preview the page:

To learn how to name a wiki page, read about page naming convention.

Example of a court decision citation and link in proper wiki format

Typing:

''[http://canlii.ca/t/2d35m Domirti v. Domirti]'', 2010 BCCA 472

Will cause this nice mix of italics and working links according to the Style Guide:

Domirti v. Domirti, 2010 BCCA 472

A case with no link available would be typed:

''Mareva Compania Naviera S.A. v. International Bulkcarriers S.A.'', [1980] 1 All E.R. 213

It would look like this:

Mareva Compania Naviera S.A. v. International Bulkcarriers S.A., [1980] 1 All E.R. 213

Headings and subheadings

Clicklaw Wikibook pages rely heavily on in page headings and subheadings to break up content and to improve navigation. Select what you want to become a heading, then select the Heading level from the Advanced menu. The results, when saved, will give you a primary section heading in the text of an article.

Headings within a page can also be produced by typing multiple equal signs, and you are not restricted to a single, primary level of header. A primary section heading is achieved by typing:

==Words in primary heading==

A subsection below a primary heading is achieved by typing:

===Words in secondary heading===

A maximum of five heading levels is possible. Just keep adding more equal sign symbols. Spaces between the equal signs and the heading text are optional, and will not affect the way the heading is displayed. The heading must be typed on a separate line. Include one blank line above the heading, and optionally one blank line below it, for readability in the edit screen. (Only two or more consecutive paragraph breaks will add white space between paragraphs of text in the page once saved.)

These points apply to in-page headings:

  • Use sentence case for section headings — that is, the initial letter of a title is capitalized; otherwise, capital letters are used only where they would be used in a normal sentence.
  • Headings should not normally contain links, especially where only part of a heading is linked.
  • Section and subsection headings should preferably be unique within a page; otherwise section links may lead to the wrong place.

Lists

The Clicklaw Wikibooks Style Guide calls for using bulleted lists to break up serial information where the order is not important, and numbered lists where steps or some other sequence is important to understand the information.

The edit toolbar has the buttons for making lists in the Advanced menu. They are also simple to create as you type. Authorities on plain language writing agree that lists make information easier to absorb.

Making a list

Once you are logged in, and are in the Edit screen of the page you want to change:

  • Numbered list: Place each list item on its own line, and start each line with a pound symbol "#". Click "Show preview" to see the list. Notice that the numbered list automatically ends at the last line you started with a pound symbol. Alternatively, you can select the lines and click the Numbered List button.
  • Bulleted list: To make a list with bullets, follow the same steps as for a numbered list, but replace the pound symbol with an asterisk. You can also use the Bulleted List button.

List examples

Description This wiki code Results in this display on the page
Numbered list # One

# Two
# Three

  1. One
  2. Two
  3. Three
Bulleted list * Red

* Green
* Blue

  • Red
  • Green
  • Blue

More complicated lists with sublists are achieved by adding an extra pound or asterix symbol beside items you want to appear as indented subordinate list. Lists can include a mix of bullets and numbers at different levels.

Description This wiki code Results in this display on the page
A numbered list with a subordinate list that is also numbered. # Item one

# Leads to item two:
## Which itself has at least one sub-item
## And possibly two
## Or even three sub-items
# Then back to the main numbered list and item three

  1. Item one
  2. Leads to item two:
    1. Which itself has at least one sub-item
    2. And possibly two
    3. Or even three sub-items
  3. Then back to the main numbered list and item three
A mixed list. Numbered list with a subordinate bulleted list. # Item one

# Leads to item two:
#* Which itself has at least one sub-item
#* And possibly two
#* Or even three sub-items which all need to be bullets
# Then back to the main list, which continues at item three

  1. Item one
  2. Leads to item two:
    • Which itself has at least one sub-item
    • And possibly two
    • Or even three sub-items which all need to be bullets
  3. Then back to the main list, which continues at item three
A bulleted list with a subordinate list of numbers,
and a further subordinate list of bullets.
* This point is simple.

* This point is complicated, and includes:
*# Item one
*# Item two, which is:
*#* 40% X,
*#* 35% Y, and
*#* 25% Z.
*# Item three
* This last point is simple again.

  • This point is simple.
  • This point is complicated, and includes:
    1. Item one
    2. Item two, which is:
      • 40% X,
      • 35% Y, and
      • 25% Z.
    3. Item three
  • This last point is simple again.

Images and video

Uploading images

To upload an image that you will use in a wikibook, or a contributor profile, select the "Upload file" link from the sidebar navigation menu. It is located under the "Toolbox" header. Please use a descriptive name.

Please restrict your photos to .png or .jpg formats.

Embedding images

There are several ways to embed an image — however only a couple work well and support PDF, EPUB, and print-on-demand viewing. Consistency is important, so please use this approach:

Writing this: ... should produce this:
[[File:DescriptiveImageName.jpg| right | frame | link=| <span style="font-size:60%;">Copyright Information</span>]]
Copyright Information

Obviously, "DescriptiveImageName.jpg" should be replaced with the name of the image you uploaded.

The copyright information may take the form of "Copyright www.shutterstock.com", for example.

Videos

Clicklaw Wikibooks supports videos embedded from Youtube. You will need to be working with videos you have already uploaded to Youtube directly. You cannot upload videos to Clicklaw Wikibooks directly.

You have two options:

  1. left aligned videos
  2. right aligned videos

These script might look complicated, but you will only be changing one thing: the unique identifier, e.g. ivsBIwncoiY. This is the unique alphanumeric string found at the end of a Youtube video's "Share" link.

To embed a video (left aligned) type:

{{Video || video = {{#ev:youtube|ivsBIwncoiY|350|right}} }}
Remember to replace "ivsBIwncoiY" with your own video's unique identifier.

This code should embed a left aligned video:


To embed a video (right aligned) type:

{{Videoright || video = {{#ev:youtube|ivsBIwncoiY|350|right}} }}

Again, remember to replace "ivsBIwncoiY" with your own video's unique identifier.

This code should embed a right aligned video:

Legal accuracy date

Most pages advertise the last date of legal review. This is important for readers who want current legal information. The notice sits at the bottom of the page and looks like this:

This information applies to British Columbia, Canada. Last reviewed for legal accuracy by Audrey Jun, September 2016.


There are two instances when the legal accuracy date notice on a page should be updated:

  1. the page has been reviewed in its entirety for legal accuracy and no change is required
  2. the page has been reviewed in its entirety for legal accuracy, changes were required, and all changes have been made

Contributors can change the legal accuracy date by:

  • logging in
  • going to the relevant page
  • selecting Edit mode
  • changing the month and year in this line:
 {{REVIEWED | reviewer = [[Audrey Jun]], September 2016}}
  • clicking "Save page"

Undoing changes

One of the best things about this wiki platform is that each page has a "History" of older versions, including the one you just saved over. You (or another person) can always undo an edit and restore the older version.

When viewing a page's history tab:

  • Selecting Undo on the current version will show you the difference between it and the next most recent version, and you can then select "Save page" to restore the earlier of the two versions.
  • Selecting Rollback is usually overkill. This undoes all recent changes by that contributor back to the last version saved by another user other than that contributor. Do not use this option unless you are sure.

Watchlists and user feedback

As an editor, certain pages (or whole titles) are assigned to you. Visitors can leave feedback on your pages, which can sometimes serve useful information on how to improve the content. Starting in 2020, visitors leaving feedback on your pages will trigger an email alert so you can see what they've said. The email will include a link for you to log in and check off the feedback as resolved.

See Notifications to Contributors if Users Leave Feedback for more instructions.

Advanced features

Disabling Glossary/Terminology Popups

Terms that appear along with their definitions on the Terminology page will automatically be detected the first time they appear on any article in the Clicklaw Wiki. In general, this saves work, since no manual coding is required to ensure that a legal term will include a definition. The automatic nature of this process, however, will result in false-positives in cases where a defined term also has a common meaning in addition to a legal one (the terms "hearing", and "order" for example).

Disabling a single occurrence of a term

To exclude defined terms from appearing with their pop-up definition (and where it is the first time the term has been used on a page), you should bracket the term with the HTML element:

 <span class="noglossary">term</span> 

A <div> tag will also work but create a separate paragraph that may not be desired.

Disabling definitions for a whole page

To exclude an entire article from receiving glossary popups you need to place one line of text on the page. From the edit screen include the text:

__NOGLOSSARY__

It is common to place this at the end of the text of a page.