Commit graph

2146 commits

Author SHA1 Message Date
Translation updater bot bc51c7525a Localisation updates from https://translatewiki.net.
Change-Id: I48bc928931421c86d7dce4cd942e2e549e466d5c
2019-02-21 22:20:37 +01:00
Translation updater bot c1036ac1e6 Localisation updates from https://translatewiki.net.
Change-Id: I6d48a024c8b3788370abdbc7cbe73f3b3a3e93f9
2019-02-18 22:22:47 +01:00
Translation updater bot c828c3c6bc Localisation updates from https://translatewiki.net.
Change-Id: Ic42801ea094e1c28980c23e85a13740bb1acf932
2019-02-17 22:14:01 +01:00
Translation updater bot 1988444c97 Localisation updates from https://translatewiki.net.
Change-Id: Ic9b6d5cf65d88bab05a50081e59790e3cdb8d93f
2019-02-14 22:28:56 +01:00
jenkins-bot c4d39389a8 Merge "Change 'title' attributes to links to use full page name" 2019-02-14 00:53:10 +00:00
Peter Boehm 1dfe6ca618 Change 'title' attributes to links to use full page name
This changes the title attribute on the link generated in the
CategoryTree. The only effect is additional information about the
link target that may be truncated by 'hideprefix' or CSS overflow,
will now still be accessible in another way.

Change-Id: I4f07fa88f0a528634e9bf3c504e84fb4bf55e3bf
2019-02-14 00:46:35 +00:00
jenkins-bot b6957291a0 Merge "Simplify code by using Xml::element()" 2019-02-12 02:50:54 +00:00
Fomafix 0a3f30b8d7 Simplify code by using Xml::element()
Change-Id: I8b0d1c35d8d7cc310769d586a1716ef5ffbd46b3
2019-02-12 02:47:13 +00:00
Translation updater bot 8fe93461c6 Localisation updates from https://translatewiki.net.
Change-Id: Id7b8744ef21ea76240d757357ba4af9a35608572
2019-02-10 22:18:25 +01:00
Translation updater bot 948426aa30 Localisation updates from https://translatewiki.net.
Change-Id: Ic35245b2d0a180c1a52de4c04f62c5e8cff39c1f
2019-02-07 22:28:31 +01:00
jenkins-bot a02e1278c9 Merge "Fix findings by phpcs" 2019-02-06 18:25:50 +00:00
jenkins-bot 1e4da6f26f Merge "Remove "return true" on hook handler functions" 2019-02-06 18:25:49 +00:00
jenkins-bot 5660483452 Merge "Add typehints to function parameters" 2019-02-06 18:16:19 +00:00
Fomafix c993bb8353 Fix findings by phpcs
* Add @inheritDoc to functions that are inheritance.
* Move comments to a single line.

Remove the phpcs rule exceptions:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: I742ee19f0a3d2d62e08b6f2e35cd9a6b3940cd22
2019-02-06 18:03:50 +00:00
Fomafix 9f12acd962 Remove "return true" on hook handler functions
Before MediaWiki 1.23, returning true was required. Since 1.23 this not
needed anymore.

Change-Id: Iae9bcf416d851af2a8703fd76dc13d0b1d2db8bc
2019-02-06 18:03:15 +00:00
Fomafix 99cef2da9b Remove deprecated module 'ext.categoryTree.css'
The module 'ext.categoryTree.css' was renamed to
'ext.categoryTree.styles' in 3cdb4e95f2.

The caches should now be expired.

Change-Id: I4e2e96c088c47e7e3dfa801c56847dc48d68ee4e
2019-02-06 18:44:52 +01:00
libraryupgrader 7e9c665de6 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: Ifae44e00880bb3014804b25566a5f6e3fb4a9575
2019-02-06 11:08:57 +00:00
Translation updater bot dd4ae9d698 Localisation updates from https://translatewiki.net.
Change-Id: I0de13be4f177ad515fe3f4040930b4826bbc886d
2019-02-05 22:37:32 +01:00
Fomafix b3ac7f5404 Add typehints to function parameters
* Add "= null" when null is supported and used.
* Also fix Doxygen tags.

