Last modified: 2014-02-12 23:39:57 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 T47745, the corresponding Phabricator task for complete and up-to-date bug report information.
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