[Wikitech-l] TechCom Radar 2019-06-26

2019-06-27 Thread Kate Chapman
Hi All,

Here are the minutes from this week's TechCom meeting:

RFC approved: REST route handler extension interface RFC


RFC on Last Call: Introduce a new namespace for collaborative
judgements about wiki entities
 (ending July 6th 05:00
UTC/07:00 CEST/July 5 22:00 PDT)

IRC meeting next week in #wikimedia-office Abstract schemas and schema
changes:  (note new time:
July 3 2019 14:00 UTC/15:00 CEST/06:00 PDT)

You can also find our meeting minutes at


See also the TechCom RFC board
.

If you prefer you can subscribe to our newsletter here


Thanks,
Kate

--
Kate Chapman
Senior Program Manager, Core Platform
Wikimedia Foundation
kchap...@wikimedia.org

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Thank You Tuesday

2019-06-27 Thread Derk-Jan Hartman
Thank you to Ebe123 (Étienne Beaulé) for adding transcoding support for
midi files !
https://commons.wikimedia.org/wiki/File:Beethoven_Op._33_no._1.mid

And thank you to the Foundation’s Trust and Safety team, and the Code of
Conduct Committee.

DJ

On Tue, Jun 25, 2019 at 4:55 PM Lucas Werkmeister <
lucas.werkmeis...@wikimedia.de> wrote:

> I’m pretty sure I’ve said this before, even in another Thank you Tuesday
> thread, but once again thank you to Legoktm and everyone else working
> on MediaWiki
> code search ! It continues to be
> an
> invaluable tool when planning refactorings on code that might be used
> elsewhere.
>
> Thank you also to the Foundation’s Trust and Safety team, and the Code of
> Conduct Committee.
>
> Cheers,
> Lucas
>
> Am Di., 25. Juni 2019 um 16:13 Uhr schrieb Zppix <
> megadev44s.m...@gmail.com
> >:
>
> > I wanted to restart the thank you Tuesday thread for this week. So heres
> > my list of thanks:
> >
> > Paladox, and releng, for all you do for maintaining Gerrit, Phabricator,
> > and CI so we can keep making so many needed changes to mediawiki and
> other
> > software/projects.
> >
> > Andre, for sorting through hundreds if not thousands of tickets every
> day,
> > without him, I’m sure phab would be a mess of unsorted tasks!
> >
> > Finally, thanks to all the volunteers and staff that are constantly
> > deploying, and creating patches to make MediaWiki and related projects as
> > bug-free and user friendly as possible.
> >
> >
> >
> > --
> > Devin “Zppix” CCENT
> > Volunteer Wikimedia Developer
> > Africa Wikimedia Developers Member and Mentor
> > Volunteer Mozilla Support Team Member (SUMO)
> > Quora.com Partner Program Member
> > enwp.org/User:Zppix
> > **Note: I do not work for Wikimedia Foundation, or any of its chapters. I
> > also do not work for Mozilla, or any of its projects. **
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
>
>
> --
> Lucas Werkmeister (he/er)
> Full Stack Developer
>
> Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
> Phone: +49 (0)30 219 158 26-0
> https://wikimedia.de
>
> Imagine a world in which every single human being can freely share in the
> sum of all knowledge. Help us to achieve our vision!
> https://spenden.wikimedia.de
>
> Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
> Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
> der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
> Körperschaften I Berlin, Steuernummer 27/029/42207.
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] New errors with composer update

2019-06-27 Thread James Montalvo
Yeah after I sent the first message I wished I'd tried removing
composer.local.json. Doing so does not resolve the problem. I tested it on
new installs as well (on a different machine):

```
git clone https://gerrit.wikimedia.org/r/mediawiki/core ./mw
cd mw
git checkout 1.33.0-rc.0
composer update
```

Navigating to http://localhost/mw I get the first page of the MW web
installer. So things appear to be working normally on 1.33.

```
git checkout 1.32.2
composer update
# ... errors at http://localhost/mw

git checkout 1.31.2
composer update
# ... errors at http://localhost/mw
```

In both 1.31 and 1.32 above I get errors. 1.31 had:

```
Warning: require(C:\xampp\htdocs\mw\vendor\composer/../jetbrains/
phpstorm-stubs/PhpStormStubsMap.php): failed to open stream: No such file
or directory in C:\xampp\htdocs\mw\vendor\composer\autoload_real.php on
line 70

Fatal error: require(): Failed opening required 'C:\xampp\htdocs\mw\vendor\
composer/../jetbrains/phpstorm-stubs/PhpStormStubsMap.php'
(include_path='C:\xampp\htdocs\mw\vendor/pear/console_
getopt;C:\xampp\htdocs\mw\vendor/pear/mail;C:\xampp\
htdocs\mw\vendor/pear/mail_mime;C:\xampp\htdocs\mw\
vendor/pear/net_smtp;C:\xampp\htdocs\mw\vendor/pear/net_
socket;C:\xampp\htdocs\mw\vendor/pear/pear-core-minimal/
src;C:\xampp\htdocs\mw\vendor/pear/pear_exception;C:\xampp\php\PEAR') in
C:\xampp\htdocs\mw\vendor\composer\autoload_real.php on line 70
```

