Commit graph

2143 commits

Author SHA1 Message Date
Volker E 7feedb1fd2 Remove unnecessary, overqualified element parts of class selectors
Those combinations origin from a time when these were seen as faster
to be rendered (at least dating back to 2011). Not only is this
reason no longer true, it also holds us back to start using semantic
HTML5 sectioning elements like `nav` for `.portal`.

Bug: T248137
Change-Id: I72b180d1c8bc1b029c147483590e2fc44dd29a86
2020-03-24 10:52:20 -07:00
libraryupgrader ca6821743a build: Updating mkdirp to 0.5.3
* https://npmjs.com/advisories/1179

Change-Id: Iaa1e972e0080bba6f835cbdbaad3b3d9c72b7be2
2020-03-20 18:52:07 +00:00
Translation updater bot 569a18c3ec Localisation updates from https://translatewiki.net.
Change-Id: I55fd8a52df99365411569be808750b89e05c58da
2020-03-18 09:33:03 +01:00
Translation updater bot 82fc4f571b Localisation updates from https://translatewiki.net.
Change-Id: Ic03e66a951117a7aac3b6c3e11a5437ca80d5a66
2020-03-18 08:57:02 +01:00
libraryupgrader 112d5ad8e3 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I793550b3485a646c40994db73d2decf53d06056c
2020-03-18 04:25:48 +00:00
Translation updater bot 0b88760b6b Localisation updates from https://translatewiki.net.
Change-Id: I123c7c1ed6405a521ee49d8d741915e6b685c481
2020-03-16 14:29:31 +01:00
Translation updater bot a1cb01fbc5 Localisation updates from https://translatewiki.net.
Change-Id: I33631319757423e8ce1bd3eae01bfe98355f23e9
2020-03-09 08:56:04 +01:00
libraryupgrader 21800f203a build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I03e1b38019c5788f416e5d13cf431aaa93739669
2020-03-08 20:36:24 +00:00
Translation updater bot 888647926e Localisation updates from https://translatewiki.net.
Change-Id: I9dc451084e31aa5fee3bebbf5403c7ed794d627c
2020-03-06 08:17:31 +01:00
Translation updater bot 78a9ef3b3f Localisation updates from https://translatewiki.net.
Change-Id: I93e677564759766240238c7ca5fe7dfd9534ae5d
2020-03-05 08:37:37 +01:00
Translation updater bot 2abe9944e3 Localisation updates from https://translatewiki.net.
Change-Id: Ie8341a1b96df3c196ab1b1f1c351b6b01bf5027d
2020-02-27 08:35:50 +01:00
Translation updater bot c45c097e13 Localisation updates from https://translatewiki.net.
Change-Id: I402528a71c7003f325016569c2b54cfb45d66b60
2020-02-24 09:01:53 +01:00
libraryupgrader 03843a5e3c build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I8336ae6552966573b580b2045301fc96fc48dea5
2020-02-20 19:32:39 +00:00
Translation updater bot c0ac2bd4ef Localisation updates from https://translatewiki.net.
Change-Id: I0be053b842aeebb0aebfb3e06ceab8a5b58313b7
2020-02-20 09:26:27 +01:00
Translation updater bot 06c5bb9649 Localisation updates from https://translatewiki.net.
Change-Id: I6ac933e401d602edf4aecd58209195981631a6c1
2020-02-19 08:22:59 +01:00
Translation updater bot 7963c69118 Localisation updates from https://translatewiki.net.
Change-Id: I33a3569fc9404e6313669140fc2eeb2b00e58729
2020-02-17 08:45:31 +01:00
Translation updater bot b998f97e68 Localisation updates from https://translatewiki.net.
Change-Id: If349dc9e3a161f437cf081f72da301c571fa6e2c
2020-02-13 08:54:16 +01:00
Translation updater bot 5683459b5a Localisation updates from https://translatewiki.net.
Change-Id: I9a2cecb62030633f882f618024469fa232397ecd
2020-02-11 08:18:54 +01:00
Translation updater bot 3fa91cb7b1 Localisation updates from https://translatewiki.net.
Change-Id: I533548103a5af5549004cce323b06bacb8fc262b
2020-02-05 08:18:39 +01:00
Translation updater bot 20855be68f Localisation updates from https://translatewiki.net.
Change-Id: Idb46f6d7ec27999623c33aa593aff2d92b0c7660
2020-02-03 08:26:11 +01:00
Translation updater bot 022721767d Localisation updates from https://translatewiki.net.
Change-Id: I79cc3e78fffee80d9c2c327a6e93da71bd86fd15
2020-01-31 09:52:22 +01:00
libraryupgrader 28456d68d1 build: Updating composer dependencies
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: Ia75056e4c2ac4f988327c199c4fd9c20bd52ac0a
2020-01-29 01:38:00 +00:00
libraryupgrader 2737dba6e8 build: Updating jakub-onderka/php-console-highlighter to 0.4.0
Change-Id: Ia327c0d654de0bcee645c6dbf2465fabfc68d1d3
2020-01-28 06:40:34 +00:00
Translation updater bot a80ec116d6 Localisation updates from https://translatewiki.net.
Change-Id: I296769673b37d936922e13d258c6ccbb9ece76dd
2020-01-21 08:15:41 +01:00
Translation updater bot e3ec89a6c3 Localisation updates from https://translatewiki.net.
Change-Id: I1ea4ab6c08a8488be80c0678b1b07a2bc9a26479
2020-01-20 08:48:20 +01:00
libraryupgrader 4180323699 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I5f4050a13d1ac8db56adebe8d4bf13b84da5545a
2020-01-14 03:58:43 +00:00
libraryupgrader 09c1174961 build: Updating npm dependencies
* stylelint-config-wikimedia: 0.6.0 → 0.8.0
* eslint-config-wikimedia: 0.12.0 → 0.15.0
* grunt-stylelint: 0.11.1 → 0.13.0
* grunt-eslint: 21.0.0 → 22.0.0

