MediaWiki/extensions: Difference between revisions

3,269 bytes added ,  19 January 2013
listing a few key extensions regarding automation and multilanguage
(listing a few key extensions regarding automation and multilanguage)
 
(9 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 ==
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 1,509: 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.


=== Wikidata ===
=== 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"
{| class="wikitable"
Line 1,520: Line 1,583:
! Other notes
! Other notes
|-
|-
| <tt>'''[[mw:Extension:Wikidata]]'''</tt>  
| <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.
| 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.
|  
|  
9,854

edits