https://bugzilla.wikimedia.org/show_bug.cgi?id=45745

       Web browser: ---
            Bug ID: 45745
           Summary: MWScript usage documentation weird
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to