Last modified: 2012-11-07 06:18:41 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 T21077, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19077 - Setting $smwgNamespace automatically breaks on command-line scripts
Setting $smwgNamespace automatically breaks on command-line scripts
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on: 19593
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-04 14:54 UTC by Sergey Chernyshev
Modified: 2012-11-07 06:18 UTC (History)
1 user (show)

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


Attachments

Description Sergey Chernyshev 2009-06-04 14:54:59 UTC
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).
Comment 1 Sergey Chernyshev 2009-07-08 14:58:49 UTC
Not sure if I'll have enough skill (or time) to fix this.
Comment 2 MWJames 2012-11-07 06:18:41 UTC
This bug do not carry enough information if this problem still persists with SMW 1.8. Please feel free to reopen the bug if it still applies to SMW 1.8.

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


Navigation
Links