Last modified: 2014-08-14 17:54:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71434, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69434 - mwscript instead of php to run maintenance scripts
mwscript instead of php to run maintenance scripts
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.24rc
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-12 14:04 UTC by physikerwelt
Modified: 2014-08-14 17:54 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description physikerwelt 2014-08-12 14:04:13 UTC
update.php contains the header
  #!/usr/bin/env php
but now mwscript is supposed to be used
  https://www.mediawiki.org/w/index.php?title=Manual%3AUpdate.php&diff=1102966&oldid=939328 

In vagrant mwscript is located here
  mwscript: /usr/local/bin/mwscript

However if I change php to mwscript I get the following error
/srv/vagrant/mediawiki/maintenance/update.php
The MediaWiki script file "/vagrant/mediawiki//srv/vagrant/mediawiki/maintenance/update.php" does not exist.
Comment 1 Gerrit Notification Bot 2014-08-12 14:06:51 UTC
Change 153601 had a related patch set uploaded by Physikerwelt:
WIP: run update.php with mwscript

https://gerrit.wikimedia.org/r/153601
Comment 2 Gerrit Notification Bot 2014-08-12 15:54:55 UTC
Change 153601 abandoned by Physikerwelt:
WIP: run update.php with mwscript

https://gerrit.wikimedia.org/r/153601
Comment 3 physikerwelt 2014-08-12 15:55:45 UTC
Applies to vagrant only

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links