Commit graph

7046 commits

Author SHA1 Message Date
Amir E. Aharoni 94cb6103c2 Cleanup whitespace in modules/overlay/ext.echo.overlay.less
According to
https://www.mediawiki.org/wiki/Manual:Coding_conventions/CSS#LESS

Change-Id: I361909fcea67fa5e0e3cbb69711ede91417c4e2e
2015-01-09 19:50:08 +02:00
Antoine Musso 7f5b0c1793 Fix EchoTitleLocalCacheTest::testGet corner case
EchoTitleLocalCache title cache resolution ends up querying the database
to resolve title id to Title object.

In some corner case, we might only have one page in the database (UTPage
as provided by MediaWikiTestCase), thus the id 2 would not resolve to a
Title breaking the test.

Use insertPage() to ensure we have a second page.

Bug: T78592
Change-Id: Ia9dbb256f566e489e1c81d89b6a6077831e07fc3
2015-01-09 13:54:08 +01:00
Translation updater bot 171c863a48 Localisation updates from https://translatewiki.net.
Change-Id: I76346aacc6cb42cae123bc0afe511cb5d6707476
2015-01-08 22:43:34 +01:00
Ori Livneh ef502ed0ef Test if 'EventLogging' class exists, rather than deprecated function
efLogServerSideEvent() is deprecated and will be removed soon.

Change-Id: I79969b443e59a36a6d92ad33b3df98fb21f7f3b6
2015-01-07 10:27:52 -08:00
Timo Tijhof 4fdae24555 overlay: Remove needless specifity in .mw-echo-grey-link selector
Binding it to the element name should rarely be needed as it only
adds complexity with no clear benefit.

Nesting classes should also rarely be necessary as it basically
requires the code will never be embedded in or itself embed something
from another component (otherwise you'd clash with that other component's
class name, and if you don't clash, then it wasn't neccecary to
nest the class in the first place).

If the class is overlay-specfic it should be renamed to something
like '.mw-echo-overlay-grey-link'. Keeping it as-is and applying
directly though, as it doesn't appear overlay-specific.

Change-Id: Ied601058c8e501914113d542f88542c83157d5a0
2015-01-06 22:04:12 +00:00
Translation updater bot 6d9a04ac8b Localisation updates from https://translatewiki.net.
Change-Id: I604a6cf2efafdda418cb0679ffed6bf0d9eb5b54
2015-01-05 23:07:18 +01:00
Translation updater bot 26e4db7ff7 Localisation updates from https://translatewiki.net.
Change-Id: I02ca232b29c641c4315e6b0f672187f3033ad63c
2015-01-03 23:01:33 +01:00
Translation updater bot 58b5f77815 Localisation updates from https://translatewiki.net.
Change-Id: Ic9ff06b4b5dc40e5a677a48758bc920dea426a20
2015-01-02 22:33:21 +01:00
Translation updater bot d11b75687e Localisation updates from https://translatewiki.net.
Change-Id: I7442645e759f8cbf83c5e24e88a5f7b73adbc83c
2014-12-30 21:08:42 +01:00
Translation updater bot 703b2db08b Localisation updates from https://translatewiki.net.
Change-Id: I21d71ddcf0927cc379191584c696aaa968915e8e
2014-12-28 21:43:55 +01:00
Translation updater bot 12932894c5 Localisation updates from https://translatewiki.net.
Change-Id: Ib983da41ca63c5bf95181707c92812a82aad8813
2014-12-27 19:51:03 +01:00
Translation updater bot 43dab3cbfa Localisation updates from https://translatewiki.net.
Change-Id: I8602662fd0f152b013b526d4974e19a882e0ca16
2014-12-22 22:42:46 +01:00
Translation updater bot 8abd52b439 Localisation updates from https://translatewiki.net.
Change-Id: Ib6ca99a1dcac8134663d69d4f36e37f7d61769ee
2014-12-20 22:22:06 +01:00
Translation updater bot f693796c8e Localisation updates from https://translatewiki.net.
Change-Id: I3a8d7636767e5ecd34b39b178f3d30b76198707c
2014-12-18 23:19:06 +01:00
Matthias Mullie 607c864608 Page linked by another user : link to the original article
Fixes T55647

Bug: T55647
Change-Id: I09c2cfdfe165a0df262848d9287ce2ff962b4b8a
2014-12-18 12:12:17 +01:00
Translation updater bot aad65479a2 Localisation updates from https://translatewiki.net.
Change-Id: I694bb63c1290261f847403aaef3c39b18867d5bd
2014-12-17 21:48:10 +01:00
Translation updater bot 10653bb27e Localisation updates from https://translatewiki.net.
Change-Id: I73bf6da53dc839fd2376b1626067b632e3bbd074
2014-12-16 21:56:43 +01:00
Matthias Mullie f048d248bd Clarify alert/messages meaning
Bug: T72255
Change-Id: I2dde0c2e2c7bbd89f11112ceb738b19a49fda21b
2014-12-16 14:27:10 +01:00
Translation updater bot 875bccdc40 Localisation updates from https://translatewiki.net.
Change-Id: I4ce6d25fd8beda07ddc027adee882d0bbb5db690
2014-12-15 22:18:31 +01:00
Translation updater bot 46c8edb9b0 Localisation updates from https://translatewiki.net.
Change-Id: Iddf4e00009d26ff816d6aa1cc9ae948bca1e9c54
2014-12-14 22:20:19 +01:00
Translation updater bot 893624d650 Localisation updates from https://translatewiki.net.
Change-Id: I5f098e0ee8a7dd7fb2736b2fc132481c2e6fd6fd
2014-12-13 22:29:08 +01:00
Translation updater bot f2e7c8056d Localisation updates from https://translatewiki.net.
Change-Id: I94bebbd8f03253e4ab2cbaf75045339e204f494b
2014-12-11 23:50:31 +01:00
jenkins-bot 968b05b944 Merge "Prevent undefined index warnings" 2014-12-09 23:32:51 +00:00
Translation updater bot 66b530ed0b Localisation updates from https://translatewiki.net.
Change-Id: I8a242f5a40a4ae05bdafe197758b3e86b03bf476
2014-12-09 21:56:22 +01:00
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