Commit graph

1819 commits

Author SHA1 Message Date
jenkins-bot 347852632c Merge "Delete unimplemented browser tests" 2017-10-11 23:22:52 +00:00
jdlrobson 8494ada735 Use https for browser test environment
Change-Id: Ia469152ee4aaeaff491c32d7f8b98a8e6d9dbe02
2017-10-11 15:10:20 -07:00
jdlrobson 14e78466b2 Do not include @nomin instruction in dist build
When bundled by ResourceLoader this can interfere with debugging
of other concatenated files.

The nomin instruction introduced in 7bd29bb058
was meant to avoid RL minifying an already
uglified bundle, but that shouldn't matter here.

Bug: T177344
Change-Id: I90829668544e7c4ff7ddfdbb90d91b88a27a69f4
2017-10-11 14:34:18 -07:00
Translation updater bot 59a97737b3 Localisation updates from https://translatewiki.net.
Change-Id: I02670d3d7b51dc98f64eba137c60b03eeee506ce
2017-10-11 23:08:01 +02:00
Translation updater bot ce9f61bdfb Localisation updates from https://translatewiki.net.
Change-Id: I68393e215b09de245cb8209671a0e2d5338be946
2017-10-10 23:03:47 +02:00
jenkins-bot c656264265 Merge "Align colors to WikimediaUI Style Guide and palette" 2017-10-09 16:55:59 +00:00
Ed Sanders 7f4dd1159b build: Update eslint and other linters
Change-Id: I0a20ad5d16d46afbc2a328f8e254295972f58ab0
2017-10-09 15:56:15 +01:00
Ed Sanders 867e75f9a0 Remove old jscs file
Change-Id: I16a4cbffc8dc7232f4bf620f44ff2b7597860517
2017-10-09 15:42:11 +01:00
Volker E df71836742 Align colors to WikimediaUI Style Guide and palette
Setting text color to `#222` and border color to `#a2a9b1` as
everywhere else.
Also making use of more recent LESS functionality with multiple
arguments per mixin to remove unecessary duplication of code and
change static values to central LESS variables where applicable.

Change-Id: I394c7e7e1369ff38b7ea91c7faebe773bcb2948d
2017-10-08 07:49:39 -07:00
Translation updater bot e07b7b71f2 Localisation updates from https://translatewiki.net.
Change-Id: Ide9482993fcb9a6fb944d53155ab9fc98f53e2b4
2017-10-06 22:47:22 +02:00
Translation updater bot 9554342475 Localisation updates from https://translatewiki.net.
Change-Id: I1449ab0b488cea0c6b770504d9a6972f23d37a4f
2017-10-05 22:49:00 +02:00
jdlrobson 11d631a975 Delete unimplemented browser tests
These browser tests were added in I55f311b6b8845e6ebf4cc5698758afd1f9042a45
but broken in Ibc0d07e8394aeb640f9efaabfe10be5317bf4b8c

Let's remove these while porting over to the Node.js version
of these browser tests since they are not run anywhere.

(Try bundle exec cucumber tests/browser/features/ --dry-run)

Bug: T177262
Change-Id: Ica745d084acbb56ec66d88a1785e7557cb12ad6e
2017-10-03 18:17:04 +00:00
jenkins-bot 64c33d77ab Merge "Consider using more common image sizes for Page previews" 2017-10-02 21:05:08 +00:00
smarita 3ec185cb01 Consider using more common image sizes for Page previews
Modified necessary files to increase size of popup from 300px to 320px

