Commit graph

2061 commits

Author SHA1 Message Date
jenkins-bot 857d3be9f8 Merge "Recognize PHP file comments properly" 2018-04-16 17:36:26 +00:00
jenkins-bot 4f4c2507d5 Merge "Register configuration settings in the standard way" 2018-04-16 17:33:50 +00:00
jenkins-bot 1406849512 Merge "Use explicit HTTPS in help URLs" 2018-04-16 17:14:39 +00:00
Translation updater bot e41f3f1222 Localisation updates from https://translatewiki.net.
Change-Id: I753fd01810dccdfdc264b988b057f2c8e03e3ed3
2018-04-14 22:13:59 +02:00
Kunal Mehta b24f75a2ef Add phan configuration
Change-Id: I5d1c03978d6d018ea3e6fc0927598b5a2c931b85
2018-04-14 01:05:33 -07:00
Kunal Mehta e735c9bcff Move Hooks file into includes/
Change-Id: I534501cf06832fc53a5814f1e58cce00d32d09bb
2018-04-14 01:05:33 -07:00
Kunal Mehta 72cbba7fbc Recognize PHP file comments properly
Needs two asterisks in the first line.

Change-Id: Ie82d31b02b6d84db41ee581b2b426a23e7a3efd7
2018-04-14 01:05:32 -07:00
Kunal Mehta 9351b4febd Register configuration settings in the standard way
There's no need to do any fancy isset() on every setting - extension.json
will automatically take care of that.

For $wgMediaViewerEnableByDefaultForAnonymous which depended on the value
of $wgMediaViewerEnableByDefault, treat true/false as explicit values and
null as a fallback to the other configuration setting.

Keep the documentation associated with each setting in MultimediaViewer.php
for IDEs.

