[Wikitech-l] HTTP Error 504 Gateway timeout when running a robot

2012-12-08 Thread Strainu
Hi, I'm running a robot that makes relatively small changes in ~250KB pages. Starting from November, the change is made, but I recieve a 504 error. This does not happen when making the change manually and it did not happen earlier in the year (say, September). The code is a custom,

Re: [Wikitech-l] HTTP Error 504 Gateway timeout when running a robot

2012-12-08 Thread Maarten Dammers
Hi strainu, Op 8-12-2012 11:21, Strainu schreef: Hi, I'm running a robot that makes relatively small changes in ~250KB pages. Starting from November, the change is made, but I recieve a 504 error. This does not happen when making the change manually and it did not happen earlier in the year

Re: [Wikitech-l] slight change to the review workflow in Gerrit

2012-12-08 Thread Bryan Tong Minh
On Fri, Dec 7, 2012 at 1:58 PM, Derric Atzrott datzr...@alizeepathology.com wrote: Why not just add (more) slaves? Computing power is much cheaper than developer time. I absolutely agree. I'm also in agreement on this one. Having tests run after code review negates the point of

Re: [Wikitech-l] Unit tests scream for attention

2012-12-08 Thread Platonides
They mostly run for me. Those failing are: - PreferencesTest and TitleMethodsTest requiring a DB but not in Database group. - SanitizerTest::testRemovehtmltagsOnHtml5Tags skipping the closing tag an data, mark and time (???) - IPTCTest::testIPTCParseForcedUTFButInvalid with php 5.4. Reported in

Re: [Wikitech-l] Unit tests scream for attention

2012-12-08 Thread Niklas Laxström
On 8 December 2012 21:22, Platonides platoni...@gmail.com wrote: They mostly run for me. Yep, mostly: Tests: 4653, Assertions: 556494, Failures: 119, Errors: 17, Incomplete: 3, Skipped: 15. I've not even looked at most of these failures because of the fatal errors. Thanks to Jeroen and Brad

Re: [Wikitech-l] unit testing foreign wiki access

2012-12-08 Thread Christian Aistleitner
Hi Daniel, sorry for chiming in late. But better a late response than none ;-) On Tue, Dec 04, 2012 at 10:54:08AM +0100, Daniel Kinzler wrote: [ LoadBalancer, DBAccessBase, and ORMTable integration help when developing components that access another wiki's database. ] But. How do I test

Re: [Wikitech-l] unit testing foreign wiki access

2012-12-08 Thread Daniel Kinzler
Hi Christian On 08.12.2012 22:16, Christian Aistleitner wrote: However, we actually do not need those databases and tables for testing. For testing, it would be sufficient to have mock database objects [1] that pretend that there are underlying databases, tables, etc. Hm... so, if that mock

Re: [Wikitech-l] Please help MediaWiki I18n/L10n improve

2012-12-08 Thread Federico Leva (Nemo)
Just FYI, TWN staff has seen no help at all in the last few months, so everything in http://lists.wikimedia.org/pipermail/wikitech-l/2012-August/062960.html is still valid and https://bugzilla.wikimedia.org/38638 dependencies are longer than ever. The small good news is that now good devs

Re: [Wikitech-l] unit testing foreign wiki access

2012-12-08 Thread Platonides
Do you really need SQL access to wikidata? I would expect your code to go through a WikidataClient class, which could then connected to wikidata by sql, http, loading from a local file... ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

[Wikitech-l] Tutorial videos slides on Puppet, security, performance profiling, i18n, RL, extensions, Lua...

2012-12-08 Thread Sumana Harihareswara
Can someone help me out by wiki-gnoming the videos and slides referenced below, plus those in https://www.mediawiki.org/wiki/Category:Tutorials ? -- Sumana Harihareswara Engineering Community Manager Wikimedia Foundation On 09/11/2012 11:04 PM, Erik Moeller wrote: Subject: Tutorial videos from

Re: [Wikitech-l] Nobody Wikidata bugs: notify when you start working on a bug

2012-12-08 Thread Roan Kattouw
On Thu, Dec 6, 2012 at 10:07 AM, Quim Gil q...@wikimedia.org wrote: Hi, thanks to the metrics reports now we know that the top bug fixers in November were Nobody (228) and Wikidata bugs (83)... followed by Michael Dale (28), Roan Kattouw (23), etc.

Re: [Wikitech-l] Nobody Wikidata bugs: notify when you start working on a bug

2012-12-08 Thread Quim Gil
On 12/08/2012 08:25 PM, Roan Kattouw wrote: On Thu, Dec 6, 2012 at 10:07 AM, Quim Gil q...@wikimedia.org wrote: Hi, thanks to the metrics reports now we know that the top bug fixers in November were Nobody (228) and Wikidata bugs (83)... followed by Michael Dale (28), Roan Kattouw (23), etc.