Extension:RegexBlock
Appearance
Sürüm durumu: kararlı |
|
|---|---|
| Uygulama | Kullanıcı hakları, Özel sayfa |
| Açıklama | Düzenli ifadeler kullanarak verilen ada göre kullanıcı adlarını ve IP adreslerini engellemek, görüntülemek ve engelini kaldırmak için yeni bir özel sayfa ekler |
| Yazar(lar) |
|
| En son sürüm | 1.7 (2019-05-08) |
| MediaWiki | 1.43+ |
| Veritabanı değişiklikleri | Evet |
|
|
|
|
|
| License | GNU General Public License 2.0 or later |
| İndir | |
| Translatewiki.net adresinde mevcutsa, RegexBlock uzantısını çevirin | |
| Sorunlar | Açık görevler · Hata bildir |
RegexBlock, düzenli ifadeler kullanarak kullanıcı adlarını ve IP adreslerini engellemek, görüntülemek ve engellerini kaldırmak için özel bir sayfa ekleyen bir uzantıdır. It was originally written by Bartek Łapiński for Fandom.
Kurulum
This extension works best when used along with setting shared database and memcached.
- Dosyaları indirin ve
extensions/klasörünüzdekiRegexBlockadlı dizine yerleştirin.
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 dosyanızın altına aşağıdaki kodu ekleyin:
wfLoadExtension( 'RegexBlock' );
- Bu uzantının ihtiyaç duyduğu gerekli veritabanı tablolarını otomatik olarak oluşturacak betik güncelleme komutunu çalıştırın.
- Ensure that the
regexblockuser right is given to a group that exists; by default this user right is given to thestaffuser group (which does not exist in a default MediaWiki installation). For example, this could be given to thesysopgroup:
$wgGroupPermissions['sysop']['regexblock'] = true;
Yapıldı – Uzantının başarıyla yüklendiğini doğrulamak için vikinizde Special:Version seçeneğine gidin.
Kullanıcı hakları
| Kullanıcı hakkı adı | Bu hak varsayılan olarak verilen grup | Açıklama |
|---|---|---|
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. |
Kullanım
- Go to
Special:RegexBlock - Enter the IP address or the username to be blocked to the "IP address or username" field
- Enter an optional reason. If no reason is provided by the blocker, a generic reason will be shown to the blocked user.
- Select expiry time
- Select if you want to block the creation of new accounts and if the match needs to be exact or regex one
- Press "Block this user"
Parametreler
| Yapılandırma değişkeni adı | Varsayılan değer | Açıklama |
|---|---|---|
$wgContactLink
|
Special:Contact
|
Displayed to regexblocked users in the regexblock-reason-* interface messages. You might want to customize it if 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.
|
Örnekler
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
Ayrıca bakınız
- Extension:SpamRegex — düzenli ifadeler kullanarak sayfa içeriğindeki (vb.) ifadeleri engellemek için benzer bir uzantı
- Extension:TitleBlacklist
- Extension:BulkBlock — an extension that allows administrators to easily block multiple users at once on a MediaWiki website.
Categories:
- Stable extensions/tr
- User rights extensions/tr
- Special page extensions/tr
- Extensions which add rights/tr
- ContributionsToolLinks extensions/tr
- GetUserBlock extensions/tr
- LoadExtensionSchemaUpdates extensions/tr
- GPL licensed extensions/tr
- Extensions in Wikimedia version control/tr
- All extensions/tr
- Extensions by Fandom/tr
- Extensions by ShoutWiki/tr
