Jump to content

Пашырэньне:Nuke

From mediawiki.org
This page is a translated version of the page Extension:Nuke and the translation is 31% complete.
This extension comes with MediaWiki 1.18 and above. Такім чынам, вам не давядзецца паўторна яго загружаць. Аднак варта ўсё ж выканаць прыкладзеныя інструкцыі.
інструкцыя па пашырэньнях МэдыяВікі
Nuke
Статус выданьня: стабільны
Укараненьне Спэцыяльная старонка , Дзеяньне старонкі
Апісаньне Дае адміністратарам магчымасьць масава выдаляць старонкі.
Аўтар(ы)
Апошняя вэрсія 1.3.0 (2017-03-01)
MediaWiki 1.28.1+
Зьмены базы зьвестак Не
Ліцэнзія Агульная публічная ліцэнзія GNU 2.0 ці навейшая
Загрузіць
  • $wgNukeMaxAge
  • nuke
Quarterly downloads 87 (Ranked 55th)
Public wikis using 12,649 (Ranked 7th)
Перакласьці пашырэньне Nuke, калі яно даступнае на translatewiki.net
Праблемы Адкрытыя задачы · Паведаміць пра памылку

Пашырэньне Nuke дае магчымасьць адміністратарам масава выдаляць старонкі.

Усталяваньне

  • Download and move the extracted Nuke folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Nuke' );
    
  • Наладзьце як мае быць.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Налады

Карыстальніцкі дазвол „nuke“ аўтаматычна надаецца карыстальніцкай групе „sysop“. To decouple this and assign this right to a dedicated new user group such as nuke add the following to your LocalSettings.php file:

$wgGroupPermissions['sysop']['nuke'] = false;
$wgGroupPermissions['nuke']['nuke'] = true;

Maximum age

By default, Nuke will only list pages that were created as recent as what is shown on Special:RecentChanges (controlled by $wgRCMaxAge ; 90 days by default).

MediaWiki version:
1.44
Gerrit change 1089919

This can be configured to use a different duration with the $wgNukeMaxAge configuration setting. For example, to restrict Nuke to only allow deleting pages up to 30 days old, add the following to your LocalSettings.php file:

$wgNukeMaxAge = 30 * 86400;

Выкарыстаньне

Go to Special:Nuke in order to mass delete pages recently added by a user or IP address. If you don't want to filter by user, you can also just filter by namespace.

The special page is listed under Special:SpecialPages as Mass delete.

You can also specify a pattern for the page title. The field accepts SQL wildcards, like %lol%.

All deletions, as usual, are recorded in Special:Log/delete.

Глядзіце таксама

Graphical
Command line
  • deleteBatch.php - Delete multiple pages using a text file containing the names
  • nukeNS.php - Delete all pages in a specific namespace without creating any deletion log (from command line)
  • deleteArchivedRevisions.php - Script to permanently blow away pages after deleting them (e.g. after using Extension:Nuke)