Skip to content

Commit

Permalink
ADD turn on Extension:Nuke
Browse files Browse the repository at this point in the history
By request, turn on the Nuke extension which allows for mass deletes.
This extension is built-in since mediawiki 1.18, so we don't need to
install it separately, just need to turn it on.
  • Loading branch information
ionparticle committed Feb 28, 2024
1 parent ee6327f commit 045fab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,9 @@ function loadenv($envName, $default = "") {

}


if (getenv('MEDIAWIKI_EXTENSIONS') && strpos(getenv('MEDIAWIKI_EXTENSIONS'), 'Nuke') !== false) {
wfLoadExtension( 'Nuke' );
}


@include('/conf/CustomSettings.php');
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ services:
- MEDIAWIKI_DB_PASSWORD=password
# uncomment 'MEDIAWIKI_ENABLE_SSL' to enable SSL support
# - MEDIAWIKI_ENABLE_SSL=true
- MEDIAWIKI_EXTENSIONS=SmiteSpam,VisualEditor,WikiEditor,ParserFunctions,Cite,TemplateData,Scribunto,InputBox,Widgets,Maps,Math,LiquidThreads,Variables,RightFunctions,PageInCat,CategoryTree,LabeledSectionTransclusion,UserPageEditProtection,Quiz,UploadWizard,Collection,DynamicPageList,EmbedPage,UWUBCMessages,googleAnalytics,Renameuser,caliper,DeleteBatch,LinkTarget,HitCounters,GTag,3D,TimedMediaHandler
- MEDIAWIKI_EXTENSIONS=SmiteSpam,VisualEditor,WikiEditor,ParserFunctions,Cite,TemplateData,Scribunto,InputBox,Widgets,Maps,Math,LiquidThreads,Variables,RightFunctions,PageInCat,CategoryTree,LabeledSectionTransclusion,UserPageEditProtection,Quiz,UploadWizard,Collection,DynamicPageList,EmbedPage,UWUBCMessages,googleAnalytics,Renameuser,caliper,DeleteBatch,LinkTarget,HitCounters,GTag,3D,TimedMediaHandler,Nuke
- MEDIAWIKI_ALLOW_SITE_CSS_ON_RESTRICTED_PAGES=true
# Add a logo to the wiki, can be relative paths to uploaded wiki images
# Note: ICON (required) used by newer themes, LEGACY (optional) by older
Expand Down

0 comments on commit 045fab6

Please sign in to comment.