C. Scott Ananian
2e49c745d7
Move category IDs into the extension.json information
...
This reduces the number of different files that need to be modified
in order to add a new linter category.
Change-Id: Id095317d6d761c57e2ce632d34ebd962bf85e785
2017-12-08 11:28:21 -05:00
C. Scott Ananian
60562e74fc
Move $hasNameCats into the information in extension.json
...
Change-Id: Id4f01a2929ce43ac9d6c33655eed25bfd2cf37e3
2017-12-08 06:42:43 +00:00
C. Scott Ananian
c0ad96898d
Add 4 new high priority linter categories
...
* multiple-unclosed-formatting-tags: this is a subset of the unclosed
formatting tag lint, but is higher priority because unclosed tags
like <small> and <big> compound their effects
* unclosed-quotes-in-heading: unclosed wikitext i/b tag with a heading
ancestor (this causes breakage which leaks out of the table of
content to affect the rest of the page)
* multiline-html-table-in-list: html table with newline breaks nested
in a list
* misc-tidy-replacement-issues: this is a catchall category for
infrequent long-tail issues, used to enable speedy deployment of new
linter categories during tidy replacement as wikis get RemexHtml
enabled. These will have a subtype property to identify the
specific issue.
Change-Id: Ic2c965132f7a09679574489865bdc81df9e43845
2017-12-08 06:39:16 +00:00
Translation updater bot
6c89bef061
Localisation updates from https://translatewiki.net .
...
Change-Id: Iba536daebc1988b8e56bef73f4bdafbaa71a68d6
2017-12-07 23:07:37 +01:00
Translation updater bot
4c7dcee19c
Localisation updates from https://translatewiki.net .
...
Change-Id: I2c31b572ba8d58210817e027066a3ad1ce947c4d
2017-12-05 09:41:01 +01:00
Yongmin Hong
547f71c624
Add Korean translation for Special pages
...
Change-Id: If34f9ce121ed897784a4842d8acbf8e7d74e351c
Signed-off-by: Yongmin Hong <revi@pobox.com>
2017-12-05 16:10:54 +09:00
jenkins-bot
6c954f6b80
Merge "Replace deprecated usage of ApiBase::dieUsage()"
2017-12-03 23:28:46 +00:00
Haikal Izzuddin
94fa73ac1b
Replace deprecated usage of ApiBase::dieUsage()
...
Linter calls the deprecated ApiBase::dieUsage() function in
ApiRecordLint.php, replacing it with dieWithError().
Bug: T181758
Change-Id: I0cbf784f591b86b206b032fccbc0e32564a3e9e8
2017-12-03 15:26:39 -08:00
Translation updater bot
9715ecdd12
Localisation updates from https://translatewiki.net .
...
Change-Id: I77a00d27d2e59f9adbc5d93d34d5ecbba8ffbe7e
2017-12-03 22:57:26 +01:00
Translation updater bot
44da7b6086
Localisation updates from https://translatewiki.net .
...
Change-Id: I692e1f0ca3143bf389ec0ac13272a6f905766c68
2017-12-02 22:37:47 +01:00
Translation updater bot
97895f4dcd
Localisation updates from https://translatewiki.net .
...
Change-Id: I649fd18fa68dbc59056f028c757a168a56273d2d
2017-11-30 23:46:13 +01:00
Translation updater bot
7772664149
Localisation updates from https://translatewiki.net .
...
Change-Id: I9724c3c7ae1be1918abf069c6a24e67f48cfceb0
2017-11-29 22:41:29 +01:00
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