Commit graph

4029 commits

Author SHA1 Message Date
jenkins-bot 8466feb591 Merge "Revert "Fix infobox styles to work well with multiple column infobox rows"" 2018-01-02 22:07:51 +00:00
Jdlrobson fc54446a40 Revert "Fix infobox styles to work well with multiple column infobox rows"
This reverts commit b3dc650f15.

Change-Id: I18b4cfd30d0703844748a2b4fb934f5824537970
2018-01-02 22:02:12 +00:00
jdlrobson 6598c1e7c3 Merge branch 'master' into HEAD
Change-Id: I220fbc57ee20d2a6717b39dba809401de2207ce0
2018-01-02 13:21:27 -08:00
jenkins-bot 7c92351bb9 Merge "Fix infobox styles to work well with multiple column infobox rows" 2018-01-02 21:16:44 +00:00
Translation updater bot 0abbc575a0 Localisation updates from https://translatewiki.net.
Change-Id: Id2247fb0bca1d8ec35d9a1d74a68291644c0ebae
2018-01-02 10:07:39 +01:00
Translation updater bot b391302bc9 Localisation updates from https://translatewiki.net.
Change-Id: I7a049bb1e503721e3c0d7d57510d4186d1a996e3
2018-01-01 08:47:11 +01:00
libraryupgrader cc984c2f11 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Generic.Files.OneObjectStructurePerFile.MultipleFound

The following sniffs now pass and were enabled:
* MediaWiki.Files.OneClassPerFile.MultipleFound

Change-Id: Ib81b8adc5730d9715d767b1b5d39cc3e005a69b9
2017-12-30 04:01:12 +00:00
Umherirrender bf974861a2 Fix spacing of @covers
Change-Id: I61d2cd2cb4523433bda37f349cf5327bfb4c1b66
2017-12-29 21:26:59 +01:00
Translation updater bot 80241cc1cb Localisation updates from https://translatewiki.net.
Change-Id: Ie5a6d95c2def9ecb642cbf8db2fc13d5e127ec31
2017-12-29 09:36:17 +01:00
Translation updater bot b3f9e1db5f Localisation updates from https://translatewiki.net.
Change-Id: I9799b76e1fc46b16d5e450b4c03491e3b27b7444
2017-12-27 10:11:01 +01:00
Translation updater bot 84a7a21d41 Localisation updates from https://translatewiki.net.
Change-Id: I316479d5773d75f7abaf3bae77298b03dc7e39e5
2017-12-26 10:06:30 +01:00
David Sn b3dc650f15 Fix infobox styles to work well with multiple column infobox rows
I used the fix provided by TheDJ and tested out locally
on Firefox 57 and Chrome latest, but I couldn't test out
any grade C browser as on Linux it's really hard to find
such an outdated browser like Internet Explorer on Windows.

Also, I am unsure whether it will work in production
with the example article from the task, wasn't able
to recreate the article fully on my local devwiki.

Bug: T168716
Change-Id: Ied7c15f7a254228c23111df79da44d6167f1baac
2017-12-23 00:35:06 +00:00
Translation updater bot 19613c01bd Localisation updates from https://translatewiki.net.
Change-Id: I3d6994ea7341f9286ac7b2c61af79da72309651f
2017-12-22 22:02:19 +01:00
Translation updater bot 9599d8db7f Localisation updates from https://translatewiki.net.
Change-Id: I2a98ceaf5a46439932dcd9dc57052579708f9828
2017-12-21 21:59:39 +01:00
Translation updater bot 83eca0a53c Localisation updates from https://translatewiki.net.
Change-Id: I94b1ec612cd74b435da4c6743667bd96d8205311
2017-12-20 23:00:21 +01:00
Translation updater bot 8118fd35db Localisation updates from https://translatewiki.net.
Change-Id: I5a878a43d9b7ed4df7d92cebda0d8d050740c065
2017-12-18 22:23:14 +01:00
Translation updater bot ad56dda3e1 Localisation updates from https://translatewiki.net.
Change-Id: I5da13b02019fba4ed7db052c81d138b60b869a71
2017-12-17 22:05:31 +01:00
Rafid Aslam 88d889ab25 Add minus-x to "composer test"
Add minus-x to "composer test" and "composer fix"

