wiki.techinc.nl/includes
Aaron Schulz 8e1bb24eed rdbms: clean up LoadBalancer/ChronologyProtector primary pos methods
In LoadBalancer:
* Make the "chronologyCallback" return the DBPrimaryPos and make
  loadSessionPrimaryPos() set the "waitForPos" more directly by
  calling setSessionPrimaryPosIfHigher(). Previously, it relied
  on the callback calling waitFor() to set the position as a side
  effect.
* Remove redundant debug log entry in loadSessionPrimaryPos().
* Use type hints for waitFor()/waitForAll(). All callers already check
  this for before invocation.
* Mark getReplicaResumePos() as @internal.

In ChronologyProtector:
* Update applySessionReplicationPosition() to return the position.
* Rename applySessionReplicationPosition() to yieldSessionPrimaryPos()
  and stageSessionReplicationPosition() to stageSessionPrimaryPos() for
  for consistency LoadBalancer/DBPrimaryPos.

Bug: T314434
Change-Id: I32aa784b424e7534047c9240e32fa5e0a2ac90b0
2023-02-09 17:19:36 +00:00
..
actions Merge "tests: Add ActionFactoryIntegrationTest" 2023-01-13 21:25:06 +00:00
api Localisation updates from https://translatewiki.net. 2023-02-07 07:59:24 +01:00
auth Remove unused arguments to private functions 2023-02-08 19:00:47 +00:00
block Replace some usages of MWException 2023-01-26 00:10:34 +00:00
cache BacklinkCache: Simplify to use getWithSetCallback() and remove check key 2023-02-08 15:49:08 +00:00
changes Merge "OldChangesList: Pass revision ID through to user link" 2023-02-07 10:03:16 +00:00
changetags ChangeTags: Replace MWException with InvalidArgumentException 2023-01-22 13:43:53 +00:00
collation Clean up old ICU version checks 2023-01-26 06:49:13 -05:00
CommentFormatter Split a base class out of CommentStore 2023-01-01 22:34:36 +00:00
CommentStore respect migration stage when deleting from revision_comment_temp 2023-02-03 22:14:54 +00:00
composer Make phpunit:coverage-edit script independent of phpunit 2023-01-04 19:29:34 +01:00
config
content Replace some use of Language::truncateForDatabase() with mb_strcut() 2023-01-30 04:50:33 +00:00
context Make use of ??= in more places 2022-12-17 01:10:13 +00:00
dao
db rdbms: Consolidate logger channels into one 2023-01-03 22:46:38 +00:00
debug rdbms: Consolidate logger channels into one 2023-01-03 22:46:38 +00:00
deferred Select recent changes for deletion only by page id 2023-02-01 10:40:30 +00:00
diff Merge "docs: Add missing StubUserLang type to some @param/@return" 2023-02-03 23:45:03 +00:00
edit
editpage
exception Remove unused arguments to private functions 2023-02-08 19:00:47 +00:00
export Merge "XmlDumpWriter: Remove unused variable from writeText()" 2023-02-01 18:06:38 +00:00
externalstore
Feed Use CommentStore service instead of deprecated method 2023-01-04 23:50:51 +00:00
filebackend
filerepo Split a base class out of CommentStore 2023-01-01 22:34:36 +00:00
gallery Merge "docs: Add missing StubUserLang type to some @param/@return" 2023-02-03 23:45:03 +00:00
historyblob Replace some usages of MWException 2023-01-26 00:10:34 +00:00
Hook
HookContainer Add SpecialCreateAccountsBenefits hook 2023-01-29 17:50:15 -08:00
htmlform Merge "Revert "htmlform: Improve validation of multiselect fields"" 2023-02-02 17:39:41 +00:00
http http: Log GuzzleHttpRequest requests 2023-02-08 17:34:33 +00:00
import Remove WikiRevision::importUpload 2023-01-15 12:03:02 +01:00
installer Merge "Remove unused arguments to private functions" 2023-02-08 22:42:46 +00:00
interwiki interwiki: Inject wikiId into ClassicInterwikiLookup 2023-01-27 13:50:07 +02:00
jobqueue Merge "rdbms: Simplify $options argument in commitPrimaryChanges and more" 2023-01-30 19:39:31 +00:00
json Remove unused local variable assignment 2023-02-04 22:16:31 +01:00
language Remove unused local variable assignment 2023-02-04 22:16:31 +01:00
languages Revert "ParserTestRunner: properly set the user language when a variant is present" 2023-02-01 23:01:16 +00:00
libs rdbms: clean up LoadBalancer/ChronologyProtector primary pos methods 2023-02-09 17:19:36 +00:00
linkeddata Use SlotRecord::MAIN instead of hard coded value 2023-01-03 16:24:42 +01:00
linker Merge "Remove unused arguments to private functions" 2023-02-08 22:42:46 +00:00
logging logging: Add class for suppressed items on Special:Log 2023-01-20 18:45:45 +00:00
mail watchlist: Re-centralise former wgUseEnotif condition 2023-02-02 08:48:50 +00:00
Maintenance Replace some usages of MWException 2023-01-26 00:10:34 +00:00
media Remove unused arguments to private functions 2023-02-08 19:00:47 +00:00
Message user: Deprecate UserGroupMembership::getGroupMemberName 2022-12-21 18:20:34 +01:00
Navigation Reorg: Move RawMessage to under language/ 2022-12-16 11:30:19 +01:00
objectcache Remove unused arguments to private functions 2023-02-08 19:00:47 +00:00
page Merge "respect migration stage when deleting from revision_comment_temp" 2023-02-07 16:09:24 +00:00
pager pager: Remove ProtectedHookAccessorTrait from IndexPager 2022-12-16 14:36:08 +01:00
ParamValidator/TypeDef
parser Remove unused arguments to private functions 2023-02-08 19:00:47 +00:00
password
Permissions Merge "Change $wgLang to use Message::*Param functions" 2023-01-28 00:31:50 +00:00
poolcounter PoolCounterRedis: Fix wrong cast, locks weren't being released 2023-02-01 18:04:19 +00:00
preferences Move validation of timezone to HTMLTimezoneField 2023-01-19 22:43:59 +08:00
profiler Merge "Fix phan error when Excimer is enabled" 2023-01-06 10:22:53 +00:00
rcfeed
registration Merge "Remove unused arguments to private functions" 2023-02-08 22:42:46 +00:00
Request
ResourceLoader Merge "Remove unused arguments to private functions" 2023-02-08 22:42:46 +00:00
Rest Localisation updates from https://translatewiki.net. 2023-02-08 08:23:20 +01:00
Revision Remove unused arguments to private functions 2023-02-08 19:00:47 +00:00
revisiondelete revisiondelete: Replace dynamic property Status::$itemStatuses 2023-02-04 20:31:11 +00:00
revisionlist
search Remove unused arguments to private functions 2023-02-08 19:00:47 +00:00
session Replace some usages of MWException 2023-01-26 00:10:34 +00:00
Settings SettingsBuilder: introduce a "registration" stage 2022-12-16 15:47:05 +00:00
shell GitInfo: Use Command::allowPath() instead of ::whitelistPaths() 2023-02-03 12:35:39 +00:00
site Replace some usages of MWException 2023-01-26 00:10:34 +00:00
skins skin: Restore default 'value' attribute in makeSearchButton() 2023-02-08 08:38:59 +00:00
sparql
specialpage search: Make TitleMatcher a MediaWiki service object 2023-02-03 12:35:14 +00:00
specials Merge "Remove unused arguments to private functions" 2023-02-08 22:42:46 +00:00
Storage Parsoid: cache warming job: add render reason 2023-01-24 14:08:01 +01:00
StubObject
templates
tidy
title Merge "docs: Add missing StubUserLang type to some @param/@return" 2023-02-03 23:45:03 +00:00
upload Merge "Change $wgLang to use Message::*Param functions" 2023-01-28 00:31:50 +00:00
user Merge "user: Invalidate cache of UserRightsProxy on shared database" 2023-02-01 01:41:25 +00:00
utils
watcheditem Split a base class out of CommentStore 2023-01-01 22:34:36 +00:00
watchlist watchlist: Re-centralise former wgUseEnotif condition 2023-02-02 08:48:50 +00:00
widget
xml
.htaccess
AutoLoader.php poolcounter: Merge Client and ConnectionManager from extension repo 2022-12-14 20:28:14 +00:00
BadFileLookup.php
BootstrapHelperFunctions.php
CategoriesRdf.php
Category.php
CategoryViewer.php
config-merge-strategies.php
config-schema.php ResourceLoader: Basic client side user preferences 2023-01-25 02:24:35 +00:00
config-vars.php ResourceLoader: Basic client side user preferences 2023-01-25 02:24:35 +00:00
ConfiguredReadOnlyMode.php
ContentSecurityPolicy.php Make use of ??= in more places 2022-12-17 01:10:13 +00:00
DefaultSettings.php
Defines.php
DevelopmentSettings.php DevelopmentSettings: Fix typo 2022-12-23 12:14:24 +00:00
EditPage.php Pass appropriate userLang to ParserOutput::getText() 2023-02-01 16:02:12 +00:00
Emptiable.php
EventRelayerGroup.php
ExtensionInfo.php
FauxResponse.php
FileDeleteForm.php
FormOptions.php
GitInfo.php GitInfo: Use Command::allowPath() instead of ::whitelistPaths() 2023-02-03 12:35:39 +00:00
GlobalFunctions.php Replace some tivial ??= with even more trivial ?? 2022-12-23 08:35:44 +01:00
Hooks.php
Html.php
HtmlHelper.php
LinkFilter.php Clean up old ICU version checks 2023-01-26 06:49:13 -05:00
ListToggle.php
MainConfigNames.php ResourceLoader: Basic client side user preferences 2023-01-25 02:24:35 +00:00
MainConfigNames.template
MainConfigSchema.php rdbms: Fix path to LBFactoryMulti.php in LBFactoryConf documentation 2023-02-08 22:18:35 +00:00
MediaWiki.php Merge "MediaWiki: Fall back to title= when curid= no longer exists" 2023-01-31 13:27:22 +00:00
MediaWikiServices.php search: Make TitleMatcher a MediaWiki service object 2023-02-03 12:35:14 +00:00
MediaWikiVersionFetcher.php
MergeHistory.php Split a base class out of CommentStore 2023-01-01 22:34:36 +00:00
MovePage.php Include missing message parameter in message 2023-01-04 12:12:34 +03:00
MWTimestamp.php Reorg: Move RawMessage to under language/ 2022-12-16 11:30:19 +01:00
NoLocalSettings.php
OutputHandler.php
OutputPage.php Pass appropriate userLang to ParserOutput::getText() 2023-02-01 16:02:12 +00:00
PHPVersionCheck.php
Pingback.php Pingback: Migrate select queries to SelectQueryBuilder 2023-02-07 13:01:56 +01:00
ProtectionForm.php Split a base class out of CommentStore 2023-01-01 22:34:36 +00:00
ProxyLookup.php
ReadOnlyMode.php
ServiceWiring.php search: Make TitleMatcher a MediaWiki service object 2023-02-03 12:35:14 +00:00
Setup.php Introduce run.php for running maintenance scripts 2022-12-21 06:52:04 +00:00
SetupDynamicConfig.php
SiteConfiguration.php Make use of ??= in more places 2022-12-17 01:10:13 +00:00
SiteStats.php
SiteStatsInit.php Fix whitespaces after comma 2022-12-15 01:24:14 +01:00
Status.php docs: Add missing StubUserLang type to some @param/@return 2023-01-12 19:04:20 +01:00
StreamFile.php
TemplateParser.php Hard-deprecate Language::isSupportedLanguage/isValid(BuiltIn)Code 2023-01-28 18:12:19 +01:00
TemplatesOnThisPageFormatter.php
TrackingCategories.php
WebRequest.php Make use of ??= in more places 2022-12-17 01:10:13 +00:00
WebResponse.php Fix whitespaces after comma 2022-12-15 01:24:14 +01:00
WebStart.php
WikiMap.php Merge "Make use of ?:, ?? and ??= operators in mostly trivial cases" 2022-12-16 02:51:26 +00:00
WikiReference.php