امتداد:حماية_الموقع
![]() حالة الإصدار مستقر |
|
---|---|
![]() |
|
تنفيذ | صفحة خاصة |
بيان | يسمح لإداري الموقع بمنع أنواع مختلفة من التعديلات على الموقع بصفة مؤقتة |
المؤلف/المؤلفون | Eric Johnston Chris Stafford Jack Phoenix |
آخر إصدار | 0.5.0 (2016-12-05) |
MediaWiki | 1.35+ |
تغييرات قاعدة البيانات | لا |
ترخيص | رخصة جنو العمومية 2.0 أو ما بعدها |
التنزيل | |
|
|
protectsite |
|
ترجم الامتداد ProtectSite لو كان متوفرا على translatewiki.net | |
ProtectSite extension adds a new special page, Special:ProtectSite, where users with the protectsite
user right can block various site modifications.
When the ProtectSite extension is used, it will show up in the protection log (Special:Log/protect) as a protection of Special:AllPages.
When ProtectSite is enabled, it will override the default settings that may already be defined for the timeout period specified.
التثبيت
- نزّل الملف/الملفات وضعها في دليل يحمل اسم
ProtectSite
داخل مجلد extensions/
لديك. - أضف الكود التالي في الجزء الأسفل من
LocalSettings.php
:wfLoadExtension( 'ProtectSite' );
تم التنفيذ – اذهب إلى Special:Version على موقع الويكي لديك كي تتحقق من أن الامتداد قد ثبت بنجاح.
حقوق المستخدمين
By default the bureaucrat group has the protectsite
right, which is required to access the special page.
المتغيرات
$wgProtectSiteLimit
— maximum time allowed for protection of the site$wgProtectSiteDefaultTimeout
— default timeout,1 hour
by default$wgProtectSiteExempt
— array of non-sysop user groups to be not affected by rights changes
![]() | This extension is included in the following packages and/or wiki farms: |