Change-Id: I209b23eee54b5e8e0f4091f3d4cd7c5e44dbaff0
2019-02-05 15:30:31 +01:00
Translation updater bot e6f038341b Localisation updates from https://translatewiki.net.
Change-Id: I898a051edf934db510a5c7cc2c50c5fbdada8fe1
2019-02-03 22:38:05 +01:00
Translation updater bot 501a92afee Localisation updates from https://translatewiki.net.
Change-Id: I0f17f812788daf48f478f540f6ff819460d03646
2019-01-30 22:13:43 +01:00
Translation updater bot 06f08c7537 Localisation updates from https://translatewiki.net.
Change-Id: I7f4beff1a160ca0142dfd9bf23cb05de64b1ae38
2019-01-28 22:26:39 +01:00
Fomafix 27289b479d Change hooks to explicitly load the modules
This change adds the needed modules to the page in the same hook
that adds the category tree HTML.

This avoids loading the modules on skins without a sidebar, like
SkinApi, or on pages without categories.

A forced-loading of the modules from BeforePageDisplay hook is not
necessary anymore in those cases.

This change avoids getting the OutputPage object from the global $wgOut.

Bug: T212820
Change-Id: I2bd50c45aa201a06630af3d57c9bcfccf7b22b99
2019-01-22 15:31:47 -08:00
Fomafix e31ac9cc84 Use hook SkinBuildSidebar instead of SkinTemplateOutputPageBeforeExec
This change allows the skin to customize if there is a sidebar or not.
For example the SkinApi overloads buildSidebar and therefor the hook
SkinBuildSidebar is not triggered.

Change-Id: Ib39736901f25822d40265ccaa5fd0feea977cdc1
2019-01-22 23:15:07 +00:00
jenkins-bot e97676459c Merge "Attach event handler for categories" 2019-01-22 05:12:20 +00:00
jenkins-bot 860d742808 Merge "Remove hook SkinJoinCategoryLinks" 2019-01-22 05:12:19 +00:00
Fomafix eebad4e3ae Attach event handler for categories
This change is restoring the functionality on categories when
wgCategoryTreeHijackPageCategories is enabled. This functionality was
lost in 69fa92ee11.

Change-Id: I5b16bfd653bf193b15a3003628bfa2bd864b9881
2019-01-22 05:06:37 +00:00
Translation updater bot 1dd4b154c1 Localisation updates from https://translatewiki.net.
Change-Id: I5bfacf651d39ffe2b25b2f2ef7bd2668ef7459ff
2019-01-20 22:35:39 +01:00
Translation updater bot 205c53bf78 Localisation updates from https://translatewiki.net.
Change-Id: Ice94eee3b8980c2995c6050517a7467c3e7e79ca
2019-01-19 22:15:54 +01:00
Translation updater bot ab26301739 Localisation updates from https://translatewiki.net.
Change-Id: I263f2de3cb35ae0a34743365f7b509b259f08b8a
2019-01-13 22:12:44 +01:00
Volker E 14d7d42999 build: Update 'stylelint-config-wikimedia' to v0.5.0
Change-Id: Iad9db00445c184aefd235c7ecb770c5db4de8b46
2019-01-10 12:03:58 -08:00
Fomafix 095040a9e6 Remove hook SkinJoinCategoryLinks
The hook `SkinJoinCategoryLinks` is not used and not triggered.

Also remove the style for the class CategoryTreeCategoryBarItem because
it is only used in skinJoinCategoryLinks::skinJoinCategoryLinks.

