Difference between revisions of "MediaWiki/Extensions"

From Freephile Wiki
Jump to navigation Jump to search
(add brickimedia)
(link to Uncyclopedia)
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
== Interesting Extensions ==
 
== Interesting Extensions ==
What extensions should I use on my wiki?
 
 
<ol>
 
<ol>
<li>We are the developers of the [https://www.mediawiki.org/wiki/Extension:Html2Wiki Html2Wiki] extension which lets you import HTML web pages into your wiki.
+
<li>We are the developers of the [https://www.mediawiki.org/wiki/Extension:Html2Wiki|Html2Wiki] extension which lets you import HTML web pages into your wiki.
<li>[[mw:Extension:QuickLink|Extension:QuickLink]] should be updated.  It provides an easy way to link to other articles while editing.
+
<li>[[mw:Extension:QuickLink]] should be updated.  It provides an easy way to link to other articles while editing.
<li>[[mw:Extension:TitleKey|Extension:TitleKey]] ([https://git.wikimedia.org/summary/mediawiki%2Fextensions%2FTitleKey.git git] ) is written by Brion Vibber and offers interesting capability that is used on some/all? MW sites.  Also, since it interacts with the MW internal search, it's a good example of how to create an extension that hooks into the search functionality. The TitleKey extension provides a case-insensitive title prefix search. It uses a separate table for the keys, so if it works cleanly it can be deployed without an expensive rebuild of core tables, and dumped when Wikimedia gets a nicer backend through Extension:LuceneSearch (pre 1.13) or Extension:MWSearch (1.13+).  Note that MediaWiki has stopped using LuceneSearch and is now using [[mw:Extension:CirrusSearch]] which interfaces to [[wp:Elasticsearch]] (which is based on Lucene) on the backend.
+
<li>[[mw:Extension:TitleKey]] ([https://git.wikimedia.org/summary/mediawiki%2Fextensions%2FTitleKey.git|git] ) is written by Brion Vibber and offers interesting capability that is used on some/all? MW sites.  Also, since it interacts with the MW internal search, it's a good example of how to create an extension that hooks into the search functionality. The TitleKey extension provides a case-insensitive title prefix search. It uses a separate table for the keys, so if it works cleanly it can be deployed without an expensive rebuild of core tables, and dumped when Wikimedia gets a nicer backend through Extension:LuceneSearch (pre 1.13) or Extension:MWSearch (1.13+).  Note that MediaWiki has stopped using LuceneSearch and is now using [[mw:Extension:CirrusSearch]] which interfaces to [[wp:Elasticsearch]] (which is based on Lucene) on the backend.
  
 
For the average site administrator, the benefit of this extension is that it allows search suggestions (e.g. from Opensearch API) to be case-insensitive.
 
For the average site administrator, the benefit of this extension is that it allows search suggestions (e.g. from Opensearch API) to be case-insensitive.
 
<li>Uncyclopedia uses a lot of interesting extensions http://en.uncyclopedia.co/wiki/Special:Version  
 
<li>Uncyclopedia uses a lot of interesting extensions http://en.uncyclopedia.co/wiki/Special:Version  
<li>There are about 164 [[mw:Category:Extensions used on Wikimedia|MediaWiki extensions used by WMF projects]] These extensions as a group have had 131,043 commits made by 537 contributors representing 1,155,573 lines of code over the decade from April 2004 - November 2014 <ref>https://www.openhub.net/p/mediawiki-extensions-wmf</ref>
 
<li>Then there are MediaWiki extensions hosted in the Wikimedia Foundation servers but ''not'' deployed in official Wikimedia projects. These extensions have had 84,409 commits made by 461 contributors
 
representing 891,451 lines of code.  The fact that these extensions are hosted on WMF servers does not imply endorsement. Rather, it shows that the developers are at least savvy enough to use the git hosting system available to extension developers and put in the effort to publish their projects.
 
<li>[[mw:Comparison of extensions in distributions|Comparison of extensions in distributions]]
 
 
</ol>
 
</ol>
 
{{:Extensions wanted}}
 
 
== Extension Authors ==
 
Who authors MediaWiki extensions?  Anyone can.  These companies are some of the people authoring and supporting extensions
 
# [http://www.curseinc.com/company Curse Inc.]
 
# [https://www.mitre.org/ MITRE]
 
# [http://wiki.nasa.gov/ NASA]
 
# [https://eQuality-Tech.com eQuality Technology]
 
# [http://wikiworks.com/ WikiWorks]
 
# [http://hallowelt.com/en/home/ Hallo Welt!]
 
# [http://www.shoutwiki.com/wiki/Main_Page ShoutWiki]
 
# [https://github.com/Brickimedia/extensions Brickimedia project]
 
  
 
== See also ==
 
== See also ==
 
+
[[MediaWiki/Bundles]]
* [[MediaWiki/Bundles]]
 
* [[mw:Category:Extensions|Category:Extensions]]
 
  
 
== Notes on Installed Extensions ==
 
== Notes on Installed Extensions ==
 
+
=== Add Images ===
See [[Upgrade MediaWiki]] and [[Features]]
+
An extension found at wikia (also called WikiaMiniUpload?), it allows you to add images from Flickr, the web, and those already uploaded to your local wiki.  It also adds a new button to the editor (a feature lacking in the standard editor).  Video and instructions at http://help.wikia.com/wiki/Help:Add_Images
  
 
=== DataTable2 ===
 
=== DataTable2 ===
Line 51: Line 31:
  
 
=== Interwiki ===
 
=== Interwiki ===
The Interwiki Extension has been added which makes it easy to manipulate the interwiki table. http://mediawiki.org/wiki/Extension:SpecialInterwiki  But what is the Interwiki table you say?  The Interwiki table sets up internal namespaces making it convenient for authors to create links to other wikis.  For example, you can link to a '''Wikipedia''' article with the following syntax: '''<nowiki>[[WikiPedia:Thomas_Jefferson]]</nowiki> '''.
+
The Interwiki Extension has been added which makes it easy to manipulate the interwiki table. http://mediawiki.org/wiki/Extension:SpecialInterwiki  But what is the Interwiki table you say?  The Interwiki table sets up internal namespaces making it convenient for authors to create links to other wikis.  For example, you can link to a '''Wikipedia''' article with the following syntax: '''
 +
 
 +
 
 +
<nowiki>[[WikiPedia:Thomas_Jefferson]]</nowiki> '''.
  
 
[[Special:Interwiki|There is a long list of wikis and sites already included]] in the Interwiki table.
 
[[Special:Interwiki|There is a long list of wikis and sites already included]] in the Interwiki table.
Line 62: Line 45:
  
 
=== SyntaxHighlight_GeSHi ===
 
=== SyntaxHighlight_GeSHi ===
A must-have for any wiki that has code samples in it.
 
 
 
== Switch to using Git ==
 
Have an 'old' mediawiki instance running off un-versioned code that you want to convert over to git?  Here's a script that can help you get going.  Note: it will DELETE all directories in your current working directory if they are NOT already git-managed.  Use only if you know what you're doing!!  Use it from inside your extensions directory
 
 
<source lang="bash">
 
#!/bin/bash
 
release="REL1_27"
 
git_root="https://github.com/wikimedia/mediawiki"
 
git_extension_root="${git_root}-extensions-"
 
 
extension_dir=`pwd`
 
  
for f in *; do
 
    if [ -d ${f} ]; then
 
        # Will not run if no directories are available
 
        echo $f
 
        cd $f
 
        # check for .git directory
 
        if [ -d ".git" ]; then
 
          git fetch
 
          git checkout $release
 
        else
 
          cd $extension_dir
 
          rm -rf ./${f}
 
          # when $f == 'Bootstrap' we want to clone the following:
 
          # https://github.com/wikimedia/mediawiki-extensions-Bootstrap.git
 
          git clone "${git_extension_root}${f}.git"
 
          cd $f
 
          git checkout $release
 
        fi
 
        ## add any composer managed dependencies
 
        if [ -f "./composer.json" ]; then
 
          composer update;
 
        fi
 
        # back to the extension directory
 
        cd $extension_dir;
 
        rename 's/mediawiki-extensions-//' mediawiki-extensions-*
 
    fi
 
done
 
  
  
 +
== More Info ==
 +
See the changelog at [[NbptGnus:Current_events]]
  
</source>
+
{{stub}}
{{References}}
 
  
 
[[Category:Wiki]]
 
[[Category:Wiki]]

Revision as of 12:14, 13 April 2015

Installed Extensions[edit | edit source]

See Special:Version

Interesting Extensions[edit | edit source]

  1. We are the developers of the [1] extension which lets you import HTML web pages into your wiki.
  2. mw:Extension:QuickLink should be updated. It provides an easy way to link to other articles while editing.
  3. mw:Extension:TitleKey ([2] ) is written by Brion Vibber and offers interesting capability that is used on some/all? MW sites. Also, since it interacts with the MW internal search, it's a good example of how to create an extension that hooks into the search functionality. The TitleKey extension provides a case-insensitive title prefix search. It uses a separate table for the keys, so if it works cleanly it can be deployed without an expensive rebuild of core tables, and dumped when Wikimedia gets a nicer backend through Extension:LuceneSearch (pre 1.13) or Extension:MWSearch (1.13+). Note that MediaWiki has stopped using LuceneSearch and is now using mw:Extension:CirrusSearch which interfaces to wp:Elasticsearch (which is based on Lucene) on the backend. For the average site administrator, the benefit of this extension is that it allows search suggestions (e.g. from Opensearch API) to be case-insensitive.
  4. Uncyclopedia uses a lot of interesting extensions http://en.uncyclopedia.co/wiki/Special:Version

See also[edit | edit source]

MediaWiki/Bundles

Notes on Installed Extensions[edit | edit source]

Add Images[edit | edit source]

An extension found at wikia (also called WikiaMiniUpload?), it allows you to add images from Flickr, the web, and those already uploaded to your local wiki. It also adds a new button to the editor (a feature lacking in the standard editor). Video and instructions at http://help.wikia.com/wiki/Help:Add_Images

DataTable2[edit | edit source]

http://www.mediawiki.org/wiki/Extension:DataTable2 essentially does the converse of Semantic Media Wiki. Instead of storing data on multiple pages, which can then be queried and displayed, this extension allows for saving data in a single (or multiple) page and reusing that data on multiple pages.

DeleteBatch[edit | edit source]

Icon[edit | edit source]

wiki2xml[edit | edit source]

ParserFunctions[edit | edit source]

Interwiki[edit | edit source]

The Interwiki Extension has been added which makes it easy to manipulate the interwiki table. http://mediawiki.org/wiki/Extension:SpecialInterwiki But what is the Interwiki table you say? The Interwiki table sets up internal namespaces making it convenient for authors to create links to other wikis. For example, you can link to a Wikipedia article with the following syntax:


[[WikiPedia:Thomas_Jefferson]] .

There is a long list of wikis and sites already included in the Interwiki table.

Semantic Bundle[edit | edit source]

A great way to get all the goodness of SMW in an easy way.

VisualEditor[edit | edit source]

git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/VisualEditor.git

SyntaxHighlight_GeSHi[edit | edit source]

More Info[edit | edit source]

See the changelog at NbptGnus:Current_events