[Wikitech-l] s5 primary master switchover (read-only required) 15th October 05:00 AM UTC

2019-10-01 Thread Manuel Arostegui
Hello, We have requested a 30 minutes read-only window for s5 wikis (T234303) for the 15th October from 05:00-05:30 AM UTC to switchover that section primary database master (T234300) db1070 is an old host and out of warranty that will be decommissioned (T217396). The new master will be db1100.

[Wikitech-l] 503 Backend fetch failed

2019-10-01 Thread Bináris
Hi folks, I got this message while running a bot: Result: 503 Backend fetch failed I know HTTP 503 message, but I never got it during botwork. I restarted it successfully. Is this normal? -- Bináris ___ Wikitech-l mailing list

Re: [Wikitech-l] 503 Backend fetch failed

2019-10-01 Thread John
I’ve seen it a number of times often just redoing the request makes it go away On Tue, Oct 1, 2019 at 9:06 AM Bináris wrote: > Hi folks, > I got this message while running a bot: > Result: 503 Backend fetch failed > > I know HTTP 503 message, but I never got it during botwork. I restarted it >

Re: [Wikitech-l] Adding a gadget to VisualEditor

2019-10-01 Thread Greg Rundlett (freephile)
Yaron Koren is working on a BPMN extension to MediaWiki, and just presented his work at SMWCon Fall 2019 Greg Rundlett https://eQuality-Tech.com https://freephile.org On Thu, Sep 26, 2019 at 11:08 PM Mukunda Modell wrote: > I have often thought of

Re: [Wikitech-l] Upcoming Search Platform Office Hours—October 2nd

2019-10-01 Thread Trey Jones
Search Platform Office Hours start in about 24 hours. Hope to talk to you there! On Wed, Sep 25, 2019 at 12:39 PM Trey Jones wrote: > The Search Platform Team > usually holds > office hours the first Wednesday of each month. Come talk

Re: [Wikitech-l] Book referencing proposal

2019-10-01 Thread Ryan Kaldari
Thanks for the feedback, Brad. To clarify, I know you can use {{#tag:ref}} instead of as a workaround, but that's a terrible solution and undocumented to boot. T3310 (allowing nested tags) has been batted

Re: [Wikitech-l] PLURAL in mw.msg

2019-10-01 Thread Jeroen De Dauw
Hey Bawolff, Including mediawiki.jqueryMsg fixed the issue. Thanks a bunch! I concur this is rather peculiar design. It'd be helpful to have some indication of this in the method docs of the mw.msg() code. Cheers -- Jeroen De Dauw | www.EntropyWins.wtf |

[Wikitech-l] WebTestCase

2019-10-01 Thread Jeroen De Dauw
Hey, Does MediaWiki have something similar to Symfony's WebTestCase? ( https://symfony.com/doc/current/testing.html#functional-tests) I want to write some integration tests in the form of "does web page /wiki/MyWikiPage contain HTML snippet XYZ". Cheers -- Jeroen De Dauw | www.EntropyWins.wtf

Re: [Wikitech-l] PLURAL in mw.msg

2019-10-01 Thread Krinkle
On Wed, 2 Oct 2019 at 03:17, Jeroen De Dauw wrote: > > Including mediawiki.jqueryMsg fixed the issue. Thanks a bunch! > > I concur this is rather peculiar design. It'd be helpful to have some > indication of this in the method docs of the mw.msg() code. It is documented in the block for

Re: [Wikitech-l] 503 Backend fetch failed

2019-10-01 Thread Bináris
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. > Perhaps it was

[Wikitech-l] Fresh-node: 19.10.1

2019-10-01 Thread Krinkle
I've published a new version of Fresh. Fresh is a simple way to create light and fast isolated contexts in your Terminal. For example, when you need to run 'npm' commands that install and run code needed for ESLint, Grunt or Selenium tests. Get started at https://github.com/wikimedia/fresh See

Re: [Wikitech-l] 503 Backend fetch failed

2019-10-01 Thread Gergő Tisza
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

[Wikitech-l] [Outreachy Round 19] Contribution period is now open!

2019-10-01 Thread Srishti Sethi
Hello everyone, Wikimedia has listed seven projects in Outreachy Round 19: https://www.outreachy.org/apply/project-selection/#wikimedia :) One of these projects is documentation-related, one related to quality assurance and remaining five are coding projects: 1. A system for releasing data

Re: [Wikitech-l] 503 Backend fetch failed

2019-10-01 Thread MusikAnimal
There is a similar issue tracked at https://phabricator.wikimedia.org/T233271. ~MA On Tue, Oct 1, 2019 at 10:14 AM John wrote: > I’ve seen it a number of times often just redoing the request makes it go > away > > On Tue, Oct 1, 2019 at 9:06 AM Bináris wrote: > > > Hi folks, > > I got this

Re: [Wikitech-l] Docs for using Mediawiki Docker Image

2019-10-01 Thread David Barratt
I started a page at: https://www.mediawiki.org/wiki/Docker/Hub please improve it. :) And yes, to answer your question, there should be a single container per process ( https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#decouple-applications). Since node.js is a separate

Re: [Wikitech-l] URL parameter fetching (mediawiki)

2019-10-01 Thread bawolff
MediaWiki coding conventions is to use the WebRequest object. In the context of a SpecialPage subclass, you would probably do $this->getRequest()->getVal( 'reason' ); [Note: This combines both POST and GET values] See

Re: [Wikitech-l] 503 Backend fetch failed

2019-10-01 Thread David Barratt
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

Re: [Wikitech-l] Book referencing proposal

2019-10-01 Thread Adam Wight
On Tue, Oct 1, 2019 at 5:05 PM Ryan Kaldari wrote: > The bug I linked to, T7265 , > seems > like a relatively simple, straightforward solution to a common use case > that still doesn't have a real solution: creating footnotes that have > references. Hi

[Wikitech-l] Docs for using Mediawiki Docker Image

2019-10-01 Thread Hogan (US), Michael C
What's the best place (wiki page) to start learning how to use the DockerHub image for MediaWiki? The image source is at https://github.com/wikimedia/mediawiki-docker and I found Docker/SIG. I understand the basic setup, but am new to Docker and don't understand how to approach

Re: [Wikitech-l] [Outreachy Round 19] Contribution period is now open!

2019-10-01 Thread Brian Wolff
Just in case anyone had the same question as i did, the campaign project is in the context of wiki education dashboard (I was originally assuming upload wizard campaigns). Good luck to all the participants. -- Brian On Tuesday, October 1, 2019, Srishti Sethi wrote: > Hello everyone, > >

[Wikitech-l] URL parameter fetching (mediawiki)

2019-10-01 Thread John Shepherd
Is there a “special” way in mediawiki to get parameters passed by URL or do you just use the conventional PHP way ($_GET)? I am trying to check if “Special:CreateAccount?reason=“ is set/has a value (and what that value is). Thank you for your assistance, trying to be convention compliant.