Bug: T175794
Change-Id: I54088f3895ca931006c6a004a48c87f9445abf8c
2017-12-16 16:09:12 +07:00
Translation updater bot 85bb48bfcc Localisation updates from https://translatewiki.net.
Change-Id: Ie2c4427b4bdd8a5391250d9b6ff376d212a91b26
2017-12-15 22:09:01 +01:00
Translation updater bot 36151ddcb8 Localisation updates from https://translatewiki.net.
Change-Id: Ib92096e82a99c05d5661b4f6833aa875906a96df
2017-12-11 23:16:59 +01:00
jenkins-bot a9dd923651 Merge "Make svg_check.sh verbose" 2017-12-11 22:01:31 +00:00
jenkins-bot 8cc57955eb Merge "Pass svg_checks.sh via ShellCheck" 2017-12-11 22:01:20 +00:00
jenkins-bot 91454502d3 Merge "QA: Add additional steps to guard against slow test runs" 2017-12-11 21:59:41 +00:00
jenkins-bot 191f663205 Merge ".gitignore /docs/ generated by JSDuck" 2017-12-11 21:53:29 +00:00
jdlrobson e87d838466 QA: Add additional steps to guard against slow test runs
Bug: T182202
Change-Id: If46620941924b86c5403c9e928911b1aa5845d7a
2017-12-11 21:51:40 +00:00
jenkins-bot b20e1a3b25 Merge "Update RuboCop Ruby gem" 2017-12-11 21:28:28 +00:00
Antoine Musso 8a220e372c Make svg_check.sh verbose
So we know what is going on while the CPU is being busy.

Change-Id: I34a7ecadf549833025a197d72ca131888519a92a
2017-12-11 16:50:56 +01:00
Antoine Musso a38b4f8038 Pass svg_checks.sh via ShellCheck
while read svgfile; do
    SC2162: read without -r will mangle backslashes.

if [ $(wc -c < "$svgfile") -gt $(wc -c < "$outfile") ];
    SC2046: quote to prevent word splitting

found increment was done in a subshell and hence would not be properly
incremented. Instead of:

  find | while

Switch to:

  while < <( find )

Based on https://github.com/koalaman/shellcheck/wiki/SC2031 , this way
$found is kept in the same context.

Change-Id: Id8eb1027eed373161c8e7932b7745d4f53f2fc6c
2017-12-11 16:48:49 +01:00
Antoine Musso 97552204f6 .gitignore /docs/ generated by JSDuck
Change-Id: I04889b8ee6f1bfb8eb524378219c2863953f2038
2017-12-11 16:42:39 +01:00
Translation updater bot d159a99be2 Localisation updates from https://translatewiki.net.
Change-Id: I53781515ca1b99291741230381d30564d1ecfc7c
2017-12-07 22:43:18 +01:00
David Sn 90f324a5b7 Use preg_replace instead of str_replace for replacing extension
Bug: T166684
Change-Id: I233be410486276f30b08034180eb54cb08e04076
2017-12-07 16:05:48 +00:00
Translation updater bot e32d650042 Localisation updates from https://translatewiki.net.
Change-Id: Ifab041edabe85cb126ac63f9a8a12e402e30a829
2017-12-06 22:11:48 +01:00
Željko Filipin e7cad9e34c Update RuboCop Ruby gem
Bug: T180878
Change-Id: I904e947d7044b259f29f584b568ab2cb689bd5a4
2017-12-06 16:58:29 +01:00
jdlrobson 1146cef6b1 Optimise Special:MobileOptions for tablet display
Bug: T180095
Change-Id: I0ef0ce914a360848f8f66b39c40588f3fa04647c
2017-12-05 14:20:11 -08:00
Translation updater bot 63aeb4cfc5 Localisation updates from https://translatewiki.net.
Change-Id: Ibea20014746de0fcf8d3418047b9384506f7b1a9
2017-12-05 22:13:00 +01:00
jdlrobson c986db6c0e Always render taglines unconditionally and update styles
Adjust tagline margin per Nirzar:
https://phabricator.wikimedia.org/T180095#3801719

