https://bugzilla.wikimedia.org/show_bug.cgi?id=30897
Web browser: ---
Bug #: 30897
Summary: enableSemantics() without $namespace causing fatal
error
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
function enableSemantics( $namespace = null, $complete = false ) without
$namespace will cause an fatal error since wfWarn() is called in line 57 (as of
r97000).
In since enableSemantics most likely is called during LocalSettings.php, before
parser initialization, global wiki functions are not available as well.
Perhaps it would be cleaner to setup SMW like any normal extension with help of
$wgHooks['ParserFirstCallInit'][]
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l