Change-Id: Ib34bbf75d027b8b96b2ec1a5975fa19061fadd55
2018-04-14 01:05:26 -07:00
Kunal Mehta fc165aa5a0 Use explicit HTTPS in help URLs
Change-Id: I2c387f6d10e31607b6c864cf39dfaa6503181a30
2018-04-14 01:05:07 -07:00
libraryupgrader 02a70f4227 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: Ie40dfc240743a742b40745ae1b859233b0591d39
2018-04-14 04:12:02 +00:00
Translation updater bot e1f8ef7a88 Localisation updates from https://translatewiki.net.
Change-Id: I430884ed0a6702ece7c3de9b7d7cc5876aa6214b
2018-04-08 22:30:12 +02:00
Translation updater bot 68946eaa8f Localisation updates from https://translatewiki.net.
Change-Id: I650d04462b83aee2454c0902182eef1f389418d1
2018-04-05 22:22:25 +02:00
Translation updater bot 14b51a7329 Localisation updates from https://translatewiki.net.
Change-Id: I637d9757ffad2cdc9feb12bef761d79b72b742c9
2018-03-30 09:34:48 +02:00
libraryupgrader cdddfd3447 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Icc397d04eb639544cdab2928c4c9873a042e0c55
2018-03-29 03:51:47 +00:00
Translation updater bot 32229aff93 Localisation updates from https://translatewiki.net.
Change-Id: I125e0e27fa75ae402a141ae0525e0b0177ef3717
2018-03-27 22:09:45 +02:00
Translation updater bot af54a7b08a Localisation updates from https://translatewiki.net.
Change-Id: I9584c26c78ac0e0101b172e7aa9f690894ba76da
2018-03-21 22:32:08 +01:00
Translation updater bot 79992dce9c Localisation updates from https://translatewiki.net.
Change-Id: I2905683384cd6372af958fa5ebfc4ae28562b942
2018-03-20 22:12:51 +01:00
Translation updater bot 5075cc9673 Localisation updates from https://translatewiki.net.
Change-Id: I071c6cbbc3ab102a8929de7b59729f6e6abe3059
2018-03-19 22:19:38 +01:00
Translation updater bot 54bc502791 Localisation updates from https://translatewiki.net.
Change-Id: I09fae3c21f27f2c5b3d068e15d4626d010845d3c
2018-03-15 22:52:06 +01:00
Volker E d101b0e095 Replace abandoned border-color with WikimediaUI palette one
Change-Id: I9ec58af9d5832485ee2e0e811027e0363a2fb4d5
2018-03-14 15:29:11 -07:00
Translation updater bot 3a95ef07f7 Localisation updates from https://translatewiki.net.
Change-Id: Id148aa56550ccdb43030b25c095a3c0250b93cb6
2018-03-14 22:23:44 +01:00
Translation updater bot a6ebe6db44 Localisation updates from https://translatewiki.net.
Change-Id: I12274eca5ac756185d5e2d524f532de2723c545c
2018-03-11 22:31:05 +01:00
libraryupgrader 808cc6c40d build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I95fdc8e44398cd1b86f345fc4d21d2d6a229eafe
2018-03-09 18:39:04 +00:00
Translation updater bot 53187a9e95 Localisation updates from https://translatewiki.net.
Change-Id: I2e5d05af0b714d6b59108b438f1d5dd30a9611ca
2018-03-08 22:46:00 +01:00
Translation updater bot 9fd92451d4 Localisation updates from https://translatewiki.net.
Change-Id: Ib2736f4a0605c13ee9dc9c116947bc00d3c3d4b5
2018-03-07 22:47:47 +01:00
Translation updater bot 357b29c1ee Localisation updates from https://translatewiki.net.
Change-Id: Ic410f4a51ac4448ff508d00b53826a7cef6d01c8
2018-03-03 22:25:42 +01:00
Kunal Mehta 405639a809 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: I5524242867f06a0812fc5b455997208e11540fae
2018-03-02 15:26:41 -08:00
Prateek Saxena b6136712a4 Use findSelectedItem instead of getSelectedItem
Bug: T76630
Depends-on: I0f1d9c1f31efcc10d3647103548770d2101050d9
Change-Id: Id81bbe7b0daf104484272e05730e16f495cfd0e1
2018-02-27 15:34:10 +00:00
Translation updater bot f7d9576c89 Localisation updates from https://translatewiki.net.
Change-Id: I5cd768f07014d6d99859b5f0256cdac1272a6a22
2018-02-26 22:20:40 +01:00
libraryupgrader ba58f12e86 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I2972569d061bf33198cf6396cf79fbbac43f7a10
2018-02-25 09:53:17 +00:00
Translation updater bot e95bf8caf7 Localisation updates from https://translatewiki.net.
Change-Id: I3e5f5dd46d9320f431877e48029fc3c6d945b6eb
2018-02-23 23:01:43 +01:00
Translation updater bot 2ab09badce Localisation updates from https://translatewiki.net.
Change-Id: Ib2601d7595e48e67eb8c1ae265824b52c29a4091
2018-02-22 23:22:15 +01:00
Translation updater bot cfd1939914 Localisation updates from https://translatewiki.net.
Change-Id: Iacf61b5f232703786ed1b3d3586fb9ab57303bdd
2018-02-18 22:40:54 +01:00
libraryupgrader 7240a2d8c7 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I4b6f2d7f77c1a00c1c290b25c58df2acb3422cd1
2018-02-18 04:46:45 +00:00
Translation updater bot a2984b1c0b Localisation updates from https://translatewiki.net.
Change-Id: I20ce8149312ec6196f5c9d7b625ca5cd87cc0725
2018-02-16 22:29:22 +01:00
libraryupgrader 096c181f03 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Id20549d8dee62b1283e176f386a03c6d8e481530
2018-02-15 12:49:16 +00:00
Derk-Jan Hartman 340e7680a1 MMV: Allow <sub> and <sup> in captions
As we already allow visual markup in captions, I see no reason to not
whitelist sup and sub. These elements are even allowed in the
displaytitle whitelist for articles, so seems appropriate to have them
for media captions as well.

