wiki.techinc.nl/includes
Ammar Abdulhamid 30b947ad5f Revert "Revert "ApiEditPage: Show existing watchlist expiry if status
is not being changed.""

This reverts commit 149e99f072.

It's not necessary to change the constructor now, the module is already
using service locator to fetch RevisionLookup and ContentHandlerFactory.

The WatchedItemStore can also be gotten from there, voiding the need for
altering the constructor now. As Daniel said in T259960#6380471 dependency
injection for API modules is good but not urgent.

Bug: T261030
Bug: T264200
Change-Id: I16aa942cc800cd66a2cd538680a02b10cb0b1bfe
2020-09-30 19:28:47 +00:00
..
actions Use localized success message after watching via action=watch 2020-09-17 16:28:58 +08:00
api Revert "Revert "ApiEditPage: Show existing watchlist expiry if status 2020-09-30 19:28:47 +00:00
auth Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
block BlockUser: Avoid getUserPage() on string 2020-09-25 17:01:29 +00:00
cache Merge "GenderCache::getGenderOf - remove use of global $wgUser" 2020-09-29 19:54:28 +00:00
changes Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
changetags Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
clientpool Remove terminating line breaks from wfDebugLog calls 2020-06-03 02:48:36 +00:00
collation Merge "Update stability annotations to follow new stable interface policy" 2020-07-13 10:05:02 +00:00
compat
composer Fix numerous PSR12.Properties.ConstantVisibility.NotFound 2020-05-11 01:59:00 +00:00
config Merge "Replace "@stable for implementation" with "@stable to implement"" 2020-07-13 09:31:44 +00:00
content Replace tabs with spaces 2020-09-04 18:04:07 +02:00
context Introduce and apply NonSerializableTrait 2020-09-28 21:55:49 +02:00
dao Fix broken PHPDoc comments that don't start with /** 2020-07-23 16:09:41 +00:00
db Mark CONSTRUCTOR_OPTIONS as internal 2020-08-21 00:18:45 -04:00
debug Empty Monolog loggers are now real blackholes and add tests 2020-09-20 18:11:51 +00:00
deferred Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
diff Fix broken PHPDoc comments that don't start with /** 2020-07-23 16:09:41 +00:00
edit
editpage [EditPage] Move AS_* status constants to a new interface 2020-05-30 11:59:03 -07:00
exception Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
export Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
externalstore Hard deprecate ExternalStoreDB::getSlave() 2020-07-29 13:05:10 +00:00
filebackend Mark CONSTRUCTOR_OPTIONS as internal 2020-08-21 00:18:45 -04:00
filerepo Revert "Revert "Remove support for (Archived|OldLocal)File::userCan without a user"" 2020-09-27 01:34:48 +00:00
gallery Merge "Update stability annotations to follow new stable interface policy" 2020-07-13 10:05:02 +00:00
historyblob phan: Enable redundant_condition_detection 2020-07-01 20:13:07 +00:00
Hook Merge "resourceloader: Use a local HookRunner" 2020-09-21 21:45:09 +00:00
HookContainer Introduce and apply NonSerializableTrait 2020-09-28 21:55:49 +02:00
htmlform Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
http Fix GuzzleHttpRequest request headers 2020-09-21 13:57:32 +10:00
import Use recordUpload3, hard deprecate recordUpload2 2020-09-10 00:00:42 +00:00
installer Merge "Migrate querycachetwo table to abstract schema" 2020-09-29 07:56:35 +00:00
interwiki Replace "@stable for implementation" with "@stable to implement" 2020-07-13 11:05:49 +02:00
jobqueue Merge "Avoid hard coded AS for column aliases" 2020-09-29 19:51:08 +00:00
json Flip Yoda conditionals 2020-07-22 17:49:12 +01:00
language Drop Message->getFormat(), hard deprecated since 1.29 2020-09-20 14:56:41 +01:00
libs Merge "Introduce and apply NonSerializableTrait" 2020-09-28 21:37:09 +00:00
linkeddata Fix SingleSpaceBeforeSingleLineComment 2020-05-11 00:57:11 +00:00
linker Avoid SpecialPage::getTitleValueFor in LinkRenderer 2020-08-10 16:11:23 +02:00
logging Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
mail Remove some space indenting 2020-09-14 22:58:25 +01:00
media media: Remove checks for ancient ImageMagick versions in BitmapHandler 2020-09-04 14:40:42 +00:00
Message UserNameUtils: use ITextFormatter instead of MessageLocalizer 2020-04-13 09:28:02 -07:00
Navigation Whitespace cleanup: Use tabs for indentation, avoid double spaces 2020-06-27 07:53:07 +00:00
objectcache objectcache: only use memcached "gets" when tokens are needed 2020-07-15 00:16:46 +00:00
page Merge "Avoid hard coded AS for column aliases" 2020-09-29 19:51:08 +00:00
pager Merge "Replace "@stable for subclassing" with "@stable to extend"" 2020-07-13 09:31:38 +00:00
ParamValidator/TypeDef UserDef DI 2020-08-05 16:36:53 +00:00
parser Merge "Hard-deprecate passing -1 to CacheTime::setCacheTime" 2020-09-28 18:25:11 +00:00
password Replace "@stable for implementation" with "@stable to implement" 2020-07-13 11:05:49 +02:00
Permissions Add delete-redirect for deleting single-rev redirects during moves 2020-09-04 03:50:17 +00:00
poolcounter Add doc comment for PoolCounter::isFastStaleEnabled() 2020-09-17 22:07:15 +00:00
preferences Deprecations from HookRunner call site migration 2020-09-18 08:12:51 +10:00
profiler Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
rcfeed Replace "@stable for implementation" with "@stable to implement" 2020-07-13 11:05:49 +02:00
registration Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
resourceloader resourceloader: Use a local HookRunner 2020-09-17 01:53:18 +00:00
Rest Merge "Introduce CompoundAuthorizer to pass multiple authorizers" 2020-09-28 20:57:40 +00:00
Revision Introduce and apply NonSerializableTrait 2020-09-28 21:55:49 +02:00
revisiondelete Replace "@stable for implementation" with "@stable to implement" 2020-07-13 11:05:49 +02:00
revisionlist Add tests for RevisionList/RevisionItem classes 2020-05-12 09:36:44 -07:00
search Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
session Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
shell SECURITY: Prevent invoking firejail's --output functionality 2020-09-24 16:24:36 +01:00
site Explicitly wrap some XML calls in libxml_disable_entity_loader() 2020-09-20 15:57:14 +00:00
skins Expose footer data in SkinMustache 2020-09-30 01:12:10 +00:00
sparql Mark exceptions as @newable 2020-07-08 17:51:38 +00:00
specialpage Inject services into SpecialBlockList/SpecialAutoblockList 2020-09-19 23:05:12 +00:00
specials Merge "Avoid hard coded AS for column aliases" 2020-09-29 19:51:08 +00:00
Storage Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
templates Update all use of $wgVersion to MW_VERSION 2020-02-25 02:16:12 +00:00
tidy Whitespace cleanup: Use tabs for indentation, avoid double spaces 2020-06-27 07:53:07 +00:00
title Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
upload Manually redirect in UploadFromUrl 2020-09-14 21:36:36 +02:00
user Merge "Use DBAccessObjectUtils in some User methods." 2020-09-29 19:15:00 +00:00
utils AutoloadGenerator: Drop support for .inc files, we don't use them now 2020-09-29 16:28:19 +00:00
watcheditem Correct success messages for action=watch 2020-09-03 05:47:08 +08:00
widget Replace tabs with spaces 2020-09-04 18:04:07 +02:00
xml Drop down lists: Do not use the value for 'other' as option group 2020-09-16 19:30:43 +00:00
.htaccess
ActorMigration.php SECURITY: ensure actor ID from correct wiki is used. 2020-09-24 19:37:43 +01:00
AjaxDispatcher.php Whitespace cleanup: Use tabs for indentation, avoid double spaces 2020-06-27 07:53:07 +00:00
AjaxResponse.php Explicit visibility modifiers to AjaxResponse.php 2020-05-10 02:00:26 +01:00
AutoLoader.php resourceloader: Use a local HookRunner 2020-09-17 01:53:18 +00:00
Autopromote.php Hard deprecate all methods in Autopromote class 2020-09-18 14:42:25 +00:00
BadFileLookup.php BadFile keeps a "bad file list", not a "blacklist" 2020-06-08 18:07:24 -04:00
CategoriesRdf.php Fix numerous PSR12.Properties.ConstantVisibility.NotFound 2020-05-12 18:41:43 +00:00
Category.php Category.php - add a variable $loadBalancer instead of calling wfGetDB 2020-05-27 14:21:17 +00:00
CategoryViewer.php Use strict (in)equality with namespaces constants when LHS is definitely an integer 2020-07-31 18:03:28 +01:00
CommentStore.php CommentStore: Add documentation defgroup/ingroup annotations 2020-07-25 05:42:20 +00:00
CommentStoreComment.php CommentStore: Add documentation defgroup/ingroup annotations 2020-07-25 05:42:20 +00:00
ConfiguredReadOnlyMode.php
ContentSecurityPolicy.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
DefaultSettings.php Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
Defines.php Create fallback for undefined content models. 2020-07-22 19:59:09 +02:00
DeprecatedGlobal.php
DerivativeRequest.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00
DevelopmentSettings.php DevelopmentSettings: Make sure all currently used global have a global call 2020-09-21 17:08:48 +01:00
DummyLinker.php linker: Move Linker::normaliseSpecialPage to LinkRenderer class 2020-05-24 23:11:55 +00:00
EditPage.php EditPage: Don't apply numeric formatting unless a value message is defined 2020-09-25 09:40:16 -04:00
EventRelayerGroup.php
ExtensionInfo.php Allow extensions (et al) to have multiple LICENSE/COPYING files 2020-05-05 22:49:04 +00:00
FauxRequest.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00
FauxResponse.php
FeedUtils.php FeedUtils::checkFeedOutput add $output parameter 2020-09-10 22:45:57 +00:00
FileDeleteForm.php Remove support for FileDeleteForm::doDelete without a user 2020-09-09 23:48:08 +00:00
ForeignResourceManager.php Pass function name to HttpRequestFactory::create 2020-06-07 12:20:06 +00:00
ForkController.php Fix numerous PSR12.Properties.ConstantVisibility.NotFound 2020-05-12 18:41:43 +00:00
FormOptions.php build: Bump mediawiki-codesniffer to 31.0.0 2020-05-30 14:56:28 +00:00
GitInfo.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00
GlobalFunctions.php Deprecate Skin::makeVariablesScript() 2020-09-21 20:02:13 +00:00
HeaderCallback.php Merge "HeaderCallback: Sanitize cookie values in debug logs" 2020-07-03 03:28:53 +00:00
Hooks.php Introduce wfDeprecatedMsg() 2020-06-22 14:34:39 +10:00
Html.php
Linker.php Update language in watchlist expiry 2020-08-14 11:47:03 -07:00
LinkFilter.php Fix numerous PSR12.Properties.ConstantVisibility.NotFound 2020-05-12 18:41:43 +00:00
ListToggle.php
MagicWord.php Use @internal instead of @private per policy 2020-06-26 14:14:23 +02:00
MagicWordArray.php Miscellaneous documentation updates 2020-02-16 04:38:38 +00:00
MagicWordFactory.php Revert "Adding = as a parser function" 2020-07-03 14:52:27 +00:00
MediaWiki.php Use strict (in)equality with namespaces constants when LHS is definitely an integer 2020-07-31 18:03:28 +01:00
MediaWikiServices.php Introduce and apply NonSerializableTrait 2020-09-28 21:55:49 +02:00
MediaWikiVersionFetcher.php Make use of the preg_match() return value, if possible 2020-07-14 19:26:35 +00:00
MergeHistory.php Use HookContainer to get the HookRunner in MergeHistory 2020-08-26 17:51:05 +00:00
MovePage.php Merge "Add delete-redirect for deleting single-rev redirects during moves" 2020-09-04 14:04:35 +00:00
MWGrants.php Add import permissions to new import grant 2020-09-16 09:15:59 +02:00
MWNamespace.php
MWTimestamp.php Annotate newable classes 2020-07-07 15:38:57 +02:00
NoLocalSettings.php Fix version number not showing in NoLocalSettings.php 2020-05-26 02:14:10 +02:00
OrderedStreamingForkController.php
OutputHandler.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
OutputPage.php Avoid null query in Skin::lastModified 2020-08-18 13:41:53 +02:00
PageProps.php Support use of TitleArray 2020-09-01 12:15:29 -04:00
PathRouter.php
PHPVersionCheck.php Fix broken PHPDoc comments that don't start with /** 2020-07-23 16:09:41 +00:00
Pingback.php Merge "Pass function name to database functions" 2020-06-07 16:03:38 +00:00
ProtectionForm.php ProtectionForm: Use available permission manager, not MediaWikiServices 2020-07-13 07:11:05 +00:00
ProxyLookup.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
RawMessage.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00
ReadOnlyMode.php
Revision.php Merge "Hard deprecate the rest of the Revision class" 2020-07-06 13:57:55 +00:00
ServiceWiring.php Create ParserCacheFactory. 2020-09-25 18:17:58 -07:00
Setup.php Remove $wgMemc 2020-07-27 23:45:22 +00:00
SiteConfiguration.php includes: Use expression assignment operator += or |= where possible 2020-07-31 22:26:42 +00:00
SiteStats.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
SiteStatsInit.php Fix broken PHPDoc comments that don't start with /** 2020-07-23 16:09:41 +00:00
Status.php Fix typos related to repeated words 2020-09-27 10:25:36 +00:00
StreamFile.php mime: Update usage of MimeAnalyzer methods 2020-05-28 20:13:47 +00:00
StubObject.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00
StubUserLang.php
TemplateParser.php TemplateParser: Inject BagOStuff and deprecate '$forceRecompile' 2020-03-23 20:09:05 +00:00
TemplatesOnThisPageFormatter.php
Title.php Title::getNotificationTimestamp - require passing a user 2020-08-27 00:19:17 +00:00
TitleArray.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
TitleArrayFromResult.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00
TitleFactory.php
TrackingCategories.php Alphasort TrackingCategories::$coreTrackingCategories 2020-09-27 16:03:17 +00:00
WebRequest.php Remove hard deprecated WebRequest::getLimitOffset 2020-08-21 22:02:45 +00:00
WebRequestUpload.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
WebResponse.php Support SameSite=None cookies 2020-07-07 02:18:45 +01:00
WebStart.php Setup: Move simple shortcuts together in Setup.php and improve docs 2020-03-14 23:10:07 +00:00
WikiMap.php Fix typo: 'the the' -> 'the' 2020-05-03 20:45:36 +01:00
WikiReference.php