Extension:WikiLovesMonuments
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{Extension }} infobox. |
WikiLovesMonuments Release status: unmaintained |
|
---|---|
Implementation | Parser function |
Description | Adds information and messages related to the Wiki Loves Monuments photographic contest |
Author(s) | Platonides |
Latest version | 0.1 |
MediaWiki | 1.20+ |
License | GNU General Public License 2.0 |
Download | |
Example | www.wikilm.es |
$wgWikiLovesMonumentsCountryPortlet |
|
Quarterly downloads | 1 (Ranked 128th) |
Translate the WikiLovesMonuments extension if it is available at translatewiki.net | |
Wiki Loves Monuments provides information about the Wiki Loves Monument contests for MediaWiki.
Some features of this require cldr extension to be loaded.
Portlet
[edit]It can add a sidebar portlet with links to all the local websites of the active WLM edition.
/**
* Show the sidebar portlet with the countries participating in the active
* WLM edition.
* Values:
* - false -> Do not show the portlet.
* - true -> Show all the portlet with all the countries.
* - Country code or array of country codes -> Show all the countries but these
* (presumable because those would be self-links)
*/
$wgWikiLovesMonumentsCountryPortlet = false;
Statistics
[edit]You can set $wgWikiLovesMonumentsCentralisedStatsId to the ID code for your country and it will automatically enable tracking your visits from the central WLM statistics server.
/**
* Set to the piwik id of your country to automatically
* track your pages at http://stats.wikilovesmonuments.org/
*/
$wgWikiLovesMonumentsCentralisedStatsId = false;
Parser functions
[edit]- {{#wlm-countries: year}}: Shows in text form the list of countries participating in WLM in year.
- {{#wlm-country-count: year}}: Returns the number of countries participating in WLM in year.
- {{#wlm-country-website: country}}: Returns the website for the local contest country. If it doesn't know a url for the country, it will try to guess the commons page at https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2012_in_XYZ