Extension:ApiMagicWord

What can this extension do?
With a simple magic word  as interwikilink for  

Note 2 : ApiMagicWord suppose the below simple relation between interwikilink to index.php and interwikilink to api.php :  has to be an interwikilink for  

Templates (have to been created before their usage !!) can be used to filter and/or format results send to the current wiki page :

This other way don't run at all : Does someone understand why ??

For access to the api of the local Mediawiki wiki, no need to specify an interwikilink :

ToDo
''' A lot of work !! Every help is welcome ! '''

Download instructions
Please cut and paste the codes found in subpages : Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.
 * ApiMagicWord.php : place it in.
 * ApiMagicWord_body.php : place it in.
 * ApiMagicWord.i18n.php : place it in.
 * ApiMagicWord.i18n.magic.php : place it in.
 * customwikibot.classes.php : place it in.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration parameters
If set $wgApiMagicWordUseNoPrefixHash to true, then the functions are without the preceeding hash symbol, and more like the built in function.

User rights
Have to be implemented.

Code
See :
 * Extension:ApiMagicWord/ApiMagicWord.php
 * Extension:ApiMagicWord/ApiMagicWord_body.php
 * Extension:ApiMagicWord/ApiMagicWord.i18n.php
 * Extension:ApiMagicWord/ApiMagicWord.i18n.magic.php
 * Extension:ApiMagicWord/customwikibot.classes.php