Help:Editing: Difference between revisions

3,840 bytes added ,  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…)
 
(35 intermediate revisions by 19 users not shown)
Line 1: Line 1:
Overwhelmed by the amount of help available here? Try [[Help:Me]].
{{hh}}
{{hh}}
{{handbook sidebar|Editor toc}}
{{handbook sidebar|Editor toc}}
Line 23: Line 25:
When editing a page, a [[MediaWiki User's Guide: Logging-in|logged-in]] user has the option of flagging the edit as a "minor edit". This feature is important, because users can choose to ''hide'' minor edits in their view of the [[MediaWiki User's Guide: The Recent Changes page | Recent Changes page]], to keep the volume of edits down to a manageable level.
When editing a page, a [[MediaWiki User's Guide: Logging-in|logged-in]] user has the option of flagging the edit as a "minor edit". This feature is important, because users can choose to ''hide'' minor edits in their view of the [[MediaWiki User's Guide: The Recent Changes page | Recent Changes page]], to keep the volume of edits down to a manageable level.


When to use this is somewhat a matter of personal preference. The rule of thumb is that an edit of a page that consists of spelling corrections, formatting, and minor rearranging of text should be flagged as a "minor edit".  A major edit is basically something that makes the entry worth revisiting for somebody who wants to watch the article rather closely. So any "real" change, even if it is a single word, should be flagged as a "major edit".  
When to use this is somewhat a matter of personal preference. The rule of thumb is that edits consisting of spelling corrections, formatting, and minor rearranging of text should be flagged as a "minor edit".  A major edit is basically something that makes the entry worth revisiting for somebody who wants to watch the article rather closely. So any "real" change, even if it is a single word, should be flagged as a "major edit".  


