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

--- Comment #29 from MWJames <jamesin.hongkon...@gmail.com> ---
(In reply to comment #24)
> Ok, great analysis. Just checked the code in WebStart.php, and indeed, LS is
> getting loaded after the Composer autoloader. This means we cannot use config
> yet at the time of entry point inclusion and have to wait till a later point.
> Putting the smwgScriptPath assignment in a handler to the
> wfExtensionsFunctions
> thing will probably work.

Question:

LocalSettings requires [1] to be set, is [2] necessary in the composer.json
because of the autoload option SemanticMediaWiki.php is loaded before
LocalSettings.php

[1] include_once("$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php");

[2]     "autoload": {
        "files" : [
            "SemanticMediaWiki.php"
        ]
    }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to