Additional changes:
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: Ic8958ed0fffdad06f1112cb4529589c7db27a321
2020-01-09 01:24:10 -08:00
Translation updater bot 302b002e16 Localisation updates from https://translatewiki.net.
Change-Id: I5af2f16f0e1e11bc20d52e208458256b560f6700
2020-01-06 08:48:11 +01:00
Translation updater bot 97b54bcc33 Localisation updates from https://translatewiki.net.
Change-Id: Id5e411b37d9a6db8ca8b3902b2f55c58912479b9
2019-12-29 20:39:56 +01:00
libraryupgrader cdb24f697e build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I74187354a1cbb7703e446752d7ab4500e993e3e8
2019-12-27 15:08:47 +00:00
Pppery bc24f21c9d Fix merge strategy for $wgCategoryTreeMaxDepth
Bug: T240623
Change-Id: I1db6d8d5ecf3b720971f9ea4459366a0439c6bb4
2019-12-16 17:55:58 -05:00
libraryupgrader 4235677932 build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2

npm:
* grunt-banana-checker: 0.6.0 → 0.8.1

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Icd47980b83e99bccc1f4cd20e40457a1b3da2b9d
2019-12-16 00:43:16 +00:00
Translation updater bot 330e6103f5 Localisation updates from https://translatewiki.net.
Change-Id: I849253e3ed3767a814d2e641c6e0e978e856ef64
2019-12-13 09:27:19 +01:00
Umherirrender 0365b1bdea Fix doc of CategoryTree::getOptionsAsCacheKey
The depth is a number and provided as int

