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

--- Comment #38 from MWJames <[email protected]> ---
[0] was merged and should resolve reaming issues due to the use of the Composer
install.

Further more, [0] introduces additional tests [1] to verify settings behaviour
for a Composer and non-Composer install.

Against earlier suggestions, no changes are required in how to maintain [2] but
namespaces like (SMW_NS_PROPERTY, SMW_NS_TYPE, SF_NS_FORM, SMW_NS_CONCEPT etc.)
are banned from being defined in LocalSettings due to late assignment that
happens when [3] is executed, all other namespace properties (standard and
custom NS) can be assigned freely in LocalSettings using [2]. 

Travis simulates a MW related Composer install with the following example data
[4].

[0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/46

[1]
https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/tests/phpunit/system/InstallationSettingsTest.php

[2] $GLOBALS['smwgNamespacesWithSemanticLinks'] = array( ... )

[3]
https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/includes/NamespaceCustomizer.php

[4]
https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/build/travis/before_script.sh#L67

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