wiki.techinc.nl/includes
Lucas Werkmeister 33042ebc4b LocalisationCache: Make isMergeableKey() static
It’s already cached statically since change Ib50e658149 (commit
d4d7cb62c9), and independent of any instance (only depending on class
constants), so let’s make the whole method static too.

The direct motivation for this is to make it possible to call the
method from a unit test, rather than an integration test, in change
Ia3dffea390, without needing a LocalisationCache instance.

Bug: T342418
Change-Id: I7d51bc5623e20e731e92bf1246d12436b2f6da78
2023-07-28 11:50:32 +02:00
..
actions Merge "Add option to invert the tagfilter to action=history and Special:NewPages" 2023-07-22 18:42:29 +00:00
api Merge "api: Minor cleanup of some Api Base classes" 2023-07-28 01:03:33 +00:00
auth Move array destructuring into foreach 2023-07-08 19:52:46 +00:00
block Merge "Migrate more calls of Database::select* to SelectQueryBuilder" 2023-07-26 11:21:08 +00:00
cache Merge "Simplify WHERE conditions with field IS NULL" 2023-07-24 18:34:30 +00:00
Category Replace IDatabase::delete with DeleteQueryBuilder 2023-06-21 17:50:31 +02:00
changes Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
changetags changetags: Use LogPage::DELETED_RESTRICTED in ChangeTagsLogItem 2023-07-24 21:49:25 +02:00
collation
CommentFormatter
CommentStore
composer
config config: Remove not needed indirection from GlobalVarConfig 2023-07-17 14:01:38 +02:00
content Don't show the inline toggle selector on Special:MobileDiff 2023-07-26 05:16:55 +00:00
context Normalize the skin name when "skin" is in HiddenPrefs 2023-07-27 10:17:13 +10:00
dao
db
debug Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
deferred ExternalLinks: Add support for WRITE_NEW only mode 2023-07-25 13:27:26 +02:00
diff Don't show the inline toggle selector on Special:MobileDiff 2023-07-26 05:16:55 +00:00
edit
editpage Merge "Edit recovery feature using indexedDB" 2023-07-27 11:43:49 +00:00
exception
export Merge sequences of if that end doing the same thing anyway 2023-06-16 16:09:42 +02:00
ExternalLinks Externallinks: Keep domain wildcard if path is not specified 2023-07-11 12:56:42 +02:00
externalstore
Feed
filebackend
filerepo Migrate more calls of Database::select* to SelectQueryBuilder 2023-07-26 13:01:28 +02:00
gallery Remove $wgLang usage from Title 2023-07-11 11:15:02 +10:00
historyblob Migrate more calls of Database::select* to SelectQueryBuilder 2023-07-26 13:01:28 +02:00
Hook
HookContainer Merge "Consistently use LogicException for test-only methods" 2023-07-24 04:06:17 +00:00
Html Html: Move encodeJsVar() + encodeJsCall() from Xml 2023-07-14 13:42:02 -04:00
htmlform Merge "HTMLForm: Dispatch field formatting explicitly instead of guessing method names" 2023-07-11 11:47:02 +00:00
http
import WikiImporter: Improve error message output 2023-07-09 22:48:55 +00:00
installer Localisation updates from https://translatewiki.net. 2023-07-27 09:09:43 +00:00
interwiki Migrate more calls of Database::select* to SelectQueryBuilder 2023-07-26 13:01:28 +02:00
jobqueue ParsoidCachePrewarmJob: enable deduplication 2023-07-12 21:59:52 +02:00
json
language LocalisationCache: Make isMergeableKey() static 2023-07-28 11:50:32 +02:00
languages Update autonym for Buginese 2023-07-16 15:41:51 +03:00
libs Merge "rdbms: Avoid making wasteful memcached calls in CP" 2023-07-27 00:10:41 +00:00
linkeddata
linker Merge "rdbms: Introduce InsertQueryBuilder" 2023-07-25 14:49:01 +00:00
logging Merge "changetags: Use LogPage::DELETED_RESTRICTED in ChangeTagsLogItem" 2023-07-26 09:07:43 +00:00
mail mail: Final round of EmailUser refactoring 2023-06-20 11:02:51 +00:00
Maintenance
media
Message
Navigation
objectcache Use DeleteQueryBuilder in one more place 2023-07-06 12:34:55 +02:00
page Merge "Edit recovery feature using indexedDB" 2023-07-27 11:43:49 +00:00
pager Fix DB usage in non-database tests 2023-07-21 13:52:47 +02:00
ParamValidator/TypeDef
parser Add append/getOutputString to ParserOutput 2023-07-27 11:37:11 +02:00
password
Permissions Merge "Permissions: Clarify $useReplica assignment in checkUserBlock()" 2023-07-24 13:23:25 +00:00
poolcounter
preferences Use formatversion=2 for “account data from this project” link 2023-07-26 21:31:37 +02:00
profiler
rcfeed
registration Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
RenameUser
Request Refactor SpecialPreferencesTest 2023-07-19 01:28:30 +02:00
ResourceLoader ResourceLoader: Factor out the loop body of makeModuleResponse() 2023-07-24 18:22:20 +10:00
Rest Localisation updates from https://translatewiki.net. 2023-07-27 09:09:43 +00:00
Revision Replace IDatabase::delete with DeleteQueryBuilder 2023-06-21 17:50:31 +02:00
revisiondelete Merge "Migrate more calls of Database::select* to SelectQueryBuilder" 2023-07-26 11:21:08 +00:00
revisionlist
search search: Make DB-backed search engines use ICP instead of LB/LBF 2023-07-13 12:31:06 +02:00
session Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
Settings Move array destructuring into foreach 2023-07-08 19:52:46 +00:00
shell Make Shell::makeScriptCommand use run.php 2023-07-25 01:35:59 +00:00
site site: Use DeleteQueryBuilder in DBSiteStore 2023-07-06 22:18:36 +00:00
SiteStats Migrate more calls of Database::select* to SelectQueryBuilder 2023-07-26 13:01:28 +02:00
skins Merge "Add barebones mw.util.addPortlet method" 2023-07-26 09:54:51 +00:00
sparql
specialpage Revert "specials: Use cross-wiki aware UserIdentityLookup on Special:UserRights" 2023-07-26 13:41:46 +00:00
specials Revert "specials: Use cross-wiki aware UserIdentityLookup on Special:UserRights" 2023-07-26 13:41:46 +00:00
Storage Merge "Migrate more calls of Database::select* to SelectQueryBuilder" 2023-07-26 11:21:08 +00:00
StubObject
templates Improve collapsing on the enhanced changes list 2023-07-23 19:19:19 +00:00
tidy Merge sequences of if that end doing the same thing anyway 2023-06-16 16:09:42 +02:00
title Merge "Simplify WHERE conditions with field IS NULL" 2023-07-24 18:34:30 +00:00
upload UploadBase: Improve wording in comments 2023-07-24 20:16:04 +00:00
user Merge "Migrate more calls of Database::select* to SelectQueryBuilder" 2023-07-26 11:21:08 +00:00
utils
watcheditem Merge "Consistently use LogicException for test-only methods" 2023-07-24 04:06:17 +00:00
watchlist
widget
WikiMap
xml Html: Move encodeJsVar() + encodeJsCall() from Xml 2023-07-14 13:42:02 -04:00
.htaccess
AutoLoader.php
BootstrapHelperFunctions.php
config-schema.php Merge "Edit recovery feature using indexedDB" 2023-07-27 11:43:49 +00:00
DefaultSettings.php
Defines.php
DevelopmentSettings.php
ExtensionInfo.php
GitInfo.php
GlobalFunctions.php GlobalFunctions: Update outdated wfScript() docs 2023-07-24 19:35:13 +01:00
Hooks.php Consistently use LogicException for test-only methods 2023-07-22 16:21:42 +00:00
MainConfigNames.php Edit recovery feature using indexedDB 2023-07-26 14:17:24 +08:00
MainConfigSchema.php Merge "Edit recovery feature using indexedDB" 2023-07-27 11:43:49 +00:00
MediaWiki.php MediaWiki.php: Add a note about HTMLFileCache::useFileCache() path 2023-07-14 12:07:15 +00:00
MediaWikiServices.php Merge "Add UserIdentityUtils service" 2023-07-24 14:13:10 +00:00
MWTimestamp.php
NoLocalSettings.php
OutputHandler.php
OutputPage.php Ignore parameters to OutputPage::setupOOUI() and deduplicate calls 2023-07-25 09:51:10 +10:00
PHPVersionCheck.php
ProxyLookup.php
ServiceWiring.php Revert "specials: Use cross-wiki aware UserIdentityLookup on Special:UserRights" 2023-07-26 13:41:46 +00:00
Setup.php phpunit: Throw exception when MediaWikiServices is accessed too early 2023-07-17 12:16:14 +00:00
SetupDynamicConfig.php
SiteConfiguration.php Make Shell::makeScriptCommand use run.php 2023-07-25 01:35:59 +00:00
Status.php
StreamFile.php
WebRequest.php Refactor SpecialPreferencesTest 2023-07-19 01:28:30 +02:00
WebStart.php