Note, this will  enable the tagline everywhere.

Change-Id: I3bce2a3472ab2e53261965c953572f35cc740eed
Bug: T180095
2017-12-05 00:27:11 +00:00
David Sn 8a19c0cb33 Use png as fallback for svg on non-supported browsers
This will use the srcset attrribute which was introduced with HTML5,
in order to load the svg image on supported browsers.

Should fix the bug after merging change 394820.

Bug: T166684
Change-Id: I2337b750c80e79c816dc817dfe230e063eed0345
2017-12-04 22:13:23 +00:00
Translation updater bot e59d001536 Localisation updates from https://translatewiki.net.
Change-Id: Iac0222d65db818996112e572f1b53faaef5d3b5f
2017-12-04 22:39:59 +01:00
Translation updater bot 03ca369776 Localisation updates from https://translatewiki.net.
Change-Id: Idde0aee303bc1d03913e7d5fa530efb97d9484e5
2017-12-02 22:03:54 +01:00
Translation updater bot 52f5e81d07 Localisation updates from https://translatewiki.net.
Change-Id: Ide3af8903b2232db8aba273d414b19bb684ec01e
2017-11-30 22:46:26 +01:00
jenkins-bot 01d6c5ed21 Merge "Pages with only forms should take up entire page" into specialpages 2017-11-30 18:35:21 +00:00
jdlrobson 7c34b47993 Fix broken QUnit test
Correct some options names and make minor adjustments to the
constructor function

Bug: T181348
Change-Id: Ia9fe9d2923b895d3dc530280e3987e27c88d3282
(cherry picked from commit 89909ccf53)
2017-11-30 18:29:02 +00:00
Volker E eaeea5dd5e Replace unique color with standard subtle print color
Replacing `#9aa0a7` with standard subtle `#999` print color.
Also clarfiying LESS variable naming and removing unused variable
`@printBorderColorLight`.

Change-Id: I2c1b36099935aa99d63a3316b3a107a23ffa0afd
2017-11-30 17:44:25 +00:00
jdlrobson eaa4dae5af Disable download button in all namespaces except main
The MinervaDownloadIcon config option is replaced with a
more specific wgMinervaDownloadNamespaces config option.
If the list is empty then the download button will not be
shown.

Since the download icon is enabled everywhere in production now
this is good as it means Minerva reflects the production value.

Bug: T181152
Change-Id: Id78c1de9e8e9013530106bc0d45d3cf0297897b5
2017-11-29 20:29:12 +00:00
jdlrobson b6e91de90e Pages with only forms should take up entire page
On Special:MobileOptions we want to make the form take up the full
width but pad the fields in the form
(per https://phabricator.wikimedia.org/T180095#3795514)

This change is harmless but is necessary as soon as we port
the page to OOjs UI (I70f68df9d2d305126444319b05675702af75de87)

Bug: T180095
Change-Id: I1dda3eb4d0e7ebbec544dc0f5763b079e38f5cc8
2017-11-29 19:58:09 +00:00
jenkins-bot 9c987a7c72 Merge "Fix broken QUnit test" 2017-11-29 19:29:22 +00:00
Translation updater bot d450c2f341 Localisation updates from https://translatewiki.net.
Change-Id: Ic0a296b446eb906c0c9db8cae188cc670462e3bd
2017-11-28 22:01:09 +01:00
jdlrobson 89909ccf53 Fix broken QUnit test
Correct some options names and make minor adjustments to the
constructor function

Bug: T181348
Change-Id: Ia9fe9d2923b895d3dc530280e3987e27c88d3282
2017-11-28 11:46:55 -08:00
jenkins-bot 94fc4bbe13 Merge "Hygiene: Refactor Minerva history link generation" 2017-11-28 01:06:29 +00:00
jdlrobson ed5e9dd1d5 Hygiene: Refactor Minerva history link generation
* Create several sub functions to manage complexity of the history link
* Clean up MinervaTemplate to use data directly and remove isMainPage
template variable which is no longer being used.

Change-Id: I124aec9637f3635a335c58e559e578b2a56eb4c5
2017-11-27 14:27:11 -08:00