Commit graph

2029 commits

Author SHA1 Message Date
Amir Aharoni 5723ae91d1 Split apihelp messages to a separate file
Bug: T189982
Change-Id: I915b0d5b0dc4232d8999c5fcf246274537503121
2019-05-11 11:05:07 +03:00
Translation updater bot c58cf46261 Localisation updates from https://translatewiki.net.
Change-Id: I5a9c77eb9f8ab0086f9cdcafaa4c2398bc65e254
2019-05-10 09:18:28 +02:00
James D. Forrester 4ff1aa4b27 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Bug: T220036
Change-Id: Iaa39b38322be38c06afd6b870cfe16b3ee8f8543
2019-05-06 15:12:27 -07:00
Translation updater bot 68ece0c012 Localisation updates from https://translatewiki.net.
Change-Id: I82d4d6fa2b5b463e551e48cc93515c90d4dd6de2
2019-05-06 09:03:16 +02:00
Derick Alangi f9f6ac6348 Avoid use of deprecated ->disableCache() in Parser
This method was deprecated in mediawiki 1.27.

Change-Id: Icdeeb41bbc66bcf6df25e42769bdb4e8140c058a
2019-04-30 12:06:25 +00:00
Translation updater bot 09c5798aba Localisation updates from https://translatewiki.net.
Change-Id: Iab0693b9e0152d95746dae1b81ffc8d63e061909
2019-04-29 22:15:16 +02:00
Translation updater bot 5e13de9b57 Localisation updates from https://translatewiki.net.
Change-Id: Ia8800d85d185575605b42d94176d6966fc9ea0c6
2019-04-22 09:22:50 +02:00
Translation updater bot 17a767baad Localisation updates from https://translatewiki.net.
Change-Id: I0411d3b8d349406262c0dda559f03f78a59c14e6
2019-04-19 09:52:37 +02:00
Translation updater bot 8659da89d9 Localisation updates from https://translatewiki.net.
Change-Id: Ia32622099f3098697e9f8d54b0d0756aa899ea70
2019-04-15 22:52:51 +02:00
James D. Forrester 912ce000e6 build: Update eslint-config-wikimedia from 0.5.0 to 0.11.0
Change-Id: I273d2e7f9f65e54535cd3bf14bb2dbb628c42cf2
2019-04-12 12:33:52 -07:00
Translation updater bot ae664a2466 Localisation updates from https://translatewiki.net.
Change-Id: I6191ffe3c4131892eddd15b05d68a8354517740f
2019-04-12 08:31:23 +02:00
jenkins-bot ece3dc2629 Merge "Remove 'wgCategoryTreePageCategoryOptions' export from pageview HTML" 2019-04-05 23:07:10 +00:00
jenkins-bot 65e45a42e3 Merge "build: Exempt wgContLang warnings for now" 2019-04-05 23:07:09 +00:00
Timo Tijhof c839756b32 Remove 'wgCategoryTreePageCategoryOptions' export from pageview HTML
This was internal to CategoryTree JS code and only needed on very
few pages. Export it as part of the module that needs it, instead.

Given this is computed and not a plain config var, use callback
to generate the value.

Bug: T219342
Change-Id: I790a98128b0a3317e27ac0d5fda08d48aeb640dc
2019-04-05 11:31:03 -07:00
James D. Forrester 904bba5eeb build: Exempt wgContLang warnings for now
Change-Id: Ib8b49d90504e6931cf0298b175d156a807fc8dbe
2019-04-05 11:31:03 -07:00
Translation updater bot 9e4d254fc3 Localisation updates from https://translatewiki.net.
Change-Id: I1e5eda1363972cdd5d1f3ee7cbaca59f5e2e471c
2019-04-04 14:52:26 +02:00
Umherirrender f9a591aa3e Replace deprecated TitlePrefixSearch
Deprecated since 1.27, this extension requires 1.29

Change-Id: I12c56c2b37c4dc5c5be99a0628289449b9a85f92
2019-03-27 21:44:37 +01:00
Translation updater bot 71f5ec480f Localisation updates from https://translatewiki.net.
Change-Id: I2a0eefecef43c23285efe2388614de501725fddd
2019-03-23 10:22:22 +01:00
Translation updater bot 0998733013 Localisation updates from https://translatewiki.net.
Change-Id: If778c85912d5f49f71eaba1d6632002455f668a4
2019-03-20 22:26:42 +01:00
Translation updater bot 19c2aa64b0 Localisation updates from https://translatewiki.net.
Change-Id: I5f903a91d25301879d7f2e3a08f145c850799aa4
2019-03-18 23:07:00 +01:00
jenkins-bot 366fd9da4d Merge "Migrate to new phan" 2019-03-17 23:11:00 +00:00
Translation updater bot 64f9fba7c6 Localisation updates from https://translatewiki.net.
Change-Id: I561c3b098d6b8671edcd70d18ff587176a96896c
2019-03-17 22:13:53 +01:00
Matěj Suchánek 89c61833c2 Migrate to new phan
Bug: T216908
Change-Id: I28faf3638dfbc20b84ba78d476b02f7bbc8cbd6a
2019-03-17 21:25:03 +01:00
Translation updater bot 999417afea Localisation updates from https://translatewiki.net.
Change-Id: I4d9608ffc35ccb628de85d96606d003fe3cb985d
2019-03-12 22:29:15 +01:00
jenkins-bot 516ea8dc07 Merge "Avoid use of func_get_args()" 2019-03-08 22:27:38 +00:00
Translation updater bot 6269f5a8c4 Localisation updates from https://translatewiki.net.
Change-Id: Ie5ef7639fc10cf722391c52f13c6dbb20004c8a8
2019-03-08 22:28:54 +01:00
Kunal Mehta 71ee586108 Avoid use of func_get_args()
Change-Id: I7854d2005aefd581959c2cd292928900c047203c
2019-03-08 13:03:38 -08:00
Translation updater bot 51ddca1bde Localisation updates from https://translatewiki.net.
Change-Id: I62827a75fbc3def236b21199ae55cb50ad5ab2c5
2019-03-07 22:40:35 +01:00
jenkins-bot d2e04a3391 Merge "Stop manually messing with caching HTTP headers" 2019-03-06 15:11:11 +00:00
Max Semenik 60884c60e7 Stop manually messing with caching HTTP headers
It has origins in times when this code was in an AJAX function, however
now that it's in an API module it's not needed and can be counter-productive
as headers issued might conflict with MW headers. Let the API take care of
this via its standard means.

Change-Id: I8ebf8e7b935d7d252ac010bc1b88202b87f43e20
2019-03-05 20:55:22 +00:00
Translation updater bot 3a0a599e2e Localisation updates from https://translatewiki.net.
Change-Id: Ib60095701ce5d1d4b6190eda5c7c44b7221f2b04
2019-03-02 22:42:22 +01:00
Translation updater bot 611779a220 Localisation updates from https://translatewiki.net.
Change-Id: Ie40760daf0529b5c6c310e1a98c4de72e2e7638e
2019-02-28 22:24:36 +01:00
Translation updater bot 2460b430a8 Localisation updates from https://translatewiki.net.
Change-Id: I5c97b8a227a7c0fc3cce5f823d629d5278c24b08
2019-02-25 22:57:33 +01:00
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