@@ -38,11 +38,57 @@ list:
3838 config : |
3939 wfLoadExtension( 'BootstrapComponents' );
4040
41+ # CategoryTree - Provides a <categorytree> tag to display a dynamic, expandable tree of subcategories and pages
42+ # Bundled extension
43+ - name : CategoryTree
44+ repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree.git
45+ version : " {{ mediawiki_default_branch }}"
46+ config : |
47+ // Loads the first level of the tree in a <categorytree> dynamically.
48+ // This way, the cache does not need to be disabled. Default is false.
49+ $wgCategoryTreeDynamicTag = true;
50+ // disables the parser cache for pages with a <categorytree> tag. Default is true.
51+ $wgCategoryTreeDisableCache = false;
52+ // enable HTTP cache for anon users. Default is false.
53+ $wgCategoryTreeHTTPCache = true;
54+ // do not show the namespace name for pages and categories.
55+ // Default is false, namespaces are shown unless showing categories only.
56+ $wgCategoryTreeDefaultOptions['hideprefix'] = true;
57+ // an array defining the maximum depth for each mode, to which the tree may be expanded initially using the depth
58+ // parameter in a <category> tag. Per default, this is set to 2 for the "categories" mode, and 1 for other modes.
59+ // We set it to 3 for categories and 2 for other modes
60+ $wgCategoryTreeMaxDepth= [10 => 2, 20 => 2, 0 => 3, 100 => 2];
61+ // the default mode to use when no mode attribute is specified in a <categorytree> tag. May be 0
62+ // (the default - categories), 10 (pages), or 20 (all).
63+ $wgCategoryTreeDefaultMode = 20;
64+ // the mode to use when rendering trees on category pages.
65+ $wgCategoryTreeCategoryPageOptions['mode'] = 20;
66+ // root category to use for integrating the category tree in the sidebar.
67+ // If not set, no tree is integrated (this is the default). Integrating
68+ // a CategoryTree into the sidebar only works with skins based upon SkinTemplate,
69+ // that is, Modern, Monobook, Chick, Simple, and MySkin, but not Standard, Nostalgia or CologneBlue.
70+ $wgCategoryTreeSidebarRoot = 'People';
71+ // if true, forces the scripts needed by CategoryTree on every page, instead of on-demand.
72+ // This may be needed if a CategoryTree is embedded in an unusual way, for example in a custom skin or in a system message
73+ // $wgCategoryTreeForceHeaders = true;
74+
4175 # CharInsert - Allows to create JavaScript links that when clicked, insert predefined text into the text box
4276 - name : CharInsert
4377 repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/CharInsert
4478 version : " {{ mediawiki_default_branch }}"
4579
80+ # CheckUser - Extension to help wiki admins check if a user is sockpuppeting or otherwise abusing their account
81+ # Bundled extension
82+ - name : CheckUser
83+ repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/CheckUser.git
84+ version : " {{ mediawiki_default_branch }}"
85+ config : |
86+ $wgGroupPermissions['sysop']['checkuser'] = true;
87+ $wgGroupPermissions['sysop']['checkuser-log'] = true;
88+ $wgGroupPermissions['sysop']['investigate'] = true;
89+ $wgGroupPermissions['sysop']['checkuser-temporary-account-log'] = true;
90+ $wgGroupPermissions['sysop']['checkuser-temporary-account-no-preference'] = true;
91+
4692 # CirrusSearch - Implements searching for MediaWiki using Elasticsearch
4793 - name : CirrusSearch
4894 repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/CirrusSearch
@@ -59,6 +105,13 @@ list:
59105 config : |
60106 $wgCiteEnablePopups = true;
61107
108+ # CiteThisPage - Adds a "Cite this page" link to the toolbox of each page, which leads to a special page that
109+ # provides pre-formatted citations in various citation styles for the current page.
110+ # Bundled extension
111+ - name : CiteThisPage
112+ repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage.git
113+ version : " {{ mediawiki_default_branch }}"
114+
62115 # CodeEditor - Extends the WikiEditor advanced editing toolbar with an embedded Ace editor widget, providing some
63116 # handy features for user/site JavaScript pages, CSS pages, JSON pages, and when extension Scribunto is also
64117 # installed, for Lua pages
@@ -91,6 +144,50 @@ list:
91144 $wgCommentStreamsModeratorFastDelete = true;
92145 $wgCommentStreamsAllowedNamespaces = -1;
93146
147+ # ConfirmEdit - Provides CAPTCHA support to help prevent spam and abuse from automated bots
148+ # You can override the config in override.php if needed, like all other settings
149+ # Bundled extension
150+ - name : ConfirmEdit
151+ repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit.git
152+ version : " {{ mediawiki_default_branch }}"
153+ config : |
154+ // Enable the SimpleCaptcha
155+ $wgCaptchaClass = 'SimpleCaptcha';
156+ // Make sure the captcha is shown for anonymous users, 'autoconfirmed', and regular users
157+ // but not for registered bots and sysops
158+ $wgGroupPermissions['*']['skipcaptcha'] = false;
159+ $wgGroupPermissions['user']['skipcaptcha'] = false;
160+ $wgGroupPermissions['autoconfirmed']['skipcaptcha'] = false;
161+ $wgGroupPermissions['bot']['skipcaptcha'] = true; // registered bots
162+ $wgGroupPermissions['sysop']['skipcaptcha'] = true;
163+ // Enable captchas on these actions (defaults)
164+ $wgCaptchaTriggers['edit'] = false;
165+ $wgCaptchaTriggers['create'] = false;
166+ $wgCaptchaTriggers['sendemail'] = false;
167+ $wgCaptchaTriggers['addurl'] = true;
168+ $wgCaptchaTriggers['createaccount'] = true;
169+ $wgCaptchaTriggers['badlogin'] = true;
170+ $wgCaptchaTriggers['badloginperuser'] = true;
171+ // Use the default SimpleCaptcha settings
172+ $wgSimpleCaptchaDefaultOptions = [
173+ 'length' => 5,
174+ 'casesensitive' => false,
175+ 'letters' => '23456789abcdefghjkmnpqrstuvwxyz',
176+ 'numbers' => '23456789',
177+ 'specials' => '',
178+ 'font' => __DIR__ . '/fonts/DejaVuSans.ttf',
179+ 'fontsize' => 24,
180+ 'width' => 120,
181+ 'height' => 40,
182+ 'maxrotation' => 15,
183+ 'shadowoffset' => 2,
184+ 'lines' => 4,
185+ 'backgroundcolor' => [ 255, 255, 255 ],
186+ 'textcolor' => [ 0, 0, 0 ],
187+ 'linecolor' => [ 64, 64, 64 ],
188+ 'pixelnoise' => 0,
189+ 'blur' => false,
190+ ];
94191
95192 # ContributionScores - Polls the wiki database to locate contributors with the highest contribution volume
96193 - name : ContributionScores
@@ -391,6 +488,12 @@ list:
391488 config : |
392489 wfLoadExtension( 'Network' );
393490
491+ # Nuke - Allows administrators to mass delete pages
492+ # Bundled extension
493+ - name : Nuke
494+ repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke.git
495+ version : " {{ mediawiki_default_branch }}"
496+
394497 # NumerAlpha - Provides syntax to insert auto-incrementing numbers, letters, and roman numerals into pages
395498 - name : NumerAlpha
396499 repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/NumerAlpha
@@ -457,6 +560,12 @@ list:
457560 repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/PipeEscape
458561 version : " {{ mediawiki_default_branch }}"
459562
563+ # Poem - Adds a <poem> tag for 'pre-formatted' text that can also include wikitext markup
564+ # Bundled extension
565+ - name : Poem
566+ repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/Poem
567+ version : " {{ mediawiki_default_branch }}"
568+
460569 # ReplaceText - Provides a special page, as well as a command-line script, to allow administrators to do a server-side
461570 # global string find-and-replace on both the text and titles of the wiki's content pages
462571 - name : ReplaceText
@@ -622,6 +731,9 @@ list:
622731 # $wgSubpageNavigationShowTree = false;
623732
624733 # SyntaxHighlight - Provides rich formatting of source code using the syntaxhighlight tag
734+ # The name in the repo is SyntaxHighlight_GeSHi even though the extension is called SyntaxHighlight
735+ # AND the backend is Pygments not GeSHi
736+ # Bundled extension
625737 - name : SyntaxHighlight_GeSHi
626738 repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
627739 version : " {{ mediawiki_default_branch }}"
@@ -637,6 +749,15 @@ list:
637749 repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
638750 version : " {{ mediawiki_default_branch }}"
639751
752+ # TemplateStyles - Allows templates to include CSS styles that are applied when the template is used on a page
753+ # This makes is so much easier to have reusable components with their own styling while also avoiding
754+ # global edits in MediaWiki:Common.css
755+ # Bundled extension
756+ - name : TemplateStyles
757+ repo : https://github.com/wikimedia/mediawiki-extensions-TemplateStyles
758+ version : " {{ mediawiki_default_branch }}"
759+ composer_merge : true
760+
640761 # TextExtracts - Provides an API which allows to retrieve plain-text or limited HTML
641762 - name : TextExtracts
642763 repo : https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
0 commit comments