Author: sergey.chernyshev
Description:
My change to enableSemantics that sets smwgNamespace based on wgServerName (http://www.mediawiki.org/wiki/Special:Code/MediaWiki/51290) doesn't work if run using command line tools (e.g. SMW_dumpRDF.php).
The problem is that enableSemantics is called in $IP/maintenance/commandLine.php which happens before SMW_dumpRDF is checking command line parameters.
The other problem is that SMW_dumpRDF.php is setting $wgServer and not $wgServerName (just host name without the protocol).
Version: unspecified
Severity: minor