Help:Editing: Difference between revisions

17 bytes removed ,  18 December 2016
→‎The wiki markup: Avoid suggesting to use sandbox page for syntax tests…
(→‎The wiki markup: Avoid suggesting to use sandbox page for syntax tests…)
 
(3 intermediate revisions by 2 users not shown)
Line 34: Line 34:
Here is a short list of common HTML tags that you may find useful (consult a good [[semantic HTML]] reference if you need more info about when to use which element).
Here is a short list of common HTML tags that you may find useful (consult a good [[semantic HTML]] reference if you need more info about when to use which element).


* <code>&lt;h1&gt; - &lt;h6&gt;</code>
* <code>&lt;br&gt;</code>
* <code>&lt;abbr&gt;</code>
* <code>&lt;abbr&gt;</code>
* <code>&lt;cite&gt;</code>
* <code>&lt;cite&gt;</code>
Line 51: Line 53:


Use the <code>class</code> attribute in particular, e.g. with <code>&lt;div&gt;</code> &amp; <code>&lt;span&gt;</code>, to add microformats like [[hCard]] for people mentioned in wiki pages, [[hCalendar]] for events, etc. And instead of span/div, be sure to use <code>&lt;abbr&gt;</code> and <code>&lt;time&gt;</code> when appropriate!
Use the <code>class</code> attribute in particular, e.g. with <code>&lt;div&gt;</code> &amp; <code>&lt;span&gt;</code>, to add microformats like [[hCard]] for people mentioned in wiki pages, [[hCalendar]] for events, etc. And instead of span/div, be sure to use <code>&lt;abbr&gt;</code> and <code>&lt;time&gt;</code> when appropriate!


== The wiki markup ==
== The wiki markup ==
In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column.
In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column.


You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm, you can do so in the [[Sandbox]].
You may want to keep this page open in a separate browser window for reference.


=== Sections, paragraphs, lists and lines ===
=== Sections, paragraphs, lists and lines ===
Line 842: Line 843:
</bugzilla>
</bugzilla>
</pre>
</pre>
For more details on how to query in various ways, see the documentation for the [[Bugzilla:REST_API | Bugzilla REST API]]
 
This extension uses Bugzilla's older REST API, [[Bugzilla:BzAPI|BzAPI]].  See that page for more details on how to query in various ways.


Note that the tag name defaults to "bugzilla" but is configurable.
Note that the tag name defaults to "bugzilla" but is configurable.
1

edit