wiki.techinc.nl/includes
C. Scott Ananian 063445581c Always cache magic word expansions
The existing magic word API (including hooks) gives implementers direct
access to $parser->mVarCache and full control of caching.  Simplify the
implementation (prior to moving the magic word implementations out of
Parser.php) by always caching built-in magic words in $parser->mVarCache.

The cases which were skipping the cache don't vary anyway.

This behavior change is split from the rest of the refactoring in
I68fb1e786374e445b7df047934c532d7e10b8e94 to allow it to be deployed
separately, just in case there was some strange reason this would
cause regressions in practice.

Bug: T236813
Change-Id: I34a0d9a37e41c854c801d546427fc8cd0fe39dc4
2020-03-27 08:58:39 -04:00
..
actions Merge "Remove direct access to Action::page and Article::page properties" 2020-03-27 04:36:51 +00:00
api Localisation updates from https://translatewiki.net. 2020-03-27 08:39:40 +01:00
auth Enhance passwored reset message 2020-03-13 16:18:48 -07:00
block block: avoid IN() DB query clause for ipb_address with redundant entries 2020-03-26 20:07:42 +00:00
cache Remove compat code for pre-MCR schema. 2020-03-24 19:45:47 +01:00
changes Merge "Fix mismatching type hints in PHPDoc tags" 2020-03-26 13:35:31 +00:00
changetags Hard deprecate Revision::getQueryInfo and ::getArchiveQueryInfo 2020-03-26 23:53:19 +00:00
clientpool Merge "Use namespaced IPUtils class" 2020-01-01 23:56:22 +00:00
collation collation: Add 64-67 ICU->Unicode mappings 2020-03-21 01:10:17 +00:00
compat Coding style: Auto-fix MediaWiki.Commenting.DocComment.* 2020-01-10 12:28:12 -08:00
composer Provide command to adjust phpunit.xml for code coverage 2019-09-09 14:32:02 +02:00
config Use namespaced IPUtils class 2020-01-01 02:36:49 -08:00
content Hard deprecate Revision::getQueryInfo and ::getArchiveQueryInfo 2020-03-26 23:53:19 +00:00
context Remove usages of deprecated Language methods 2020-02-16 00:45:48 +00:00
dao Make DBAccessBase use DBConnRef, rename $wiki, and hide getLoadBalancer() 2019-09-08 03:34:18 +00:00
db rdbms: Fix debug toolbar query tab when $wgDebugLogFile is not set 2020-03-24 15:31:00 +00:00
debug WikiMap: Add WikiMap::getCurrentWikiId() to make common use case easier 2020-03-03 16:04:21 +00:00
deferred Use MediaWikiServices::getMessageCache 2020-03-14 14:25:03 +01:00
diff Hard deprecate Revision::getQueryInfo and ::getArchiveQueryInfo 2020-03-26 23:53:19 +00:00
edit Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
editpage TextConflictHelper: deprecate old constructor signature 2020-02-12 14:02:38 +11:00
exception exception: No longer try to send error page post-send on api.php 2020-03-26 17:53:27 +00:00
export Hard deprecate Revision::getQueryInfo and ::getArchiveQueryInfo 2020-03-26 23:53:19 +00:00
externalstore Upgrade phan to 0.9.1 2020-01-25 10:53:26 +00:00
filebackend Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
filerepo Hard deprecate File::delete methods 2020-03-21 03:13:50 +00:00
gallery Bundle services at top of TraditionalImageGallery::toHtml 2020-03-14 20:29:37 +00:00
historyblob Set visibility on php magic functions __destruct/sleep/wakeup/get/call 2019-12-05 18:52:55 +01:00
htmlform Fix HTMLUsersMultiselectField validation when exists is true 2020-03-20 13:15:53 -04:00
http Support cookies in GuzzleHttpRequest 2020-03-18 21:48:26 +03:00
import Use MediaWikiServices::getRepoGroup 2020-03-14 13:16:12 +01:00
installer Localisation updates from https://translatewiki.net. 2020-03-27 08:39:40 +01:00
interwiki Remove deprecated methods in the Interwiki class 2020-03-09 20:36:50 +00:00
jobqueue Merge "Purge expired watchlist items" 2020-03-26 00:38:56 +00:00
json FormatJson: Improve parse() error code handling and tests 2020-01-01 02:34:44 -08:00
language Use MediaWikiServices::getMessageCache 2020-03-14 14:25:03 +01:00
libs objectcache: add BagOStuff::setNewPreparedValues() 2020-03-26 20:11:26 +00:00
linkeddata Introduce ContentHandlerFactory 2020-02-07 00:53:51 +03:00
linker Fix @todo asking to document LogPage::getTitleLink() 2020-01-29 13:13:56 +01:00
logging Reduce the length of 6 long lines of code 2020-03-13 09:01:14 +08:00
mail Introduce Emailer as service 2020-03-17 21:41:34 +02:00
media Remove usages of deprecated Language methods 2020-02-16 00:45:48 +00:00
Message Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
Navigation
objectcache Cleanup unique keys parameter to IDatabase::replace() calls 2020-03-24 22:30:48 +00:00
page Merge "Remove direct access to Action::page and Article::page properties" 2020-03-27 04:36:51 +00:00
pager IndexPager: Limit offset params to the max of the indices available 2020-02-20 13:42:16 -08:00
ParamValidator/TypeDef UserDef: Don't return incomplete UserIdentityValues 2020-02-19 15:28:40 -05:00
parser Always cache magic word expansions 2020-03-27 08:58:39 -04:00
password Password policy to check if a password is a substring of a username 2020-01-13 23:09:13 +00:00
Permissions Fix the namespace of SpecialPageFactory 2020-02-21 13:46:19 +11:00
poolcounter Set method visibility for various constructors 2019-12-03 20:17:30 +01:00
preferences Setup: Move wgSkipSkins appendix to Skin::getAllowedSkins 2020-03-13 23:45:12 +00:00
profiler Merge "Remove $wgProfileLimit setting" 2020-03-19 23:17:37 +00:00
rcfeed WikiMap: Add WikiMap::getCurrentWikiId() to make common use case easier 2020-03-03 16:04:21 +00:00
registration ExtensionRegistry: Avoid losing 'defines' when loading lazy-loaded attributes 2020-03-18 10:32:48 -07:00
resourceloader Hard deprecate Revision::newKnownCurrent 2020-03-18 11:52:44 -07:00
Rest REST: page/ endpoints: don't use tokens with OAuth 2020-03-27 12:20:22 +01:00
Revision Hard deprecate Revision::loadFromTimestamp 2020-03-25 12:21:02 -07:00
revisiondelete Hard deprecate Revision::getQueryInfo and ::getArchiveQueryInfo 2020-03-26 23:53:19 +00:00
revisionlist Hard deprecate Revision::getQueryInfo and ::getArchiveQueryInfo 2020-03-26 23:53:19 +00:00
search Merge "Fix mismatching type hints in PHPDoc tags" 2020-03-26 13:35:31 +00:00
session REST: page/ endpoints: don't use tokens with OAuth 2020-03-27 12:20:22 +01:00
shell Fix mismatching type hints in PHPDoc tags 2020-03-24 09:59:02 +01:00
site Add flag to force local page name normalization in development env 2020-02-18 17:00:20 +01:00
skins Merge "Remove direct access to Action::page and Article::page properties" 2020-03-27 04:36:51 +00:00
sparql Improve param docs 2019-11-28 19:08:59 +01:00
specialpage Merge "Give the "remember me" checkbox on Special:UserLogin a CSS class that allows skins like Minerva to hide only the container element of that checkbox instead of all checkboxes" 2020-03-25 18:36:04 +00:00
specials Hard deprecate Revision::getQueryInfo and ::getArchiveQueryInfo 2020-03-26 23:53:19 +00:00
Storage Remove compat code for pre-MCR schema. 2020-03-24 19:45:47 +01:00
templates Update all use of $wgVersion to MW_VERSION 2020-02-25 02:16:12 +00:00
tidy Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
title Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
upload Merge "Use MediaWikiServices::getRepoGroup in file related classes" 2020-03-14 18:11:21 +00:00
user Add a new UserNameUtils service 2020-03-26 01:31:14 +00:00
utils Fix the namespace of SpecialPageFactory 2020-02-21 13:46:19 +11:00
watcheditem Merge "Purge expired watchlist items" 2020-03-26 00:38:56 +00:00
widget Create a PHP version of jquery.spinner 2020-03-13 18:06:29 +01:00
xml Move Xml* classes under /xml 2020-03-19 19:23:47 -07:00
.htaccess
ActorMigration.php Avoid upsert() log warning spam in ActorMigration due to unique key array format 2020-03-20 05:31:03 -07:00
AjaxDispatcher.php Set method visibility in some classes 2019-12-05 17:42:55 +00:00
AjaxResponse.php Remove more unused ajax response methods 2020-03-04 17:59:51 +00:00
AutoLoader.php Add PSR-4 mappings for existing namespaces and the top level 2020-03-10 21:08:30 +11:00
Autopromote.php Use namespaced IPUtils class 2020-01-01 02:36:49 -08:00
BadFileLookup.php Use MediaWikiServices::getRepoGroup in file related classes 2020-03-14 12:36:27 +00:00
CategoriesRdf.php
Category.php Cleanup various calls to IDatabase::upsert() 2020-02-27 15:27:29 -08:00
CategoryFinder.php Improve param docs 2019-11-28 19:08:59 +01:00
CategoryViewer.php Remove unreachable null checks after isset() 2020-02-28 21:40:48 +00:00
CommentStore.php Remove CommentStore::newKey, deprecated and unused 2020-02-20 02:00:15 +00:00
CommentStoreComment.php
ConfiguredReadOnlyMode.php
ContentSecurityPolicy.php Replace isset() in if() conditions with ?? if possible 2020-03-23 09:28:07 +01:00
DefaultSettings.php Merge "Remove skipcaptcha from the basic grant" 2020-03-27 12:00:49 +00:00
Defines.php Provide MW_VERSION and deprecate fake global $wgVersion 2020-02-25 01:55:21 +00:00
DeprecatedGlobal.php Forbid wfDeprecated with $version = true 2019-12-31 13:53:36 +01:00
DerivativeRequest.php
DevelopmentSettings.php Merge "DevelopmentSettings: Set cache dir to system temp + wiki ID" 2020-03-25 17:31:15 +00:00
DummyLinker.php
EditPage.php Merge "Hard deprecate Revision::userWasLastToEdit" 2020-03-26 02:04:32 +00:00
EventRelayerGroup.php
FauxRequest.php Remove IE 6 security features from server-side code 2019-11-28 15:11:56 +11:00
FauxResponse.php Add missing @param and @return to documentation 2019-11-10 22:12:58 +00:00
FeedUtils.php Replace calls to Title::getUserPermissionsErrors (part 5) 2020-02-26 03:00:33 +00:00
FileDeleteForm.php FileDeleteForm: Use LocalFile::deleteFile 2020-03-20 20:46:53 +00:00
ForeignResourceManager.php Improve param docs 2019-11-28 19:08:59 +01:00
ForkController.php Remove usages of $wgMemc 2020-01-20 19:41:32 +01:00
FormOptions.php
GitInfo.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
GlobalFunctions.php WikiMap: Add WikiMap::getCurrentWikiId() to make common use case easier 2020-03-03 16:04:21 +00:00
HeaderCallback.php
Hooks.php Improve param docs 2019-11-28 19:08:59 +01:00
Html.php languages: Introduce LanguageConverterFactory 2020-02-03 11:38:03 +02:00
Linker.php Merge "Remove direct access to Action::page and Article::page properties" 2020-03-27 04:36:51 +00:00
LinkFilter.php Use namespaced IPUtils class 2020-01-01 02:36:49 -08:00
ListToggle.php
MagicWord.php Miscellaneous documentation updates 2020-02-16 04:38:38 +00:00
MagicWordArray.php Miscellaneous documentation updates 2020-02-16 04:38:38 +00:00
MagicWordFactory.php Miscellaneous documentation updates 2020-02-16 04:38:38 +00:00
MediaWiki.php Fix post-send job running 2020-03-19 09:40:22 -04:00
MediaWikiServices.php Add a new UserNameUtils service 2020-03-26 01:31:14 +00:00
MediaWikiVersionFetcher.php MediaWikiVersionFetcher: Change regex to capture any quoted string 2020-02-25 02:16:23 +00:00
MergeHistory.php MergeHistory: Remove use of Title::getUserPermissionsErrors (part 4) 2020-02-18 22:32:21 +00:00
MovePage.php MovePage: Remove pre-MCR code 2020-03-26 10:23:20 -04:00
MWGrants.php Remove Language::factory and getParentLanguage use 2019-10-27 12:34:28 +02:00
MWNamespace.php
MWTimestamp.php
NoLocalSettings.php Update all use of $wgVersion to MW_VERSION 2020-02-25 02:16:12 +00:00
OrderedStreamingForkController.php
OutputHandler.php
OutputPage.php Fix mismatching type hints in PHPDoc tags 2020-03-24 09:59:02 +01:00
PageProps.php Upgrade phan to 0.9.1 2020-01-25 10:53:26 +00:00
PathRouter.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
PHPVersionCheck.php PHPVersionCheck: Refactor triggerError() to be easier to understand 2020-03-02 01:46:09 +00:00
Pingback.php Cleanup various calls to IDatabase::upsert() 2020-02-27 15:27:29 -08:00
ProtectionForm.php Remove direct access to Action::page and Article::page properties 2020-03-27 04:10:51 +00:00
ProxyLookup.php
RawMessage.php
ReadOnlyMode.php
Revision.php Hard deprecate Revision::getQueryInfo and ::getArchiveQueryInfo 2020-03-26 23:53:19 +00:00
ServiceWiring.php Add a new UserNameUtils service 2020-03-26 01:31:14 +00:00
Setup.php Declare $wgUser to be deprecated in version 1.35 2020-03-25 06:58:52 +00:00
SiteConfiguration.php SiteConfiguration: Remove by-ref return from getLocalDatabases() 2020-03-17 18:29:43 +00:00
SiteStats.php Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse 2020-01-10 09:32:25 -08:00
SiteStatsInit.php sitestats: cleanup use of upsert() by removing the key column from SET 2020-02-26 01:18:47 -08:00
Status.php Use MediaWikiServices::getMessageCache 2020-03-14 14:25:03 +01:00
StreamFile.php Streamline/fix code by using short ?: and ?? syntax 2019-11-11 11:17:13 +01:00
StubObject.php
StubUserLang.php
TemplateParser.php TemplateParser: Inject BagOStuff and deprecate '$forceRecompile' 2020-03-23 20:09:05 +00:00
TemplatesOnThisPageFormatter.php
Title.php Merge "Remove compat code for pre-MCR schema." 2020-03-25 18:19:33 +00:00
TitleArray.php Set method visibility in some classes 2019-12-05 17:42:55 +00:00
TitleArrayFromResult.php Set method visibility for various constructors 2019-12-03 20:17:30 +01:00
TitleFactory.php Add TitleFactory 2019-10-18 00:00:46 +02:00
TrackingCategories.php Fix new phan errors, part 3 2019-10-12 10:35:22 +00:00
WebRequest.php WebRequest: Avoid unused wfRandomString() call 2020-03-24 01:07:53 +00:00
WebRequestUpload.php API: Use ParamValidator library 2020-02-04 13:36:14 -05:00
WebResponse.php
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, remove double "a"s 2020-03-11 00:09:59 +05:30
WikiReference.php