Commit graph

466 commits

Author SHA1 Message Date
Translation updater bot bd2d3355a4 Localisation updates from https://translatewiki.net.
Change-Id: I9bc6a90623b098e56917ea251bb60502fa497639
2017-11-28 22:34:14 +01:00
Translation updater bot 6e9e16179e Localisation updates from https://translatewiki.net.
Change-Id: I1163f60f4b7d310595ebbecc85547c4eeffd8658
2017-11-26 22:39:21 +01:00
Translation updater bot 6c1da28376 Localisation updates from https://translatewiki.net.
Change-Id: Ic72e20fc496705f5eb3d0d6d8532b14112cb31c1
2017-11-25 22:41:08 +01:00
jenkins-bot ad6af1133b Merge "Rename typo "linker-" keys to proper "linter-"" 2017-11-25 16:41:25 +00:00
jenkins-bot 44aa608aae Merge "Show edit and history links even if page is protected" 2017-11-25 13:56:52 +00:00
xyx_is a262956017 API: Allow querying linterrors by pageid
The pageid parameter limits lint errors to specific pages. Users can get
detailed lint error information of a certain page.

Bug: T181303
Change-Id: I164449254649caff29fcffa3bc7c923c20b8e837
2017-11-24 21:03:05 -08:00
Kunal Mehta 35cfda325b Rename typo "linker-" keys to proper "linter-"
I must have made a typo and prefixed the keys with "linker-" instead of
"linter-".

Change-Id: I041aa3341aaa2efa51d20c848cb19efb648209ac
2017-11-24 20:38:25 -08:00
Kunal Mehta e0ac4c6e6b Show edit and history links even if page is protected
If the user does not have permission to edit the page, still show a
"view source" and history link so they are able to figure out what the
error is.

Bug: T177289
Change-Id: I049d27d37073e452dc0c11128dab5204d110d81f
2017-11-24 20:35:15 -08:00
Kunal Mehta 2c08143ed0 Improve logging for non-existent categories in the database
Suggested by Chad in the review for 3a8d3b9e0.

Bug: T179423
Change-Id: I9286ae33bdb3b0b50aa6f1619402caa5486682e3
2017-11-22 23:05:04 -08:00
jenkins-bot c78e1c8d75 Merge "Handle non-existent categories in the database better" 2017-11-23 00:53:45 +00:00
Translation updater bot fee2f5e65d Localisation updates from https://translatewiki.net.
Change-Id: Idbb9ac3508cd358496bb73f453d54bc6509d3c96
2017-11-22 22:31:20 +01:00
Translation updater bot 8b612a7480 Localisation updates from https://translatewiki.net.
Change-Id: I72d90de7a8bbfe45447145d1e990ef7806cc082e
2017-11-14 22:30:08 +01:00
Umherirrender 1e240e0b5c build: Always exclude vendor and node_modules
Change-Id: I0f1727d6248d7cf0c818ba14f5c94d0d7973aa46
2017-11-11 23:18:05 +00:00
Translation updater bot 0713835d6d Localisation updates from https://translatewiki.net.
Change-Id: I39feed430776e41d25c7cfcb9443085bc3f605ee
2017-11-11 22:40:28 +01:00
Translation updater bot ffbc969729 Localisation updates from https://translatewiki.net.
Change-Id: I17de2666475b533ba5ff024da96a5be433a50927
2017-11-10 22:40:56 +01:00
Translation updater bot f3196eb5da Localisation updates from https://translatewiki.net.
Change-Id: Idf3c61b243a68417d72d1456e07ad4c503838bcd
2017-11-08 22:32:27 +01:00
Translation updater bot 263a6754b5 Localisation updates from https://translatewiki.net.
Change-Id: I055fb70d52d40f34a7517d9f2471213e9a796d2b
2017-11-07 22:38:25 +01:00
Translation updater bot 3f74f0f1eb Localisation updates from https://translatewiki.net.
Change-Id: I89f108e87698ac653e360fd0d68a4067803faea0
2017-11-06 22:55:58 +01:00
jenkins-bot 81f291818f Merge "Use VE's new offset conversion method" 2017-11-06 16:36:38 +00:00
Translation updater bot 03ac5f186b Localisation updates from https://translatewiki.net.
Change-Id: Ic54394d03414584cb9b4e9554cc83c1e2f1dc5b9
2017-11-05 22:27:20 +01:00
Translation updater bot 253da3784f Localisation updates from https://translatewiki.net.
Change-Id: I33873ac2d5589b3ec5c02f863d9c741c995d81f4
2017-11-04 22:44:22 +01:00
Ed Sanders f5df08a745 Use VE's new offset conversion method
Change-Id: I64767fccae26522fdce5287c5486c322108c168a
Depends-On: Idc960a37433c5b8d952a677d1529a25b94fac7f7
Depends-On: I1071faeec586fa2b44be810a35f8044800c8f800
2017-11-04 21:44:11 +00:00
jenkins-bot 331c7a9651 Merge "build: Adding MinusX" 2017-11-04 00:15:19 +00:00
Kunal Mehta 54a0edfddb build: Adding MinusX
Change-Id: Iebdc36e9e58ff3c1894c35503c3966f67164bbc2
2017-11-03 17:01:11 -07:00
Translation updater bot b1943b78f5 Localisation updates from https://translatewiki.net.
Change-Id: I3ce797f5765364c6b268095577f2f11e3f548528
2017-11-03 22:33:09 +01:00
Ed Sanders 25c8a5772e Wait for selection reset when setting selection in NWE
Change-Id: I05fc5678a6945c13c7f390cb30e7fac6efb2767f
2017-11-01 21:43:50 +00:00
Translation updater bot 3f7f5ff64b Localisation updates from https://translatewiki.net.
Change-Id: I73ac116ef321c36b0eacdbab0c4333897d6ea97a
2017-10-31 22:30:54 +01:00
jenkins-bot 674efd33e6 Merge "Add test case to verify all the i18n messages for a category exists" 2017-10-31 20:09:34 +00:00
Kunal Mehta 3a8d3b9e03 Handle non-existent categories in the database better
If a newer version of MediaWiki gets rolled back, it's possible for
there to be lint entries in the database that don't exist according to
CategoryManager.

