Re: [Wikitech-l] Dealing with composer dependencies in early MediaWiki initialization

2019-06-26 Thread Tim Starling
On 27/6/19 10:36 am, Brian Wolff wrote: > Another option is just removing the $wgServer back compat value. > > The installer will automatically set $wgServer in LocalSettings.php. The > default value in DefaultSettings.php is mostly for compat with really old > installs before 1.16. > > Allowing

[Wikitech-l] New errors with composer update

2019-06-26 Thread James Montalvo
I'm getting a new error today that was not happening with the identical config yesterday. With MW 1.31.1 and 1.31.2 I'm getting errors after installing dependencies and extensions with Composer. I have the following composer.local.json: ``` { "require": { "mediawiki/semantic-media-wiki":

Re: [Wikitech-l] Dealing with composer dependencies in early MediaWiki initialization

2019-06-26 Thread Brian Wolff
Another option is just removing the $wgServer back compat value. The installer will automatically set $wgServer in LocalSettings.php. The default value in DefaultSettings.php is mostly for compat with really old installs before 1.16. Allowing autodetection is a security vulnerability - albeit

Re: [Wikitech-l] Patchsets by new Gerrit contributors waiting for code review and/or merge

2019-06-26 Thread Subramanya Sastry
On 6/20/19 2:08 AM, Andre Klapper wrote: Summary of worst repos with more than one patch waiting: 5x WikiPEG. 4x Parsoid. Given our current narrow focus on porting Parsoid from JS to PHP, this situation will continue for maybe another 2 months since we are not merging code on the JS side

[Wikitech-l] Scrum of scrums/2019-06-26

2019-06-26 Thread Željko Filipin
Hi, for HTML version see https://www.mediawiki.org/wiki/Scrum_of_scrums/2019-06-26 Željko -- = 2019-06-26 = == Callouts == * Release Engineering ** All: Input greatly wished for on the "Future of CI" planning document: https://lists.wikimedia.org/pipermail/wikitech-l/2019-June/092227.html **

Re: [Wikitech-l] Dealing with composer dependencies in early MediaWiki initialization

2019-06-26 Thread David Barratt
> Move vendor/autoload.php earlier in Setup.php I would do that. In an ideal world, Composer's autoloader would be called first, and MediaWiki's autoloader would be registered through Composer. :) > potentially breaking extensions that still rely on composer autoloading for initialization. That

[Wikitech-l] [Tech Talks] July 10, 2019, 4 PM UTC, A Deployment Pipeline Overview

2019-06-26 Thread Subramanya Sastry
Hi Everyone, It's time for Wikimedia Tech Talks 2019 Episode 6! Next month's talk will take place July 10, 2019 at 4:00 PM UTC. Topic: A Deployment Pipeline Overview Speaker: Alexandros Kosiaris, Senior Operations Engineer Summary: The deployment pipeline project has been ongoing for a while,

Re: [Wikitech-l] Dealing with composer dependencies in early MediaWiki initialization

2019-06-26 Thread Máté Szabó
Hey, Looking at Setup.php, it seems to include the relevant items in the following order: - DefaultSettings.php - Composer autoloader - LocalSettings.php or config callback Could this allow us to initialise $wgServer in Setup.php, right after the Composer autoloader is included? It seems to me