DannyS712
eb381bbb8f
PHP coding conventions: reorder doxygen tags
...
See https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#Doxygen_tags
Change-Id: I0f0a397c4b4e2e266ea050e92b67c01cee73f3bf
2020-03-26 15:50:02 +00:00
libraryupgrader
feec9687a1
build: Updating mkdirp to 0.5.3
...
* https://npmjs.com/advisories/1179
Change-Id: Ib0bdd1dc213a1e0142934fea4b21dd6627737e11
2020-03-21 04:42:39 +00:00
libraryupgrader
b9fe63ee91
build: Updating minimist to 1.2.5
...
* https://npmjs.com/advisories/1179
Change-Id: I267c4eca41d19628f79e97c03f76963b64d11385
2020-03-19 04:05:29 +00:00
jenkins-bot
4ab449ac8d
Merge "Remove usage of deprecated Revision::newFromTitle"
2020-03-11 14:08:33 +00:00
jenkins-bot
b1490c422f
Merge "Avoid using Title::__construct"
2020-03-08 19:53:28 +00:00
libraryupgrader
385005b0c8
build: Updating acorn to 7.1.1
...
* https://npmjs.com/advisories/1488
Change-Id: Ie1cd390f285e158f00e21d3f18e3a6119655c105
2020-03-08 10:13:49 +00:00
Daimona Eaytoy
a39d6acb00
Avoid using Title::__construct
...
Change-Id: I951e412b3f4d7813bb27b9895148ccc59dfd154f
2020-03-07 13:14:08 +00:00
Petr Pchelko
381512b11f
Remove usage of deprecated Revision::newFromTitle
...
Bug: T246284
Change-Id: I4e0a197bbc51b4d05e6519fb2447c0f791d40380
2020-03-03 20:26:09 -08:00
Translation updater bot
144ef925dc
Localisation updates from https://translatewiki.net .
...
Change-Id: I7cb2df096de4a374f72751d868321e8c47180815
2020-02-26 08:25:16 +01:00
libraryupgrader
0778590638
build: Updating composer dependencies
...
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1
Change-Id: I79f9a3251904e6e7a0e1c27d64d242b40bbc1012
2020-02-04 19:17:43 +00:00
libraryupgrader
712d006ba3
build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
...
Additional changes:
* Also sorted "composer fix" command to run phpcbf last.
Change-Id: I5e714b548aa11857b5631df94c075fa0e4e7ce81
2020-01-14 08:48:00 +00:00
Umherirrender
586a64e657
build: Remove unneeded exclude from .eslintrc.json
...
This reverts parts of commit 1cb5c2f93b
.
Change-Id: I581ad903e73e3028648a24363232218cee17fe1e
2020-01-08 19:30:42 +00:00
libraryupgrader
1cb5c2f93b
build: Updating npm dependencies
...
* grunt-eslint: 21.0.0 → 22.0.0
* eslint-config-wikimedia: 0.12.0 → 0.15.0
The following rules are failing and were disabled:
* brace-style
* camelcase
* eqeqeq
* max-len
* max-statements-per-line
* new-cap
* no-constant-condition
* no-dupe-keys
* no-empty
* no-implicit-globals
* no-mixed-spaces-and-tabs
* no-redeclare
* no-tabs
* no-undef
* no-underscore-dangle
* no-unused-vars
* no-use-before-define
* no-useless-concat
* one-var
* valid-jsdoc
* vars-on-top
Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.
Change-Id: I6add315b206d646b00bc39794ae5cdf94d324818
2020-01-08 02:37:33 +00:00
libraryupgrader
bf0bef45e5
build: Updating mediawiki/mediawiki-phan-config to 0.9.0
...
Additional changes:
* Added .eslintcache to .gitignore.
Change-Id: Ifb537c01f077031e085afb8cf6fa807375dc0226
2019-12-21 20:47:50 +00:00
James D. Forrester
3caa4aaf28
Remove unused 'OpenSearchXml' hook handler
...
This is the equivalent of the current 'ApiOpenSearchSuggest' hook
as it once existed in the "OpenSearchXml" MediaWiki extension,
which merged into core and archived three years ago.
See also Ibe244851857ddff3a437acb12c3cc7660eb89089 in TextExtracts
Change-Id: Ifae845925692f2c1113896133e99901782126841
2019-12-20 16:55:15 +00:00
libraryupgrader
994220dbf5
build: Updating dependencies
...
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2
npm:
* grunt-banana-checker: 0.6.0 → 0.8.1
Additional changes:
* Added .eslintcache to .gitignore.
Change-Id: Ic5b5f143f79ed23ded419e2a1ee31599c5b657ce
2019-12-17 18:47:03 +00:00
Translation updater bot
b7f54e8da6
Localisation updates from https://translatewiki.net .
...
Change-Id: I85a355b6cc21f5babe8cabe645eb84339b6a49b9
2019-12-09 09:36:29 +01:00
Translation updater bot
3eb8256d05
Localisation updates from https://translatewiki.net .
...
Change-Id: I57b4fbea7c69cabf2fed79326717e4b5d11e3e45
2019-12-06 09:31:54 +01:00
Umherirrender
570e1a8599
build: Updating mediawiki/mediawiki-phan-config to 0.8.0
...
Bug: T235049
Depends-On: I42d38a8e653d27a4d430ab78bba8b4f3988d7a27
Change-Id: I43ec99bf88b3eebc2d9c31007a559de3cb9e0d2d
2019-11-04 19:18:18 +01:00
jenkins-bot
9060029d88
Merge "Optimize ApiQueryPageImages::getTitles"
2019-11-01 02:17:37 +00:00
Umherirrender
0de5777cf7
Optimize ApiQueryPageImages::getTitles
...
Avoid array_map/array_flip + foreach when doing the simple thing also in
the foreach
Swap Title::newFromText to Title::makeTitle to avoid reparsing the
string
Bug: T237068
Change-Id: I745cb9bd817a4b2274c6f778c38c58846ef318c1
2019-10-31 23:08:13 +00:00
Umherirrender
5c0a57c9f8
Do not query pageimages for special pages and not-existing titles
...
Save on query on each page view of special page
Change-Id: Id6e79ba891ed917b40fa33f63e0d8f318d1ca269
2019-10-31 20:43:23 +01:00
Kosta Harlan
47660475b9
Tests: Stub getRequest/getConfig for OutputPage mock
...
Needed due to I4bf53dabb6e6c5446cea99a64db68b300cef2fd4
Bug: T236723
Change-Id: I8505d2dad69aefed5f8ed1f599b3ca1b7e79acf5
2019-10-29 12:23:57 +01:00
Translation updater bot
22d752b007
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie7a06e459537bd1c51f658ec63511c5739f461c9
2019-10-28 16:35:41 +01:00
James D. Forrester
a9518ea914
build: Upgrade mediawiki-codesniffer to v28.0.0
...
Change-Id: Ic742e7cde506b7d0c1865453cc8895faefe10e90
2019-10-11 11:05:53 -07:00
Max Semenik
0665baacc3
Fix PHPUnit 4 rudiments
...
Change-Id: Idcba8dce56f7a5deea7f8dd5a126c7bdfa499064
2019-10-04 19:16:34 -07:00
Translation updater bot
3e3ccd8efa
Localisation updates from https://translatewiki.net .
...
Change-Id: I1ee9017291cea901da2af26ff52be7ae7cdc8c20
2019-09-23 09:26:31 +02:00
Translation updater bot
ff41968561
Localisation updates from https://translatewiki.net .
...
Change-Id: I71bb2d78b7ecef7aba286e32774d69b768636099
2019-09-16 09:56:44 +02:00
Translation updater bot
26e5312d77
Localisation updates from https://translatewiki.net .
...
Change-Id: I70f67b2d014dc8ad08afbcdcd193da86bc3ffd47
2019-08-30 10:04:24 +02:00
Translation updater bot
f3440a1951
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia8099c90d8e62c6d31c7f7b3a765ecb94814689a
2019-08-27 11:05:01 +02:00
Alex Monk
378c5ab4cf
Split apihelp messages to a separate file
...
Bug: T189982
Change-Id: Ibcd42f3d69843e22783507d790118d4ad0d159ad
2019-08-25 02:35:02 +01:00
libraryupgrader
8089aa1b5e
build: Updating eslint-utils to 1.4.2
...
* https://npmjs.com/advisories/1118
Additional changes:
* Added .eslintcache to .gitignore.
Change-Id: Ia670947ef5aac549c2b8c239815517ce56b379b3
2019-08-22 21:29:28 +00:00
Simon Legner
e1b6ba7da4
PageImages on File namespace should be the file itself
...
The file page for an image should include the `og:image` meta tag. Thus,
a thumbnail is shown for the image when posting a link via social media.
Relates to Ide250d489a1ceedd7e896a3b44471752f0971fb1.
Change-Id: I81435289a4a6c7749462ba447aa626120a9c821c
2019-08-15 15:11:51 +02:00
Tim Starling
4d11163e5e
Use READ_LATEST during LinksUpdate
...
The hook is called during page move. If you try to fetch the current
page content from the replica, it won't be there with the specified
title, causing an exception.
Bug: T221763
Change-Id: Ib91bf399f251fc715d8f27a4f8f7f4c9db9d30c8
2019-07-25 14:11:05 +10:00
libraryupgrader
7d93ee1fd9
build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
...
Additional changes:
* Committed package-lock.json (T179229) too.
Change-Id: I11020439a359e50398856e2efe965fe8e788d589
2019-07-14 14:41:28 +00:00
James D. Forrester
2187e20bbe
build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
...
Change-Id: Ia55c9d5620a313f598881b50cb516c348dbe69a9
2019-07-09 14:13:10 -07:00
libraryupgrader
02154da1a8
build: Updating mediawiki/mediawiki-phan-config to 0.6.1
...
Change-Id: Ie5704bbe8d3202d716bafb58dcbe61fa9e0cf5c8
2019-06-10 09:40:16 +00:00
Translation updater bot
ceaa875d3f
Localisation updates from https://translatewiki.net .
...
Change-Id: I95373c3e02f1484b2d0dea5d363c7ca16a1b8677
2019-06-02 22:30:30 +02:00
Translation updater bot
7287544bd2
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic24ff899ede475c5ee666596882fc81d780fb715
2019-05-30 22:53:53 +02:00
James D. Forrester
8be55d3f8e
build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
...
Change-Id: I7ae166bf3e55b5ce6f26bfeea38d87a6c198ec64
2019-05-19 12:22:13 +00:00
James D. Forrester
91a0d3b6e9
build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
...
Change-Id: I142a8d136b65d26ac148dbe825e542af9c796f5f
2019-05-07 10:04:08 -07:00
James D. Forrester
350af7c5c0
build: Update eslint-config-wikimedia from 0.5.0 to 0.11.0
...
Change-Id: Ie37436a726e1d3b5549b042e12014dbcf1b850eb
2019-04-12 12:42:22 -07:00
Derick Alangi
a63145e559
maintenance: Use addDescription() instead of mDescription property
...
Change-Id: I635ee7d005f4f88ffc0fb3dc5a7f98acad419985
2019-04-06 16:10:26 +01:00
libraryupgrader
75000f5154
build: Updating mediawiki/mediawiki-phan-config to 0.5.0
...
Change-Id: I7d94649c26fda91cf8072c9530ca8e59f42f8b9a
2019-03-10 22:28:35 -07:00
jenkins-bot
7009da69fa
Merge "Add phan"
2019-03-08 20:21:48 +00:00
Umherirrender
5682f9c0e2
Use ::class for class name resolution
...
Available since php5.5
Change-Id: Iaaffa6b0f3c1314c575b5f46f729c8a2b2630107
2019-03-02 17:50:46 +01:00
Umherirrender
6e81389a00
Add phan
...
Change-Id: Ib50452c57c9ca2256d22a9952d932bb9b577e3b1
2019-02-28 21:33:10 +01:00
Umherirrender
272b98a34c
Pass string as field to IDatabase::selectField
...
It is documented as string, because it can only select one field,
not a list of fields
Change-Id: Id3e51bdc12a2abea16e4963ea95caf7f9213f853
2019-02-28 21:21:11 +01:00
libraryupgrader
50511d6fa8
build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
...
Change-Id: I4ca4095d2c4c3bf18dfae0bb92f993ecefaeee0f
2019-02-07 02:23:14 +00:00
Translation updater bot
4139477986
Localisation updates from https://translatewiki.net .
...
Change-Id: Id8a9b0b3dd4aa1431bc979c8c2754b80df60adcf
2019-01-28 22:27:11 +01:00