Extension:UILangCode/gu

This page is a translated version of the page Extension:UILangCode and the translation is 14% complete.
MediaWiki extensions manual
UILangCode
Release status: stable
Implementation Parser extension
Description Implements {{UILANGCODE}} magic word to get interface language of the current user
Author(s) Niklas Laxström (Nikerabbitચર્ચા)
Latest version 1.0.0
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.29+
Database changes No
License GNU General Public License 2.0 or later
Download
ઉદાહરણ Translatewiki.net
Quarterly downloads 1 (Ranked 138th)
Translate the UILangCode extension if it is available at translatewiki.net

The UILangCode extension implements the {{UILANGCODE}} magic word to get the interface language of the current user.

Installation

  • Download and move the extracted UILangCode folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UILangCode
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'UILangCode' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

{{UILANGCODE}}

This will make the parser cache vary per user language, greatly decreasing hit rate and increasing storage.

આ પણ જુઓ