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

--- Comment #9 from Jaider Andrade Ferreira <[email protected]> ---
Thanks for the unit test, MWJames!
But, looking my configuration again, I found out what was wrong.

Apparently, this:

$smwgNamespace = 'http://any-site.org/id/';
enableSemantics( 'any-site.org' );

Was causing the problem. The correct way is:

enableSemantics( 'any-site.org' );
$smwgNamespace = 'http://any-site.org/id/';

When I removed 

require_once( "$IP/extensions/Validator/Validator.php" );
include_once( "$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php" );

from LocalSettings.php (because installation with Composer doesn't need them),
the "enableSemantics( 'any-site.org' );" and other config variables stayed
there. So, later, when I put $smwgNamespace = 'http://any-site.org/id/';, I
didn't realize  enableSemantics was below it.

So, I am so sorry for this. 
Hint: I think RELEASE-NOTES-1.9 should mention that enableSemantics(
'any-site.org' ); is not necessary anymore, right?

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

Reply via email to