-
Notifications
You must be signed in to change notification settings - Fork 3
Add database script for MediaWiki 1.43 #882
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
24b14d8
a9dacf2
e8a542e
303df62
8a07485
6a96b7f
ce89c02
21a1307
d740ce5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ This directory contains the SQL needed to create and wiki DBs. | |
|
|
||
| **Versions** | ||
|
|
||
| - mw1.43-wbs1 - First 1.43 install | ||
| - mw1.39-wbs1 - First 1.39 install | ||
| - mw1.38-wbs1 - First 1.38 install | ||
| - mw1.35-wbs1 - First 1.35 install | ||
|
|
@@ -26,9 +27,25 @@ This directory contains the SQL needed to create and wiki DBs. | |
| Make sure you have updated the docker-compose-clean.yml to: | ||
|
|
||
| - For adding extensions? | ||
| - Include the latest version of the Mediawiki image with the new code added but not loaded (for extensions) | ||
| - Update maintWikWiki.json to match the defaults needs to load all extension from the mw image | ||
|
|
||
|
|
||
| **Preparing the MediaWiki image:** | ||
|
|
||
| Checkout the [wbstack/mediawiki](https://github.com/wbstack/mediawiki) repository and navigate to it. | ||
|
|
||
| Remove any empty extension directories generated by the sync script. You can use the following command to help locate them if they exist: | ||
|
|
||
| ``` | ||
| git clean -nd | ||
| ``` | ||
|
|
||
| Build the image locally using: | ||
|
|
||
| ``` | ||
| docker build -t local-wbaas-mediawiki . | ||
| ``` | ||
|
|
||
| **Start the setup:** | ||
|
|
||
| ``` | ||
|
|
@@ -62,7 +79,7 @@ cd ./w/extensions/ && ls -dm * | tr -d ' ' | tr -d \\n && cd ./../../ | |
|
|
||
| This is an example install command with `WikibaseEdtf` excluded: | ||
| ``` | ||
| WBS_DOMAIN=maint php ./w/maintenance/install.php --dbserver sql-clean --dbuser root --dbpass toor --dbname wiki --extensions AdvancedSearch,Auth_remoteuser,CirrusSearch,Cite,CodeEditor,CodeMirror,ConfirmAccount,ConfirmEdit,DeleteBatch,Echo,Elastica,EmbedVideo,EntitySchema,Gadgets,Graph,InviteSignup,JsonConfig,Kartographer,Mailgun,Math,MobileFrontend,MultimediaViewer,Nuke,OAuth,PageImages,ParserFunctions,Poem,Popups,RevisionSlider,Score,Scribunto,SecureLinkFixer,SpamBlacklist,StopForumSpam,SyntaxHighlight_GeSHi,TemplateData,TemplateSandbox,TextExtracts,Thanks,ThatSrc,TorBlock,TwoColConflict,UniversalLanguageSelector,WikiEditor,WikiHiero,Wikibase,WikibaseCirrusSearch,WikibaseExampleData,WikibaseInWikitext,WikibaseLexeme,WikibaseLexemeCirrusSearch,WikibaseManifest,cldr --pass AdminPass0 SiteName AdminName | ||
| WBS_DOMAIN=maint php ./w/maintenance/install.php --dbserver sql-clean --dbuser root --dbpass toor --dbname wiki --extensions AdvancedSearch,CirrusSearch,Cite,CodeEditor,CodeMirror,ConfirmAccount,ConfirmEdit,DeleteBatch,Echo,Elastica,EmbedVideo,EntitySchema,Gadgets,InviteSignup,JsonConfig,Kartographer,Mailgun,Math,MobileFrontend,MultimediaViewer,Nuke,OAuth,PageImages,ParserFunctions,Poem,RevisionSlider,Score,Scribunto,SecureLinkFixer,SpamBlacklist,StopForumSpam,SyntaxHighlight_GeSHi,TemplateData,TemplateSandbox,TextExtracts,Thanks,ThatSrc,TorBlock,TwoColConflict,UniversalLanguageSelector,VisualEditor,WikiEditor,WikiHiero,Wikibase,WikibaseCirrusSearch,WikibaseInWikitext,WikibaseLexeme,WikibaseLexemeCirrusSearch,WikibaseManifest,cldr --pass AdminPass0 SiteName AdminName | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How come these extensions are removed and added? I think we should probably document the reasoning somewhere ™️ for future reference.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have separate commits for extensions that are added or removed. wbstack/mediawiki#453 - remove Graph |
||
| ``` | ||
|
|
||
| **While** https://phabricator.wikimedia.org/T267809 is broken you'll then need to edit the auto generated LocalSettings.php file... | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.