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

Use maintenance/run.php #3

Closed
MaMaKow opened this issue May 19, 2024 · 1 comment · Fixed by #4
Closed

Use maintenance/run.php #3

MaMaKow opened this issue May 19, 2024 · 1 comment · Fixed by #4
Assignees

Comments

@MaMaKow
Copy link

MaMaKow commented May 19, 2024

Hi!

I just tested your script. And it still works for me.
There was however a deprecation warning:


NOTE: Do not run maintenance scripts directly, use maintenance/run.php instead!
Running scripts directly has been deprecated in MediaWiki 1.40.
It may not work for some (or any) scripts in the future.


In order to correct the script only one line has to be changed:

#execute update script
244 ${PHPEXECUTABLE} ${MEDIAWIKIDIR}/maintenance/run.php update.php

Thank you very much for sharing your script!

@gpunktschmitz gpunktschmitz self-assigned this May 26, 2024
@gpunktschmitz gpunktschmitz linked a pull request May 26, 2024 that will close this issue
@gpunktschmitz
Copy link
Owner

thanks @MaMaKow! I've updated the script with you change suggestion.

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 a pull request may close this issue.

2 participants