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
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
This reverts commit 5c9f874f92.
Reason for revert: This patch introduces new issues with the desktop improvements changes on Vector
Change-Id: I4b708166a759d547814b3c70450f4edf848a876b
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
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
Follow up to ae3104c46d.
This didn't impact production as usually these flags are
disabled together.
Change-Id: I0029d38274d298bf467f54d54e302e80cd760264
Remove WikiPage::doDeleteArticle, Article::doDeleteArticle, and
Article::doDeleteArticleReal as well as support for old signature
of WikiPage::doDeleteArticleReal
Bug: T248509
Change-Id: Ie0d9da2c8d273c93301921e1e108d9ffb381b8a5
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