Extension:WikimediaMessages/en
WikimediaMessages Release status: stable |
|
---|---|
Implementation | User interface |
Description | Adds Wikimedia specific messages and grammar, as well as Wikimedia specific overrides for license or legal related messages |
Author(s) |
|
MediaWiki | 1.25+ |
Database changes | No |
License | No license specified |
Download | |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Translate the WikimediaMessages extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The WikimediaMessages adds Wikimedia specific messages and grammar, as well as Wikimedia specific overrides for license or legal related messages.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/WikimediaMessages/en</tvar>|Download]] and move the extracted <tvar name=name>
WikimediaMessages/en
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikimediaMessages%2Fen - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'WikimediaMessages/en' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Responsibilities
WikimediaMessages has several responsibilities which are documented here.
Cross-project message modification
The WikimediaMessages extension can be used to alter messages so they apply across sites. For example, to set the donate URL to point to "https://donate.wikimedia.org/" the sitesupport-url message can be modified by editing MediaWiki:sitesupport-url, however this will only apply to one wiki. The WikimediaMessages allows you to set the message for all wikis without needing to modify every site.
Contact page styles
The WikimediaMessages extension adds the ext.wikimediamessages.contactpage module which adds Wikimedia-specific customisation to Extension:ContactPage.
Site admin helper
Many templates and associated styles were defined over a decade ago, and in many cases for many projects lack maintainers. The ext.wikimediamessages.styles module allows shipping of global styles for common templates across Wikimedia to apply Recommendations_for_night_mode_compatibility_on_Wikimedia_wikis and Recommendations for mobile friendly articles on Wikimedia wikis. The expectation is that community members at their own pace should upstream styles from this module into their own templates.
Finding styles
The styles provided are listed in the modules/ext.wikimediamessage.styles folder. Each file name corresponds with a "key".
The styles are expressed using LESS which is not available on wiki but an administrator can adapt these styles locally.
Disabling styles
In some cases styles won't apply to a project. For example the navbox and hatnote styles are not applicable to a project which uses neither of these templates. To disable the styles in hatnote.less and navbox.less an interface administrator can modify MediaWiki:wikimedia-styles-exclude with the text hatnote|navbox.
When disabling styles we recommend understanding what the styles are doing and first upstreaming relevant styles first.
To disable all styles provided by Wikimedia (not recommended unless you know what you are doing) the message can be set to:
ambox|hatnote|infobox|navbox|theme-night-mainpage|theme-night
File:Wikimedia-logo black.svg | <translate> This {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is being used on one or more [[<tvar name=2>m:Special:MyLanguage/Wikimedia projects</tvar>|Wikimedia projects]].</translate> <translate> This probably means that the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is stable and works well enough to be used by such high-traffic websites.</translate> <translate> Look for this {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension's|skin's}} name in Wikimedia's <tvar name=2>CommonSettings.php</tvar> and <tvar name=3>InitialiseSettings.php</tvar> configuration files to see where it's installed.</translate> <translate> A full list of the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extensions|skins}} installed on a particular wiki can be seen on the wiki's <tvar name=ver>Special:Version</tvar> page.</translate> |
- Pages with script errors
- Pages with broken file links
- Stable extensions/en
- User interface extensions/en
- Extensions with manual MediaWiki version
- Extensions with no license specified/en
- Extensions in Wikimedia version control/en
- All extensions/en
- Extensions not in ExtensionJson
- Extensions used on Wikimedia/en
- Wiki-specific extensions/en