Bug: T186844
Change-Id: I4339ee85d139301770a4e15650c9dc0d64c136cd
2018-02-09 10:34:53 +01:00
jenkins-bot 1657e4241e Merge "Use saveOption from 'mediawiki.api.options'" 2018-02-09 00:18:05 +00:00
Volker E b81f6393aa Remove special color treatment of close icon on confirmation
Removing arbitrary close confirmation color treatment with green.
We don't feature such treatment anywhere else, nor are we planning
to do. Let's remove it.

Bug: T50067
Change-Id: Ia597a51cd9c5ca057720c720b1e3
2018-02-05 15:29:29 +05:30
Fomafix 61581fa905 Use saveOption from 'mediawiki.api.options'
Change-Id: I33a60cbaf10f5d53a4e49f335ce8f16d108f9dfb
2018-02-03 16:37:21 +01:00
Translation updater bot 6f1bd995da Localisation updates from https://translatewiki.net.
Change-Id: I0e023f7b85a26085d92b5cc52d97b9bc96fff036
2018-01-26 22:36:41 +01:00
jenkins-bot cfdd3cc79a Merge "Bring SVGO optimization to build step" 2018-01-25 01:49:53 +00:00
jenkins-bot 0d0b4cdf81 Merge "Unify SVG markup" 2018-01-25 01:35:12 +00:00
Volker E d1f416278a Bring SVGO optimization to build step
Enabling SVGO automation with conservative plugin set, among those:
- disable cleanupIDs, removeDesc, removeTitle, removeViewBox &
  removeXMLProcInst and
- don't use multipass,
- enable removeRasterImages and sortAttrs

Bug: T185596
Change-Id: Ic13afb6e1cbc4d26af7a100cb7a916619fb4158e
2018-01-24 00:27:53 -08:00
Volker E 268e1406d4 Unify SVG markup
Align SVG markup across Foundation products by:
- unifying XML declaration,
- removing unnecessary `standalone="no"` attribute as it's default,
- removing unnecessary `enable-background` attribute as it got removed
  from standard
- removing all SVG editor metadata
- adding `width` and `height` attributes where missing,
- removing all `g` group elements except where necessary for transforms,
- putting attributes on `path`,
- removing unnecessary ids and
- unifying whitespace.

Also
- changing 'expand' and 'gear' icon colors to resemble general button style,
- while at this renaming 'gear_gray' to 'gear' including CSS reference,
- slightly adapt remaining colors to WikimediaUI color palette and
- deleting unused, unreferenced icon files.

Saving up to 79% file size before gzipping.

Bug: T178867
Change-Id: I9e54a3a972903811f5205def05397383f3484d63
2018-01-23 23:59:28 -08:00
Volker E 8a8d8277af Use “OOUI” as unified name in code comments
Bug: T182360
Change-Id: I20e85bf4d5ef55797b5be59ae1772f791d504ade
2018-01-17 00:16:54 -08:00
Translation updater bot a9ee3eff43 Localisation updates from https://translatewiki.net.
Change-Id: I214aaea5da9e3bc5fcba39c1605121d19723ec9a
2018-01-09 22:29:42 +01:00
Translation updater bot e67966e363 Localisation updates from https://translatewiki.net.
Change-Id: I9518a758a0881355fe15cf0a148da27f82cf4842
2018-01-07 22:47:21 +01:00
Translation updater bot e887469bad Localisation updates from https://translatewiki.net.
Change-Id: Iaa297a9a8269e151e26a42e7d8b672c3fa0080fe
2018-01-05 09:22:46 +01:00
Umherirrender 3ba186ef42 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Change-Id: I801c7f79af38f5ecf4e1ed07841386e9fab36f6b
2017-12-30 23:42:47 +01:00