chictaya.blogg.se

Mediawiki search extension
Mediawiki search extension







Wikimedia communities, having created awkward workarounds to accomplish the same functionality, clamored for it to be enabled on their projects. conditional text), or offer an improved technical implementation to replace the previous practice and achieve an overall better performance.Īnother parser functions extension, StringFunctions, was developed to allow evaluation of string length, string position, and so on. This time the developers were clearly reacting to the demand of the community, being forced either to fight the solution of the issue that the community had (i.e. With time further parser functions were introduced, finally leading to a framework that allowed the simple writing of extension function to add arbitrary functionalities, like e.g. At first, only conditional text and the computation of simple mathematical expressions was implemented, but this already increased the possibilities for wiki editors enormously. The latter was done by Tim Starling, who announced the introduction of parser functions, wiki text that calls functions implemented in the underlying software. The developers faced the choice of either disallowing the spreading of an obviously desired feature by detecting such usage and explicitly disallowing it within the software, or offer an efficient alternative. This included repeated calls of templates within templates, which bogged down the performance of the whole system. text that was displayed if a template parameter had a specific value. In 2006 some Wikipedians discovered that through an intricate and complicated interplay of templating features and CSS they could create conditional wiki text, i.e. Schindler recounts the history of the ParserFunctions extension as follows: It was designed as a replacement for a notoriously inefficient template called. These conditional statements can perform functions such as evaluating whether a parameter is empty, comparing strings, evaluating mathematical expressions, and returning one of two values depending on whether a page exists. Parser FunctionsĪmong the most popular extensions is a parser function extension, ParserFunctions, that allows different content to be rendered based on the result of conditional statements.

mediawiki search extension

A better extension management platform is under development. There is also an extension, Configure, that allows other extensions to be more easily managed. Some extensions also have configuration settings that are set and changed by editing this file.

#MEDIAWIKI SEARCH EXTENSION INSTALL#

A person with administrative FTP or file system access to the wiki directories can install extensions manually by downloading them to the appropriate directories and using a text editor to add require once lines to the LocalSettings.php file to cause the extension code to be included and evaluated.







Mediawiki search extension