Commit graph

98465 commits

Author SHA1 Message Date
DannyS712
7d80fc0aa1 Remove $wgAllowImageMoving, deprecated
Bug: T245293
Change-Id: I4026eda0d072426112040c5c74cc6e14382b7681
2020-09-14 01:21:50 +00:00
Thalia
addb098c39 Deprecate DatabaseBlock methods moved to DatabaseBlockStore
Following 23c3c70d7f, soft deprecate the static methods on
DatabaseBlock that have been moved to DatabaseBlockStore:
* ::insert
* ::delete
* ::update
* ::purgeExpired

Update calls to the deprecated methods from core.

Change-Id: I1272eb978594fd4f386bda12cbc24131ad7d882f
2020-09-13 22:17:27 +00:00
jenkins-bot
9f2abc7be1 Merge "MediaWikiIntegrationTestCase: Fix reference to method in documentation" 2020-09-13 10:34:07 +00:00
jenkins-bot
b1976d6229 Merge "Update and fix typos of specialPageAliases for Arabic (ar)" 2020-09-13 10:00:34 +00:00
jenkins-bot
c16c4c110b Merge "Add a link from a deleted page to that page's logs" 2020-09-13 09:58:27 +00:00
jenkins-bot
2ed425f39e Merge "PHPUnit integration tests: fix handling of null user in editPage()" 2020-09-13 09:24:18 +00:00
Meno25
b278c74040 Update and fix typos of specialPageAliases for Arabic (ar)
Requested by User:علاء

Change-Id: I312fdaf38cb7c50c29f6ca63b667de81ae655781
2020-09-13 09:08:57 +00:00
Ostrzyciel
81ac2fc852 PHPUnit integration tests: fix handling of null user in editPage()
The PHPDoc for the editPage method stated that if $user is null,
the test sysop user will be used instead. This is not the case in
practice, as the method simply passes null to the doEditContent
method.

As Ammarpad has pointed out in a comment, this confusion is due to
I5a10163 assuming the sysop would be used, which is incorrect.
It's also probably better for the default user to be a "regular"
user, not a sysop, so I changed it to getTestUser() and noted this
in the doc block.

Depends-On: I7a79e0eaa1617e4d87a8d615a5391723c0e30b6a
Change-Id: I9f77474f40e0f6901aa2c6f846e471b822636aa5
2020-09-13 09:42:52 +02:00
Reedy
a522937a50 Updating doctrine/dbal (2.10.2 => 2.10.4)
Change-Id: Icf902b1a1772f9c2b78c12e2ae4c7b5196e8ecb0
2020-09-13 02:00:28 +00:00
Reedy
66f7354171 Updating doctrine/sql-formatter (1.1.0 => 1.1.1)
Change-Id: Ie0db05062b521a4824e62c6eef407dd224ee0fa1
2020-09-12 23:39:34 +01:00
Reedy
9e0d078171 Update composer/spdx-licenses from 1.5.3 to 1.5.4
Change-Id: Iebc5ff9a913a69d1adfe994255e7b4b62683f282
2020-09-12 23:33:38 +01:00
jenkins-bot
d07cccadb4 Merge "Revert "Move notification overlay outside $content"" 2020-09-11 21:40:38 +00:00
Dmaza
5205e109e0 Revert "Move notification overlay outside $content"
This reverts commit 5c9f874f92.

Reason for revert: This patch introduces new issues with the desktop improvements changes on Vector

Change-Id: I4b708166a759d547814b3c70450f4edf848a876b
2020-09-11 20:04:55 +00:00
jenkins-bot
e5201ef256 Merge "Move activating of makeCollapsible out of 'mediawiki.page.ready'" 2020-09-11 19:52:33 +00:00
jenkins-bot
d910315e0d Merge "Update Vector lang portlet classes in js preview." 2020-09-11 19:52:24 +00:00
Fomafix
afc2517bd1 Move activating of makeCollapsible out of 'mediawiki.page.ready'
The module 'jquery.makeCollapsible' activates the collapsible elements
now itself. The module get loaded by a detection in
Skin::getDefaultModules.

To avoid any breaking change the module get still also gets loaded by
the detection in 'mediawiki.page.ready' but generate a warning.

Bug: T260642
Change-Id: Ieafaaaa4acfcbd6b1f8d890c9ad953c87eadfe5d
2020-09-11 19:29:39 +00:00
Ammar Abdulhamid
4d5f0d307a Update Vector lang portlet classes in js preview.
Bug: T262374
Change-Id: If595fd248e02e0f467c8e0c356796c05d1729ef5
2020-09-11 19:27:45 +00:00
DannyS712
ce81a71909 Remove File::recordUpload and its overrides
Bug: T262706
Change-Id: I86480218051cebf285fcb52ef9ad2affa954b162
2020-09-11 18:18:58 +00:00
jenkins-bot
bd10add6ee Merge "Add section heading message for "Discussion pages" section in prefs/editing" 2020-09-11 18:14:56 +00:00
jenkins-bot
3108e23266 Merge "Use recordUpload3, hard deprecate recordUpload2" 2020-09-11 17:50:23 +00:00
jenkins-bot
be64bf3ebd Merge "Remove figure-inline from the set of allowed tags in the Sanitizer" 2020-09-11 17:26:23 +00:00
Arlo Breault
5723f1fa45 Remove figure-inline from the set of allowed tags in the Sanitizer
This was added in f6038b0 to keep Parsoid and the legacy parser in sync.
However, in T251641, we're moving away from using it in both.

