https://bugzilla.wikimedia.org/show_bug.cgi?id=19077

       Web browser: ---
           Summary: Setting $smwgNamespace automatically breaks on command-
                    line scripts
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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).


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to