[Wikitech-l] MediaWiki development images now published from deployment pipeline

2019-10-03 Thread Brennen Bearnes
Hey all,

Just a quick announcement that we (Release Engineering) are now
publishing Docker images[0] for mediawiki/core from Zuul's postmerge
pipeline.  At present, the image built from the most recent merge to
master is always tagged "dev".

These images are intended for use with local-charts[1], and make some
assumptions specific to that environment.  I hope to make them more
generally usable in the long run.

Images are built from specifications in .pipeline/config.yaml[2] and
.pipeline/blubber.yaml[3].

Please let me know if you have any concerns or questions!

[0]. https://tools.wmflabs.org/dockerregistry/wikimedia/mediawiki-core/tags/
[1]. https://gerrit.wikimedia.org/r/plugins/gitiles/releng/local-charts/
[2].
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/.pipeline/config.yaml
[3].
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/master/.pipeline/blubber.yaml

Thanks,

-- Brennen



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

[Wikitech-l] Announcing: First Quarterly Technical Community Newsletter!

2019-10-03 Thread Sarah R
Hi Everyone,

We’re happy to announce the launch of the brand new quarterly Technical
Community Newsletter
. The
newsletter is compiled by the Wikimedia Developer Advocacy Team. It aims to
share highlights, news, and information of interest from and about the
Wikimedia technical community.

The First Edition of the Technical Community Newsletter

launches today! Find out more about what technical contributors have been
up to this past quarter, upcoming conferences & calls for papers, and how
to get involved.

Like all good things, the first edition starts as a prototype. Some ideas
we had in mind for additional sections/categories are “Tool of the Season”,
“Wikimedia in numbers” (i.e. around code review, new developer accounts,
etc). Ideas about what you would like to see and highlights you would like
to share are welcome
!

Subscribe to the Technical Community Newsletter
,
if you'd like to keep up with essential updates and information.

Kindly,

Sarah R. Rodlund
Technical Writer, Developer Advocacy

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

[Wikitech-l] TechCom Radar 2019-10-02

2019-10-03 Thread Alexandra Paskulin
Hi all,

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

* Approved: Drop IE6 and IE7 basic compatibility and security support
. This RFC removes IE6 and IE7
from "basic" support
in the MediaWiki compatibility table.

* Discussed: Core REST API namespace and version <
https://phabricator.wikimedia.org/T232485>.
This RFC proposes a namespace and version policy for routes in the
MediaWiki REST API.

* Discussed: Section header "share" link <
https://phabricator.wikimedia.org/T18691>.
This RFC aims to make it easier for readers to share links to sections on
wiki pages.

* Discussed: Serve Main Page of Wikimedia wikis from a consistent URL
. This RFC proposes serving a
wiki’s main page from
the domain root. The configuration option has been merged as disabled by
default, and discussion
with stakeholders is ongoing.

* No IRC meeting next week.

You can also find our meeting minutes at


See also the TechCom RFC board
.

If you prefer you can subscribe to our newsletter here


Best,
- Alex

-- 
Alex Paskulin
Technical Writer
Wikimedia Foundation
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] WebTestCase

2019-10-03 Thread David Barratt
> What is this "controller" in MediaWiki context? Do you have any example of
> how this would work?


For instance, you could call the `::execute()` method on a class that
extends SpecialPage directly. It might be helpful to know what you are
trying to do though.

Basically what Gergo said. :)

On Wed, Oct 2, 2019 at 11:33 PM Jeroen De Dauw 
wrote:

> Hey,
>
> Your best bet might be making actual web requests. You can use Selenium
> > from PHPUnit, ...
> >
>
> Is there an example of a test doing either of those?
>
> The web request case is apparently not as simple as stuffing
> Title::newFromText()->getCannonicalUrl() into Http::get() and I'd rather
> not be making an abstraction for this myself as it requires a bunch of MW
> knowledge I do not have.
>
> Therefore, you must call the "controller" directly from your test.
> >
>
> What is this "controller" in MediaWiki context? Do you have any example of
> how this would work?
>
> Cheers
>
> --
> Jeroen De Dauw | www.EntropyWins.wtf  |
> www.Professional.Wiki 
> Entrepreneur | Software Crafter | Speaker | Open Souce and Wikimedia
> contributor
> ~=[,,_,,]:3
> ___
> 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] 503 Backend fetch failed

2019-10-03 Thread Bináris
It becomes more and more frequent in the last couple of days. This time I
ran into the error in the web browser and got a copyable error message:

If you report this error to the Wikimedia System Administrators, please
include the details below.

Request from 185.199.28.134 via cp1077 cp1077, Varnish XID 728994654
Error: 503, Backend fetch failed at Thu, 03 Oct 2019 12:46:24 GMT
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] 503 Backend fetch failed

2019-10-03 Thread Bináris
Just another case one minute ago:
HTTPError: HTTP Error 503: Backend fetch failed
ERROR: HTTP Error 503: Backend fetch failed
Saving page [[hu:A Real Madrid CF 2017–2018-as szezonja]] failed!

David Barratt  ezt írta (időpont: 2019. okt. 1., K,
22:57):

> If you could provide the URL or the request that might be helpful. I know
> for instance that I have sometimes received that error on
> https://query.wikidata.org/ when there is a query timeout.
>
> On Tue, Oct 1, 2019 at 4:35 PM Gergő Tisza  wrote:
>
> > 503 Backend fetch failed is a generic error message you get when the
> > application server breaks so badly that it fails to even return an error
> > message (e.g. PHP fatal errors can do this), so Varnish has to make up
> its
> > own error message.
> > ___
> > 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



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

Re: [Wikitech-l] WebTestCase

2019-10-03 Thread Željko Filipin
Hi Jeroen,

If you're asking for examples of Selenium tests, take a look at:

https://www.mediawiki.org/wiki/Selenium/Node.js
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/%2B/master/tests/selenium/

Željko

On Thu, Oct 3, 2019 at 5:33 AM Jeroen De Dauw 
wrote:

> Your best bet might be making actual web requests. You can use Selenium
> > from PHPUnit, ...
> >
>
> Is there an example of a test doing either of those?
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] WebTestCase

2019-10-03 Thread Gergo Tisza
On Thu, Oct 3, 2019 at 5:33 AM Jeroen De Dauw 
wrote:

> The web request case is apparently not as simple as stuffing
> Title::newFromText()->getCannonicalUrl() into Http::get()
>

That's pretty much how I would try it (if I couldn't avoid testing the full
web stack instead of just calling the relevant special page or action
directly).
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l