Commit graph

6622 commits

Author SHA1 Message Date
Erik Bernhardson 438a7d5bb4 Prevent undefined index warnings
In some languages the \w+ does not match the characters used
when translating UTC and the regular expression attempting to
match the timezone fails. Testing in prod wikis where this fails
such as ne.wikipedia.org shows it still works, it just generates
a more generic regular expression.

Since the overall process still works acceptably on the wikis outputting
warnings this patch just adds a guard to prevent the warning and does
not attempt to fix the underlying issue.

Bug: T76558
Change-Id: If8e1ddd2d642b042cc24c51d5ba5aa8b34bc9552
2014-12-09 01:43:03 +00:00
Translation updater bot c6b3a865fc Localisation updates from https://translatewiki.net.
Change-Id: I8887d6235dc24dc3ce18c777b2560c8c0a477d3c
2014-12-08 23:20:29 +01:00
Translation updater bot 19a962322b Localisation updates from https://translatewiki.net.
Change-Id: I555feaf643e53b4ddeab21842d65497f27d1aced
2014-12-07 21:53:21 +01:00
Translation updater bot cc77d3473b Localisation updates from https://translatewiki.net.
Change-Id: I6449d994ec16ebbb5ff4f9a29e930c0e2fe95c5b
2014-12-06 22:25:40 +01:00
Erik Bernhardson 2578c37d6c Bug: Fails signature detection with extra long signature
There were two different circumstances that could trigger echo's signature
detection to fail: multibyte characters in signature, and signatures near
$wgMaxSigChars limit that expanded past the limit due to wfEscapeWikiText().

This patch adjusts to use mb_substr to appropriatly handle the multibyte
characters, and adds a couple extra charactesr to $wgMaxSigChars to allow
for wfEscapeWikiText().  This isn't perfect, but a stricter implementation
would require much more work than i think we should spend here.

Bug: 73426
Change-Id: Ic51c2bc2a08600f188db13a9a0537f1321c9a655
2014-12-03 11:33:39 -08:00
Translation updater bot 21d59e334b Localisation updates from https://translatewiki.net.
Change-Id: I8aa80d62d584a3fbe29dbeedeb0a3249c767f3d9
2014-12-02 22:04:22 +01:00
Translation updater bot 4f3eb699a9 Localisation updates from https://translatewiki.net.
Change-Id: I85ff136faf5ad34329ac3b74d0ad412f334784f2
2014-12-01 22:21:28 +01:00
Translation updater bot 6bef694506 Localisation updates from https://translatewiki.net.
Change-Id: I893a68477efc83f448108753fd227e26aa461bf3
2014-11-29 12:52:21 +01:00
Translation updater bot bdec54d1db Localisation updates from https://translatewiki.net.
Change-Id: Id369420ea75bc15d37b3c148e33c5cbcdb074cbd
2014-11-26 22:31:03 +01:00
Translation updater bot 495bb34be0 Localisation updates from https://translatewiki.net.
Change-Id: I98c874bb95c903fda8eedd1be6c4b7df3371f034
2014-11-25 21:48:38 +01:00
Erik Bernhardson 347d68807f Support joins via EchoBatchRowIterator
Change-Id: Ib52e431edc2d05c4d033163bd64e28e127cad5f7
2014-11-24 23:23:09 +00:00
Translation updater bot a5e63c694c Localisation updates from https://translatewiki.net.
Change-Id: I3e78abc312328772ce8d35a9899c15d931ec7ee7
2014-11-24 22:01:58 +01:00
Translation updater bot b9e37dbe6f Localisation updates from https://translatewiki.net.
Change-Id: Ia61d49b37408ca4da9e02baf486556687985e8f8
2014-11-23 22:40:36 +01:00
Translation updater bot d95112fef9 Localisation updates from https://translatewiki.net.
Change-Id: I8cae2afc41c184addc01ca9c369086ff9e2928be
2014-11-21 22:08:20 +01:00
jenkins-bot b75256c946 Merge "Hygiene: Use the core AutoloadGenerator" 2014-11-20 03:42:10 +00:00
Translation updater bot d50ea850a9 Localisation updates from https://translatewiki.net.
Change-Id: I6f8341ef1067b16e39092f19e69f00404d0a7157
2014-11-19 22:36:47 +01:00
Erik Bernhardson 7dfbe0ab03 Hygiene: Use the core AutoloadGenerator
Change-Id: I500bb17680a8d0756f09d1f57a0e1a02439bf618
2014-11-19 09:16:43 -08:00
Translation updater bot 005387989b Localisation updates from https://translatewiki.net.
Change-Id: I5291539c00eeb7ffeec30eb47770ed8910aa35ec
2014-11-17 22:27:23 +01:00
Translation updater bot a15f9022bb Localisation updates from https://translatewiki.net.
Change-Id: Ic5f500dfca54029e4f8326cb6ae7bfc61010eea5
2014-11-16 22:48:40 +01:00
Translation updater bot 3f5c3144d2 Localisation updates from https://translatewiki.net.
Change-Id: Ib48d9b8ae7e6c65503a9bdb49066c8c2f62af98b
2014-11-15 23:12:33 +01:00
Translation updater bot c422354411 Localisation updates from https://translatewiki.net.
Change-Id: I9043d4761640fff7b7c79e4bb12fa9f3b2a9d7c4
2014-11-14 22:23:16 +01:00
Erik Bernhardson 4549a312cc Bug: parenthesis are allowed in namespaces
Bug: 73366
Change-Id: I7304046cfa7eda6356b2c61e716d76330cf1ee56
2014-11-13 11:52:06 -08:00
Translation updater bot 262a3a1587 Localisation updates from https://translatewiki.net.
Change-Id: Id49a10474f350144264f06ad8dcea42da66f8708
2014-11-12 21:50:59 +01:00
Translation updater bot 20b207efc3 Localisation updates from https://translatewiki.net.
Change-Id: Ida94b464554472c51bfbce99ab6a8e70d330e09d
2014-11-11 22:11:18 +01:00
Cmcmahon bf9773e6ed QA update for single quote preference
Change-Id: I35d22c47abd78a588f622b9b7cd07444c345db5a
2014-11-10 14:21:28 -07:00
Cmcmahon 6468f8e575 QA update quotes for string interpolation
Change-Id: Ic74333eea147183f407ffbe2b5319bb4683b5833
2014-11-10 14:14:52 -07:00
jenkins-bot 704049f360 Merge "QA: rubocop updates" 2014-11-10 17:51:17 +00:00
Cmcmahon 1ac73fa54b QA: rubocop updates
Change-Id: I580ec597dbb0d1dcd0830233995f94bc27d10278
2014-11-10 10:50:10 -07:00
Translation updater bot f50a641cc7 Localisation updates from https://translatewiki.net.
Change-Id: Ic3b4dabdcdbf53168735e6746a9ca4f5bc6b0a27
2014-11-09 21:50:15 +01:00
Translation updater bot 5e3370a542 Localisation updates from https://translatewiki.net.
Change-Id: I053b9ae4c77fb1d36b3097f7a906567b3a475e44
2014-11-08 22:17:34 +01:00
jenkins-bot e34ed8c61e Merge "QA: rubocop config updated to baseline again" 2014-11-07 21:21:23 +00:00
Cmcmahon 0bfd18dbc7 QA: rubocop config updated to baseline again
Change-Id: Ic399ef9bb681cfed25b0b775b0c430e338f11bd3
2014-11-07 14:19:31 -07:00
Translation updater bot 0ca69f2c44 Merge "Localisation updates from https://translatewiki.net." 2014-11-07 21:17:16 +00:00
Cmcmahon af6e1756c6 QA: update rubocop todo to baseline
Change-Id: Ia22d5ab6e15fb79fd2a27f6fa1b41864f7a09307
2014-11-07 14:11:54 -07:00
Translation updater bot a06556da80 Localisation updates from https://translatewiki.net.
Change-Id: I0c291da4a9d23f893d967831e278ca0fdba5cec0
2014-11-07 22:10:43 +01:00
Cmcmahon 227906b1f5 QA: update ruby gems
Change-Id: I1666058af0de35ac611eac0e284fa190bcf55966
2014-11-07 14:03:57 -07:00
Translation updater bot 32ff462db3 Localisation updates from https://translatewiki.net.
Change-Id: Ica057e02ddcc46c5ed58a0545929dbab5046a15b
2014-11-06 21:49:38 +01:00
jenkins-bot 36cd2c5ad5 Merge "Remove 'uselang' parameter hack which is no longer needed" 2014-11-05 21:53:30 +00:00
Kunal Mehta bf37b5261d Remove 'uselang' parameter hack which is no longer needed
ApiMain now has a 'uselang' parameter

