https://bugzilla.wikimedia.org/show_bug.cgi?id=30897
--- Comment #4 from Daniel Werner <[email protected]> 2011-09-14 20:21:11 UTC --- In the original code there was only a warning and I think the code kept running pretty well. So I would suggest making $namespace not an optional parameter because when it is optional, the wiki shouldn't just die without any further message, this could make searching for the cause quite hard if you're not into SMW. Or if $namespace really is intended to be optional but should throw at least a warning as intended in the original code design, then only registering another function for $wgHooks['ParserFirstCallInit'][] and doing all the stuff done in enableSemantics() there at the right time when global functions are loaded (the clean way in my opinion anyway) Or you could make enableSemantics() obsolete at all and introduce another config var to define the namespace, of course all of this depends on whats happening in enableSemantics(), didn't look into that too deep. -- 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
