AutoRequest is a script that make user's routine request easier thanks to forms on forum.

Users fill a form that, on submit, return datas organized as you find it easier to deal with. Each time a request is done on the forum, you receive a notification.

You can see a demo of the script here : Demo

WARNING : The forum feature is required for that script. You can activated it on the page Special:WikiFeatures of your wiki.

Forum : Once you are on the forum, create a thread with the title you want. Add instructions if you want, and then, add a div tag with the id you have choosen in the configuration. }}


You can configure several request on different threads by adding the code below several times with different variable names.

To configure the AutoRequest, add the code below before the import statement in your Mediawiki:Common.js and replace the text in the bracket by your datas.

//Setup of the request
[name] = {
    id: '[id]',
    form: '[form]',
    outcode: '[outcode]'


Variable Type Description Example
[name] string (don't forget the quotation marks : ' or ") Name of the variable. Is repeated in the function call. Have to be different that every other variable on every scripts. AutoRequest_1
[id] Id of the
tag which will containing the form.
[form] HTML code for the form. Don't forget to escape word wrap.
  • Only
    <input type="text">
    are supported yet to get datas
  • Don't add any
    <input type="submit">
    . The script does it itself.
See Demo
[outcode] Outcode is the string the script will return in a new message. For add parameters, use that structure : #result#n#, with n the variable number you want to get (n=1 for the first input of the form, n=2 for the second...)


Updates done

  • V1.1 (September 1, 2016) : Processing icon appears when the script is sending datas to the page

Future updates

  • Add special keyword to recup other variables from Javascript (such as wgUserName...)
  • Extend compatibily to every type of input and textarea