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. The latter was done by Tim Starling, who announced the introduction of parser functions, wiki text that calls functions implemented in the underlying software.Īt first, only conditional text and the computation of simple mathematical expressions was implemented, but this already increased the possibilities for wiki editors enormously. 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. Kinds of extensions 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. 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. 2.5 Searches, queries and data processing and aggregationĪ 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.2.2 Academic and encyclopedia-related data display.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |