Commit graph

1235 commits

Author SHA1 Message Date
Translation updater bot b52e64527c Localisation updates from https://translatewiki.net.
Change-Id: I5590a502af1e9b86e3214dac42323bb0f1018b49
2015-05-27 22:34:43 +02:00
Translation updater bot 9a860affeb Localisation updates from https://translatewiki.net.
Change-Id: Ic0525cd74f609462795449889a1d496ac92d1e87
2015-05-26 22:30:09 +02:00
Translation updater bot 9811129c07 Localisation updates from https://translatewiki.net.
Change-Id: Ie3a409e7cdf54a1599e95c3f368f27bf67ec2dd9
2015-05-25 22:41:41 +02:00
Translation updater bot deed4014ea Localisation updates from https://translatewiki.net.
Change-Id: I03659f75558e5dead637de1bc23e33c1f36fa458
2015-05-24 23:10:58 +02:00
Translation updater bot b379f9e486 Localisation updates from https://translatewiki.net.
Change-Id: I6fa55dfbbc02eb25dca346de8c72040f68ec42c0
2015-05-24 00:21:29 +02:00
Nemo bis a5bf9a0dca Actually use the parameter in wikieditor-toolbar-tool-table-toomany
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Wikieditor-toolbar-tool-table-toomany/ksh

Change-Id: Ibe8aaec4e5a2cd5986074ab4c5314af1c58c1041
2015-05-23 14:33:31 +02:00
Kunal Mehta 8a1920907c Actually allow people to override $wgWikiEditorFeatures
Change-Id: Ie38ddd4bb474026c592ba1678a19636fc9a20055
2015-05-23 11:00:30 +02:00
Translation updater bot 271ac0998d Localisation updates from https://translatewiki.net.
Change-Id: Ieaa9f5103089c4277a9d17c1d3a347ab74f18d7b
2015-05-21 23:04:42 +02:00
jenkins-bot db2e796b7f Merge "Remove name, type, description, homepage from composer.json" 2015-05-21 16:58:05 +00:00
Kunal Mehta 9de4e8cc00 Empty PHP entry point in favor of extension.json
Extension registration currently doesn't support merging 2d arrays
(T99257), so set it as an explicit global for now in a callback.

Change-Id: If7604a7ed8ec0f940c4a4d2988fcecc383303e1d
2015-05-19 20:48:10 -07:00
Kunal Mehta 7ffa38ea17 Remove i18n shim
Change-Id: I699cd50a49eb175385f34b2b1cccea217b503dee
2015-05-19 20:39:38 -07:00
Kunal Mehta a5032b1336 Sync extension.json with WikiEditor.php
* 3cb4714e15 "Bump version to 0.5.0 to reflect massive updates in
last year"
* c9c189fd9d "Add dependency on mw.user"

Change-Id: Ic17a7f6a1bf97c955b79c6500ddbec38201aa650
2015-05-19 20:36:36 -07:00
Translation updater bot db01dac77f Localisation updates from https://translatewiki.net.
Change-Id: I789b08d5cf2f7638123813c6085c37efa12bc3d5
2015-05-19 22:38:04 +02:00
Translation updater bot 84ea35f55c Localisation updates from https://translatewiki.net.
Change-Id: I82072547d80f8284209141472333d0b193bc1b82
2015-05-18 22:25:10 +02:00
Kunal Mehta 2746db5ee4 Remove name, type, description, homepage from composer.json
* Prevents from being accidentally added to packagist
* Duplicates extension.json

Change-Id: Ie9a783cf14f49dd6251bf511098d2e5aa21e5fe1
2015-05-18 01:32:02 -07:00
jenkins-bot 4ebb98f4b8 Merge "Bump version to 0.5.0 to reflect massive updates in last year" 2015-05-18 08:26:59 +00:00
Nemo bis 3cb4714e15 Bump version to 0.5.0 to reflect massive updates in last year
Plenty of things have happened since the last update in
For instance the apparent fix of T65762, addition of EventLogging
logging, countless fixes and removals of dead/unsupported code.

Also add current main maintainer as first author name and update
composer.json so that Jenkins jobs pass.

