Skip to content
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

Update database scripts to support MediaWiki 1.38 #589

Merged
merged 3 commits into from
Mar 20, 2023

Conversation

AndrewKostka
Copy link
Contributor

No description provided.

@AndrewKostka AndrewKostka marked this pull request as draft March 16, 2023 16:17
Update the test to reflect the two newly added tables
(i.e., _linktarget, _mathlatexml) and the removed
deprecated one (i.e., _wb_changes_dispatch).
Copy link
Contributor

@m90 m90 left a comment

Choose a reason for hiding this comment

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

I left one very very bikesheddy comment which you can disregard if you feel like it. Everything else looks good to me.

volumes:
- ./maintWikWiki.json:/var/www/html/w/maintWikWiki.json
- ./:/usr/src/
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if this mount accidentally overwrites anything the image expects to be there?

Also, man hier advises against putting your own stuff in /usr/src:

       /usr/src
              Source files for different parts of the system, included with some packages for reference purposes.  Don't work here with your own projects, as files below /usr  should  be  read-only
              except when installing software (optional).

Would it be a thing to just mount the php script in maintenance like this:

- ./cleanSql.php:/var/www/html/w/maintenance/cleanSql.php

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, thanks!

@deer-wmde
Copy link
Contributor

The DB dump seems good to me! https://www.diffchecker.com/mPYZnS3j/

@AndrewKostka AndrewKostka marked this pull request as ready for review March 20, 2023 11:16
@AndrewKostka AndrewKostka merged commit 9d42283 into main Mar 20, 2023
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.

3 participants