7,495
edits
Nate Russell (talk | contribs) |
Nate Russell (talk | contribs) |
||
Line 307: | Line 307: | ||
===Disabling Glossary/Terminology Popups=== | ===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). | 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: | 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> | <pre> <span class="noglossary">term</span> </pre> | ||
A | A <code><nowiki><div></nowiki></code> tag will also work but create a separate paragraph that may not be desired. | ||
To exclude an entire article from receiving glossary popups | |||
====Disabling definitions for a whole page==== | |||
at the end of the text of a 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> | |||
It is common to place this at the end of the text of a page. | |||
==Additional resources== | ==Additional resources== |