Change-Id: I77bc74f7f4dc2b48b9d970b8d51001d44c2b3005
2015-05-18 10:13:10 +02:00
Translation updater bot 12a438c976 Localisation updates from https://translatewiki.net.
Change-Id: If129c0f2b83ede28db7113273845b46690cb1ec0
2015-05-17 22:16:35 +02:00
Translation updater bot 0d5f77e0f5 Localisation updates from https://translatewiki.net.
Change-Id: Ic7e36025df5ca43111f14ff01989fb1f60cdc9df
2015-05-15 21:48:28 +02:00
Translation updater bot a812460daf Localisation updates from https://translatewiki.net.
Change-Id: I7c083c74bef27ea697173ec4092d426aee1dd5ea
2015-05-11 21:54:10 +02:00
Translation updater bot a08f2023c8 Localisation updates from https://translatewiki.net.
Change-Id: If693493a3b3555433a2810b559e3d2089575fcf5
2015-05-09 21:55:17 +02:00
Translation updater bot 3a55cd61c7 Localisation updates from https://translatewiki.net.
Change-Id: Ie2ca0681354ba695031ca65bc0150dc9940f35f9
2015-05-05 22:46:30 +02:00
jenkins-bot ae85104698 Merge "Populate abort.type in Schema:Edit logging" 2015-05-05 01:19:10 +00:00
Roan Kattouw d1270ed4b6 Populate abort.type in Schema:Edit logging
Using document.activeElement at the time of the unload
event as a proxy for whether the user is switching to VE.

Switching to VE is weighed more heavily than whether or not
the user made changes: switching to VE causes abort.type to be
'switchwithout' regardless of whether changes were made; only
if the user isn't switching to VE do we look at whether changes
were made and use 'abort' or 'nochange' as appropriate.

When wgAction === 'submit' (i.e. we're on a preview / show changes
view), it is assumed that the user has made changes.

Bug: T95938
Change-Id: Ic91b87c4fc5b601e1fd98b237100d808e97400bd
2015-05-04 18:15:18 -07:00
Translation updater bot 1ce9fed9f5 Localisation updates from https://translatewiki.net.
Change-Id: I85c64543fee39175b250d0af65e0c0fb8262c4b6
2015-05-04 22:29:36 +02:00
Roan Kattouw bfae89b9e0 Follow-up cc5ca3a2f6: now that we sample client-side, send all editingStatsIds to the client
If the server-generated editingStatsId was sampled out, we never sent
it to the client. This made this code confusing and difficult to test,
but it also caused a bug: the client-generated editingStatsId
(for when the user presses back) has no place to go in that case,
and gets dropped on the floor.

Bug: T95919
Change-Id: I05adb7116f1a8b91a9e54dfa70c745f12d7fbf3c
2015-05-01 16:06:15 -07:00
Translation updater bot 5f88ce5f57 Localisation updates from https://translatewiki.net.
Change-Id: If8eaa9611deddcb92ebb0721fe68f96747904e6c
2015-04-30 22:23:25 +02:00
Roan Kattouw cc5ca3a2f6 Perform 25% sampling on the client side as well
Needed because session IDs can be generated on the client
from the unload handler (when the back button is used).

Bug: T95919
Change-Id: Iac921bc36806205fc11ac76154ed8b3890f10d31
2015-04-28 14:55:54 -07:00
Translation updater bot 7806fff4c4 Localisation updates from https://translatewiki.net.
Change-Id: I55fb312e39ab00cfb6a20e1a2d486c104f78cdca
2015-04-25 23:09:23 +02:00
jenkins-bot 4ca5349725 Merge "Regenerate editingStatsId on unload" 2015-04-21 01:06:29 +00:00
Roan Kattouw 418baf1efa Regenerate editingStatsId on unload
So that the ID isn't reused when the user uses the back button
to navigate back to an edit page.

It would be more natural to use pageshow for this, but that
event also fires on initial load. There is a .persisted property
that indicates whether the page was recycled, but that
property doesn't work in Chrome:
https://code.google.com/p/chromium/issues/detail?id=344507

Doing this from pagehide doesn't work either, because that
runs before unload (at least in Chrome) and causes the
abort event to be emitted with the new ID. So instead,
regenerate the ID in the unload handler after the
abort event has been sent.

