Commit graph

3072 commits

Author SHA1 Message Date
Ed Sanders 2dd87044e2 Provide #setActive API for buttons
Change-Id: I3e6f65f6f290778d3fbfa22f5d212c26fee12a86
2018-03-23 13:39:01 +00:00
Ed Sanders e7fea7563c Toolbar: Increase opacity on active tools
Change-Id: Ib83fa83794b9ecdb091aa14a5c4002640fc2f2fc
2018-03-22 15:33:52 +00:00
jenkins-bot 8f6a39059e Merge "Provide a 'tool-active' styling for toggle buttons" 2018-03-21 23:15:58 +00:00
jenkins-bot 76dcd4216a Merge "Allow toolbar items to use OOUI icons as buttons" 2018-03-21 22:50:43 +00:00
jenkins-bot b0a5d572d1 Merge "Remove never-used tools" 2018-03-21 19:38:23 +00:00
Ed Sanders a2e2b69241 Provide a 'tool-active' styling for toggle buttons
Based on styling used by CodeMirror extension.

Change-Id: I74b7399c6dba3409b26656ae89fa3a569c69fef3
2018-03-21 18:31:36 +00:00
Ed Sanders 6b9aa52894 Allow toolbar items to use OOUI icons as buttons
Change-Id: I04e8b6c395e9569e5593378a556e239edc254186
2018-03-21 18:31:21 +00:00
Ed Sanders accdb762f1 Remove never-used tools
Five tools are registered in toolbar.config, then overridden
in dialogs.config with more advanced verisons. As the dialog
module is no longer optional, the simplified versions are
no longer accessible.

Change-Id: Ib66025d209a36fb821c5619cbfe63330fb6c9a1f
2018-03-21 17:28:32 +00:00
Translation updater bot 781b2cfbe4 Localisation updates from https://translatewiki.net.
Change-Id: I2dcae9a17c68b4269bd2bd4de2e3a2d475e25846
2018-03-19 22:20:12 +01:00
Translation updater bot 4c59e6e706 Localisation updates from https://translatewiki.net.
Change-Id: I4cedfaba588aaee7f05055b8cb2da25991589e7c
2018-03-15 22:52:22 +01:00
Translation updater bot def4f40524 Localisation updates from https://translatewiki.net.
Change-Id: I7d579a784fd62ef32423f309f2c367c466fac0c1
2018-03-14 22:23:56 +01:00
jenkins-bot 5ce2c13463 Merge "Avoid '|' in title is interpreted as separator on API request" 2018-03-12 22:36:25 +00:00
Translation updater bot f66a9ff625 Localisation updates from https://translatewiki.net.
Change-Id: I2aad2a5b52262f0ce5ecac3495236811ad576f17
2018-03-11 22:31:26 +01:00
Translation updater bot 837a991293 Localisation updates from https://translatewiki.net.
Change-Id: I0cce5fd36008e7811d920657866d40793dfa2681
2018-03-10 22:14:34 +01:00
libraryupgrader 4c1ae8ef66 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I6a0806caf34b947dab3b41cd9119aed72a458b36
2018-03-10 08:12:27 +00:00
jenkins-bot 29d0094ca4 Merge "Use display:inline-block for special character buttons" 2018-03-05 17:11:37 +00:00
jenkins-bot b54c262e0e Merge "Use SPDX 3.0 license identifier" 2018-03-04 14:59:11 +00:00
Fomafix d5648e2c95 Avoid '|' in title is interpreted as separator on API request
mw.Api uses U+001f as separator when the title contains a '|'.
This is activated by using an array instead of a string.
The local check for an invalid title because of a '|' is not necessary
anymore.

This changes requires MediaWiki 1.28+ which is already required.

Change-Id: I8450c478d42158f064bf5309efae6bd1d81244ea
2018-03-04 09:44:27 +01:00
Translation updater bot 814a9b9292 Localisation updates from https://translatewiki.net.
Change-Id: Ia35f697c52bf67ddfa6cad9f8f2b0eb43b941238
2018-03-03 22:25:58 +01:00
Kunal Mehta 1545b0ae5b Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: If7c5a99f6a3a5da59e83979db9d4e13ed5491320
2018-03-02 15:53:24 -08:00
Translation updater bot fa50c88678 Localisation updates from https://translatewiki.net.
Change-Id: Ia1c53142c67f50bc99ee3e747602eb52473065b0
2018-02-28 22:27:48 +01:00
Amire80 2592dc0e4c Use display:inline-block for special character buttons
This allows them to use the natural text direction which will
be right-to-left for right-to-left alphabets.

Also fix bottom padding to match top padding.

Bug: T56310
Change-Id: I7b2ebf9d1682fe827517fc959618531c904c94ca
2018-02-28 13:56:07 +00:00
Translation updater bot c56b21bdad Localisation updates from https://translatewiki.net.
Change-Id: Icaa0fa0f0c4e8915ace48fce90d2668636201f88
2018-02-25 22:34:33 +01:00
libraryupgrader 92aa35cd99 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I0c2bbedcd7f15e49029c91c65207cd40796eba73
2018-02-25 12:23:53 +00:00
Translation updater bot 935f2b62f9 Localisation updates from https://translatewiki.net.
Change-Id: Iddd8536c0bde01c8d59f353b26c95d0d394bc59f
2018-02-22 23:22:42 +01:00
Translation updater bot 8c7bda5212 Localisation updates from https://translatewiki.net.
Change-Id: Iee52f714b514287cc82b6df69ccbb5a29022238c
2018-02-18 22:41:17 +01:00
libraryupgrader e576f813b8 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ia53a36671c1e2a36bb258bcb4ce37f9600bd6866
2018-02-18 11:47:01 +00:00
Kunal Mehta c8e0ad5b1f Migrate to mediawiki-phan-config
Change-Id: I1f604b797ec97511cd1b5a226d9851d94cbab416
2018-02-16 14:08:08 -08:00
Kunal Mehta 5ae7c42382 Move WikiEditorHooks into includes/
Change-Id: Ifc4fb72e68d9a879b763061f1585cac47e9f756f
2018-02-16 14:07:54 -08:00
Kunal Mehta d36d7b2aea Set phan-taint-check-plugin version in composer.json
We cannot set this in the normal "require-dev" because the plugin
depends on exactly PHP 7.0, preventing running tests on any other PHP
version.

