Commit graph

1253 commits

Author SHA1 Message Date
Translation updater bot 69ee5e18af Localisation updates from https://translatewiki.net.
Change-Id: I6c008413b9288d6ae2cad8f2032a970f21ff3564
2015-06-21 20:07:48 +02:00
Fomafix edbee613fc Support fallback languages for icons
Use mw.language.getFallbackLanguageChain() to get the
fallback language chain. This chain currently always contains 'en'
as last element. Remove the last element to prevent a fallback to 'en'.

Reimplement autoIconOrOffset to correctly prefer sprite before icon.

Bug: T87247
Change-Id: I452dd45d20ea4dd542d63274b7aad0272e20ea12
2015-06-21 15:42:18 +00:00
Kunal Mehta d408916a32 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.8.0 → 0.9
* mediawiki/mediawiki-codesniffer: 0.2.0 → 0.3.0

Change-Id: I4e6bc08d77da698fe8b5654a205a583ae60f9f35
2015-06-19 13:37:49 -07:00
Translation updater bot fe6b6eb788 Localisation updates from https://translatewiki.net.
Change-Id: Ie895708896af87592b7d5b522f50cd5fc07350e2
2015-06-15 23:06:44 +02:00
Translation updater bot 6ad38fffa2 Localisation updates from https://translatewiki.net.
Change-Id: Ief5626f1f8c12fa4a6a4c4f7adf6f62bd8e546a2
2015-06-14 21:18:32 +02:00
Translation updater bot d45c1e5d9c Localisation updates from https://translatewiki.net.
Change-Id: Ida047fa058812cea05847399bbe33b882950fca7
2015-06-13 22:35:09 +02:00
Translation updater bot 1542675cf5 Localisation updates from https://translatewiki.net.
Change-Id: Ib9d35a450e612e27acb16fbdc2eab8517ad9d59b
2015-06-11 21:18:06 +02:00
Translation updater bot 003b5dbd65 Localisation updates from https://translatewiki.net.
Change-Id: I34a6239b6591f8c156542ee3574e9229d6a021ea
2015-06-09 22:53:45 +02:00
Translation updater bot 92850b2bfe Localisation updates from https://translatewiki.net.
Change-Id: I38ce6a566abd196ab03aea7f9567e2c0710f5cb7
2015-06-08 22:03:13 +02:00
Translation updater bot 634ed5c0d7 Localisation updates from https://translatewiki.net.
Change-Id: I2437c2a0da05eac8f5df832ecc5ce38cc670d7ef
2015-06-07 22:36:07 +02:00
Translation updater bot 19996221c3 Localisation updates from https://translatewiki.net.
Change-Id: I0d28e8e73158c23d902dc814bb8a8f9eec8b4876
2015-06-06 22:26:57 +02:00
Translation updater bot 426f8d623b Localisation updates from https://translatewiki.net.
Change-Id: Ie32846f745e13bbf602c010cbf775d62d3d61a54
2015-06-05 21:19:32 +02:00
Kunal Mehta 6e25cc7136 Update mediawiki/codesniffer to 0.2.0
Change-Id: I0934cd9a4d2acab01b50931c6483cd718921e1b1
2015-06-02 16:53:06 -07:00
Translation updater bot 676ed08077 Localisation updates from https://translatewiki.net.
Change-Id: Ia7af92e847ca0b142ade665c4b2c665df2a93873
2015-06-01 23:01:18 +02:00
Translation updater bot 0235fa12bf Localisation updates from https://translatewiki.net.
Change-Id: I3cb5fdeb4404363c13fb5848b3940a7000f62c4e
2015-05-30 23:13:05 +02:00
Kunal Mehta 6080404f7d Set manifest_version in extension.json
Bug: T100745
Change-Id: I002981d1b755116757a4789fd2f8d198200ab7fc
2015-05-28 20:38:52 -07:00
jenkins-bot 7744070c40 Merge "Explicitly define module position" 2015-05-28 08:50:32 +00:00
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
Gilles Dubuc 849cbf2173 Explicitly define module position
Style modules currently added through addModuleStyles default
to being in the head ("top" position). This is an unhealthy default,
since only critical styles that are needed at pageload should be
in the head. In order to be able to switch the default to "bottom",
existing module positions have to be defined explicitly.

Bug: T97410
Change-Id: I8dbee3e4edf673341e7eb49f360e83e4dac54b17
2015-05-26 12:24:31 +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