Commit graph

1996 commits

Author SHA1 Message Date
Kunal Mehta c28084d3c5 Don't specify default parameters to SpecialPage::__construct()
Change-Id: I8fae3fee0edbc95b1bb7d012af6e4ce067bb4f62
2018-04-10 20:48:37 -07:00
Kunal Mehta 987392938b Use ::class
Change-Id: Id43297b7930cd8f3e5a330c5e99fea9b85014c65
2018-04-10 20:48:37 -07:00
jenkins-bot 474957f3b9 Merge "Add phan configuration" 2018-04-11 00:20:46 +00:00
Translation updater bot 0d4c627c78 Localisation updates from https://translatewiki.net.
Change-Id: I02c5a752dbc72f4cd1e9619397d219237e0c2fa5
2018-04-10 22:15:07 +02:00
Kunal Mehta 4e1158b7d2 Add phan configuration
Change-Id: I8d438ad061500bc56f5e3e527f18296485988d6f
2018-04-08 18:50:31 -07:00
Translation updater bot 26916500f1 Localisation updates from https://translatewiki.net.
Change-Id: I82911caf8ae4c7fa68ce2cc0eb228e56722cf43f
2018-04-07 22:34:06 +02:00
Translation updater bot 6dbaaa4aac Localisation updates from https://translatewiki.net.
Change-Id: I9d6c7c1475edc9358f97cc906360b50f20440a96
2018-03-31 09:22:13 +02:00
libraryupgrader 2149a818a8 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: I0962aef8e0b2e40392af5c0d366c6543b2ae78e9
2018-03-29 00:23:36 +00:00
Translation updater bot fda8838e62 Localisation updates from https://translatewiki.net.
Change-Id: I3097f115cf97d57a0dc2be82a08b26799aa02bf4
2018-03-24 22:29:13 +01:00
Translation updater bot 6f718e5a8e Localisation updates from https://translatewiki.net.
Change-Id: I01cbb432a71b9fb5c50688453c08b08652c7d324
2018-03-19 22:18:51 +01:00
Translation updater bot b28ec6c807 Localisation updates from https://translatewiki.net.
Change-Id: Ia49f0e0e44fb1c1d9835e282554084025078b6d6
2018-03-11 22:30:36 +01:00
libraryupgrader 5f9a92c005 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Iaad660a4a649696fc70ac74e82a69a69277fbaed
2018-03-09 05:45:42 +00:00
Translation updater bot f0759b2bbe Localisation updates from https://translatewiki.net.
Change-Id: I52792b5fcf30b47061f33af29b470af300f5b9e2
2018-03-08 22:45:30 +01:00
Translation updater bot 8e6ab43428 Localisation updates from https://translatewiki.net.
Change-Id: Ia83d800885be265dc2cdca7b38a7de744efb600c
2018-03-05 22:24:22 +01:00
Translation updater bot 4c4b0be561 Localisation updates from https://translatewiki.net.
Change-Id: I1dbbb65ab9e3ab4a8278f64d42ed329027e569e6
2018-02-27 22:25:27 +01:00
jenkins-bot 5c5da4ca9e Merge "Avoid href="#" for <a>" 2018-02-27 02:08:42 +00:00
Translation updater bot ccaacc0483 Localisation updates from https://translatewiki.net.
Change-Id: Ie1933e042de00343e0027f3f7fd1a944ab962fa3
2018-02-26 22:20:13 +01:00
jenkins-bot a299b2cd21 Merge "Avoid parsing and re-encoding ct-options in categoryTree.js" 2018-02-26 19:17:26 +00:00
libraryupgrader ab2ed31ee9 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I54ca9e45e9bc027b0e74156fa7f6ac246b2cb55a
2018-02-25 06:56:17 +00:00
Translation updater bot 39fc11a5ed Localisation updates from https://translatewiki.net.
Change-Id: I523e6e09cd0eaa140accc407265dbc277113f148
2018-02-22 23:21:43 +01:00
Translation updater bot a7b5d9a479 Localisation updates from https://translatewiki.net.
Change-Id: I0e24d2490816a1343cf72107736b0c4fb704c433
2018-02-20 22:28:44 +01:00
Timo Tijhof c35519b5af Avoid parsing and re-encoding ct-options in categoryTree.js
Follows-up 680cdd688a, which accessed the data attribute
using data() instead of attr(), making it thus be parsed as JSON,
only to be re-encoded with JSON.stringify().

I considered to instead change the 'wgCategoryTreePageCategoryOptions'
mw.config var to not be double-encoded as JSON, but concluded
it actually makes sense the way it is. Right now the options are,
from the client-side perspective, considered to be a blackbox string
set on either a link attribute, or in an mw.config key, and are
to be passed as-is (in whatever format) to the 'options' parameter
of the API module.