Bug: T173434
Change-Id: I47bbe9defe961008163551d5be4fc7b1ca08d0d1
2017-10-01 22:02:29 +05:30
Translation updater bot b58650f1ae Localisation updates from https://translatewiki.net.
Change-Id: Id52899d48cd67fb1f13d66da52d4884ef0044b29
2017-09-30 22:52:54 +02:00
Translation updater bot 0af348261f Localisation updates from https://translatewiki.net.
Change-Id: I723593dcd7dd2b27e682db148d840baba6e7b73d
2017-09-27 22:35:42 +02:00
Translation updater bot 81aa2d2590 Localisation updates from https://translatewiki.net.
Change-Id: Ic7b81058d159109a79f9907f527b585f57d6695e
2017-09-26 22:46:13 +02:00
Translation updater bot 6a9d90b022 Localisation updates from https://translatewiki.net.
Change-Id: Id96cb4bfdf9a2a743f73d1e0f7354dd11504f7aa
2017-09-24 22:54:33 +02:00
libraryupgrader cc611bbc85 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: Ibea048de7fc5f703d7ebf54d7844e35af8eac8d8
2017-09-24 12:31:23 +00:00
Translation updater bot b0483dae3c Localisation updates from https://translatewiki.net.
Change-Id: I4dbc7e503356f3ae33e0bea7b94c54b8e9c5d5ea
2017-09-23 22:48:06 +02:00
Volker E 0c64c25c29 Unify box-sizing to common LESS mixin
Change-Id: Ifd3e7dd9be68c09b362c0fb8071cd9f27f846505
2017-09-21 15:32:09 -07:00
Translation updater bot 7da6cff352 Localisation updates from https://translatewiki.net.
Change-Id: I20f7a09bb0e555ae01d874059b4df747725f87bd
2017-09-19 23:05:42 +02:00
Translation updater bot 8048e3d70f Localisation updates from https://translatewiki.net.
Change-Id: Ic105c2dbb91c4db9ff8a22fe818b1a480333d873
2017-09-17 22:37:08 +02:00
Translation updater bot cb37dc83d6 Localisation updates from https://translatewiki.net.
Change-Id: I4686d6b552c1fd8925dcef8396dac4d63a64ee3f
2017-09-12 22:46:48 +02:00
Bartosz Dziewoński 2b637e42ef Improve how we render help messages in preferences
* The 'help' parameter expects a string, not a Message object. It
  seemed to be working, but caused fatals when switching the
  preferences form to the OOUI implementation (T117781).
* Use 'help-message' instead, which also avoids using the global
  request context for Message objects.

Bug: T117781
Change-Id: I5b2e44df35a2696da0e7ba8394eccf41914f6dda
2017-09-12 17:07:37 +00:00
Translation updater bot dfad838fa7 Localisation updates from https://translatewiki.net.
Change-Id: I87ec41c46ba5338eadf95a89dca2a79fdafe3f6a
2017-09-09 00:12:05 +02:00
Translation updater bot 7c53b5e770 Localisation updates from https://translatewiki.net.
Change-Id: I4ba090be862ec0d5706bf18bae3bb766cbc1263c
2017-09-07 23:33:50 +02:00
jenkins-bot 9a87e417c6 Merge "Run eslint on compiled assets to ensure code is es5 compatible" 2017-09-07 10:38:22 +00:00
jdlrobson 90fbd093c8 Run eslint on compiled assets to ensure code is es5 compatible
It doesn't feel great but it does the trick.

