Last modified: 2013-11-06 16:56:21 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 T50263, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48263 - mwscript is mangling parameters
mwscript is mangling parameters
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-08 17:15 UTC by Sam Reed (reedy)
Modified: 2013-11-06 16:56 UTC (History)
2 users (show)

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


Attachments

Description Sam Reed (reedy) 2013-05-08 17:15:52 UTC
mwscript made addWiki.php need the --wiki=aawiki not be needed to be appended by the user running the script. This seems to have regressed fairly recently, and --wiki=aawiki is needed

Similar seems to be happening on other scripts, and nameless arguments are going missing

reedy@fenari:/home/wikipedia/common$ mwscript extensions/WikimediaMaintenance/createExtensionTables.php --wiki=mediawikiwiki educationprogram
NULL
$extension = $this->getArg();
var_dump( $extension ); die()


I'm not sure when it was actually broken though...
Comment 1 Sam Reed (reedy) 2013-11-06 16:52:00 UTC
https://gerrit.wikimedia.org/r/#/c/93907/ may have fixed this..
Comment 2 Sam Reed (reedy) 2013-11-06 16:56:21 UTC
Yup

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


Navigation
Links