词条 | MediaWiki extension |
释义 |
UsageA 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. Some extensions also have configuration settings that are set and changed by editing this file.[4] There is also an extension, Configure, that allows other extensions to be more easily managed.[5] A better extension management platform is under development.[6] Kinds of extensionsParser functionsAmong the most popular extensions is a parser function extension, ParserFunctions, that allows different content to be rendered based on the result of conditional statements.[7] 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. It was designed as a replacement for a notoriously inefficient template called {{Qif}}.[8] Schindler recounts the history of the ParserFunctions extension as follows:[9] {{quote|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. text that was displayed if a template parameter had a specific value. This included repeated calls of templates within templates, which bogged down the performance of the whole system. 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. The latter was done by Tim Starling, who announced the introduction of parser functions, wiki text that calls functions implemented in the underlying software.At first, only conditional text and the computation of simple mathematical expressions was implemented, but this already increased the possibilities for wiki editors enormously. 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. geo-coding services or widgets. 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. conditional text), or offer an improved technical implementation to replace the previous practice and achieve an overall better performance.}} Another parser functions extension, StringFunctions, was developed to allow evaluation of string length, string position, and so on. Wikimedia communities, having created awkward workarounds to accomplish the same functionality,[10] clamored for it to be enabled on their projects.[11] Much of its functionality was eventually integrated into the ParserFunctions extension,[12] albeit disabled by default and accompanied by a warning from Tim Starling that enabling string functions would allow users "to implement their own parsers in the ugliest, most inefficient programming language known to man: MediaWiki wikitext with ParserFunctions."[13] Academic and encyclopedia-related data displayAnother very popular extension is a citation extension that enable footnotes to be added to pages using inline references.[14] This extension has, however, been criticized for being difficult to use and requiring the user to memorize complex syntax. A tool called ProveIt was proposed as a replacement.[15] A gadget called RefToolbar has also been created to make it easier to create citations using common templates. MediaWiki has some extensions that are well-suited for academia, such as mathematics extensions[16] and an extension that allows molecules to be rendered in 3D.[17] IntegrationA generic Widgets framework has been created that allows MediaWiki to integrate with virtually anything. Other examples of extensions that could improve a wiki are category suggestion extensions[18] and extensions for inclusion of Flash Videos,[19] YouTube videos,[20] and RSS feeds.[21] An extension to integrate with Facebook is forthcoming.[22] Metavid, a site that archives video footage of the U.S. Senate and House floor proceedings, was created using code extending MediaWiki into the domain of collaborative video authoring.[23] One extension, Viskimap, makes use of graphic organizers to visualize the relationships between content pages, so that students can easily get an understanding of the content elements and their relations, as they navigate through the wiki pages.[24] Combating spamThere are many spambots that search the Internet for MediaWiki installations and add linkspam to them, despite the fact that MediaWiki uses the nofollow attribute to discourage such attempts at search engine optimization.[25] Part of the problem is that third party republishers, such as mirrors, may not independently implement the nofollow tag on their websites, so marketers can still get PageRank benefit by inserting links into pages when those entries appear on third party websites.[26] Anti-spam extensions have been developed to combat the problem by introducing CAPTCHAs,[27] blacklisting certain URLs,[28] and allowing bulk deletion of pages recently added by a particular user.[29] Searches, queries and data processing and aggregationMediaWiki's weak query functionality, based mostly upon text searches, has inspired the creation of extensions adding complex new behavior to the wiki syntax. Systems which assist in analyzing relationships among editors, articles, revisions, topics, and words have attracted considerable attention from the academic community, both in terms of papers published[30] and programming projects attempted.[31] They have been deemed necessary in order for the software to be suitable for applications such as some scientific databases.[32][33] Example of extensions facilitating such analyses include Semantic MediaWiki, which provides the ability to add structured and searchable relations and attributes to wiki pages, and WikiTrust, which implements a system for checking the author, origin, and reliability of wiki text. SNPedia, NeuroLex, and DBpedia are projects along these lines. A Software Organization Platform, intended to support specific software engineering activities such as experience management, requirements engineering, or project management, was based upon Semantic MediaWiki.[34] Another wiki, SynBioSS Wiki, whose purpose is to enable the scientific community to store and retrieve information related to synthetic biology efforts, likewise sought to overcome MediaWiki's limitations in this regard by creating database fields for species ids, complex ids, etc.; new species and such could be added through a special page. A modified MediaWiki search engine was also part of that project.[35] SMW was itself extended by the introduction of content types, bidirectional relationships, controlled vocabularies, user-friendly user interfaces (including, for instance, autocompletion), and Web 2.0 techniques for visualization and interaction options.[36] An extension called Woogle[37] was created in an attempt to combine the advantages of wikis in capturing new information in a lightweight and collaborative fashion and of enterprise search engines in locating existing documents and information in an organization.[38] Since by default, creating and changing tables is a manual process, with inconsistencies likely to occur among tables that display the same data in different ways, the DynaTable extension was created to provide wiki users with a convenient way to define data in a separate namespace, resulting in the data being stored in a database table, and have it be dynamically retrieved from the database at the time of the wiki page parsing or rendering, to pages that have the appropriate tag (and needed parameters). The extension also allows users to filter tables by selecting a subset of columns and rows to display.[39] An extension-based system known as Annoki was developed to help attribute specific parts of articles to specific authors. If more than 50% of a sentence was added by a particular editor, that sentence was deemed to be "owned" by that editor. If less than 50% was added by an editor, that editor was deemed to be a proofreader of that sentence. The system also viewed a series of edits made by the same author as a continuous editing effort and defined a wiki page "release" as the last of these sequential revisions.[40] References1. ^{{cite web|url=http://www.mediawiki.org/wiki/Extension_Matrix |title=Extension Matrix |publisher=MediaWiki |date= |accessdate=2010-05-30}} 2. ^MediaWiki Extensions {{Webarchive|url=https://archive.is/20120711062452/http://mediawiki.googlecode.com/# |date=2012-07-11 }}, Google Code 3. ^jQuery on MediaWiki 4. ^{{cite web|url=http://www.mediawiki.org/wiki/Manual:Extensions#Installing_an_extension |title=Manual:Extensions |publisher=MediaWiki |date=2016-02-25 |accessdate=2016-05-04}} 5. ^{{cite web|url=http://www.mediawiki.org/wiki/Extension:Configure |title=Extension:Configure |publisher=MediaWiki |date= |accessdate=2016-05-04}} 6. ^{{cite web|url=http://www.mediawiki.org/wiki/Deployment |title=Deployment |publisher=MediaWiki |date= |accessdate=2016-05-04}} 7. ^{{cite web|url=http://www.mediawiki.org/wiki/Extension:ParserFunctions |title=Extension:ParserFunctions |publisher=MediaWiki |date=2009-12-25 |accessdate=2010-05-30}} 8. ^{{cite web|url=http://en.wikipedia.org/wiki/Wikipedia:Miscellany_for_deletion/Template:Qif |title=Wikipedia:Miscellany for deletion/Template:Qif – Wikipedia, the free encyclopedia |publisher=En.wikipedia.org |date= |accessdate=2010-05-30}} 9. ^{{citation|title=Introducing new features to Wikipedia|author1=M Schindler|author2=D Vrandecic|publisher=Proceedings of WebSci|date=2009|url=http://lyhana8.homelinux.org/fac/ICPS%20-%20S8/Maiw/Introducing%20new%20features%20to%20Wikipedia%20-%20Case%20studies%20for%20Web%20science.pdf}}{{dead link|date=January 2018 |bot=InternetArchiveBot |fix-attempted=yes }} 10. ^{{cite web|url=http://en.wikipedia.org/wiki/Category:String_manipulation_templates |title=Category:String manipulation templates – Wikipedia, the free encyclopedia |publisher=En.wikipedia.org |date=2010-05-15 |accessdate=2010-05-30}} 11. ^{{cite web|url=https://bugzilla.wikimedia.org/show_bug.cgi?id=6455 |title=⚓ T8455 Set $wgPFEnableStringFunctions = true on WMF wikis |publisher=Bugzilla.wikimedia.org |date= |accessdate=2016-05-04}} 12. ^{{cite web|url=http://www.mediawiki.org/wiki/Extension:StringFunctions |title=Extension:StringFunctions |publisher=MediaWiki |date= |accessdate=2010-05-30}} 13. ^{{cite web|url=http://www.mediawiki.org/wiki/Special:Code/MediaWiki/51497 |title=r51497 – Code Review |publisher=MediaWiki |date= |accessdate=2010-05-30}} 14. ^{{cite web|url=http://www.mediawiki.org/wiki/Extension:Cite |title=Extension:Cite |publisher=MediaWiki |date=2010-05-03 |accessdate=2010-05-30}} 15. ^{{citation |title=ProveIt: a new tool for supporting citation in MediaWiki |author1=Luther, Kurt |author2=Flaschen, Matthew |author3=Forte, Andrea |author4=Jordan, Christopher |author5=Bruckman, Amy |url=http://qualr.kurtluther.com/pdf/a43-luther.pdf |date=2009 |publisher=ACM |deadurl=yes |archiveurl=https://web.archive.org/web/20110515080959/http://qualr.kurtluther.com/pdf/a43-luther.pdf |archivedate=2011-05-15 |df= }} 16. ^{{cite web|url=http://www.mediawiki.org/wiki/Category:Math_extensions |title=Category:Math extensions |publisher=MediaWiki |date=2009-12-26 |accessdate=2010-05-30}} 17. ^{{citation|title=Wikido: Exploiting the Potential of Wikis|journal=Ariadne|issue=50|date=January 2007|author=Marieke Guy|publisher=Ariadne|url=http://www.ariadne.ac.uk/issue50/wikido-rpt/}} 18. ^{{cite web|url=http://www.mediawiki.org/wiki/Extension:CategorySuggest |title=Extension:CategorySuggest |publisher=MediaWiki |date= |accessdate=2010-05-30}} 19. ^{{cite web|url=http://www.mediawiki.org/wiki/Category:Flash_Video_extensions |title=Category:Flash Video extensions |publisher=MediaWiki |date= |accessdate=2010-05-30}} 20. ^{{cite web|url=http://www.mediawiki.org/wiki/Category:YouTube_extensions |title=Category:YouTube extensions |publisher=MediaWiki |date=2008-09-16 |accessdate=2010-05-30}} 21. ^{{cite web|url=http://www.mediawiki.org/wiki/Category:RSS_extensions |title=Category:RSS extensions |publisher=MediaWiki |date= |accessdate=2010-05-30}} 22. ^{{cite web|url=http://www.mediawiki.org/wiki/Extension:FBConnect |title=Extension:FBConnect |publisher=MediaWiki |date= |accessdate=2010-05-30}} 23. ^{{citation|title=System demonstration: Metavid.org: a social website and open archive of congressional video|url=http://portal.acm.org/citation.cfm?id=1556176.1556232|publisher=Proceedings of the 10th Annual International Conference on Digital Government Research: Social Networks: Making Connections between Citizens, Data and Government|pages=309–310|isbn=978-1-60558-535-2|author1=M Dale |author2=A Stern |author3=M Deckert |author4=W Sack }} 24. ^{{citation|title=Lecture Notes in Business Information Processing|publisher=Enterprise Information Systems|issn=1865-1348|volume=3|date=February 8, 2008|doi=10.1007/978-3-540-77581-2_29|journal=Lecture Notes in Business Information Processing|pages=420–438|last1=Espiritu|first1=Cleo|last2=Stroulia|first2=Eleni|last3=Tirapat|first3=Tapanee|isbn=978-3-540-77580-5}} 25. ^{{cite web|url=http://meta.wikimedia.org/wiki/Wiki_Spam |title=Wiki spam – Meta |publisher=Meta.wikimedia.org |date= |accessdate=2010-05-30}} 26. ^{{citation|title=Wikipedia's Labor Squeeze and its Consequences|publisher=Journal on Telecommunications and High Technology Law|author=Goldman, Eric|volume=8}} 27. ^{{cite web|url=http://www.mediawiki.org/wiki/Extension:ConfirmEdit |title=Extension:ConfirmEdit |publisher=MediaWiki |date=2010-05-05 |accessdate=2010-05-30}} 28. ^{{cite web|url=http://www.mediawiki.org/wiki/Extension:SpamBlacklist |title=Extension:SpamBlacklist |publisher=MediaWiki |date=2010-03-24 |accessdate=2010-05-30}} 29. ^{{cite web|url=http://www.mediawiki.org/wiki/Extension:Nuke |title=Extension:Nuke |publisher=MediaWiki |date=2010-05-19 |accessdate=2010-05-30}} 30. ^http://www.google.com/search?q=mediawiki&hl=en&sa=N&tab=sw 31. ^{{cite web|url=http://www.mediawiki.org/wiki/Summer_of_Code_2010 |title=Summer of Code 2010 |publisher=MediaWiki |date= |accessdate=2010-05-30}} 32. ^{{citation|title=Search extension transforms Wiki into a relational system: A case for flavonoid metabolite database|pmc=2556319|author1=Masanori Arita |author2=Kazuhiro Suwa |lastauthoramp=yes |date=September 17, 2008|pmid=18822113 |doi=10.1186/1756-0381-1-7 |volume=1 |issue=1|journal=BioData Min |pages=7}} 33. ^{{citation|title=Lost in localization: A solution with neuroinformatics 2.0?|author=Finn Årup Nielsen|date=August 11, 2009|journal=NeuroImage|volume=48|issue=1|doi=10.1016/j.neuroimage.2009.05.073|pages=11–13|pmid=19497377|citeseerx=10.1.1.218.8359}} 34. ^{{citation|title=Collaborative Authoring of Learning Elements for Adaptive Learning Spaces|author1=Eric Ras |author2=Jörg Rech |author3=Sebastian Weber |publisher=Fifth International Conference on Adaptive Hypermedia and Adaptive Web-Based Systems|date=1 August 2008|url=http://ah2008.l3s.uni-hannover.de/files/resourcesmodule/@random4875cb58f07c9/1215679368__Proc_AH2008_WS3_Authoring_of_Adaptive_and_Adaptable_Hypermedia.pdf#page=67}} 35. ^{{citation|title=BBF RFC##: SynBioSS Wiki: A Repository of BioBrick Models|author1=Emma Weeding |author2=Jason Houle |author3=Ben Swiniarski |author4=Patrick Smadbeck |author5=Kristen Lindblad |author6=Katherine Volzing |author7=Poonam Srivastava |author8=Vassilios Sotiropoulos |author9=Kostas Biliouris |author10=Yiannis Kaznessis |last-author-amp=yes |date=2009|url=http://partsregistry.org/wiki/images/archive/9/9d/20091020203346!BBF_RFC_Future_SynBioSS.pdf}} 36. ^{{cite book|page=123|chapter=A Platform for Collaborative Management of Semantic Grid Metadata|author=Hartung, Michael|title=Intelligent distributed computing, systems and applications|display-authors=etal}} 37. ^{{cite web|url=http://www.mediawiki.org/wiki/Extension:Woogle4MediaWiki |title=Extension:Woogle4MediaWiki |publisher=MediaWiki |date= |accessdate=2010-05-30}} 38. ^{{citation|title=Woogle – On Why and How to Marry Wikis with Enterprise Search|author=Hans-Jörg Happel|date=2009|url=http://subs.emis.de/LNI/Proceedings/Proceedings145/gi-proc-145-015.pdf}} 39. ^{{citation|title=DynaTable: a Wiki extension for structured data|pages=1|isbn=978-1-60558-730-1|author=Arnold, Carrie|date=2009|doi=10.1145/1641309.1641347|chapter=Dyna Table}} 40. ^{{citation|title=Annoki: A MediaWiki-based Collaboration Platform|pages=31|author=Tansey, Brendan|isbn=978-1-60558-975-6|date=2010|doi=10.1145/1809198.1809209|chapter=Annoki}} 2 : MediaWiki|Software add-ons |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。