Commit graph

2122 commits

Author SHA1 Message Date
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
Translation updater bot 528d6a041c Localisation updates from https://translatewiki.net.
Change-Id: I10113df5a927106cde0db212c775539b6bac2d06
2019-10-21 09:58:08 +02:00
libraryupgrader 3bdbe45700 build: Updating grunt-stylelint to 0.11.1
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I5ce3b84dcaf295a2f0ed8330c9f6f39709f06bd4
2019-10-21 01:33:42 +00:00
Translation updater bot 3d025cb511 Localisation updates from https://translatewiki.net.
Change-Id: I5a663988e2bc20bb4333632cc0135020eb76bf9a
2019-10-17 09:51:40 +02:00
Translation updater bot 4556250a92 Localisation updates from https://translatewiki.net.
Change-Id: Idfbc339b73d0d01a9a996dcc5a9d153057392820
2019-10-16 20:38:09 +02:00
Umherirrender 414c62f19b phan: Remove PhanParamReqAfterOpt suppression
Change-Id: I326165c7cdb98dabc2aa9a3fd73d637f2e5bceec
2019-10-12 22:14:41 +02:00
James D. Forrester 1299ed02db build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I4f516723a8c2c07231269698cde14bca3d58aba8
2019-10-11 13:19:41 -07:00
Translation updater bot 088337637b Localisation updates from https://translatewiki.net.
Change-Id: I2f5a9cf2e3606e240a0c2f08c83586bfe07806af
2019-10-09 09:17:17 +02:00
Translation updater bot 9c3f663011 Localisation updates from https://translatewiki.net.
Change-Id: Iaebeeed350916a1c85ce124ecc6d84a07115c93f
2019-10-08 09:31:43 +02:00
Translation updater bot 0b73d2b87f Localisation updates from https://translatewiki.net.
Change-Id: Ibc0aae67bcd526a71eebe7041a2ac4177b38da05
2019-10-07 09:08:10 +02:00
Translation updater bot 5c2d8cdc0b Localisation updates from https://translatewiki.net.
Change-Id: I6fd49c80688608bc5fe4516c432f43397cae1050
2019-10-02 09:19:29 +02:00
Translation updater bot b8ad7285b3 Localisation updates from https://translatewiki.net.
Change-Id: Ic2a56f1dc470b51dd2d99e21ea1920a96a0dc975
2019-10-01 09:24:16 +02:00
Translation updater bot 0c1d43ddd6 Localisation updates from https://translatewiki.net.
Change-Id: I13c8b11710911ac535da61f48817dcafcec7629a
2019-09-30 09:17:58 +02:00
Translation updater bot e0494f88a2 Localisation updates from https://translatewiki.net.
Change-Id: Ibbd6dbeb9104e2d3b63517cfed812ac750f87688
2019-09-19 09:55:57 +02:00
Translation updater bot 4d6874c570 Localisation updates from https://translatewiki.net.
Change-Id: I4ef7ad63566713faeae6f17099c058c15a5192df
2019-09-16 09:54:27 +02:00
Translation updater bot 914e75d951 Localisation updates from https://translatewiki.net.
Change-Id: I0d396639dedb28a827839161d415747ea32cf01a
2019-09-13 10:17:29 +02:00
Translation updater bot 8812bbe3e9 Localisation updates from https://translatewiki.net.
Change-Id: I56bdaf960d7d69b8a2e7c9907f00052a265198dc
2019-09-12 09:59:37 +02:00
Translation updater bot da502e9a1d Localisation updates from https://translatewiki.net.
Change-Id: I2507a1bbfc14721de72f2c8da3754312939445b5
2019-09-10 09:35:30 +02:00
Translation updater bot c3b5d6648f Localisation updates from https://translatewiki.net.
Change-Id: I6932cc326f6b8e9a5062af586d56afc1a7992216
2019-09-09 09:24:36 +02:00
Kunal Mehta 1c779bee3a Use LinkRenderer instead of manually building links
Use LinkRenderer instead of manually re-implementing parts of it and
manually building the <a> tags to create links.

Aside from technical debt cleanup, this will cause "stub" and "mw-
redirect" classes to get added to the <categorytree> output.

Bug: T25771
Change-Id: I1c644ef364818c4202dc0e30602d557dbec46010
2019-09-07 11:49:53 +02:00
Translation updater bot 48ddabd046 Localisation updates from https://translatewiki.net.
Change-Id: Iae37684fadc47fe74db223523e5be2ab4365a21a
2019-09-04 10:11:24 +02:00
Translation updater bot 98ca0882fd Localisation updates from https://translatewiki.net.
Change-Id: I7f9edb273b7b18f323346601b44f75a24c1bd0fe
2019-09-03 10:26:39 +02:00