On Mon, Jul 22, 2013 at 11:24 AM, Jeroen De Dauw <[email protected]>wrote:

> The solution proposed by Hashar in some other thread is to have a
> "MediaWiki installation" package, which just contains a composer.json file
> with core in it, where people can add dependencies, and then install.
> Before that will work, we'll need to get rid of "global scope assumptions"
> in all core files. For instance, WebStart.php has globals in it, accessed
> without specifying they are globals. This will break when included via
> Composer, as it will not do so in global scope.
>
>
Easier said than done. I've been fighting this fight for years and we're
only about 3 globals closer to doing so. I'm totally in favor of getting
rid of global scope usage, but let's please not trivialize the amount of
work it will take to get there.

-Chad
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to