Talk:Meza/Extension Installation Community Cheat-Sheet
Add topic| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Lingo
[edit]https://www.mediawiki.org/wiki/Extension:Lingo
- name: Lingo
composer: "mediawiki/lingo"
version: "~3.0"
config: |
// installed by composer, we have to manually load it
wfLoadExtension( "Lingo" );
// avoid funkiness in MobileFrontend
$wgMFRemovableClasses = [ 'base' => [ '.mw-lingo-tooltip' ] ];
Revansx (talk) 23:10, 6 June 2019 (UTC)
- 2019-06-07 verified on Meza 31.8 Revansx (talk) 13:37, 7 June 2019 (UTC)
Flow
[edit]https://www.mediawiki.org/wiki/Extension:Flow First install Flow with:
- name: Flow
repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Flow.git
version: "{{ mediawiki_default_branch }}"
composer_merge: True
Then run the "populateContentModel.php" maintenance script as instructed
Then update it to:
- name: Flow
repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Flow.git
version: "{{ mediawiki_default_branch }}"
composer_merge: True
config: |
$wgNamespaceContentModels[NS_TALK] = 'flow-board';
$wgNamespaceContentModels[NS_USER_TALK] = 'flow-board';
Revansx (talk) 23:10, 6 June 2019 (UTC)
- 2019-06-06 verified on Meza 31.8 Revansx (talk) 23:13, 6 June 2019 (UTC)
WhosOnline
[edit]https://www.mediawiki.org/wiki/Extension:WhosOnline
- name: WhosOnline
repo: https://github.com/wikimedia/mediawiki-extensions-WhosOnline.git
version: master
Revansx (talk) 23:11, 6 June 2019 (UTC)
- 2019-06-06 verified on Meza 31.8 Revansx (talk) 23:13, 6 June 2019 (UTC)
DynamicSidebar
[edit]https://www.mediawiki.org/wiki/Extension:DynamicSidebar
# Allows for custom sidebar based on user page or assigned group
- name: DynamicSidebar
repo: https://github.com/wikimedia/mediawiki-extensions-DynamicSidebar.git
version: master
config: |
$wgDynamicSidebarUseUserpages = true;
$wgDynamicSidebarUseGroups = true;
Revansx (talk) 23:58, 6 June 2019 (UTC)
MyVariables
[edit]https://www.mediawiki.org/wiki/Extension:MyVariables
- name: MyVariables
repo: https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MyVariables
version: "tags/3.4.0"
legacy_load: True
Revansx (talk) 00:01, 7 June 2019 (UTC)
Cargo
[edit]https://www.mediawiki.org/wiki/Extension:Cargo
- name: Cargo
repo: https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Cargo
# FIXME: Commit allowing Cargo to work with $wgDBservers, which meza uses.
# When a Cargo version is tagged after this point, switch to that.
version: ab7a941d6fb5d41d1d19898366e90671e3f5858d
config: |
$smwgEnabledCompatibilityMode = true;
$wgCargoDefaultQueryLimit = 5000;
$wgCargoPageDataColumns[] = 'fullText';
$wgCargoPageDataColumns[] = 'categories';
Revansx (talk) 00:04, 7 June 2019 (UTC)
VEforAll (Not Working yet)
[edit]https://www.mediawiki.org/wiki/Extension:VEForAll
# Allows for visual editor to be used in form pages
- name: VEForAll
repo: https://github.com/wikimedia/mediawiki-extensions-VEForAll.git
version: "{{ mediawiki_default_branch }}"
git_submodules: True
composer_merge: True
config: |
wfLoadExtension( 'VEForAll' );
Revansx (talk) 13:05, 7 June 2019 (UTC)
- I'm having trouble getting VEforALl to deploy. Using the following code in
MezaLocalExtensions.yml - name: VEForAll repo: https://github.com/wikimedia/mediawiki-extensions-VEForAll.git version: "{{ mediawiki_default_branch }}" git_submodules: True composer_merge: True config: | wfLoadExtension( 'VEForAll' );- produces the following error in my deploy:
TASK [mediawiki : Verify metastore index upgraded] ****************************************************************************************************************************************** Friday 07 June 2019 09:04:08 -0400 (0:00:00.509) 0:01:54.997 *********** fatal: [localhost]: FAILED! => { "changed": true, "cmd": "WIKI=demo php /opt/htdocs/mediawiki/extensions/CirrusSearch/maintenance/metastore.php --upgrade", "delta": "0:00:00.231206", "end": "2019-06-07 09:04:08.624410", "rc": 255, "start": "2019-06-07 09:04:08.393204" } STDOUT: Fatal error: Uncaught Exception: /opt/htdocs/mediawiki/extensions/VEForAll/extension.json does not exist! in /opt/htdocs/mediawiki/includes/registration/ExtensionRegistry.php:107 Stack trace: #0 /opt/htdocs/mediawiki/includes/GlobalFunctions.php(50): ExtensionRegistry->queue('/opt/htdocs/med...') #1 /opt/.deploy-meza/Extensions.php(300): wfLoadExtension('VEForAll') #2 /opt/htdocs/mediawiki/LocalSettings.php(647): require_once('/opt/.deploy-me...') #3 /opt/htdocs/mediawiki/includes/Setup.php(94): require_once('/opt/htdocs/med...') #4 /opt/htdocs/mediawiki/maintenance/doMaintenance.php(81): require_once('/opt/htdocs/med...') #5 /opt/htdocs/mediawiki/extensions/CirrusSearch/maintenance/metastore.php(166): require_once('/opt/htdocs/med...') #6 {main} thrown in /opt/htdocs/mediawiki/includes/registration/ExtensionRegistry.php on line 107 MSG: non-zero return code- Does anyone know why VEforAll is not getting extension.json from the repo? Revansx (talk) 13:08, 7 June 2019 (UTC)
PageImporter
[edit]https://github.com/enterprisemediawiki/PageImporter
// Provides the ability to have extension-defined pages
// Note: doesn't do anything in-and-of itself.
- name: PageImporter
repo: https://github.com/enterprisemediawiki/PageImporter.git
version: master
Revansx (talk) 14:51, 24 June 2019 (UTC)
- verified on MEZA 31.8 Revansx (talk) 14:59, 24 June 2019 (UTC)
SemanticActions
[edit]https://github.com/enterprisemediawiki/SemanticActions
// Proves an action tracking system for a Semantic MediaWiki.
// Also requires PageImporter
- name: SemanticActions
repo: https://github.com/enterprisemediawiki/SemanticActions.git
version: master
Revansx (talk) 14:52, 24 June 2019 (UTC)
- verified on MEZA 31.8 Revansx (talk) 14:59, 24 June 2019 (UTC)
UserMerge
[edit]https://www.mediawiki.org/wiki/Extension:UserMerge
# Allows sysops to merge user A to user B and delete User A
- name: UserMerge
repo: https://github.com/wikimedia/mediawiki-extensions-UserMerge.git
version: "{{ mediawiki_default_branch }}"
config: |
$wgGroupPermissions['bureaucrat']['usermerge'] = true;
Revansx (talk) 21:17, 8 January 2020 (UTC)
- verified on MEZA 31.8 and 31.9 Revansx (talk) 21:19, 8 January 2020 (UTC)
SimpleCalendar
[edit]To install:
https://www.mediawiki.org/wiki/Extension:SimpleCalendar
Add this to MezaLocalExtensions.yml:
- name: SimpleCalendar
repo: https://github.com/wikimedia/mediawiki-extensions-SimpleCalendar.git
version: "{{ mediawiki_default_branch }}"
legacy_load: true
and then run this:
sudo meza deploy <env> --tags mediawiki --skip-tags mediawiki-core,verify-wiki
where <env> is usually "monolith" Revansx (talk) 17:43, 30 August 2021 (UTC)