Open main menu

Changes

4,696 bytes added ,  09:50, 11 May 2018
add brickimedia
See [[Special:Version]]
== Notes Interesting Extensions ===== Add Images ===What extensions should I use on my wiki?<ol>An <li>We are the developers of the [https://www.mediawiki.org/wiki/Extension:Html2Wiki Html2Wiki] extension found at wikia 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]] (also called WikiaMiniUpload[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 you search suggestions (e.g. from Opensearch API) to add images 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 FlickrApril 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, the web409 commits made by 461 contributors representing 891, and those already uploaded to your local wiki451 lines of code. It also adds a new button 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 editor (a feature lacking git hosting system available to extension developers and put in the standard editor)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. Video These companies are some of the people authoring and instructions at 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://helpwww.wikiashoutwiki.com/wiki/HelpMain_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:Add_ImagesDataTable2 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 ===
=== 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> '''.
[[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 ===
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>{{stubReferences}}
[[Category:Wiki]]
4,558

edits