wiki.techinc.nl/includes
Aaron Schulz 108fd8b18c rdbms: treat cloned temporary tables as "effective write" targets
Make IDatabase::lastDoneWrites() reflect creation and changes to
the cloned temporary unit test tables but not other temporary tables.
This effects the LB method hasOrMadeRecentMasterChanges(). Other tables
are assumpted to really just be there for temporary calculations rather
acting as test-only ephemeral versions of permanent tables. Treating
writes to the "fake permanent" temp tables more like real permanent
tables means that the tests better align with production.

At the moment, temporary tables still have to use DB_MASTER, given
the assertIsWritableMaster() check in query(). This restriction
can be lifted at some point, when RDBMs compatibility is robust.

Bug: T218388
Change-Id: I4c0d629da254ac2aaf31aae35bd2efc7bc064ac6
2019-03-26 14:24:42 -07:00
..
actions Implement temporary rollback confirmation toggle 2019-03-21 14:21:13 +01:00
api Localisation updates from https://translatewiki.net. 2019-03-21 22:12:00 +01:00
auth Merge "Add password policy setting suggestChangeOnLogin" 2019-03-12 16:35:00 +00:00
block Replace lowercase {@inheritdoc} with @inheritDoc 2019-03-01 17:25:02 +00:00
cache Merge "Remove many references to db fields being retired as part of MCR Schema Migration" 2019-03-19 18:09:30 +00:00
changes Provide a Taggable interface 2019-03-18 23:10:06 +01:00
changetags Provide a Taggable interface 2019-03-18 23:10:06 +01:00
clientpool Remove various references to cURL in code comments 2019-03-05 23:55:03 +00:00
collation collation: Use self to reference same class instead of class name 2019-03-20 21:00:03 +01:00
compat
composer
config Fix usage of MediaWikiServices in comments and documentation 2019-03-03 14:09:33 +00:00
content Improve documentation of the PageContentLanguage hook 2019-03-12 08:05:59 +01:00
context context: Cleanup is_null() checks and irrelevant else code paths 2019-03-20 20:51:58 +01:00
dao Fix usage of MediaWikiServices in comments and documentation 2019-03-03 14:09:33 +00:00
db Merge "db: Remove property assignment overriden by constructor" 2019-03-20 19:35:07 +00:00
debug Fix lowercase in namespace of LogCapturingSpi.php 2019-02-26 13:17:09 +01:00
deferred Support more coupled DBs in AtomicSectionUpdate/AutoCommitUpdate 2019-03-21 14:07:51 -07:00
diff Move class RangeDifference to own file 2019-03-08 23:29:14 +01:00
edit
editpage
exception Various fixes to make phan-taint-check happier 2019-03-02 23:49:24 +00:00
export Make the XML dump schema version configurable. 2019-03-21 12:43:32 +01:00
externalstore Use short assignment operator in PHP 2019-03-07 09:55:49 +01:00
filebackend filebackend: change "profiler" parameter in FileBackend so it works again 2019-03-14 23:03:09 +00:00
filerepo Do not create new archive file names for old files 2019-03-21 10:25:21 +00:00
gallery build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
htmlform Merge "Fix the order of the parameters for htmlform-title-badnamespace" 2019-03-11 20:28:07 +00:00
http Remove various references to cURL in code comments 2019-03-05 23:55:03 +00:00
import Make the XML dump schema version configurable. 2019-03-21 12:43:32 +01:00
installer Localisation updates from https://translatewiki.net. 2019-03-21 22:12:00 +01:00
interwiki Rename WikiMap DB domain ID methods to reduce confusion with web domains 2019-02-06 12:28:45 -08:00
jobqueue WatchedItemStore: Use batching in setNotificationTimestampsForUser 2019-03-21 04:41:42 +00:00
json
libs rdbms: treat cloned temporary tables as "effective write" targets 2019-03-26 14:24:42 -07:00
linkeddata Remove unused @throws anotation from PHPDoc comment 2019-02-11 13:01:11 +01:00
linker
logging Define ManualLogEntryBeforePublish hook 2019-03-19 00:49:53 +01:00
mail Drop EmailNotification::updateWatchlistTimestamp(), deprecated in 1.27 and unused 2019-02-09 12:47:14 -08:00
media Add support for Element Timing API 2019-03-20 09:54:02 +01:00
objectcache objectcache: add BagOStuff::deleteMulti() method for consistency 2019-03-14 23:12:30 +00:00
page Remove empty and unnecessary /* @{{ … */ comments 2019-03-15 14:59:19 +01:00
pager Replace 'TablePager' CSS class exclusively by mw-datatable 2019-03-13 07:29:31 +00:00
parser Avoid counting input lines twice in BlockLevelPass::execute() 2019-03-20 17:35:14 -04:00
password Password: update documentation 2019-03-17 12:44:19 -07:00
poolcounter
preferences Implement temporary rollback confirmation toggle 2019-03-21 14:21:13 +01:00
profiler Deprecate Profiler::profileIn and Profiler::profileOut stubs 2019-03-14 23:03:44 +00:00
rcfeed Rename WikiMap DB domain ID methods to reduce confusion with web domains 2019-02-06 12:28:45 -08:00
registration Convert a few call_user_func*() calls to native PHP syntax 2019-03-07 19:25:40 -08:00
resourceloader resourceloader: Reword and expand doc comment about FileModule "packageFiles" 2019-03-12 04:01:58 +00:00
Revision Merge "Avoid a few overly complicated is_null() checks" 2019-03-13 22:23:50 +00:00
revisiondelete RevDel: Avoid log_search rows with empty values for target_author_actor 2019-03-21 16:42:48 -04:00
search Drop SearchEngine::getNearMatchResultSet(), deprecated in 1.27 and unused 2019-02-09 08:43:30 +00:00
session Fixed typo 'implments' and 'implmented' 2019-03-21 16:17:09 +01:00
shell Update AtEase calls to use Wikimedia namespace 2019-02-12 23:48:31 +00:00
site Remove wgSitesCacheFile and rebuildSitesCache.php (unused) 2019-03-15 20:03:44 +00:00
skins Fix phpstorm IDEA errors in SkinTemplate 2019-03-20 07:09:57 -07:00
sparql
specialpage Use short assignment operator in PHP 2019-03-07 09:55:49 +01:00
specials Merge "Fix account create checkbox bug" 2019-03-21 14:03:21 +00:00
Storage Merge "storage: Fix typo in NameTableStore::purgeWANCache comments" 2019-03-20 09:24:22 +00:00
templates EnhancedChangesList: Load style module via addModuleStyles() 2019-02-12 01:29:36 +01:00
tidy RemexCompatMunger: Don't split p-wrapping on style/link tags 2019-01-30 09:10:24 -08:00
title
upload Update PHPDoc types in several maintenance scripts and related 2019-03-07 17:54:26 +00:00
user Rearrange code in User::getBlockedStatus to avoid isAllowed calls 2019-03-21 09:00:49 -07:00
utils
watcheditem WatchedItemStore: Use batching in setNotificationTimestampsForUser 2019-03-21 04:41:42 +00:00
widget Replace lowercase {@inheritdoc} with @inheritDoc 2019-03-01 17:25:02 +00:00
.htaccess
ActorMigration.php
AjaxDispatcher.php
AjaxResponse.php Avoid use of deprecated ObjectCache::getMainWANInstance method 2019-03-01 02:38:55 +00:00
AutoLoader.php build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
Autopromote.php
Block.php Remove deprecated handling of multiple arguments by the Block constructor 2019-03-21 14:34:48 +00:00
CategoriesRdf.php
Category.php
CategoryFinder.php
CategoryViewer.php Use short assignment operator in PHP 2019-03-07 09:55:49 +01:00
CommentStore.php Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
CommentStoreComment.php Fix CommentStoreComment RawMessage construction 2019-02-13 11:17:10 -05:00
ConfiguredReadOnlyMode.php Fix usage of MediaWikiServices in comments and documentation 2019-03-03 14:09:33 +00:00
ContentSecurityPolicy.php CSP: Minor cleanup in ContentSecurityPolicy.php 2019-03-20 23:16:01 +01:00
DefaultSettings.php Implement temporary rollback confirmation toggle 2019-03-21 14:21:13 +01:00
Defines.php Make the XML dump schema version configurable. 2019-03-21 12:43:32 +01:00
DeprecatedGlobal.php
DerivativeRequest.php
DevelopmentSettings.php
DummyLinker.php Drop Linker::formatTemplates, deprecated in 1.28 and unused 2019-02-08 17:43:33 -08:00
EditPage.php Urlencode fragments when redirecting after editing 2019-03-17 22:42:42 -07:00
EventRelayerGroup.php Drop EventRelayerGroup::singleton(), deprecated in 1.27 and unused 2019-02-09 07:15:34 +00:00
FauxRequest.php
FauxResponse.php Move FauxResponse class to own file 2019-03-02 18:55:13 +00:00
Feed.php
FeedUtils.php Avoid use of deprecated ObjectCache::getMainWANInstance method 2019-03-01 02:38:55 +00:00
FileDeleteForm.php Mostly drop old comment schemas 2019-02-07 16:59:27 +11:00
ForeignResourceManager.php Add /** @var SplFileInfo $fileInfo */ docs where needed 2019-03-14 15:04:05 +01:00
ForkController.php
FormOptions.php
GitInfo.php build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
GlobalFunctions.php Fix usage of MediaWikiServices in comments and documentation 2019-03-03 14:09:33 +00:00
HeaderCallback.php Fix HeaderCallback failing on headers without a colon 2019-02-19 18:25:14 +01:00
HistoryBlob.php
Hooks.php
Html.php Simplify strings in PHP code 2019-03-01 22:16:26 +01:00
Linker.php Implement temporary rollback confirmation toggle 2019-03-21 14:21:13 +01:00
LinkFilter.php Refactor calls to deprecated function Content::getNativeData() 2019-02-15 17:48:01 +00:00
ListToggle.php
MagicWord.php
MagicWordArray.php
MagicWordFactory.php
MediaWiki.php Persist sessions pre-send instead of post-send 2019-02-06 14:28:02 -08:00
MediaWikiServices.php resourceloader: Instantiate main class via ServiceWiring 2019-02-18 17:55:09 +00:00
MediaWikiVersionFetcher.php
MergeHistory.php
Message.php
MovePage.php build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
MWGrants.php
MWNamespace.php Hard deprecate MWNamespace::canTalk() 2019-02-26 21:28:55 -08:00
MWTimestamp.php
NoLocalSettings.php
OrderedStreamingForkController.php
OutputHandler.php
OutputPage.php Advertise feeds only if $wgFeed is enabled 2019-03-17 02:22:20 +00:00
PageProps.php
PathRouter.php Avoid a few overly complicated is_null() checks 2019-03-11 10:29:20 +01:00
PHPVersionCheck.php Update required PHP version to 7.0.13 2019-02-14 11:29:48 -08:00
Pingback.php
Preferences.php
PrefixSearch.php
ProtectionForm.php ProtectionForm: Follow up on I167ae6300b37d4e9292 2019-03-16 21:12:18 +00:00
ProxyLookup.php
RawMessage.php
ReadOnlyMode.php Fix usage of MediaWikiServices in comments and documentation 2019-03-03 14:09:33 +00:00
Revision.php Normalize use of "INNER JOIN" to "JOIN" in database queries 2019-03-06 09:17:30 -08:00
RevisionList.php
ServiceWiring.php Remove wgSitesCacheFile and rebuildSitesCache.php (unused) 2019-03-15 20:03:44 +00:00
Setup.php Use short assignment operator in PHP 2019-03-07 09:55:49 +01:00
SiteConfiguration.php
SiteStats.php
SiteStatsInit.php
Status.php Status: Make various improvements to the Status class 2019-03-04 00:44:34 +00:00
StreamFile.php
StubObject.php
TemplateParser.php Convert a few call_user_func*() calls to native PHP syntax 2019-03-07 19:25:40 -08:00
TemplatesOnThisPageFormatter.php Make EditPage::getTemplates avoid page table query spam 2019-03-15 02:34:00 -07:00
Title.php Move the "v1" to an adjacent key component in Title::loadRestrictions 2019-03-19 18:21:18 -07:00
TitleArray.php
TitleArrayFromResult.php
TrackingCategories.php
WebRequest.php WebRequest: Simplify getGPCVal 2019-03-21 20:47:57 +01:00
WebRequestUpload.php
WebResponse.php Convert a few call_user_func*() calls to native PHP syntax 2019-03-07 19:25:40 -08:00
WebStart.php
WikiMap.php Rename WikiMap DB domain ID methods to reduce confusion with web domains 2019-02-06 12:28:45 -08:00
WikiReference.php
Xml.php
XmlJsCode.php ResourceLoader: Add support for packageFiles 2019-02-05 22:05:02 +00:00
XmlSelect.php