Bug: T251641
Change-Id: I148bcf09e64ae443104723f94e6bbdb4ad23a8ef
2020-09-11 17:05:18 +00:00
jenkins-bot
5afc46f44a Merge "SpecialBlockTest: Add coverage for the user talk edit flag" 2020-09-11 15:29:21 +00:00
jenkins-bot
fcac9542c3 Merge "FeedUtils::checkFeedOutput add $output parameter" 2020-09-11 15:09:58 +00:00
Translation updater bot
994e2c1ac5 Localisation updates from https://translatewiki.net.
Change-Id: I585a16262e8cebb60d5a1e7eef489db249371092
2020-09-11 09:38:35 +02:00
jenkins-bot
ef17e07d48 Merge "RELEASE-NOTES-1.35: Remove empty sections" 2020-09-11 01:42:22 +00:00
Reedy
6adc634b75 RELEASE-NOTES-1.35: Remove empty sections
Bug: T259349
Change-Id: I112448bda80614af6d4f42f87f3f550ec84c2a91
2020-09-11 02:21:28 +01:00
jenkins-bot
f78bf7963d Merge "Remove requirement for ApiWatchlistTrait to be in ApiBase." 2020-09-11 00:36:58 +00:00
DannyS712
d89157920e FeedUtils::checkFeedOutput add $output parameter
Optional for now

Bug: T252979
Change-Id: Ic95fca9efb4beb5655087d3bd2b5264c86aca091
2020-09-10 22:45:57 +00:00
jdlrobson
ea87ebb519 mediawiki.page.ready: Fix skin override config flags, wrong way round
Follow up to ae3104c46d.
This didn't impact production as usually these flags are
disabled together.

Change-Id: I0029d38274d298bf467f54d54e302e80cd760264
2020-09-10 22:35:40 +00:00
Thalia
6ca0d15512 SpecialBlockTest: Add coverage for the user talk edit flag
Change-Id: Ib5bc7076348e35a91b19eef42ae7b82311ce205c
2020-09-10 21:12:15 +01:00
jenkins-bot
7bb3525603 Merge "Remove deprecated ways to call WikiPage::doDeleteArticleReal" 2020-09-10 19:29:01 +00:00
DannyS712
7cffa71783 Remove deprecated ways to call WikiPage::doDeleteArticleReal
Remove WikiPage::doDeleteArticle, Article::doDeleteArticle, and
Article::doDeleteArticleReal as well as support for old signature
of WikiPage::doDeleteArticleReal

Bug: T248509
Change-Id: Ie0d9da2c8d273c93301921e1e108d9ffb381b8a5
2020-09-10 18:39:01 +00:00
jenkins-bot
47a149f94e Merge "Move notification overlay outside $content" 2020-09-10 18:33:11 +00:00
jenkins-bot
82feb76b8a Merge "rdbms: Log debug message traces as 'exception.trace' instead of 'trace'" 2020-09-10 17:19:20 +00:00
jenkins-bot
59b63d3750 Merge "resourceloader: Fix incorrect order of feature stylesheets" 2020-09-10 16:45:37 +00:00
jenkins-bot
1ead4567f5 Merge "CSS 'class' names can be an array in Html::…element" 2020-09-10 16:27:17 +00:00
mainframe98
f12e35012d resourceloader: Fix incorrect order of feature stylesheets
Follow up to I755e5e6784481b419e35, which used array_unshift
to prepend the 'feature' stylesheets. This works as expected when
there is only one 'feature' enabled.

When there are multiple, use of unshift will effectivel reverse
the order as it unshifts then one at a time.

To mitigate this, collect them normally in the correct order,
and then prepend them all at once with array_merge.

Bug: T262507
Change-Id: Ibe2c9f8d024f6be06588a59df10a37681b60d6bc
2020-09-10 16:20:10 +00:00
jenkins-bot
bbfb3e564c Merge "build: Auto-fix npm audit issues" 2020-09-10 16:05:58 +00:00
jenkins-bot
84ddb3a1a1 Merge "Remove support for (Archived|OldLocal)File::userCan without a user" 2020-09-10 16:05:22 +00:00
jenkins-bot
a388332d7f Merge "Remove support for LogEventsList::userCan* functions without a user" 2020-09-10 15:49:58 +00:00
jenkins-bot
a5a63c4c62 Merge "UploadFromUrlTest: don't make a real request" 2020-09-10 15:49:47 +00:00
alqaholic007
83a95208d4 build: Auto-fix npm audit issues
Bug: T262438
Change-Id: Ic463fede8c4a5c364ea05f9437e4a3cb4abcfa22
2020-09-10 16:23:31 +01:00
jenkins-bot
9301d24796 Merge "resources: Update jquery-client from 2.0.2 to 3.0.0" 2020-09-10 14:38:30 +00:00
jenkins-bot
5a5697618c Merge "phpunit: fail on warnings" 2020-09-10 12:51:30 +00:00
daniel
806aa78e76 UploadFromUrlTest: don't make a real request
This test currently fails if it cannot download a file from
http://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png

Bug: T262443
Change-Id: I3d0438f6f47e129b2a7b52833f7ab9fb0781bf48
2020-09-10 12:00:49 +02:00
Translation updater bot
06487f0502 Localisation updates from https://translatewiki.net.
Change-Id: I2208029a0d10392bcd6f461036e6f2bc18370c49
2020-09-10 09:48:13 +02:00
jenkins-bot
432a9165f1 Merge "profiler: Use PSR-3 logging in Profiler and ProfilerOutput classes" 2020-09-10 04:34:43 +00:00
jenkins-bot
7aef84b7bc Merge "profiler: Warn from ProfilerOutputDump::log() for incompatible profilers" 2020-09-10 04:34:20 +00:00
jenkins-bot
fb42cb1bf3 Merge "context: Throw from recursive calls to RequestContext::getLanguage" 2020-09-10 03:00:26 +00:00