Skip to content

Conversation

AndrewKostka
Copy link
Contributor

@AndrewKostka AndrewKostka commented Feb 20, 2025

Comparison of mw1.39-wbs1 and mw1.43-wbs1:
https://www.diffchecker.com/rEJeYiDD/

@AndrewKostka AndrewKostka marked this pull request as ready for review March 11, 2025 12:15
Copy link
Member

@outdooracorn outdooracorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO notes for reviewers:

  1. Understand Andrew's changes
  2. Replicate the changes ourselves to see if we get the same result
  3. Check the changes in config/wbstack.php are correct / no side effects
  4. Check that it works with new image of mediawiki proposed - in particular, we want to test our changes that are in the wbstack/mediawiki dist-persist directory

We've started to look through this, it looks good so far, but still need to complete the steps from above. However, we notice that this PR is contingent on having looked through wbstack/mediawiki#475 as well (which we haven't done thoroughly yet). Should we hold off merging until that is done and then merge both at the same time?

Review assisted by @tarrow and @rosalieper as well

@@ -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
Copy link
Member

Choose a reason for hiding this comment

The 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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The 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
wbstack/mediawiki#367 - remove Popups
wbstack/mediawiki#455 - add VisualEditor
wbstack/mediawiki@e2e48b8 - remove WikibaseExampleData and Auth_remoteuser

@tarrow
Copy link
Contributor

tarrow commented Jul 28, 2025

In order to test this you'll need to either resolve T387115 or use one of the workarounds listed there

Copy link
Contributor

@rosalieper rosalieper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reproduced the steps and it all looks good to me. there were same new changes to the sql while reproducing these steps and here is the PR for them #968

@rosalieper rosalieper mentioned this pull request Sep 2, 2025
@outdooracorn
Copy link
Member

outdooracorn commented Sep 2, 2025

Thanks for reviewing this @rosalieper!

I reproduced the steps and it all looks good to me. there were same new changes to the sql while reproducing these steps and here is the PR for them #968

I think it would be a good idea to include those changes in this PR. This is the standard problem of two bits of work done on the repo at the same time, resulting in one PR having to pull in the changes caused by the other.

I also see there are merge conflicts that need to be resolved due to the new changes.

@AndrewKostka AndrewKostka merged commit b0f9b4c into main Sep 3, 2025
5 checks passed
@AndrewKostka AndrewKostka deleted the update-mediawiki-1.43 branch September 3, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants