MediaWiki/extensions: Difference between revisions

15,563 bytes added ,  19 January 2013
listing a few key extensions regarding automation and multilanguage
(→‎Regex Fun: - regexes)
(listing a few key extensions regarding automation and multilanguage)
 
(44 intermediate revisions by the same user not shown)
Line 2: Line 2:


It would seem that '''adding extensions is not the problematic part but removing them''' in a clean manner after they've been added at some point previously.
It would seem that '''adding extensions is not the problematic part but removing them''' in a clean manner after they've been added at some point previously.
'''Key extensions'''
*[[#MediaWiki Language Extension Bundle]] takes care of our multilinguality.
*[[#Wikibase]] and [[#Wikibase Client]] are being developed as a part of the [[Wikidata]] project will be our structured data storage, retrieval and modification extension duo. It remains to be seen how [[#LinkedWiki]] extensions with similar functionality by the [[DBpedia]] people will develop from now on. Going to keep a close eyeon it


''' See also: '''
''' See also: '''
* [[Templates]]
* [[Templates]] - they enable [[w:Transclusion|transcluding]] content. build whole page with transcluding many templates into it
* [[Categories]]
* [[Categories]] - two-way hyperlinks. placing a link to a category includes an article in the [[w:set]] of articles in the category X
* [[MediaWiki/Widgets]]
* [[MediaWiki/Widgets]]


Line 14: Line 18:


== Automation ==
== Automation ==
[[#LinkedWiki]] so we can fetch from [[Wikipedia]] based datasets ( courtesy of [[DBpedia]] ) from category and infobox data things by using [[w:SPARQL]]:  
[[#LinkedWiki]] so we can fetch from [[Wikipedia]] based datasets ( courtesy of [[DBpedia]] ) from category and infobox data things by using [[w:SPARQL]]. [[Wikidata]] also provides structured data that can be edited in wiki by humans or by machines via [[w:API]].
 
Consumium will use both [[DBpedia]] and [[Wikidata]] to source information onto it's own [[mw:Extensions:Wikibase|Extensions:Wikibase]] installation.


#) [[Type of business entity]]
#) [[Type of business entity]]
Line 35: Line 41:


== I18N and localization ==
== I18N and localization ==
[[#LanguageSelector]] will enable people to have the MediaWiki interface localized based on accept langs the browser sends and [[#LandingCheck]] enables to make and serve pages based on what locale ( lang + country ) is given. [[#Common Locale Data Repository]] mw:Extension:CLDR - The CLDR extension contains local language names for different languages, countries, and currencies extracted from [[w:Common Locale Data Repository]] data is obviously useful for the i18n effort.  
 
=== MediaWiki Language Extension Bundle ===
All languages will be served from single wiki utilizing [[mw:MediaWiki Language Extension Bundle]]. It contains the following extensions
#)[[Universal Language Selector]] - For selecting UI and content language
#)[[#Translate|Translate extension]] - For multilang support in single wiki
#)[[#LocalisationUpdate|Localisation Update extension]]
#)[[#CleanChanges|Clean Changes extension]] for a Recent Changes view without multilinguality induced clutter
#)[[#Babel|Babel extension]] - List languages and find other speakers of your languages onwiki
#)[[#Common Locale Data Repository|cldr extension]] - Common [[w:Locale]] Data Repository,
 
=== Possibly out of date ===
<s>[[#LanguageSelector]] will enable people to have the MediaWiki interface localized based on accept langs the browser sends and</s> [[#LandingCheck]] enables to make and serve pages based on what locale ( lang + country ) is given. [[#Common Locale Data Repository]] mw:Extension:CLDR - The CLDR extension contains local language names for different languages, countries, and currencies extracted from [[w:Common Locale Data Repository]] data is obviously useful for the i18n effort.


== Single sign-on ==
== Single sign-on ==
Line 41: Line 58:


== Data storage and use ==
== Data storage and use ==
[[#KeyValue]] is an extension that allows you to store one or more key/values as Category/Key/Value triplets on a mediawiki page by using the keyvalue function. The data is stored in textform and is not typed. This extension will likely form the back bone of '''setting data only once''' and then using it to '''create articles for all desired locales'''
 
=== Latest ===
Data will be stored in a [[w:Triplestore]] as [[w:RDF]] subject/predicate/object triplets which will be synced with from both [[Wikidata]] and [[DBpedia]]. Own Wikidata instance will be at wikidata.consumium.org and queried with [[w:SPARQL]] and used to fill in the facts for each and all languages.
 
=== Out of date ===
:<s>[[#KeyValue]] is an extension that allows you to store one or more key/values as Category/Key/Value triplets on a mediawiki page by using the keyvalue function. The data is stored in textform and is not typed. This extension will likely form the back bone of setting data only once and then using it to create articles for all desired locales. </s>


== Reviews ==
== Reviews ==
[[#ArticleFeedback]] enables stars of maximum stars type of polling with possibility for multiple polls for different aspects. Will be used for [[reviews]] and could potentially be h4xed to handle the [[voting]] with it's possibility to vote zeroes.
[[#ArticleFeedback]] enables stars of maximum stars type of polling with possibility for multiple polls for different aspects. Will be used for [[reviews]] and could potentially be h4xed to handle the [[voting]] with it's possibility to vote zeroes. [[#Reviews|Reviews extension]] also is potential code that could be used for the reviews.


== Feedback ==
== Feedback ==
Line 54: Line 76:


== Linking to other sites/wikis ==
== Linking to other sites/wikis ==
[[#BADI Pages Created Links]] - ability to color outgoing links based on "article exists in target wiki/site / article does not exist. For example this will be used to link to the relevant [[Wikitravel]] article.  
[[#BADI Pages Created Links]] - ability to color outgoing links based on "article exists in target wiki/site / article does not exist. For example this will be used to link to the relevant [[Wikitravel]] and [[Transnationale]] articles.


== Housekeeping ==
== Housekeeping ==
Line 67: Line 89:


[[#CSS MenuSidebar]] - navigation to special and other pages via additional menus to the sidebar
[[#CSS MenuSidebar]] - navigation to special and other pages via additional menus to the sidebar
[[#UniversalSuggester]]


== User convenience ==
== User convenience ==
Line 79: Line 103:
== Sysop(presseur)ator convenience ==
== Sysop(presseur)ator convenience ==
[[#CheckUser]]  
[[#CheckUser]]  
[[#Replace Text]] allows text manipulation by plaintext or regex affecting articles or article names


----
----
Line 971: Line 997:
|}
|}


=== ===
=== Replace Text ===
 
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Replace Text]]'''</tt>
| Replace Text is an extension to MediaWiki that provides a special page to allow administrators to do a global string find-and-replace on both the text and titles of the wiki's content pages.
| Surely useful for admins to do mass changes using plaintext match or regex
| [[mw:Special page]]
| 1.16 or greater
| Release status: stable
|}
 
=== Reviews ===
 
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Reviews]]'''</tt>
| The Reviews extension allows users to post Reviews on articles that have been marked as reviewable (using the __REVIEWABLE__ magic word) with one or more ratings.
|
| [[mw:Special page]], [[mw:Ajax]], User interface, [[mw:API]]
| 1.18.0 or higher
| release stathus: beta
|}
 
=== RuntimeVariables ===


{| class="wikitable"
{| class="wikitable"
Line 982: Line 1,046:
! Other notes
! Other notes
|-
|-
| <tt>'''[[mw:Extension:]]'''</tt>  
| <tt>'''[[mw:Extension:RuntimeVariables]]'''</tt>  
| Allow setting, retrieving and checking set status of variables settable in wikitext.
|
| [[mw:Parser function]]
| 1.15
|  
|  
|}
== S ==
=== Screencasting ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Screencasting]]'''</tt>
| This extensions adds a screencast recorder to MediaWiki.
|  
|  
| [[mw:]]
| [[mw:]]
|   
|   
|release status: stable
|}
=== SecurePoll ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:SecurePoll]]'''</tt>
| Special page extension for [[elections]], polls and surveys.
| Useful for holding elections securely.
| [[mw:Special page]]
| release status: stable
|}
=== SecureWidgets ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:SecureWidgets]]'''</tt>
| Securely allows a wiki to have ( HTML ) widgets.
|  
|  
| [[mw:Parser function]]
| 1.11, 1.12
| Apparently provides same as [[#Widgets]]
|}
|}


=== ===
=== Semantic Drilldown ===


{| class="wikitable"
{| class="wikitable"
Line 1,001: Line 1,124:
! Other notes
! Other notes
|-
|-
| <tt>'''[[mw:Extension:]]'''</tt>  
| <tt>'''[[mw:Extension:Semantic Drilldown]]'''</tt>  
| Semantic Drilldown is an extension to MediaWiki that provides a page for drilling down through a site's data, using categories and filters on semantic properties. It is heavily tied in with the Semantic MediaWiki extension, and is meant to be used for structured data that has semantic markup.
|  
|  
| [[mw:Special page]]
| 1.17 or greater
| release status: stable
|}
=== Semantic Expressiveness ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Semantic Expressiveness]]'''</tt>
| Semantic Expressiveness is an enhancement for Semantic MediaWiki. Its main feature is to introduce a new syntax for inline short queries. The purpose of this simplest form of inline query is to provide a powerful tool for fighting redundancies within the wiki. Without Semantic Expressiveness it is customary to declare properties in one place but using the same information again all over the same article or on other pages as simple text representation. With Semantic Expressiveness it is possible to use simple references in form of a new syntax to place the same information in various places without writing redundant information. This way if the property changes, the information will update itself all over the wiki wherever the new syntax is in place.
|  
|  
| [[mw:]]
| [[mw:Extended syntax]], [[mw:Parser function]]
|   
|   
| Very similar to [[#KeyValue]] extension.
|}
=== Semantic Forms ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Semantic Forms]]'''</tt>
| Semantic Forms is an extension to MediaWiki that allows users to add, edit and query data using forms.
| This will ease the task of creating new products etc.
| [[mw:Special page]], [[mw:API]]
| 1.17 or greater ( requires [[#Semantic MediaWiki]] extension to be installed in order to work.
|  
|  
|}
|}


=== ===
=== Semantic MediaWiki ===
 
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Semantic MediaWiki]]'''</tt>
| SMW allows users to add structured data to wiki pages through simple wikitext markup that turns links to other pages and data values in a page into meaningful properties. With this information, SMW helps to search, organize, browse, evaluate, and share the wiki's content.
|
| [[mw:Link markup]], [[mw:Tag]], [[mw:Extended syntax]], [[mw:Search]], [[mw:Special page]]
| 1.16.0 or greater
|http://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki
release status: stable
|}
 
=== Semantic Watchlist ===
 
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Semantic Watchlist]]'''</tt>
| Semantic Watchlist enables users to watch semantic properties by adding a new watchlist page that lists changes to these properties. Users can choose to follow one or more watchlist groups, which are administrator defined, and cover a set of properties and a set of pages (category, namespace, or SMW concept). Notification of changes to watched properties is also possible via email.
|
| [[mw:Special page]], [[mw:API]], User interface [[mw:Ajax]]
| 1.17.0 or above
|
|}
 
=== SemanticSVGPrinter ===
 
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:SemanticSVGPrinter]]'''</tt>
| This extension adds an extra result format to Semantic MediaMiki, to create a SVG image representing the results.
|
| [[mw:Parser extension]]
| 1.18 ( requires SMW )
| release status: experimental
|}
 
=== ServerAdminLog ===
 
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:ServerAdminLog]]'''</tt>
|
|
| [[mw:Special page]]
| 1.19
|
|}
 
=== ShareThis ===


{| class="wikitable"
{| class="wikitable"
Line 1,020: Line 1,258:
! Other notes
! Other notes
|-
|-
| <tt>'''[[mw:Extension:]]'''</tt>  
| <tt>'''[[mw:Extension:ShareThis]]'''</tt>  
| The ShareThis Extension is a MediaWiki extension which provides links to popular social bookmarking and news sources.
|  
|  
| [[mw:Tag]], [[mw:Skin]]
| 1.16 ( but not higher )
|  
|  
| [[mw:]]
|}
|
 
=== Semantic Page Maker ===
 
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Semantic Page Maker]]'''</tt>
| Semantic Page Maker (formerly pulished as Wiki Editors Extension) is an extension to create a series of wiki [[pages]]/[[templates]]/[[categories]]/[[properties]] for certain [[w:ontology]].
|  
|  
| [[mw:Page action]]
| 1.13.5 or greater ( tested up to 1.17 )
| release status: beta
|}
|}


=== ===
=== Semantic Page Series ===


{| class="wikitable"
{| class="wikitable"
Line 1,039: Line 1,296:
! Other notes
! Other notes
|-
|-
| <tt>'''[[mw:Extension:]]'''</tt>  
| <tt>'''[[mw:Extension:Semantic Page Series]]'''</tt>  
| Semantic Page Series is a MediaWiki extension that allows a wiki user the generation of a series of pages from one Semantic Form.
|  
|  
| [[mw:Special page]], [[mw:Parser function]]
| 1.17+
|  
|  
|}
=== Semantic Result Formats ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Semantic Result Formats]]'''</tt>
| Semantic Result Formats (SRF) is a MediaWiki extension, used in conjunction with the Semantic MediaWiki extension, that bundles a number of further result formats for SMW's inline queries. The individual formats can be added to the installation independently.
| Very useful in showing graphs in lists of businesses in industry.
| [[mw:]]
| [[mw:]]
|
| 1.16.0 or greater ( 1.18 recommended )
|  
|  
|}
|}


=== ===
=== SparqlExtension ===
 
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:SparqlExtension]]'''</tt>
| Yet another [[w:SPARQL]] system
|
| [[mw:Hook]], [[mw:Parser function]]
| compatible only with SMW ≤ 1.5.6
|
 
release status: beta, from 2010
 
Compare to [[#LinkedWiki]] and [[#RDFIO]] which are pretty similar
Core [[#Semantic MediaWiki]] implements some of the functionality that this extension provides
|}
 
=== SubPageFunctions ===


{| class="wikitable"
{| class="wikitable"
Line 1,058: Line 1,358:
! Other notes
! Other notes
|-
|-
| <tt>'''[[mw:Extension:]]'''</tt>  
| <tt>'''[[mw:Extension:SubPageFunctions]]'''</tt>  
| When creating a tree of subpages, this extension will provide navigation links from a parent page to its immediate subpages. It is the counterpart to the wiki's parent page links.
|  
|  
| [[mw:Parser function]]
| 1.14
| release status: beta
|}
=== SubPageList ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:SubPageList]]'''</tt>
| SubPageList is a lightweight extension to display subpages.
|  
|  
| [[mw:]]
| [[mw:Tag]], [[mw:Parser function]]
|
| 1.16.0 or above
|  
|  
|}
|}


=== ===
== T ==
 
=== Translate ===
 
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Translate]]'''</tt>
| The Translate extension makes MediaWiki a powerful tool to translate every kind of text. It's used especially to translate software and to manage multilingual wikis in a sensible way.
| Essential plugin for multilingual wikis
| [[mw:Special page]], [[mw:Locale]], [[mw:API]]
| 1.18 1.19
| release status: stable
 
used in [[Translatewiki]]
|}
 
== U ==
 
=== UnitsFormatter ===


{| class="wikitable"
{| class="wikitable"
Line 1,077: Line 1,421:
! Other notes
! Other notes
|-
|-
| <tt>'''[[mw:Extension:]]'''</tt>  
| <tt>'''[[mw:Extension:UnitsFormatter]]'''</tt>  
| Allows article authors to use a simple markup to enter quantities. Quantities can be entered in a single unit; authors don't need to worry about conversions.
|  
|  
| [[mw:Tag]]
|  1.9
| release status: Experimental
|}
=== UniversalSuggester ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:UniversalSuggester]]'''</tt>
| The extension Universal Suggester adds an extra icon to the edit form bar which simplifies the insertion of markup for page (and sections) links, categories, templates, images and media files.
|  
|  
| [[mw:]]
| [[mw:Page action]], Search, [[mw:Ajax]]
|   
>= 1.13.0
| release status: stable
|}
 
=== UrlGetParameters ===
 
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:UrlGetParameters]]'''</tt>
| This extension enables you to use and/or display the "GET" parameters of the URL, i.e. the query string, on the wiki page.
|  
|  
| [[mw:Parser function]]
| 1.10.x or higher
| release status: stable
|}
|}


Line 1,107: Line 1,489:


== W ==
== W ==
=== W4G Rating Bar ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:W4G Rating Bar]]'''</tt>
| W4G Rating Bar provides a page rating system.
| Rating system with possibility to anonymize votes
| [[mw:Parser function]], [[mw:Tag]], [[mw:Ajax]], [[mw:Special page]], [[mw:Database]]
| 1.16, 1.17
|
|}
=== Widgets ===
=== Widgets ===


Line 1,127: Line 1,531:
[[MediaWiki/Widgets]] - obviously we want to enable the Youtube widget so we can embed ads and anti-ads into articles.
[[MediaWiki/Widgets]] - obviously we want to enable the Youtube widget so we can embed ads and anti-ads into articles.


=== Wikibase ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Wikibase]]'''</tt>
| Wikibase is an extension that allows you to use your wiki as a [[w:structured data]] [[w:data repository|repository]]. Its development is part of the [[Wikidata]] project. The data can in turn be used in a wiki using the [[#Wikibase Client]] extension.
| Wikibase will be used to keep Consumium's own structured data
| [[mw:API]], [[mw:Ajax]], [[mw:User interface]], [[mw:ContentHandler]]
|  1.21.0 and up
|
|}
=== Wikibase Client ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:Wikibase Client]]'''</tt>
| Wikibase Client is an extension that acts as a client to the Wikibase extension. Its development is part of the Wikidata project. Wikibase Client obtains [[interlanguage]] links from a Wikibase repository via a shared changes database table and polling maintenance script, and displays them on the client wiki. Links are sorted by the client's preferred sorting.
|
| Not listed
| 1.20.0 and up
| Client for [[#Wikibase]]
|}
=== WikiLexicalData ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:WikiLexicalData]]'''</tt>
| Wikidata allows to configure some namespaces to use several fields of different types (text, Combobox, etc.) on one wikipage and to store these fields in a structured database.
|
| [[mw:API]], [[mw:Ajax]]
|  1.18, 1.19
|
|}
===  ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:]]'''</tt>
|
|
| [[mw:]]
|
|}
===  ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:]]'''</tt>
|
|
| [[mw:]]
|
|}
===  ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:]]'''</tt>
|
|
| [[mw:]]
|
|}
===  ===
{| class="wikitable"
|-
! Extension
! General description
! Consumium specific
! Implementation
! Compabilities
! Other notes
|-
| <tt>'''[[mw:Extension:]]'''</tt>
|
|
| [[mw:]]
|
|}


----
----
<small> List of possible extension types borrowed from http://www.mediawiki.org/wiki/Template:Extension#type under that clauses of GFDL</small>
<small> List of possible extension types borrowed from http://www.mediawiki.org/wiki/Template:Extension#type under that clauses of GFDL</small>
9,842

edits