You are viewing an old version of this page. Return to the latest version.
(→Usage[edit]) |
(Changed categories.) |
The Widgets extension allows the creation of raw HTML pages that can be embedded (similarly to templates) in normal wiki pages. You do this by creating pages in the Widget namespace. They avoid the security problems of raw HTML in editable wiki pages because the privilege to edit in the Widget namespace is managed. Many pre-written Widgets are available.
To add a widget to your MediaWiki installation, just create a page in the Widget: namespace and then use the {{#widget:...}} parser function to include it in the pages of the wiki.
Source: mediawiki
The '''Widgets''' extension allows the creation of raw HTML pages that can be embedded (similarly to templates) in normal wiki pages. You do this by creating pages in the ''Widget'' namespace. They avoid the security problems of raw HTML in editable wiki pages because the privilege to edit in the Widget namespace is managed. Many pre-written Widgets are available. ==<span id="Usage" class="mw-headline">Usage</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:Widgets&action=edit§ion=6" title="Edit section: Usage">edit]</span></span>== To add a widget to your MediaWiki installation, just create a page in the Widget: namespace and then use the <nowiki>{{#widget:...}}</nowiki> parser function to include it in the pages of the wiki. '''Source: '''[https://www.mediawiki.org/wiki/Extension:Widgets mediawiki] [[Category:Extension]]
Line 7: | Line 7: | ||
'''Source: '''[https://www.mediawiki.org/wiki/Extension:Widgets mediawiki] | '''Source: '''[https://www.mediawiki.org/wiki/Extension:Widgets mediawiki] | ||
+ | [[Category:Extension]] |