Change-Id: Ifefc8aa09e51391ad2cf9c33beaf47848ed1f399
2014-11-05 13:34:42 -08:00
Translation updater bot 71fae902e3 Localisation updates from https://translatewiki.net.
Change-Id: Ic4a7cca21262e98b589dacd9520df30b03983f13
2014-11-05 21:42:10 +01:00
Translation updater bot 449b1b075c Localisation updates from https://translatewiki.net.
Change-Id: Id6848fc00a88d67d5ae98cbef5746a9d4593b309
2014-11-04 23:26:54 +01:00
jenkins-bot a784331871 Merge "Add i18n for API module help" 2014-11-04 00:08:12 +00:00
Translation updater bot 8d9fdc3a85 Localisation updates from https://translatewiki.net.
Change-Id: I5bde0dc863d28e70e4a4213bddf3ec4c8f26aa47
2014-11-02 21:57:54 +01:00
Translation updater bot c7c3f680d5 Localisation updates from https://translatewiki.net.
Change-Id: Id73d3d2d26d350196495d159155e4ff3573a179a
2014-10-29 22:05:24 +01:00
Brad Jorsch 09c881e1a0 Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-10-29 16:37:38 -04:00
Translation updater bot 9780f3b608 Localisation updates from https://translatewiki.net.
Change-Id: I53bb02d3fd6d1ca861ef4e3f18314f398fdcda87
2014-10-28 15:15:25 +01:00
Translation updater bot 46b9e78dc1 Localisation updates from https://translatewiki.net.
Change-Id: Ia45ebefcf5bcdd50a65b682401044ca997e23058
2014-10-27 20:10:09 +01:00
jenkins-bot 2946919a03 Merge "Limit Echo mentions to 20 users" 2014-10-27 15:40:38 +00:00
jenkins-bot ffe55d81b4 Merge "I-2. Change the default number of Flow Messages in the flyout" 2014-10-27 14:50:19 +00:00
Translation updater bot ea9d729758 Localisation updates from https://translatewiki.net.
Change-Id: I2307c0748992e6c0f3913e2ec85a7b56c530f62e
2014-10-26 21:07:39 +01:00