Commit graph

3034 commits

Author SHA1 Message Date
Ed Sanders 546933e52b Allow dialogs to have their borders
There is quite low contranst between dialog
background and the overlay, so it makes sense
to just leave the border, which is consistent
with MWUI dialogs in OOUI.

Change-Id: I90ad752b91d15a25e8b36d43df44ac56df75cd9c
2018-04-02 22:11:13 +01:00
Ed Sanders 89eff4701e Remove background colour on WikiEditor wrapper
The backgorund colour is more selectively applied
elsewhere. This just causes problems if the skin
sets <textarea>s to transparent (e.g. Minerva).

Change-Id: I6695dc5af9224238efdc3eac97817010cf52237d
2018-04-02 22:09:58 +01:00
jenkins-bot 37b51a2dc4 Merge "Hide right border of only the last group in the toolbar" 2018-04-02 11:49:06 +00:00
Translation updater bot de1744edae Localisation updates from https://translatewiki.net.
Change-Id: I1158801ea368554046baa2ec2f9685e03cf814d7
2018-04-02 09:48:54 +02:00
Translation updater bot ada9f5f792 Localisation updates from https://translatewiki.net.
Change-Id: Ifbf73ce4dd51b524226065b9eefbd1296561b3d3
2018-03-31 09:22:40 +02:00
Ed Sanders 5ec5da115e Replace toolbar background image with CSS linear gradient
Change-Id: I1d72be9119e85fd9957ba0fb86f22a9a5cc2edca
2018-03-30 15:59:36 +01:00
Translation updater bot a9cc5b2a65 Localisation updates from https://translatewiki.net.
Change-Id: I69b1757e34fe693e873f7b31ae46ae98033f0077
2018-03-30 09:35:05 +02:00
Ed Sanders 38c91e7512 Remove unused format-indent icons
Change-Id: I2c12b77129b86268191173292b82f2051d85e795
2018-03-30 00:22:13 +01:00
MusikAnimal 96518636b3 Hide right border of only the last group in the toolbar
Bug: T190378
Change-Id: I14295eb71afad9c6c444199d1b84b7b714525475
2018-03-29 17:02:35 -04:00
Ed Sanders 335f189460 Use OOUI icons for advanced format & size tools
Bug: T191031
Change-Id: Ifb6c166ecfe082414677420939106d55a5715bb2
2018-03-29 15:53:15 +01:00
libraryupgrader 2012b40fcc build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: I14295eb71afad9c6c444199d1b84b7b714525474
2018-03-29 07:08:22 +00:00
Translation updater bot c947f96842 Localisation updates from https://translatewiki.net.
Change-Id: If884ff745002c0a01ff16b09408446bedc804d8d
2018-03-23 22:13:25 +01:00
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