background preloader

Mediawiki

Facebook Twitter

Image

Header Footer. Purpose[edit | edit source] Provides per-namespace and per-page header and footer inclusion.

Header Footer

Features[edit | edit source] Speed: integrated with parser cachingSecure: header and footer articles are located in the NS_MEDIAWIKI namespaceControllable: headers and/or footers can be disabled on pages which are edit protectedCustomizable: headers and footers are wrapped in <div> elements. ToggleDisplay. Manual:Timezone. The default Timezone (tz) for users who have not specified a custom offset may be configured manually.

Manual:Timezone

Primary Method[edit | edit source] Create a backup copy of the LocalSettings.php file found in your install directoryEdit LocalSettings.php and add the following code: #Set Default Timezone $wgLocaltimezone = "Asia/Jakarta";date_default_timezone_set( $wgLocaltimezone ); Set the '$wgLocaltimezone' value to the proper value which you can find here. See examples below. Semantic Compound Queries. Semantic Compound Queries is an extension to MediaWiki, meant to work with Semantic MediaWiki, that allows for the display of more than one SMW inline query in one results display set.

Semantic Compound Queries

It uses its own parser function, #compound_query, that takes inputs similar to that of #ask but can take in an unlimited number of queries, instead of just one. Semantic MediaWiki version 1.6 or later is required for this extension to work. Download[edit | edit source] You can download the Semantic Compound Queries code, in .zip format, here. You can also download the code directly via Git from the MediaWiki source code repository. Git clone To view the code online, including version history for each file, go here. WikiMiniAtlas. WikiMiniAtlas is a JavaScript plugin to display a draggable, zoomable, and clickable worldmap (as well as Moon, Mars, Venus, Mercury, Io and Titan imagery) in geocoded Wikipedia articles.

WikiMiniAtlas

GeoRSS. The GeoRSS plugin introduces an easy interface for geotagging MediaWiki articles, and publishes a GeoRSS feed of all mapped articles in the Wiki, for mapping and syndication.

GeoRSS

The extension has been deployed and is working well, but is in need of some care in packaging and clean up. Sorting. Tables can be made sortable via client-side JavaScript with class="sortable" (in combination with the usual formatting: class="wikitable sortable").

Sorting

This works in MediaWiki 1.9 and above, which is installed in all Wikimedia projects. A sortable table is identified by the arrows in each of its header cells. Clicking them will cause the table rows to sort based on the selected column, in ascending order first, and subsequently toggling between ascending and descending order. Pour Mediawiki 1.15. Aide Solecopedia. De Solecopedia. 1 Le compte utilisateur Un compte utilisateur est obligatoire pour participer à ce wiki.

Aide Solecopedia

Si vous avez déjà un compte utilisateur, il est inutile de vous en recréer un ; il vous suffit de vous identifier. Pour cela, cliquez sur le lien Créer un compte ou se connecter en haut à droite de la page, puis entrez votre adresse e-mail et votre mot de passe. Lorsque vous êtes identifié, d'autres liens apparaissent en haut à droite, parmi lesquels votre page utilisateur. La Page utilisateur : Pour chaque membre identifié du Wiki, vous avez accès à une page personnelle pour vous présenter, faire des liens vers les pages qui vous intéressent ou pour vous en servir comme bac à sable personnel, pour faire des essais, etc.

Cette page est accessible en cliquant sur votre pseudo, tout en haut à droite de chaque page, à côté du petit bonhomme vert qui apparaît si vous êtes identifié. La première fois, votre page est vide : vous allez arriver sur la page d'édition. SMW extensions. This page gives an overview of extensions that have been specifically developed for Semantic MediaWiki, and which are based on its semantic core functionality.

SMW extensions

MediaWiki extensions. NewUserMessage. Usually after a new user registers on a wiki powered by MediaWiki, the message in MediaWiki:Welcomecreation is displayed.

NewUserMessage

This extensions allows a message in a specified template to be added into the new users talk page instead. In case LiquidThreads is installed, this extension will create a new thread on the user talk page. See In-wiki configuration for details. Download[edit | edit source] You can download the extension directly from the MediaWiki source code repository (browse code). One of the extensions tags. SpecialDeleteOldRevisions2. Help:Collapsing. Collapsible tables provide a way to collapse and uncollapse a table when a show/hide button is clicked.

Help:Collapsing

The code for this feature is found in the MediaWiki:Common.js. The initial state of any collapsible content can be controlled using a "collapsible table", because it also allows a table with only one element with content, and a header. Simple example[edit] Tables are simpler to work with, as you merely need to add the collapsible class to the table itself. For the [hide]/[show] link to appear, the table's first row must be a header row, that is, one of the cells in the first row must be declared with an exclamation mark (in wikisyntax). Using the syntax above, collapsible tables are often used to always display an introduction to, or summary of, a lengthy discussion or section of content, while hiding the majority of that content from immediate view.

Semantic MediaWiki with Property Clusters - Dpldemo. Semantic MediaWiki with Property Clusters or Semantic MediaWiki with Personal Classes Dr. Gero Scholz, February. Halo Extension. VideoWiki. WikiDB. WikiDB is a MediaWiki extension which can be used to add database functionality to your wiki. Its core principal is to do this whilst still following a wiki-like workflow for creating and managing data. Data is therefore defined in-page via the standard editing process and, just as you can create links to pages that don't exist, you can put data into a table that doesn't exist, and you are able to display and query that data without requiring any formal structure to be defined.

By creating a table definition, however, you get to force fields to a certain data-type, define fields as aliases of each other (e.g. if different articles use a different name to refer to the same field) and easily flag up unexpected fields that may have been added in error. Changing the field definition instantly updates all data output on the wiki, however the original data is left unmodified. DataTable. How to become a MediaWiki hacker. For other ways to get involved in the MediaWiki community, see How to contribute.

This article is written to help novice developers learn the skills needed to contribute to MediaWiki development. If you are an experienced developer, visit the developer hub instead. Overview MediaWiki is the software that powers Wikipedia, its sister projects and thousands of wikis all over the world. It runs on most operating systems, is written in PHP, primarily uses the MySQL database server and uses jQuery as the client Javascript library. 20 MediaWiki Extensions You Should Be Using « PHP. MediaWiki is a great PHP-based Wiki application that is used to power many sites, including Wikipedia itself. One of MediaWiki strengths is how easy it is to extend with its plug-in architecture. The following is a list of 20 extensions that should make your life easier and save you a fair bit of time.

Check them out and tell me if I’ve missed anything: 20. This extension outputs the contents of an RSS feed. 19. FlashMP3 embeds a simple Flash-player for playback of mp3-files. Category:GIS extensions.