So this appears to be a MW core or MW core dependencies issue.


On Thu, Jun 27, 2019 at 07:07 Daren Welsh  wrote:

> (planted question)
>
> What happens if you remove composer.local.json?
>
>
>
> On Wed, Jun 26, 2019, 21:54 James Montalvo 
> wrote:
>
> > 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": "3.0.0",
> > "mediawiki/semantic-result-formats": "3.0.0",
> > "mediawiki/semantic-compound-queries": "1.2.0",
> > "mediawiki/sub-page-list": "1.5.0",
> > "mediawiki/maps": "6.0.3",
> > "pear/net_smtp": "1.8.0"  <-- remove this when using MW 1.31.2
> >   },
> >   "extra": {
> > "merge-plugin": {
> >   "include": [
> >   "extensions/SyntaxHighlight_GeSHi/composer.json",
> > "extensions/Elastica/composer.json"
> >   ]
> > }
> >   }
> > }
> > ```
> >
> > SyntaxHighlight_GeSHi and Elastica are both tracking their REL1_31
> > branches, which haven't changed in about a year. Despite that, yesterday
> > running `composer update` caused no issues. Today I started getting the
> > following error:
> >
> > ```
> > [Wed Jun 26 16:16:18.364715 2019] [php7:warn] [pid 12304] [client
> > my.ip.add.ress:46156] PHP Warning:
> >
> >
> require(/opt/htdocs/mediawiki/vendor/composer/../jetbrains/phpstorm-stubs/PhpStormStubsMap.php):
> > failed to open stream: No such file or directory in
> > /opt/htdocs/mediawiki/vendor/composer/autoload_real.php on line 70,
> > referer: https://example.com/
> > [Wed Jun 26 16:16:18.364896 2019] [php7:error] [pid 12304] [client
> > my.ip.add.ress:46156] PHP Fatal error: require(): Failed opening required
> >
> >
> '/opt/htdocs/mediawiki/vendor/composer/../jetbrains/phpstorm-stubs/PhpStormStubsMap.php'
> >
> >
> (include_path='/opt/htdocs/mediawiki/vendor/pear/console_getopt:/opt/htdocs/mediawiki/vendor/pear/mail:/opt/htdocs/mediawiki/vendor/pear/mail_mime:/opt/htdocs/mediawiki/vendor/pear/mail_mime-decode:/opt/htdocs/mediawiki/vendor/pear/net_smtp:/opt/htdocs/mediawiki/vendor/pear/net_socket:/opt/htdocs/mediawiki/vendor/pear/pear-core-minimal/src:/opt/htdocs/mediawiki/vendor/pear/pear_exception:.:/usr/share/pear:/usr/share/php')
> > in /opt/htdocs/mediawiki/vendor/composer/autoload_real.php on line 70,
> > referer: https://example.com/
> > ```
> >
> > Using MW 1.32.1 and 1.31.2 I did the following:
> >
> > ```
> > rm -f ./composer.lock && composer install && sudo systemctl reload httpd
> > # no mention of phpstorm-stubs in output
> > # page loads fail
> >
> > rm -f ./composer.lock && composer install --no-dev && sudo systemctl
> reload
> > httpd
> > # output includes: Removing jetbrains/phpstorm-stubs (dev-master)
> > # page loads succeed (no phpstorm-stubs)
> >
> > composer install && sudo systemctl reload httpd
> > # output includes: Installing jetbrains/phpstorm-stubs (dev-master
> > 9d01ce3): Cloning 9d01ce3476
> > # page loads succeed (phpstorm-stubs @ 9d01ce3)
> >
> > composer update && sudo systemctl reload httpd
> > # output includes: Updating jetbrains/phpstorm-stubs dev-master (9d01ce3
> =>
> > 1b99060):  Checking out 1b9906084d
> > # page loads fail (phpstorm-stubs @ 1b99060)
> > ```
> >
> > I need the httpd reload to invalidate opcache in my config. Based upon
> the
> > above it seems that the phpstorm-stubs that is getting required from
> > non-dev dependencies 

Re: [Wikitech-l] New errors with composer update

2019-06-27 Thread Daren Welsh
(planted question)

What happens if you remove composer.local.json?



On Wed, Jun 26, 2019, 21:54 James Montalvo  wrote:

> 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": "3.0.0",
> "mediawiki/semantic-result-formats": "3.0.0",
> "mediawiki/semantic-compound-queries": "1.2.0",
> "mediawiki/sub-page-list": "1.5.0",
> "mediawiki/maps": "6.0.3",
> "pear/net_smtp": "1.8.0"  <-- remove this when using MW 1.31.2
>   },
>   "extra": {
> "merge-plugin": {
>   "include": [
>   "extensions/SyntaxHighlight_GeSHi/composer.json",
> "extensions/Elastica/composer.json"
>   ]
> }
>   }
> }
> ```
>
> SyntaxHighlight_GeSHi and Elastica are both tracking their REL1_31
> branches, which haven't changed in about a year. Despite that, yesterday
> running `composer update` caused no issues. Today I started getting the
> following error:
>
> ```
> [Wed Jun 26 16:16:18.364715 2019] [php7:warn] [pid 12304] [client
> my.ip.add.ress:46156] PHP Warning:
>
> require(/opt/htdocs/mediawiki/vendor/composer/../jetbrains/phpstorm-stubs/PhpStormStubsMap.php):
> failed to open stream: No such file or directory in
> /opt/htdocs/mediawiki/vendor/composer/autoload_real.php on line 70,
> referer: https://example.com/
> [Wed Jun 26 16:16:18.364896 2019] [php7:error] [pid 12304] [client
> my.ip.add.ress:46156] PHP Fatal error: require(): Failed opening required
>
> '/opt/htdocs/mediawiki/vendor/composer/../jetbrains/phpstorm-stubs/PhpStormStubsMap.php'
>
> (include_path='/opt/htdocs/mediawiki/vendor/pear/console_getopt:/opt/htdocs/mediawiki/vendor/pear/mail:/opt/htdocs/mediawiki/vendor/pear/mail_mime:/opt/htdocs/mediawiki/vendor/pear/mail_mime-decode:/opt/htdocs/mediawiki/vendor/pear/net_smtp:/opt/htdocs/mediawiki/vendor/pear/net_socket:/opt/htdocs/mediawiki/vendor/pear/pear-core-minimal/src:/opt/htdocs/mediawiki/vendor/pear/pear_exception:.:/usr/share/pear:/usr/share/php')
> in /opt/htdocs/mediawiki/vendor/composer/autoload_real.php on line 70,
> referer: https://example.com/
> ```
>
> Using MW 1.32.1 and 1.31.2 I did the following:
>
> ```
> rm -f ./composer.lock && composer install && sudo systemctl reload httpd
> # no mention of phpstorm-stubs in output
> # page loads fail
>
> rm -f ./composer.lock && composer install --no-dev && sudo systemctl reload
> httpd
> # output includes: Removing jetbrains/phpstorm-stubs (dev-master)
> # page loads succeed (no phpstorm-stubs)
>
> composer install && sudo systemctl reload httpd
> # output includes: Installing jetbrains/phpstorm-stubs (dev-master
> 9d01ce3): Cloning 9d01ce3476
> # page loads succeed (phpstorm-stubs @ 9d01ce3)
>
> composer update && sudo systemctl reload httpd
> # output includes: Updating jetbrains/phpstorm-stubs dev-master (9d01ce3 =>
> 1b99060):  Checking out 1b9906084d
> # page loads fail (phpstorm-stubs @ 1b99060)
> ```
>
> I need the httpd reload to invalidate opcache in my config. Based upon the
> above it seems that the phpstorm-stubs that is getting required from
> non-dev dependencies doesn't have issues, but the one from dev dependencies
> does. Or perhaps something to do with Composer or with the Composer merge
> plugin is causing one version of phpstorm-stubs to be checked out but the
> autoloader to be setup for the other version. Any thoughts?
>
> Thanks,
> James
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] 今週あなたを幸せにするものは何ですか? / What's making you happy this week? (Week of 16 June 2019)