At least until we need these values on the client (which we don't right now)
it makes more sense not to have any js for decoding and re-coding.

Change-Id: I1e1e02a13d7a5293c9ae2e0ec61575ddb7a1f286
2018-02-20 04:27:15 +00:00
Translation updater bot 43ac7014e0 Localisation updates from https://translatewiki.net.
Change-Id: I2a9f7fc5318c6d70e8c1b692853a7ebd40882dda
2018-02-18 22:40:12 +01:00
Translation updater bot 5e0fa431d0 Localisation updates from https://translatewiki.net.
Change-Id: I400fdce9cc9f9a18e3d846cdbe4221656ebc35dd
2018-02-17 22:27:20 +01:00
libraryupgrader fbabf98e4c build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I62590392ec877a2fcfbaf4aa4e4338ba2035e298
2018-02-17 19:13:27 +00:00
Timo Tijhof 38babc1011 Set visibility of CategoryTree::encodeOptions() as protected
Not referenced anywhere in Wikimedia Git, except for the one
method that uses it, in the same class here.

Also:
* Set explicit 'public' visibility of getOptionsAsJsStructure().
* Avoid use of !is_null().
* Avoid assignment in ternary.

Change-Id: I71d2a247e001b7f7f4f52546e8167a79d873076e
2018-02-16 19:30:51 -08:00
Translation updater bot 600caa9505 Localisation updates from https://translatewiki.net.
Change-Id: Id6cadf010704208753dcb656e2f32112cfb6f652
2018-02-16 22:28:55 +01:00
libraryupgrader c598422ad8 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Ia9838601a37c93ac36811cb72f0f81ed1c332b5e
2018-02-15 09:00:51 +00:00
James D. Forrester 120b01696b build: Bump devDependencies to latest
eslint-config-wikimedia      0.4.0  →   0.5.0
 grunt                        1.0.1  →   1.0.2
 grunt-banana-checker         0.5.0  →   0.6.0
 grunt-eslint                19.0.0  →  20.1.0
 grunt-jsonlint               1.0.8  →   1.1.0
 grunt-stylelint              0.6.0  →   0.9.0
 stylelint                    7.8.0  →   8.2.0
 stylelint-config-wikimedia   0.4.1  →   0.4.2

Change-Id: Id081b31764ae923486031255cc5f24bfd6601782
2018-02-14 09:21:40 -08:00
Tulsi Bhagat 9e98b1c4a5 Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: Ib8c741b7eef50deb79ae2bc0d71c913077f95df7
2018-02-12 12:18:17 +00:00
Translation updater bot ca3e357dd3 Localisation updates from https://translatewiki.net.
Change-Id: I6c46aa8050232d607fba5968db6eb4092d789fc1
2018-02-11 10:42:00 +01:00
Kunal Mehta 8e51ea4e3a Move classes into includes/
Change-Id: I308523aa764594798d72974fb79e19aef6c3f342
2018-02-08 22:23:07 -08:00
Translation updater bot 9bb35aba53 Localisation updates from https://translatewiki.net.
Change-Id: I7f37bd2051dcb50d242e2b78cd473e6061a71506
2018-02-07 22:17:16 +01:00
Translation updater bot 067edb8e85 Localisation updates from https://translatewiki.net.
Change-Id: I6bc39d6aaf9c5be8e9014b387e229a39861264cc
2018-02-06 22:35:20 +01:00
Translation updater bot c412f63032 Localisation updates from https://translatewiki.net.
Change-Id: I8a8e723dd18dfbe234e42bc57fcb1d78f3dc2d36
2018-02-04 22:43:24 +01:00
Translation updater bot 80549b1c37 Localisation updates from https://translatewiki.net.
Change-Id: Ib65029e67b906939fc1b1bb1082bbb0385d26b9b
2018-01-31 22:19:53 +01:00
Translation updater bot bfd88aa921 Localisation updates from https://translatewiki.net.
Change-Id: Id05db2b7104d8322b7b9baf6def4a315180699f7
2018-01-26 22:36:26 +01:00
Translation updater bot 62310fc4d5 Localisation updates from https://translatewiki.net.
Change-Id: I55d397d4fd4ed1d2cf11479d17a52717d7a26084
2018-01-24 22:20:40 +01:00
Translation updater bot e29f966e66 Localisation updates from https://translatewiki.net.
Change-Id: I0d85f72a60d0c575fe30a9fd5cee73a598f2c0a2
2018-01-21 22:17:03 +01:00
Translation updater bot daa7f84ccb Localisation updates from https://translatewiki.net.
Change-Id: Ie3e9626e9da12036a7d289d77001ab0bfb3c2ddc
2018-01-20 14:42:25 +01:00
Translation updater bot 2f0ad135d6 Localisation updates from https://translatewiki.net.
Change-Id: Ie74c2168adb55704e9ff5f3152a029ead1572325
2018-01-16 22:49:16 +01:00
Translation updater bot 44ff499091 Localisation updates from https://translatewiki.net.
Change-Id: I774654699909aecc8e19392542ab9ef3316bc4eb
2018-01-07 22:46:56 +01:00
jenkins-bot 39989bed01 Merge "Use SPDX 3.0 license identifier" 2018-01-06 08:41:37 +00:00
Translation updater bot 6e9691f5db Localisation updates from https://translatewiki.net.
Change-Id: I47cf89c5830d1f2cd17b689413130e1f07d278b7
2018-01-05 09:21:23 +01:00
Kunal Mehta 525a4121ec Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Ie7dda5637ce63abd241cfca73ee37b3d014d2efb
2018-01-04 02:52:36 -08:00
libraryupgrader c2208e3cfa build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Squiz.Scope.MethodScope.Missing

Change-Id: Id35b841091974031c033371646cbca0fb5891d59
2017-12-29 23:24:48 +00:00
Translation updater bot 632c5fd56f Localisation updates from https://translatewiki.net.
Change-Id: I59a06965057822815a4cdb33e03a1693e59c7fe3
2017-12-27 10:30:50 +01:00
Translation updater bot d63380b8e2 Localisation updates from https://translatewiki.net.
Change-Id: Ic3dd344d5bcad712709fa329d6c93b37898e8a2a
2017-12-18 23:06:08 +01:00
Dolfinus 23b2dd947f Add MobileFrontend support
Bug: T171767
Change-Id: I302876cd8fee451ad75e3e84a4d951edd324ff28
2017-12-18 21:09:08 +01:00
Translation updater bot 5a1ff11e73 Localisation updates from https://translatewiki.net.
Change-Id: I74f9648bb3db7ea8b089ab9a77a39103eaefef00
2017-12-17 22:25:50 +01:00