Bug: T174570
Change-Id: I76d1b81625a77df0d926c2da714bcab606a28b8d
2017-09-07 12:30:33 +02:00
Translation updater bot 98ff107293 Localisation updates from https://translatewiki.net.
Change-Id: I21f78b3ffc8d4ade86ecc9d9f4077a864abd65d8
2017-09-06 22:52:39 +02:00
jenkins-bot eb6c893e1e Merge "Run settings browser tests and make sure jQuery 3 not enabled" 2017-09-05 10:50:53 +00:00
Translation updater bot 42b85331f3 Localisation updates from https://translatewiki.net.
Change-Id: Ibbc0f04d140d6e13d08ab1072b0f3bee8bbc48d9
2017-09-03 22:31:09 +02:00
jdlrobson f18c8e4eaf Run settings browser tests and make sure jQuery 3 not enabled
Change-Id: I599c8c002c570d4911b7c86294f714279833e80b
2017-09-01 10:16:17 -04:00
joakin 84e30f4613 Revert usage of Promise A+ in actions.js#fetch
.catch is only available with jQuery 3, which is only now starting to
roll out (see https://phabricator.wikimedia.org/T124742)

This patch rolls back the usage of .catch introduced in
https://gerrit.wikimedia.org/r/#/c/373327/ to use .fail, but only the
source part, given that patch introduced unit tests for this behavior

Bug: T174724
Change-Id: I6e1c342d812b35846061266bc59e493e87423fd8
2017-09-01 12:10:50 +02:00
libraryupgrader 4cf348c614 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
Change-Id: I99700010ab32a37f78ad0d9d7b32cc6bc4966b8a
2017-09-01 04:55:51 +00:00
jenkins-bot 950c8dca7c Merge "Store map files under .json extension" 2017-08-31 11:07:55 +00:00
joakin 4ed09011c2 Explicitly set ecmaVersion for eslint
Before, because of the use of sourceType: "module", ecmaVersion would be
assumed to be ES2015, but we write ES5 here at the moment.

This enables linting against ES2015 features like let and const.

See https://gerrit.wikimedia.org/r/#/c/374789/ for failing POC.

Change-Id: Id1d147866c37de3794213378a5e8a08af6f796a1
2017-08-30 13:47:49 +02:00
Translation updater bot 26ba349dc9 Localisation updates from https://translatewiki.net.
Change-Id: I1d7d4a45bd07cae820938c0571fe9acae8c053fb
2017-08-30 10:59:48 +02:00
Piotr Miazga f8498ce70c Store map files under .json extension
We cannot serve .map files from production servers. This makes
Popups extension difficult to debug. As a simplest solution we
decided to store map files as .json files so we can easily access
js maps files.

Changes:
 - changed webpack config to store map files under .json extension

Bug: T173491
Change-Id: Iaa55f75a8c5f3e8f1f169b3ac33241cc54f0413f
2017-08-29 21:18:35 +02:00
Piotr Miazga cb72bf4e82 Do not use keyword const as it's part of ES6 syntax
Changes:
  - instead of const use var

Bug: T174424
Change-Id: I3d786614b5acbfe9a05c332edd3a14c2e5afa417
2017-08-29 16:37:46 +02:00
Translation updater bot 4bcfba08ae Localisation updates from https://translatewiki.net.
Change-Id: I7de4f71b3e4e6702d833ec516a8e3f83046610bf
2017-08-29 09:04:02 +02:00
Bartosz Dziewoński b63d2262f8 Don't use ES6 Number.isNaN
Number.isNaN is a new function introduced in ECMAScript 6.
MediaWiki only requires ECMAScript 5 supports from browsers.
Notably, Opera 12 does not have Number.isNaN. Instead, use
the global isNaN function (which behaves the same except for
non-numeric inputs).

Change-Id: If436cd26b21ce0336dfbc37144f6226e7b948e5e
2017-08-28 21:22:07 +02:00
L10n-bot 325db5513c Merge "Localisation updates from https://translatewiki.net." 2017-08-28 11:24:42 +00:00
Translation updater bot 698beb882c Localisation updates from https://translatewiki.net.
Change-Id: Ic3f91db9d3242d7e26177de14b43e85237e3b019
2017-08-28 13:24:29 +02:00
Quiddity 311bf8f683 Use Special:MyLanguage in help link for betafeature info
Bug: T145904
Change-Id: I59c0b952cb44b31d0918c3d4659d47f2ddec7761
2017-08-26 20:28:59 +00:00
Timo Tijhof 78ed328d55 Docs: Fix typo in Grafana link label
Change-Id: I35d984b9fd5d8dc39cb17d2ff1e69e58a4e699c4
2017-08-26 00:08:03 +01:00
jenkins-bot 8850c1d0a3 Merge "Use canonical name for NS_SPECIAL titles when checking the blacklist" 2017-08-25 15:50:22 +00:00
Piotr Miazga 0de054cd79 Use canonical name for NS_SPECIAL titles when checking the blacklist
Changes
 - when verifying title use canonical names for pages in
 special namespace
 - improve unit tests to verify canonical names and translated titles

Bug: T170169
Change-Id: I49592133eb8286eacf04fd3034df091f7ef2aa50
2017-08-25 15:56:02 +02:00
Translation updater bot d21e52c056 Localisation updates from https://translatewiki.net.
Change-Id: Idc1c2eb96856e15bf51d8e062a1564f7b7df57f5
2017-08-25 09:48:07 +02:00
Umherirrender 40b4c053d8 Remove dot at end from extension description
Consistency tweak for extension active on translatewiki.net
Description on Special:Version does not end with a dot

Change-Id: I458dcdc62e609f1f002785e31d222d45514b55d4
2017-08-24 20:47:53 +02:00