Search results
Results from the WOW.Com Content Network
The Phase II software, or the PHP script, was the precursor to MediaWiki written by Magnus Manske and replaced the UseModWiki engine on the English Wikipedia on 25 January 2002, after having been used on Meta beginning on 9 November 2001. It was replaced by MediaWiki (also known as the Phase III software) on the English Wikipedia on 20 July 2002.
In order to speed up execution time and not have to compile the PHP source code every time the web page is accessed, PHP scripts can also be deployed in the PHP engine's internal format by using an opcode cache, which works by caching the compiled form of a PHP script (opcodes) in shared memory to avoid the overhead of parsing and compiling the ...
(See Wikipedia:MediaWiki) There have also been scripts written specifically for working with Wikipedia as well as with other MediaWiki-based sites, such as "wiki format" scripts for text editors, bots, extensions for browsers, and site tools that help with particular aspects of editing Wikipedia.
It can be random which user script finishes first, creating a race condition. One way to coordinate this is use the mw.hook interface. Perhaps the other script sends a wikipage.content event when it is done, or can be modified to do so (or you can ask the maintainer). Another way to avoid this is to use a MutationObserver.
PHP has hundreds of base functions and thousands more from extensions. Prior to PHP version 5.3.0, functions are not first-class functions and can only be referenced by their name, whereas PHP 5.3.0 introduces closures. [35] User-defined functions can be created at any time and without being prototyped. [35]
First, make sure you are registered and logged in.Only logged-in users can install user scripts. to edit your common.js file.; Add the following line: {{subst:Lusc|script_path}} – replace "script_path" with the full name of the .js page that opens when a script's "(source)" link is clicked.
Any script that does nothing other than add a link to a page to a menu, panel or toolbar belongs to § Shortcuts. Any script that makes an edit to a page (i.e. increases the user's contributions) or changes the appearance or behavior of the edit form (action=edit/submit) belongs to § Editing.
Wikipedia:Deadend pages acts as an alternative but not replacement I believe. A script so those sufficiently able can regularly update the streamlined version i.e. Special:Deadendpages would be useful for easier determining of such pages and quick removal of stale