Difference between revisions of "MediaWiki/Extensions"

From Freephile Wiki
Jump to navigation Jump to search
(add brickimedia)
(initial notes removed from MainPage)
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Installed Extensions ==
 
== Installed Extensions ==
See [[Special:Version]]
+
See [[Special:Version]]  
 
 
== Interesting Extensions ==
 
What extensions should I use on my wiki?
 
<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>[[mw:Extension:QuickLink|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.
 
 
 
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>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>
 
 
 
{{: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 ==
 
 
 
* [[MediaWiki/Bundles]]
 
* [[mw:Category:Extensions|Category:Extensions]]
 
 
 
== Notes on Installed Extensions ==
 
 
 
See [[Upgrade MediaWiki]] and [[Features]]
 
 
 
=== DataTable2 ===
 
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.
 
  
 +
== Notes ==
 
=== DeleteBatch ===
 
=== DeleteBatch ===
  
Line 51: Line 12:
  
 
=== 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. If you are aware of some wiki or website that we should add to the interwiki table, please tell Greg.
 
 
[[Special:Interwiki|There is a long list of wikis and sites already included]] in the Interwiki table.
 
 
 
=== Semantic Bundle ===
 
A great way to get all the goodness of SMW in an easy way.
 
 
 
=== VisualEditor ===
 
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/VisualEditor.git
 
  
 
=== 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
 
 
 
  
</source>
+
== More Info ==
{{References}}
+
See the changelog at [[NbptGnus:Current_events]]
  
[[Category:Wiki]]
+
{{stub}}

Revision as of 10:51, 10 October 2008

Installed Extensions[edit | edit source]

See Special:Version

Notes[edit | edit source]

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. If you are aware of some wiki or website that we should add to the interwiki table, please tell Greg.

SyntaxHighlight_GeSHi[edit | edit source]

More Info[edit | edit source]

See the changelog at NbptGnus:Current_events