Instead of showing an error to the user, just silently hide those rows.

All callers to CategoryManager::getCategoryId() already check the
category exists. The callers for CategoryManager::getCategoryName() will
catch the MissingCategoryException, and log it if necessary. Notably
LinterError::makeLintError() will return false on invalid rows, and all
callers have been updated to handle that.

Bug: T179423
Change-Id: Ia5f56f18a51fa871511b02410222a6079efbfff6
2017-10-31 10:42:07 -07:00
Translation updater bot 2b1f81e175 Localisation updates from https://translatewiki.net.
Change-Id: I1686114781d1a95314e2237219bea173d547329c
2017-10-29 22:48:02 +01:00
Translation updater bot 0764caddd4 Localisation updates from https://translatewiki.net.
Change-Id: I9d21d21f8b5e9f167e4694299d439cda1947f456
2017-10-26 23:23:48 +02:00
Translation updater bot 676781a945 Localisation updates from https://translatewiki.net.
Change-Id: I140c08832e66e35daf3f877d6888a7c93b1e69b3
2017-10-24 23:19:27 +02:00
Subramanya Sastry 95f4038db8 Add tidy-font-bug linter high-priority category
* <font> tags with color attribute that wrap links and images
  will have different behavior and hence rendering compared to Tidy.

Change-Id: I7a551ef9b7e8f57d7a43c823832f0e3add6b1367
2017-10-23 17:08:57 -05:00
libraryupgrader 27cf5913e0 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I0fdf3d1233fbdb2de25e542920160db38ecaec81
2017-10-21 03:00:16 +00:00
Translation updater bot 4607025ef2 Localisation updates from https://translatewiki.net.
Change-Id: Ia2a3bc067ddda28b602de918d4d20b370549446d
2017-10-20 22:38:20 +02:00
Translation updater bot b8a0038841 Localisation updates from https://translatewiki.net.
Change-Id: Ic8574a3c78a40eb6c97f2bce41ed32a63aa4cf10
2017-10-19 23:12:36 +02:00
Translation updater bot bbbd09bcaf Localisation updates from https://translatewiki.net.
Change-Id: I6799cd3acaa5af682fbc3895bc888d4fa2292bd7
2017-10-18 22:35:11 +02:00
Translation updater bot 82cbfb5256 Localisation updates from https://translatewiki.net.
Change-Id: Ic4e82559d310283b0acd3fb9568a2fdeb4ce4897
2017-10-17 22:48:43 +02:00
jenkins-bot 89c42223b4 Merge "Setting alias of special page name for Urdu language" 2017-10-17 19:07:35 +00:00
Kunal Mehta 6e4ae8aced Add test case to verify all the i18n messages for a category exists
Change-Id: If079206dd1f1c7c4a1b92f0ee05452bcc28b2323
2017-10-16 17:28:02 -07:00
Translation updater bot d267e99846 Localisation updates from https://translatewiki.net.
Change-Id: I7aae720d772bd3c36b55de7803f3c8b5bd7198e0
2017-10-15 22:47:28 +02:00
Obaid Raza 6ab3852d89 Setting alias of special page name for Urdu language
Change-Id: Id74065117b53d5fa7dd69481527a12d532f6a8cf
2017-10-15 19:52:58 +00:00
Translation updater bot 4f418cab44 Localisation updates from https://translatewiki.net.
Change-Id: Ic2ab22502eaff8d98b894100d5549edae10a54a0
2017-10-14 22:28:23 +02:00
Translation updater bot ca0111501d Localisation updates from https://translatewiki.net.
Change-Id: Ic5cda54f46c34cea95b7167388fb5bbb13426a79
2017-10-13 22:42:29 +02:00
Translation updater bot fc5fda1742 Localisation updates from https://translatewiki.net.
Change-Id: I701115bb41fb9542cf77cb57d65f0a63cc6602d9
2017-10-11 23:01:35 +02:00
Translation updater bot 659661c28f Localisation updates from https://translatewiki.net.
Change-Id: I30c5dfd4c227bef9e8d767ec78b20071864b77fc
2017-10-10 22:57:03 +02:00
Translation updater bot 1d9b5d669b Localisation updates from https://translatewiki.net.
Change-Id: I139fbba6e307fca9046ef9c4d6f4a2697868c82d
2017-10-06 22:39:51 +02:00
Kunal Mehta a1421792e9 Use normal lint error updating logic for page deletions
Page deletions were bypassing the logic in RecordLintJob that
ensured the right category totals cache was cleared and the
statsd updates. Fix that by just using RecordLintJob directly.

Bug: T170313
Change-Id: I06b821b65f65609ddac8ed4e7c662336082d8266
2017-10-05 21:03:30 -07:00
Translation updater bot eac20ab342 Localisation updates from https://translatewiki.net.
Change-Id: I67e3065f7481796191de8122c90edcb92ecc879c
2017-10-05 22:42:18 +02:00
jenkins-bot e67f56c9c8 Merge "Parse linter-category-{name}-desc messages" 2017-10-05 03:23:27 +00:00