Extension:EditPageTrick

What can this extension do?
This extension add a random trick at the head of the editing page in a really easy way.

Possible tricks are easily editable and are contained in a single page.

Tricks
In order to make the extension works, you must create a page called 'EditTricks' in the MediaWiki namespace. This page contain all the tricks that will be shown randomly. Tricks are separated by the syntaxe ''.

Exemple: Tricks are a really easy way to highlight new syntaxes.

You can upload files on the wiki using the File namespace. &lt;/pre&gt;

Tricks are tricky.

Trick template
The tricks are rendered using a template called Trick.

You can do pretty good things using css, here is a screenshot of mine.

Install

 * Create the MediaWiki:EditTricks as shown in the last paragraph


 * Create the extensions/EditPageTricks.php and copy/paste the


 * Create the Trick template, in order to do that edit the Template:Trick page and put your template in there. A really simple template would be something like this:


 * Add the following to LocalSettings.php: