Last modified: 2012-11-30 12:24:01 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 T44349, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42349 - SMW_setup.php fails to use given backend
SMW_setup.php fails to use given backend
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized blocker (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-22 08:27 UTC by Markus Krötzsch
Modified: 2012-11-30 12:24 UTC (History)
4 users (show)

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


Attachments

Description Markus Krötzsch 2012-11-22 08:27:35 UTC
This script used to allow the backend that should be used to be specified. This no longer works. I have tried:

php SMW_setup.php --delete SMWSQLStore2
php SMW_setup.php SMWSQLStore2 --delete
php SMW_setup.php --backend SMWSQLStore2 --delete
php SMW_setup.php --backend=SMWSQLStore2 --delete

In all cases, the script ignores the parameter. This is critical, since it may lead to accidental deletion of the store that is currently in use if a user follows the documentation.

The refresh script uses a parameter -b for backend, and it would be good if this could be used with the same meaning in all SMW scripts. I think the setup script used to have this at some point, but the code has changed significantly since I last looked at it.

This is a blocker for SMW 1.8 since people will want to delete the old Store2.
Comment 1 Jeroen De Dauw 2012-11-27 19:05:45 UTC
https://gerrit.wikimedia.org/r/#/c/35417/
Comment 2 Jeroen De Dauw 2012-11-27 19:07:03 UTC
Thanks for your bug report. If you run into any further problems, I suggest you poke the original developer of this odd software.
Comment 3 Markus Krötzsch 2012-11-30 12:24:01 UTC
Fixed with https://gerrit.wikimedia.org/r/35417

Some more improvements to the script interface will be merged with https://gerrit.wikimedia.org/r/36162 before releasing 1.8 (this will fully restore the syntax that worked before).

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


Navigation
Links