Difference between revisions of "MediaWiki/Extensions"

From Freephile Wiki
Jump to navigation Jump to search
(add brickimedia)
(3 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
</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 ==
 
+
* [[Extensions_wanted]]
 
* [[MediaWiki/Bundles]]
 
* [[MediaWiki/Bundles]]
 
* [[mw:Category:Extensions|Category:Extensions]]
 
* [[mw:Category:Extensions|Category:Extensions]]
Line 37: Line 25:
 
== Notes on Installed Extensions ==
 
== Notes on Installed Extensions ==
  
See [[Upgrade MediaWiki]] and [[Features]]
+
See [[Upgrade MediaWiki]]
 +
 
 +
=== Add Images ===
 +
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 65: Line 56:
  
  
== 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>
 
 
{{References}}
 
{{References}}
  
 
[[Category:Wiki]]
 
[[Category:Wiki]]

Revision as of 19:23, 12 January 2016

Installed Extensions[edit | edit source]

See Special:Version

Interesting Extensions[edit | edit source]

What extensions should I use on my wiki?

  1. We are the developers of the Html2Wiki extension which lets you import HTML web pages into your wiki.
  2. Extension:QuickLink should be updated. It provides an easy way to link to other articles while editing.
  3. Extension:TitleKey (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.
  4. Uncyclopedia uses a lot of interesting extensions http://en.uncyclopedia.co/wiki/Special:Version
  5. There are about 164 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 [1]
  6. 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.
  7. Comparison of extensions in distributions


See also[edit | edit source]

Notes on Installed Extensions[edit | edit source]

See MediaWiki/Upgrade/REL1 25 to REL1 26

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]

A must-have for any wiki that has code samples in it.


References[edit source]