Fandom Developers Wiki
Advertisement

Ця сторінка повністю або частково не перекладена. Прохання перекласти її відповідною мовою (українська).

Rollback — зворотна розробка дії групи користувачів, дозволяє відкочувати редагування незалежно від того, чи є ви членом групи чи ні.

Скрипт не має пріоритету над звичайним відкатом редагувань, якщо у користувача вже є права.

Встановлення[]

Примітки[]

Вікі-проекти можуть забороняти використання цього скрипта. Якщо ви є адміністратором вікі й хочете відключити скрипт, ви маєте створити фільтр зловживань, який запобігає відкати від користувачів, що не входять в групу. Це може бути досягнуто шляхом перевірки користувача у відповідній групі з правом відкату (наприклад, відкатник, адміністратор, SOAP), коли опис змін «Скасовано зміни».

  1. Open the vandal's contributions page, and copy the address bar URL.
  2. Check Special:ListAdmins or Special:ListUsers/sysop on your wiki.
  3. Find the last edit time from a local admin.
    If they last edited yesterday or today,
    Message them about the vandal.
    Link the vandal's Special:Contributions page in your message.
    If there haven't been admin edits today or yesterday,
    Fill in the vandalism report form at SOAP Wiki.

Wikis have the option to not allow the usage of this script on the wiki in question. If you are an administrator on a wiki and want to disable the script, you may attempt to prevent users rollbacking without having the rollback user right.

This could be achieved by:

  • creating an abuse filter which checks if the user is in a corresponding group with the right (e.g., rollback, sysop) when an edit summary is "Reverted edits by"
  • setting window.RollbackWikiDisable to true in your wiki's JS

Налаштування[]

If you wish to be prompted whether you want to rollback the edit when you click the rollback button, you can use the following code before importing the script:

window.Rollback = {
    confirm: true
};
Advertisement