2019-06-27 Thread Gergo Tisza
Regular practice of gratitude is well-understood to be a key element of
personal well-being (and while community health is a less researched area,
it seems likely that the benefits extend there too). As such these threads
are IMO very useful.

On Mon, Jun 24, 2019 at 6:40 PM Isarra Yos  wrote:

> Mailing lists aren't really a good place to establish consensus, as
> every time someone weighs in, everyone is notified, so 'me too's are
> frowned upon in principle.
>
> Perhaps you might want to create an actual poll about preferred venues
> etc onwiki and then send out a message to wikimedia-l linking to that if
> you want a more meaningful assessment.
>
> -I
>
> On 24/06/2019 01:42, Pine W wrote:
> > Hi,
> >
> > Thank you for the positive comments, Stephan and RhinosF1.
> >
> > I think that there is not a clear public majority opposed or in favor of
> > continuing to have these threads on Wikitech-l in their current form. The
> > relatively small number of people who commented suggests to me that most
> > readers of this list are neutral. I will err on the side of caution and
> > stop sharing the threads to Wikitech-l. I will continue to post these
> > threads to Wikimedia-l. Also, I will share modified versions of the
> content
> > for these threads in *The Signpost*
> > , starting
> with
> > the next issue of that publication. If someone would like to create a
> > Wikitech-specific version of these threads, I think that they are welcome
> > to do that.
> >
> > Pine
> > ( https://meta.wikimedia.org/wiki/User:Pine )
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
>
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l