Change-Id: I52e4f819ff195fc1fa8a148b0bb58d95a4bf22d7
2019-01-10 20:15:28 +01:00
Fomafix 9529dbf27b Remove support for Firefox 2 and Internet Explorer 7 and older
Change-Id: I5cb8543ab2a07db9386400382913764e182c81ae
2019-01-10 18:25:54 +00:00
Fomafix 3cdb4e95f2 Move styles that only used in JavaScript to JavaScript module
Also rename the style module from 'ext.categoryTree.css' to
'ext.categoryTree.styles'.
Keep the previous module name 'ext.categoryTree.css' for compability to
cached versions.
Also move the files of the module 'ext.categoryTree' into a
subdirectory ext.categoryTree.

Change-Id: Ie5ea28acfb43e33a94ec5824baf4f26d63d8e9e6
2019-01-10 13:38:58 +01:00
Translation updater bot d48e8cf86c Localisation updates from https://translatewiki.net.
Change-Id: Iaf2de9ece0dbb16583147ea06ee4345236563c85
2019-01-09 22:18:39 +01:00
Translation updater bot ac3cde032d Localisation updates from https://translatewiki.net.
Change-Id: Ia05533ceff815b9ccf6593b87f994ee4fffc167c
2019-01-03 22:52:03 +01:00
Translation updater bot b43cc7f44c Localisation updates from https://translatewiki.net.
Change-Id: Ia3ef0c471d79ed356d4801c3269375389bbb13bc
2019-01-01 22:20:15 +01:00
Translation updater bot 39160b1c9d Localisation updates from https://translatewiki.net.
Change-Id: I8408f96ec5ee9938a3ff9534bfc48c214a584628
2018-12-27 09:50:44 +01:00
Kunal Mehta 0f6ca05eaf build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: I1cbbf2644fed413b77cd7203450151c3e315c815
2018-12-17 18:53:41 -08:00
Translation updater bot 70782ecc58 Localisation updates from https://translatewiki.net.
Change-Id: I58724ee6181ad42a95aaab2d8d0d03a73fa1a2b5
2018-12-15 22:23:46 +01:00
Translation updater bot fb9c7059e6 Localisation updates from https://translatewiki.net.
Change-Id: Ia229064c891c24d22d9c8bfd52fc7d470db8daea
2018-12-11 22:39:34 +01:00
Fomafix 0a1f707f2f Remove obsolete aliases from closures
Bug: T208951
Change-Id: I963db9601a597e398187644946d83dda43568069
2018-12-06 19:55:37 +01:00
Translation updater bot 82efd6e321 Localisation updates from https://translatewiki.net.
Change-Id: I7d846e42c1c9936de5b4a6334c99044b18bf1e5a
2018-12-04 22:14:27 +01:00
Translation updater bot 58c8388f16 Localisation updates from https://translatewiki.net.
Change-Id: Idf67478c165bc15e740cb1b11fd83c2bab099323
2018-11-23 22:17:28 +01:00
Translation updater bot 9bbb9397e3 Localisation updates from https://translatewiki.net.
Change-Id: I10469c57f831efbb4f4601755634d04487262756
2018-11-22 22:21:50 +01:00
Translation updater bot 3ab1c48583 Localisation updates from https://translatewiki.net.
Change-Id: I0a8cca1492f60582562ed29e99b491f0e1048566
2018-11-21 22:28:57 +01:00
Translation updater bot f48e206f30 Localisation updates from https://translatewiki.net.
Change-Id: Iad1036b75069bddc2ec5e9474952e35a0ecb7651
2018-11-16 22:29:21 +01:00
libraryupgrader b2de01d0fb build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I8e893255b43e540bd952361c17c25cfa5491e32c
2018-11-14 08:30:11 +00:00
Translation updater bot 8da8f679e4 Localisation updates from https://translatewiki.net.
Change-Id: I6d6ffd09efe3a52e129ebd92befc9f87abe01470
2018-11-12 22:12:35 +01:00
Translation updater bot f1b3a5dc7b Localisation updates from https://translatewiki.net.
Change-Id: I3c3a5ade60c4af3ff5e7b189f48c71b08917d4a1
2018-11-07 22:21:57 +01:00