Last modified: 2014-02-12 23:39:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 45745 - MWScript usage documentation weird
MWScript usage documentation weird
Status: NEW
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: documentation
  Show dependency treegraph
 
Reported: 2013-03-05 19:43 UTC by Krinkle
Modified: 2014-02-12 23:39 UTC (History)
0 users

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


Attachments

Description Krinkle 2013-03-05 19:43:39 UTC
See the following naïve dialog between me and mwscript:

[19:40 UTC] krinkle at fenari in ~
$ mwscript eval.php
--wiki must be the first parameter.

Fatal error: --wiki must be the first parameter.
 in /home/wikipedia/common/multiversion/MWMultiVersion.php on line 356

[19:40 UTC] krinkle at fenari in ~
$ mwscript aawiki eval.php
wikiversions.cdb has no version entry for `eval.php`.

Fatal error: wikiversions.cdb has no version entry for `eval.php`.
 in /home/wikipedia/common/multiversion/MWMultiVersion.php on line 356

[19:40 UTC] krinkle at fenari in ~
$ mwscript --wiki aawiki eval.php
The MediaWiki script file "/home/wikipedia/common/php-1.21wmf10/maintenance/--wiki" does not exist.

[19:40 UTC] krinkle at fenari in ~
$ mwscript eval.php --wiki aawiki
> echo $wgDBname;
aawiki

[19:41 UTC] krinkle at fenari in ~
$ mwscript eval.php aawiki
> echo $wgDBname;
aawiki

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


Navigation
Links