Extension:RegexBlock

This page is a translated version of the page Extension:RegexBlock and the translation is 100% complete.
मीडियाविकि एक्सटेंशन मैन्युअल
RegexBlock
प्रकाशन की स्थिति: स्थिर
कार्यान्वयन सदस्य अधिकार , विशेष पृष्ठ
विवरण निर्दिष्ट नामों के अनुसार, रेगुलर एक्सप्रेशन की मदद से सदस्यनामों और IP पतों को अवरोधित करने, देखने, और अवरोध हटाने के लिए एक नया विशेष पृष्ठ जोड़ देता है
लेखक
नवीनतम संस्करण 1.7 (2019-05-08)
MediaWiki 1.39+
डेटाबेस बदलता है हाँ
लाइसेंस GNU साधारण सार्वजनिक लाइसेंस 2.0 या अधिक
डाउनलोड करें
  • $wgRegexBlockDatabase
  • $wgContactLink

  • regexblock
  • regexblock-exempt
Quarterly downloads 3 (Ranked 137th)
Public wikis using 1,108 (Ranked 254th)
RegexBlock एक्सटेंशन को अनुवादित करें अगर यह translatewiki.net पर उपलब्ध है

RegexBlock एक एक्सटेंशन है जो रेगुलर एक्सप्रेशन की मदद से सदस्यनामों और IP पतों को अवरोधित करने, देखने, और अवरोध हटाने वाले एक इंटरफ़ेस के साथ एक विशेष पृष्ठ जोड़ देता है। It was originally written by Bartek Łapiński for Fandom .

स्थापना

This extension works best when used along with setting shared database and memcached .
  • फ़ाइलों को डाउनलोड करें और अपने extensions/ फ़ोल्डर के RegexBlock नामक डिरेक्ट्री में डालें।
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RegexBlock
  • अपने LocalSettings.php फ़ाइल के अंत में निम्न कोड जोड़ें:
    wfLoadExtension( 'RegexBlock' );
    
  • अपडेट स्क्रिप्ट चलाएँ जो स्वचालित रूप से आवश्यक डेटाबेस टेबल्स का निर्माण करेगा जिसकी इस एक्सटेंशन को आवश्यकता है।
  • Ensure that the regexblock user right is given to a group that exists; by default this user right is given to the staff user group (which does not exist in a default MediaWiki installation). For example, this could be given to the sysop group:
$wgGroupPermissions['sysop']['regexblock'] = true;
  •   पूर्ण – अपने विकि पर Special:Version पर जाकर देखें कि एक्सटेंशन को सफलतापूर्वक स्थापित किया गया है कि नहीं।

सदस्य अधिकार

सदस्य अधिकार का नाम समूह जिसे यह अधिकार डिफ़ॉल्ट से दिया जाता है विवरण
regexblock staff User right required to view and thus use Special:RegexBlock for managing blocks.
regexblock-exempt staff Users who have this right are exempt from RegexBlock blocks.

उपयोग

  1. Go to Special:RegexBlock
  2. Enter the IP address or the username to be blocked to the "IP address or username" field
  3. Enter an optional reason. If no reason is provided by the blocker, a generic reason will be shown to the blocked user.
  4. Select expiry time
  5. Select if you want to block the creation of new accounts and if the match needs to be exact or regex one
  6. Press "Block this user"

पैरामीटर्स

कॉन्फ़िगरेशन वेरिएबल का नाम डिफ़ॉल्ट वैल्यू विवरण
$wgContactLink Special:Contact Displayed to regexblocked users in the regexblock-reason-* interface messages. You might want to customize it if the ContactPage extension isn't installed on your wiki.
$wgRegexBlockDatabase false Set this to the database to use for blockedby and stats_blockedby tables. If you want to use the local database, set this to false. Otherwise you could set this to $wgSharedDB , for example.

उदाहरण

To block all users except local ones (192.168.xx.xx): \b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?([0]|[2-9])[0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b

ये भी देखें

  • Extension:SpamRegex — रेगुलर एक्सप्रेशन की मदद से पृष्ठ की सामग्री (आदि) में शब्दों को अवरोधित करने के लिए एक एक्सटेंशन
  • Extension:TitleBlacklist
  • BulkBlock Extension — an extension that allows administrators to easily block multiple users at once on a MediaWiki website.