Open main menu


This page is a translated version of the page Extension:MyVariables and the translation is 56% complete.

Outdated translations are marked like this.
Other languages:
English • ‎dansk • ‎español • ‎polski • ‎русский • ‎हिन्दी • ‎日本語
मीडियाविकि एक्सटेंशन मैनुअल
OOjs UI icon advanced.svg
रिलीज की स्थिति: स्थिर
Template:Extension/hi Variable
विवरण Adds new built-in variables
नवीनतम संस्करण 3.5.1 (2019-05-04)
MediaWiki 1.28+
PHP 5.4+
डेटाबेस बदलता है नहीं
लाइसेंस GNU General Public License 2.0 or later
Translate the MyVariables extension if it is available at
चेक उपयोग और संस्करण मैट्रिक्स.

The MyVariables extension adds new built-in variables:

Variable विवरण नमूना
{{CURRENTUSER}} वर्तमान उपयोक्ता का लॉगिन "Pastakhov" or "x.x.x.x"
{{CURRENTLOGGEDUSER}} Login of current user or empty for anonymous users 1 या 2 डॉलर
{{CURRENTUSERREALNAME}} वर्तमान उपयोक्ता का वास्तविक नाम "Pavel Astakhov"
{{LOGO}} Path to wiki logo "/w/skins/common/images/wiki.png"
{{UUID}} यादृच्छिक "65ba1a51-c723-4b9d-b1f3-13148d628322"
{{USERLANGUAGECODE}} में उपयोक्ता द्वारा उल्लेखित भाषा 1, 2, 3, डॉलर आदि


  • Download and place the file(s) in a directory called MyVariables in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'MyVariables' );
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


  • This extension should not be confused with the Variables extension, which allows the use of variables in the computer programming sense.

यह भी देखें