Commit graph

1943 commits

Author SHA1 Message Date
Kunal Mehta 6eee7fd08b Set extension type to editor
Change-Id: Ie15520d059eca7b25247f97a6f687f6059783213
2018-04-13 22:07:50 -07:00
Translation updater bot 19a23bb4e6 Localisation updates from https://translatewiki.net.
Change-Id: I342662f38f5f6dfdaf9e5ae81fe61462774d3623
2018-04-13 22:13:09 +02:00
Ed Sanders 72e48c26e0 Convert remaining tools to OOUI
Replaces the insert and advanced-insert groups, which
are currently multi-colour icons.

Drops the button-sprite + offset mode, according to
mwgrep there are no other users of this.

Bug: T191031
Bug: T143508
Change-Id: I7032f98908a591ea5c9d3dbbb7616e2c10bbfc80
2018-04-11 15:50:23 +01:00
Bartosz Dziewoński 5dd46f9943 Fix margin on OOUI icon buttons in Apex theme (MonoBook)
Bug: T191031
Change-Id: Ia11bf09e0dea8e929cfd0ab85cd46252f6a52325
2018-04-10 18:58:29 +02:00
Kunal Mehta 9bf8876fe9 build: Updating mediawiki/mediawiki-phan-config to 0.2.0
Change-Id: I79951e606f3a3aadcd4873e4b15cdeb987ca662a
2018-04-05 17:25:18 -07:00
Ed Sanders bfafde341f Use OOUI icons for bold & italic
Bug: T191031
Change-Id: I3beca4122e8b0514808ccffeb4042f1965e9f056
2018-04-04 20:13:03 +01:00
jenkins-bot e772abe425 Merge "Remove background colour on WikiEditor wrapper" 2018-04-03 19:42:26 +00:00
jenkins-bot b8b79c19ec Merge "Use OOUI icons for advanced format & size tools" 2018-04-03 19:42:23 +00:00
jenkins-bot c21d53cabb Merge "Replace toolbar background image with CSS linear gradient" 2018-04-03 19:33:33 +00:00
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