HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/SemanticMediaWiki…

Authored by mkroetzsch.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/SemanticMediaWiki ff670272efc22178c6c28e96d28b6c68963ef898 null Fixed some interface issues in SMW_setup.php

Changes:

  • Register "--backend" as an option *with parameters*; this makes "--backend Name" work (otherwise only "--backend=Name" works) and it improves error handling
  • Check if provided backend is a valid class name; prevents PHP errors on typos
  • Respect --quiet by using the output() method instead of print, and by passing on the information given by isQuiet() to store operations
  • Fix spelling and format of some documentation

Patchset 2: Fixing remaining uses of "echo" that ignored --quiet.
Patchset 3: Fixed more typos ("promt") and modified behaviour when given invalid storage class (report error & die)

Change-Id: I3e2ada69a0bb23ee42e993cee3ad4a6ef7ffd65e

Details

Committed
Gerrit Code ReviewNov 30 2012, 1:52 PM
Parents
rMEXTaa7a0078bc65: Updated mediawiki/extensions Project: mediawiki/extensions/Wikibase…
Branches
Unknown
Tags
Unknown
ChangeId
I3e2ada69a0bb23ee42e993cee3ad4a6ef7ffd65e