Bug: T95919
Change-Id: I20a602a7896e75ffa116dcd2c137306ca84164b6
2015-04-21 01:01:41 +00:00
Translation updater bot ab53b9ff7a Localisation updates from https://translatewiki.net.
Change-Id: I82a31b26ab8deebf2d98b226eb3bb6e80e6c3367
2015-04-20 22:19:30 +02:00
jenkins-bot a0f3f90f6a Merge "Add dependency on mw.user" 2015-04-20 00:29:40 +00:00
Roan Kattouw c9c189fd9d Add dependency on mw.user
ext.wikiEditor.js calls mw.user.getId() which sometimes causes
a JS error if WikiEditor loads faster than mw.user.

Change-Id: Ib2ca433a8785bebda241cc9095a80036b09b8e44
2015-04-19 17:21:28 -07:00
Roan Kattouw 7719b8275f Only trust POSTed stats IDs
editingStatsId shouldn't be carried over in GET requests.

Change-Id: I67fbcd85169f37a175838e3ef1f5d3a7ae5217a9
2015-04-19 16:31:10 -07:00
Roan Kattouw 1a96528f69 Remove extraneous comma
Change-Id: Ica0bb9f5a266e265647ade4a13e1e1d368c928d2
2015-04-19 15:35:39 -07:00
Translation updater bot 8b1ed94376 Localisation updates from https://translatewiki.net.
Change-Id: If463eb6c1933050789deda99e6efbedf32fcd194
2015-04-19 21:27:02 +02:00
Translation updater bot 3b9d915db5 Localisation updates from https://translatewiki.net.
Change-Id: I5a490224b231dcc8287f5ef3b72d960fef1e3e25
2015-04-15 23:44:17 +02:00
jenkins-bot 3d5c2def1f Merge "Rework color definitions in LESS" 2015-04-14 22:00:15 +00:00
jenkins-bot dc81d94b6f Merge "Collect only 25% of WikiEditor events" 2015-04-14 21:46:34 +00:00
Fomafix 465d411536 Rework color definitions in LESS
* Use #rgb instead of #rrggbb where possible.
* Use lower case letters.

Change-Id: I390bf23d44bc2d78eb1d2185fd89b94297d1f05f
2015-04-14 21:39:04 +00:00
jenkins-bot 4850e6cefa Merge "Try to unbreak WikiEditor modules" 2015-04-14 21:32:05 +00:00
Alex Monk d317164aeb Collect only 25% of WikiEditor events
By checking the first character of our session ID (which is just a random
hex digit)

Bug: T93201
Change-Id: If1f7e7c4da6c3f37533a6feba56ff6422f5b9750
2015-04-14 11:48:25 +01:00
Translation updater bot a4e7c8dbb4 Localisation updates from https://translatewiki.net.
Change-Id: I7f5169a3ea8301b76d48b7bf5e2c87d9e9bb2c5c
2015-04-13 22:37:08 +02:00
Translation updater bot 6d93515751 Localisation updates from https://translatewiki.net.
Change-Id: I314e555cd099e2768163fad088ef9c1ca283c659
2015-04-12 21:59:11 +02:00
Translation updater bot 0feeb1ef83 Localisation updates from https://translatewiki.net.
Change-Id: I550046367e68cddadd327b472f85dc1a82270c66
2015-04-11 21:35:18 +02:00
Translation updater bot 87b715cd2c Localisation updates from https://translatewiki.net.
Change-Id: I01ad28d8160f7559e0d63352850d91c3f40d19fb
2015-04-09 19:36:23 +02:00
Translation updater bot 9e6f6c8d96 Localisation updates from https://translatewiki.net.
Change-Id: I7128e1788bd034ee8003ccb49a8e993c7d866b95
2015-04-07 22:21:47 +02:00
Alex Monk 596a790d00 Try to unbreak WikiEditor modules
Some very weird issues going on involving multiple wikiEditor instances being
set up on the same textarea element. It's probably a race condition of some
sort and I'm hoping that restoring the modules like this will fix it.

Bug: T93384
Change-Id: I44c9c013993220ab709893d239614552d7b25d46
2015-04-07 19:51:58 +01:00
Translation updater bot b23d2ec081 Localisation updates from https://translatewiki.net.
Change-Id: Iaca5b69006ca1358dd1b2137fd72b8e5f31f321e
2015-04-06 21:52:16 +02:00