The reason for not allowing a user who is not logged in to mark an edit as minor is that vandalism could then be marked as a minor edit, in which case it would stay unnoticed longer. This limitation is another reason to log in.
The reason for not allowing a user who is not logged in to mark an edit as minor is that vandalism could then be marked as a minor edit, in which case it would stay unnoticed longer. This limitation is another reason to log in.
== Using HTML ==
MediaWiki supports a lot of simple HTML markup which you should use to enhance the semantics of your wiki pages (for [[SEO]] and other related good reasons).
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;cite&gt;</code>
* <code>&lt;code&gt;</code>, <code>&lt;kbd&gt;</code>, <code>&lt;samp&gt;</code>, <code>&lt;var&gt;</code>
* <code>&lt;dfn&gt;</code>
* <code>&lt;div&gt;</code> &amp; <code>&lt;span&gt;</code>
* <code>&lt;em&gt;</code> &amp; <code>&lt;strong&gt;</code>
* <code>&lt;li&gt;</code> / <code>&lt;ol&gt;</code> / <code>&lt;ul&gt;</code>
* <code>&lt;table&gt;</code>, <code>&lt;thead&gt;</code>, <code>&lt;tbody&gt;</code>, <code>&lt;tfoot&gt;</code>, <code>&lt;tr&gt;</code>, <code>&lt;th&gt;</code>, <code>&lt;td&gt;</code>
* <code>&lt;time&gt;</code>
If you find additional semantic HTML elements that seem to work just fine in MediaWiki pages, please add them.
In addition to using HTML elements directly in your MediaWiki pages, feel free to use common attributes like:
* <code>style</code>
* <code>class</code>
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 255: Line 282:
Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed; see also [[w:Wikipedia:Don't use line breaks]].
Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed; see also [[w:Wikipedia:Don't use line breaks]].


=== Links, URLs ===
<h3> Links, URLs </h3>
 
<table border="1" cellpadding="2" cellspacing="0">
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<tr>
Line 262: Line 288:
<th>What you type</th>
<th>What you type</th>
</tr>
</tr>
<tr valign="top"><td>Sue is reading the [[video policy]].
<tr valign="top"><td>Sue is reading the <a _fcknotitle="true" href="Video policy">Video policy</a>.
*First letter of target is automatically capitalized.
<ul><li>First letter of target is automatically capitalized.
*Internally spaces are automatically represented as underscores (typing an underscore has the same effect as typing a space, but is not recommended).
</li><li>Internally spaces are automatically represented as underscores (typing an underscore has the same effect as typing a space, but is not recommended).
Thus the [[link]] above is to <nowiki>http://meta.wikipedia.org/wiki/Video_policy</nowiki>, which is the page with the name "Video policy".
</li></ul>
<p>Thus the <a _fcknotitle="true" href="Link">Link</a> above is to <span class="fck_mw_nowiki" _fck_mw_customtag="true" _fck_mw_tagname="nowiki">http://meta.wikipedia.org/wiki/Video_policy</span>, which is the page with the name "Video policy".
</p>
</td>
</td>
<td><pre><nowiki>Sue is reading the [[video policy]].</nowiki></pre>
<td><pre>Sue is reading the [[video policy]].</pre>
</td>
</td>
</tr>
</tr>
<tr><td>
<tr><td>
Link to a section on a page, e.g.
<p>Link to a section on a page, e.g.
[[List_of_cities_by_country#Morocco]]; when section editing does not work the link is treated as link to the page, i.e. to the top; this applies for:
<a _fcknotitle="true" href="List of cities by country#Morocco">List of cities by country#Morocco</a>; when section editing does not work the link is treated as link to the page, i.e. to the top; this applies for:
*links to non-existent sections
</p>
*links in redirects
<ul><li>links to non-existent sections
*interwiki links</td><td>
</li><li>links in redirects
<pre><nowiki>[[List_of_cities_by_country#Morocco]].</nowiki></pre></td>
</li><li>interwiki links</td><td>
</li></ul>
<pre>[[List_of_cities_by_country#Morocco]].</pre></td>
</tr>
</tr>
<tr valign="top"><td>Link target and link label are different: [[User:Larry Sanger|answers]].
<tr valign="top"><td>Link target and link label are different: <a href="User:Larry Sanger">answers</a>.
 
<p>(This is called a <a _fcknotitle="true" href="Piped link">Piped link</a>).
(This is called a [[piped link]]).
</p>
</td>
</td>
<td><pre><nowiki>Same target, different name:
<td><pre>Same target, different name:
[[User:Larry Sanger|answers]]</nowiki></pre>
[[User:Larry Sanger|answers]]</pre>
</td>
</td>
</tr>
</tr>
<tr valign="top">
<tr valign="top">
<td>Endings are blended into the link: [[official position]]s, [[gene]]s</td>
<td>Endings are blended into the link: <a _fcknotitle="true" href="Official position">Official position</a>s, <a _fcknotitle="true" href="Gene">Gene</a>s</td>
<td>
<td>
<pre><nowiki>Endings are blended
<pre>Endings are blended
into the link: [[official position]]s, [[gene]]s</nowiki></pre>
into the link: [[official position]]s, [[gene]]s</pre>
</td>
</td>
</tr>
</tr>
<tr valign="top">
<tr valign="top">
<td>
<td>
Automatically hide stuff in parentheses: [[kingdom (biology)|kingdom]].
<p>Automatically hide stuff in parentheses: <a href="Kingdom (biology)">kingdom</a>.
<p>Automatically hide namespace: [[Wikipedia:Village pump|Village pump]].</p>
</p>
<p>Automatically hide namespace: <a href="Wikipedia:Village pump">Village pump</a>.</p>
<p>The server fills in the part after the | when you save the page. Next time you open the edit box you will see the expanded piped link. A preview interprets the abbreviated form correctly, but does not expand it yet in the edit box. Press Save and again Edit, and you will see the expanded version. The same applies for the following feature.</p>
<p>The server fills in the part after the | when you save the page. Next time you open the edit box you will see the expanded piped link. A preview interprets the abbreviated form correctly, but does not expand it yet in the edit box. Press Save and again Edit, and you will see the expanded version. The same applies for the following feature.</p>
</td>
</td>
<td>
<td>
<pre><nowiki>Automatically hide stuff in parentheses:
<pre>Automatically hide stuff in parentheses:
[[kingdom (biology)|]]. </nowiki></pre>
[[kingdom (biology)|]]. </pre>
<pre><nowiki>Automatically hide namespace:
<pre>Automatically hide namespace:
[[Wikipedia:Village pump|]].</nowiki></pre>
[[Wikipedia:Village pump|]].</pre>
</td></tr>
</td></tr>
<tr>
<tr>
<td>When adding a comment to a Talk page,
<td>When adding a comment to a Talk page,
you should sign it. You can do this by
<p>you should sign it. You can do this by
adding three tildes for your user name:
adding three tildes for your user name:
: [[User:Karl Wick|Karl Wick]]
</p>
or four for user name plus date/time:
<dl><dd> <a href="User:Karl Wick">Karl Wick</a>
: [[User:Karl Wick|Karl Wick]] 08:10 Oct 5, 2002 (UTC)
</dd></dl>
<p>or four for user name plus date/time:
</p>
<dl><dd> <a href="User:Karl Wick">Karl Wick</a> 08:10 Oct 5, 2002 (UTC)
</dd></dl>
</td>
</td>
<td><pre><nowiki>When adding a comment to a Talk page,
<td><pre>When adding a comment to a Talk page,
you should sign it. You can do this by
you should sign it. You can do this by
adding three tildes for your user name:
adding three tildes for your user name:
: ~~~
: ~~~
or four for user name plus date/time:
or four for user name plus date/time:
: ~~~~</nowiki></pre>
: ~~~~</pre>
</td>
</td>
</tr>
</tr>
<tr valign="top"><td>[[The weather in London]] is a page that doesn't exist yet.
<tr valign="top"><td><a _fcknotitle="true" href="The weather in London">The weather in London</a> is a page that doesn't exist yet.
*You can create it by clicking on the link.
<ul><li>You can create it by clicking on the link.
*To create a new page:
</li><li>To create a new page:
*#Create a link to it on some other page.
<ol><li>Create a link to it on some other page.
*#Save that page.
</li><li>Save that page.
*#Click on the link you just made. The new page will open for editing.
</li><li>Click on the link you just made. The new page will open for editing.
*Have a look at [[MediaWiki User's Guide: Starting a new page|how to start a page]] guide and the naming conventions page for your project.
</li></ol>
</li><li>Have a look at <a href="MediaWiki User's Guide: Starting a new page">how to start a page</a> guide and the naming conventions page for your project.
</li></ul>
</td>
</td>
<td><pre><nowiki>[[The weather in London]] is a page
<td><pre>[[The weather in London]] is a page
that doesn't exist yet.</nowiki></pre>
that doesn't exist yet.</pre>
</td>
</td>
</tr>
</tr>
<tr valign="top"><td>
<tr valign="top"><td>
[[MediaWiki User's Guide: Using redirects|Redirect]] one article title to another by putting text like this in its first line.
<p><a href="MediaWiki User's Guide: Using redirects">Redirect</a> one article title to another by putting text like this in its first line.
</p>
</td>
</td>
<td><pre><nowiki>#REDIRECT [[United States]]</nowiki></pre>
<td><pre>#REDIRECT [[United States]]</pre>
</td>
</td>
</tr>
</tr>
<tr valign="top"><td>
<tr valign="top"><td>
A link to the page on the same subject in another language or, more generally, to a page on another wiki:
<p>A link to the page on the same subject in another language or, more generally, to a page on another wiki:
[[fr:Wikip�dia:Aide]].  
[[fr:Wikip�dia:Aide]].  
For more info see [[MediaWiki User's Guide: Interwiki linking]].
For more info see <a _fcknotitle="true" href="MediaWiki User's Guide: Interwiki linking">MediaWiki User's Guide: Interwiki linking</a>.
</p>
</td>
</td>
<td><pre><nowiki>[[fr:Wikip�dia:Aide]], [[:fr:Wikip�dia:Aide]]</nowiki></pre></td>
<td><pre>[[fr:Wikip�dia:Aide]], [[:fr:Wikip�dia:Aide]]</pre></td>
</tr>
</tr>
<tr>
<tr>
<td>"What links here" and "Related changes" can be linked as:<br/>
<td>"What links here" and "Related changes" can be linked as:<br />
[[Special:Whatlinkshere/Wikipedia:How to edit a page]] and
<p><a _fcknotitle="true" href="Special:Whatlinkshere/Wikipedia:How to edit a page">Special:Whatlinkshere/Wikipedia:How to edit a page</a> and
[[Special:Recentchangeslinked/Wikipedia:How to edit a page]]
<a _fcknotitle="true" href="Special:Recentchangeslinked/Wikipedia:How to edit a page">Special:Recentchangeslinked/Wikipedia:How to edit a page</a>
</p>
</td>
</td>
<td><pre><nowiki>
<td><pre>
[[Special:Whatlinkshere/
[[Special:Whatlinkshere/
Wikipedia:How to edit a page]] and
Wikipedia:How to edit a page]] and
[[Special:Recentchangeslinked/
[[Special:Recentchangeslinked/
Wikipedia:How to edit a page]]</nowiki></pre>
Wikipedia:How to edit a page]]</pre>
</td>
</td>
</tr>
</tr>
<tr valign="top"><td>External links: [http://www.nupedia.com Nupedia], [http://www.nupedia.com]
<tr valign="top"><td>External links: <a href="http://www.nupedia.com">Nupedia</a>, <a href="http://www.nupedia.com">[n]</a>
</td>
</td>
<td><pre><nowiki>External links:
<td><pre>External links:
[http://www.nupedia.com Nupedia],
[http://www.nupedia.com Nupedia],
[http://www.nupedia.com]</nowiki></pre>
[http://www.nupedia.com]</pre>
</td>
</td>
</tr>
</tr>
<tr valign="top"><td>Or just give the URL: http://www.nupedia.com.
<tr valign="top"><td>Or just give the URL: http://www.nupedia.com.
*In the [[en:URL|URL]] all symbols must be among: A-Z a-z 0-9 ._\/~%-+&amp;#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written %5E (to be looked up in [[en:ASCII|ASCII]]). A blank space can also be converted into an underscore.
<ul><li>In the <a href="En:URL">URL</a> all symbols must be among: A-Z a-z 0-9 ._\/~%-+&amp;#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written&#160;%5E (to be looked up in <a href="En:ASCII">ASCII</a>). A blank space can also be converted into an underscore.
</li></ul>
</td>
</td>
<td><pre><nowiki>Or just give the URL:
<td><pre>Or just give the URL:
http://www.nupedia.com.</nowiki></pre>
http://www.nupedia.com.</pre>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
To link to a bug in Mozilla's Bugzilla, use the <tt>bug</tt> template.
<p>To link to a bug in Mozilla's Bugzilla, use the <tt>bug</tt> template.
{{bug|322603}}
<span class="fck_mw_template">{{bug|322603}}</span>
</p>
</td>
</td>
<td>
<td>
<pre><nowiki>{{bug|322603}}</nowiki></pre>
<pre>{{bug|322603}}</pre>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
To link to books, you can use [[en:ISBN|ISBN]] links.
<p>To link to an issue in Mozilla's Jira, use the <tt>jira</tt> template.
ISBN 0123456789X See [[Help:ISBN links]]
<span class="fck_mw_template">{{jira|METRICS-1}}</span>
</p>
</td>
</td>
<td>
<td>
<pre><nowiki>ISBN 0123456789X</nowiki></pre>
<pre>{{jira|METRICS-1}}</pre>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
Link to [[w:Request for Comments|Request for Comments]]: RFC 123 (URL specified in [[mediawiki:Rfcurl]])
<p>To link to books, you can use <a href="En:ISBN">ISBN</a> links.
ISBN 0123456789X See <a _fcknotitle="true" href="Help:ISBN links">Help:ISBN links</a>
</p>
</td>
</td>
<td>
<td>
<pre><nowiki>RFC 123</nowiki></pre>
<pre>ISBN 0123456789X</pre>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
To include links to non-image uploads such as sounds, use a "media" link.
<p>Link to <a href="W:Request for Comments">Request for Comments</a>: RFC 123 (URL specified in <a _fcknotitle="true" href="MediaWiki:Rfcurl">MediaWiki:Rfcurl</a>)
<br/>[[media:Sg_mrob.ogg|Sound]]
</p>
</td>
<td>
<pre>RFC 123</pre>
</td>
</tr>
<tr>
<td>
<p>To include links to non-image uploads such as sounds, use a "media" link.
<br /><a href="Sg_mrob.ogg" class="new"  _fck_mw_filename="Sg_mrob.ogg" _fck_mw_type="media" title="Sg mrob.ogg">Sound</a>
</p>
</td>
</td>
<td>
<td>
<pre>
<pre>
<nowiki>
 
[[media:Sg_mrob.ogg|Sound]]
[[media:Sg_mrob.ogg|Sound]]
</nowiki></pre>
</pre>
</td>
</td>
</tr>
</tr>
<tr valign=top>
<tr valign="top">
<td>Use links for dates, so everyone can set their own display order. Use [[Special:Preferences]] to change your own date display setting.
<td>Use links for dates, so everyone can set their own display order. Use <a _fcknotitle="true" href="Special:Preferences">Special:Preferences</a> to change your own date display setting.
</td>
</td>
<td><pre><nowiki>[[July 20]], [[1969]] , [[20 July]] [[1969]]
<td><pre>[[July 20]], [[1969]] , [[20 July]] [[1969]]
and [[1969]]-[[07-20]]
and [[1969]]-[[07-20]]
</nowiki></pre>will all appear as [[20 July]] [[1969]] if you set your date display preference to 1 January 2001.
</pre>will all appear as <a _fcknotitle="true" href="20 July">20 July</a> <a _fcknotitle="true" href="1969">1969</a> if you set your date display preference to 1 January 2001.
</td>
</td>
</tr>
</tr>
Line 441: Line 496:
<tr>
<tr>
<td>
<td>
Clicking on an uploaded image displays a description page, which you can also link directly to: [[:Image:Wiki.png]]
Clicking on an uploaded image displays a description page, which you can also link directly to: [[Image:Wiki.png]]
</td>
</td>
<td><pre><nowiki>
<td><pre><nowiki>
[[:Image:Wiki.png]]
[[Image:Wiki.png]]
</nowiki></pre>
</nowiki></pre>
</td>
</td>
Line 492: Line 547:
specific font style rather than emphasis, as  
specific font style rather than emphasis, as  
in mathematical formulas:
in mathematical formulas:
:<b>F</b> = <i>m</i><b>a</b></nowiki></pre><!-- that's not a mathematical formula, though -- sure it is, just because it's being applied to physics doesn't make it stop being mathematics -->
:<b>F</b> = <i>m</i><b>a</b></nowiki></pre><!-- that's not a mathematical formula, though - sure it is, just because it's being applied to physics doesn't make it stop being mathematics -->
</td>
</td>
</tr>
</tr>
<tr valign=top>
<tr valign="top">
<td>A typewriter font for <tt>technical terms</tt>.
<td>A typewriter font for <tt>technical terms</tt>.
</td>
</td>
Line 502: Line 557:
</td><!-- tt is really 'teletype', not 'technical term' -->
</td><!-- tt is really 'teletype', not 'technical term' -->
</tr>
</tr>
<tr valign=top>
<tr valign="top">
<td>You can use <small>small text</small> for captions.
<td>You can use <small>small text</small> for captions.
</td>
</td>
Line 552: Line 607:
&amp;ucirc; &amp;uuml; &amp;yuml;</nowiki></pre></td>
&amp;ucirc; &amp;uuml; &amp;yuml;</nowiki></pre></td>
</tr>
</tr>
<tr valign=top>
<tr valign="top">
<td>
<td>
'''Punctuation:'''<br/>
'''Punctuation:'''<br/>
Line 685: Line 740:
''italics''
''italics''
[[link]]</nowiki></nowiki></pre>
[[link]]</nowiki></nowiki></pre>
</td>
</td>
</tr>
</tr>
Line 699: Line 753:
</td>
</td>
<td valign="bottom">
<td valign="bottom">
<pre><nowiki><pre>arrow      &amp;rarr;
<!-- <pre> or <nowiki> inside <pre> breaks the renderer -->
<pre>&lt;pre>arrow      &amp;rarr;


''italics''
''italics''
[[link]]</pre></nowiki></pre>
[[link]]&lt;/pre></pre>
</td>
</td>
</tr>
</tr>
Line 709: Line 764:
'''Use leading space on each line to keep newlines and multiple spaces, and get typewriter font:
'''Use leading space on each line to keep newlines and multiple spaces, and get typewriter font:
  arrow      &rarr;
  arrow      &rarr;
 
  ''italics''
  ''italics''
  [[link]]
  [[link]]
</pre>
</td>
</td>
<td valign="bottom">
<td valign="bottom">
<pre> <nowiki>arrow      &amp;rarr;
<pre> arrow      &amp;rarr;


  ''italics''
  ''italics''
  [[link]]</nowiki></pre>
  [[link]]</pre>
</td>
</td>
</tr>
</tr>
Line 732: Line 786:
</td>
</td>
<td valign="bottom">
<td valign="bottom">
<pre><nowiki><tt>arrow      &amp;rarr;</tt>
<pre><tt>arrow      &amp;rarr;</tt>


<tt>''italics''</tt>
<tt>''italics''</tt>
<tt>[[link]]</nowiki></tt></pre>
<tt>[[link]]</tt></pre>
</td>
</td>
</tr>
</tr>
Line 745: Line 799:
</td>
</td>
<td valign="bottom">
<td valign="bottom">
&amp;amp;rarr;</pre>
<pre>&amp;amp;rarr;</pre>
</td>
</td>
</tr>
</tr>
Line 755: Line 809:
</td>
</td>
<td>
<td>
<pre><nowiki><!-- comment here --></nowiki></pre>
<pre>&lt;!-- comment here --&gt;</pre>
</td>
</td>
</tr>
</tr>
Line 763: Line 817:


HTML tables can be quite useful as well. For details on how to use them and discussion about when they are appropriate, see [[Help:Table]].
HTML tables can be quite useful as well. For details on how to use them and discussion about when they are appropriate, see [[Help:Table]].
=== Bugzilla Extension ===
Bugzilla currently has installed the bugzilla mediawiki extension ([https://github.com/mozilla/mediawiki-bugzilla source]), see also [[Help:Bugzilla_Extension| Help:Bugzilla Extension]]
You use this extension in this way:
<pre>
<bugzilla>
    (JSON REST API query key/value pairs)
</bugzilla>
</pre>
An example:
<pre>
<bugzilla>
    {
        "product": "Bugzilla",
        "priority":"P1"
    }
</bugzilla>
</pre>
Another example (just ids):
<pre>
<bugzilla>
    {
        "id": "123456,246246,246243",
    }
</bugzilla>
</pre>
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.
There is also exploratory support for charting:
<pre>
<bugzilla type="count" display="bar">
    {
        "product":      "Bugzilla",
        "priority":    "P1",
        "x_axis_field": "severity"
    }
</bugzilla>
</pre>


==Templates==
==Templates==
1

edit