Instead, CI will read the version number out of the "extra" field to
figure out what version to install.

Bug: T187497
Change-Id: I1233804d400eb5919bee6d9e870c0578f87b52fa
2018-02-16 13:44:43 -08:00
Translation updater bot 00a9cbfda9 Localisation updates from https://translatewiki.net.
Change-Id: Ib1335d5aa294f1eb135d3df9c41ae2cddda1622f
2018-02-15 22:47:25 +01:00
libraryupgrader 9125da010b build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I9f954ac7cffd81aae4cb0bbaa131508cdb998cc6
2018-02-15 15:50:26 +00:00
Translation updater bot 985e37e272 Localisation updates from https://translatewiki.net.
Change-Id: I420b8f686fb55555721236c1056b40363a3e4cfc
2018-02-13 22:25:56 +01:00
Translation updater bot f00849b130 Localisation updates from https://translatewiki.net.
Change-Id: I3f46bbca723b082c3c08a27c40e1ed8e4582f700
2018-02-12 09:23:59 +01:00
Umherirrender 449e60e3c0 Split assignment and return statement
Doing it in two lines makes it easier to read
This makes also clear that this is not a broken condition

Change-Id: Ia7bc4ae1864d8c3fc2ad0b0ae55ec3137e8eaa12
2018-02-06 21:40:06 +01:00
Translation updater bot 52e51ab3ea Localisation updates from https://translatewiki.net.
Change-Id: Ib16a55b5553c629e3b8955674713e2ee641e01ac
2018-02-05 22:37:07 +01:00
Translation updater bot 7e3d171479 Localisation updates from https://translatewiki.net.
Change-Id: I4f6260d4d2a23b769c2d771e9932ddaea9f90988
2018-01-30 22:17:13 +01:00
Translation updater bot ebd5237703 Localisation updates from https://translatewiki.net.
Change-Id: I8ea7a4abc7e9fc555a875fd6d5973b0a395a65d1
2018-01-29 22:20:45 +01:00
Jayprakash12345 e12ffc0094 Use SPDX 3.0 license identifier
Bug: T183858
Change-Id: Ib1cdce9e8f51ce4008bacad222d1dc592bbafa16
2018-01-29 05:42:06 +00:00
Translation updater bot 0a1f5a7be5 Localisation updates from https://translatewiki.net.
Change-Id: I528fcf88eb2ce921bcb86f291ca2e68c8af6aae1
2018-01-26 22:36:50 +01:00
Alangi Derick e0977eeb93 Escape messages appropriately and not use raw html
Make sure messages are escaped and not feed on raw html
before inserting into the group.

Also, updated the minus-x version to 0.3.0.

Bug: T154891
Change-Id: I12e5dc03396fa8bed9beb362ae91a77e64646113
2018-01-22 20:21:58 +01:00
Translation updater bot 1813d91de6 Localisation updates from https://translatewiki.net.
Change-Id: Id9344ca0a901f4056091d4461c0def1d5576a783
2018-01-20 14:43:21 +01:00
Translation updater bot 5548977ec1 Localisation updates from https://translatewiki.net.
Change-Id: I954186330e78c7c679e765c4896ead2552002be8
2018-01-18 22:50:07 +01:00
Jforrester 436a0aa1fa Remove dummy isSupported function, deprecated in REL1_31
This reverts commit a92c99cd45.

Change-Id: I2567fbf5a41efb1242b690dd23e4b59b166c0251
2018-01-18 18:19:46 +00:00
jenkins-bot b25a3f68dc Merge "Restore isSupported as deprecated dummy function" 2018-01-18 12:44:10 +00:00
Ed Sanders a92c99cd45 Restore isSupported as deprecated dummy function
Bug: T185143
Change-Id: I0be5d09390b70ee581262b4ba6421f5f51f2e696
2018-01-18 11:24:10 +00:00
Translation updater bot a9cdb75eb4 Localisation updates from https://translatewiki.net.
Change-Id: I78565a63d7be97f05c1de9f698e609646ebe5058
2018-01-17 22:46:01 +01:00
Translation updater bot 696b28e630 Localisation updates from https://translatewiki.net.
Change-Id: I152b389479804806e2a0ff7f60619cb5ba12b572
2018-01-16 22:49:39 +01:00
Translation updater bot 1412e59fa9 Localisation updates from https://translatewiki.net.
Change-Id: I3f0d54be37fa20c6ebb4b49964aed9b600aefca9
2018-01-15 22:25:37 +01:00
Translation updater bot fac2641067 Localisation updates from https://translatewiki.net.
Change-Id: Idc290091893ab529935991be48ec326a7e47d99f
2018-01-14 22:17:19 +01:00