Difference between revisions of "MoparWiki Extensions"

From MoparWiki
Jump to: navigation, search
(Created page with "Category:Admin This page lists the Extension used and their Function")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:Admin]]
 
[[Category:Admin]]
 +
{{Template:Openx}}
  
 
This page lists the Extension used and their Function
 
This page lists the Extension used and their Function
 +
 +
A list of all Extensions and their functions can be found at [[Special:Version]].
 +
 +
= Cite This Page =
 +
 +
Each page has a link in the sidebar, which gives the syntax in multiple formats to cite the page as a reference.
 +
 +
= Replace Text =
 +
 +
a new special page that searches for text in all Wikis and replaces it
 +
 +
= Create User Page =
 +
 +
If one doesn't exist for new members then one is created
 +
 +
= MultiBoilerplate =
 +
 +
Allow for dropdown box of an array (in localsettings) of different boilerplates to load into new wikis
 +
 +
 +
= WikiEditor =
 +
 +
Give user ability to do tables, insert photos and format text without the markup language. Downloaded in the 1.34 version by default, but had to be enabled in localsettings
 +
 +
= HAMLET =
 +
 +
'''Usage'''
 +
 +
One of the usages is in the [[Template:Openx]] where it calls a html file with the banner code.
 +
 +
Includes HTML snippets into wiki pages without changing the default setting of $wgRawHtml. Snippets are located in files in a special directory on the web server. This addresses the demand for a simple way to insert special JavaScript code, an <iframe>, or an HTML form, without allowing users to insert arbitrary and potentially harmful code.
 +
 +
Including a HTML snippets is done using a special tag, <nowiki><htmlet></nowiki>. For example, if you put this on a wiki page:
 +
 +
:<nowiki><htmlet>foobar</htmlet></nowiki>,
 +
 +
This will include the contents of the file foobar.html from the htmlet directory. If the snippet may change often, and you want those changes reflected on the wiki page right away, you can tell HTMLets to disable the parser cache for this page:
 +
 +
:<nowiki><htmlet nocache="yes">foobar</htmlet></nowiki>
 +
 +
The htmlet directory can be configured using $wgHTMLetsDirectory; it defaults to "$IP/htmlets", i.e. the directory htmlets in the installation root of MediaWiki; but note that if you follow the instructions given above for adding code to your LocalSettings.php file, the htmlet directory will be set to "$IP/extensions/HTMLets". $wgHTMLetsDirectory may also refer to a place on a webserver, for example, you can set it to <nowiki>http://localhost/htmlets/</nowiki>, if you provide htmlets in that location - note that the .html ending is enforced, query strings are not allowed in the htmlet's name.
 +
 +
 +
{{Template:BottomWiki}}

Latest revision as of 02:43, 14 April 2020




This page lists the Extension used and their Function

A list of all Extensions and their functions can be found at Special:Version.

Cite This Page

Each page has a link in the sidebar, which gives the syntax in multiple formats to cite the page as a reference.

Replace Text

a new special page that searches for text in all Wikis and replaces it

Create User Page

If one doesn't exist for new members then one is created

MultiBoilerplate

Allow for dropdown box of an array (in localsettings) of different boilerplates to load into new wikis


WikiEditor

Give user ability to do tables, insert photos and format text without the markup language. Downloaded in the 1.34 version by default, but had to be enabled in localsettings

HAMLET

Usage

One of the usages is in the Template:Openx where it calls a html file with the banner code.

Includes HTML snippets into wiki pages without changing the default setting of $wgRawHtml. Snippets are located in files in a special directory on the web server. This addresses the demand for a simple way to insert special JavaScript code, an <iframe>, or an HTML form, without allowing users to insert arbitrary and potentially harmful code.

Including a HTML snippets is done using a special tag, <htmlet>. For example, if you put this on a wiki page:

<htmlet>foobar</htmlet>,

This will include the contents of the file foobar.html from the htmlet directory. If the snippet may change often, and you want those changes reflected on the wiki page right away, you can tell HTMLets to disable the parser cache for this page:

<htmlet nocache="yes">foobar</htmlet>

The htmlet directory can be configured using $wgHTMLetsDirectory; it defaults to "$IP/htmlets", i.e. the directory htmlets in the installation root of MediaWiki; but note that if you follow the instructions given above for adding code to your LocalSettings.php file, the htmlet directory will be set to "$IP/extensions/HTMLets". $wgHTMLetsDirectory may also refer to a place on a webserver, for example, you can set it to http://localhost/htmlets/, if you provide htmlets in that location - note that the .html ending is enforced, query strings are not allowed in the htmlet's name.



Random Page | Longest Wikis | Oldest Wikis | Newest Images | Newest Wikis | List of Categories | List of Every Freakin Wiki



Register to Edit
It takes less than 5 minutes to request registration for editing, and we try to approve within 24 hours. Click the Register Link in the Top Bar.
MoparWiki Help
While editing Wikis may at first glance appear a little overwhelming, it really isn't. You will find this site's HELP (link found in the sidebar) to be very strong and easy to understand. The best way to start is with small edits and working on your user page -- and you will become a Pro in no time.