Write api mediawiki installation
It would be a good idea to add a link to the approval page whether approved or not for each function. Implementation[ edit ] Implementation or coding involves turning design and planning into code. It is a good idea to give those variables a unique name.
One single large edit is better than 10 smaller ones.
Use the maxlag parameter with a maximum lag of 5 seconds. Some bot frameworks such as pywikibot have pre-coded methods for showing diffs. Wikipedia has articles comparing the different software options and websites for code hostingmany of which have no cost. Adding database tables Make sure the extension doesn't modify the core database tables.
Wikipedia api android
They should also follow MediaWiki naming conventions e. Preparing classes for autoloading If you choose to use classes to implement your extension, MediaWiki provides a simplified mechanism for helping PHP find the source file where your class is located. In the most basic form, your specified bot must meet the following criteria: The bot is harmless it must not make edits that could be considered disruptive to the smooth running of the encyclopedia The bot is useful it provides a useful service more effectively than a human editor could The bot does not waste server resources. See here for the documentation on this feature. Wikipedia has articles comparing the different software options and websites for code hosting , many of which have no cost. Others can use your code to build their own bots. A request consists of an endpoint and a set of parameters. This code should be well documented usually using comments for ease of use.
based on 16 review