Change-Id: I884279bf69fc3661ad8279965a02d38867a85868
2019-12-08 22:11:08 +01:00
Translation updater bot c90fb88242 Localisation updates from https://translatewiki.net.
Change-Id: I7d12526bcd2e13f381fadbafee0991f42ce03ebc
2019-12-02 09:19:12 +01:00
Translation updater bot 6032942a35 Localisation updates from https://translatewiki.net.
Change-Id: I1b20585359e61e5fe27708dc52742aaa5013ff2d
2019-11-29 09:26:15 +01:00
Translation updater bot 76dc4ff01c Localisation updates from https://translatewiki.net.
Change-Id: I816f8be10af227ee93a2cf5e88cf3eb844c98dcc
2019-11-20 09:37:06 +01:00
Translation updater bot 16be5b85bf Localisation updates from https://translatewiki.net.
Change-Id: Id8883acb1590d218cf090bdf7b20ed0fba8eb90f
2019-11-18 09:20:46 +01:00
Translation updater bot 9532fb1ba7 Localisation updates from https://translatewiki.net.
Change-Id: I81c85bdc24b13e4049dc659eefb9b6e1db5d1a8e
2019-11-11 14:46:50 +01:00
jenkins-bot e60b968434 Merge "Suppress page translations and render only the default page(s)" 2019-11-08 14:04:52 +00:00
Translation updater bot 3cacf7aff2 Localisation updates from https://translatewiki.net.
Change-Id: Ic93f4c86c1f609ffc1b8ef95341b88c69cf98c38
2019-11-07 09:40:47 +01:00
Translation updater bot 2c6cdd0304 Localisation updates from https://translatewiki.net.
Change-Id: Idd437e3489c5fc9d78e99997137df47790021913
2019-11-04 09:29:28 +01:00
Derick Alangi 87ddb7f735 Suppress page translations and render only the default page(s)
This feature add an option `notranslations` that allows the category
tree only to show the default pages and not include their translations
equivalents on the tree. For example let's say we have a page (Test_page)
that was created in a default language "en" in a category TestCat, and has
translations listed: Test_page/es, Test_page/de, Test_page/ar etc.

Doing `<categorytree notranslations="on">TestCat</categorytree> will render
only the Test_page page with it's link to the page on the tree and nothing
more.

Note: If page "Foo/hu" exist but "Foo" doesn't, it should include "Foo/hu"
      in the category tree. In most case though, a base page will exist.
      Also, the feature is only available if Extension:Translate is made
      available on that wiki.

TODO: If "notranslations" is used along side with "showcount", consider
      subtracting the number of pages suppressed from the total page count
      in the category tree for consistency.

Bug: T229265
Change-Id: Ib4e7ab6ad98c05857cda1cd98bbc19e0504677bb
2019-11-03 14:03:27 +01:00
Umherirrender 88893ed005 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I40fd8ddf278a716171a05a30215fdef6fcf123be
2019-11-01 21:38:00 +01:00
Translation updater bot ac65956ce2 Localisation updates from https://translatewiki.net.
Change-Id: I671938231cdb4c5421fc605b6a86b13acfb823f4
2019-10-31 09:26:46 +01:00
Translation updater bot 06492c0b50 Localisation updates from https://translatewiki.net.
Change-Id: I12efe7b1530fa4035db32f57fc02ceec6017ff90
2019-10-29 09:37:54 +01:00
Translation updater bot eb1d495a25 Localisation updates from https://translatewiki.net.
Change-Id: Ie9f6d4f2a96376ee02a26b3e8c474ea076e8a4be
2019-10-28 16:32:40 +01:00
Umherirrender e801fb1e3b Define visibility on class constant
Change-Id: I140d4cbf7bf1397138fef1f1396057fc19c1cbb2
2019-10-25 19:14:46 +02:00
Translation updater bot 740f335d69 Localisation updates from https://translatewiki.net.
Change-Id: I8f960d04cb5e13a677022e57a5e1c536e63425e5
2019-10-24 10:40:41 +02:00
Translation updater bot a6b9a8f2d4 Localisation updates from https://translatewiki.net.
Change-Id: I5456763a889c8be15ab0b2471693c60c53d9d30b
2019-10-23 09:52:23 +02:00