wiki.techinc.nl/includes
C. Scott Ananian 2da6deaba4 CoreMagicVariables/CoreParserFunction: unify revisionuser
Reduce code duplication by having the "magic variable" implementation
of `revisionuser` invoke the corresponding "parser function"
implementation with no arguments.  This reduces code duplication and
also supports consistent results from direct invocation of the parser
function with no arguments in the future.

Bug: T204370
Change-Id: I4200e4f05a8987b509349832d6d0b164acbe0dd8
2022-09-22 13:05:19 -04:00
..
actions Setup: Adopt RequestContext::getActionName for most early callers 2022-09-20 00:05:31 +00:00
api Localisation updates from https://translatewiki.net. 2022-09-19 08:07:32 +02:00
auth Fix block handling in CheckBlocksSecondaryAuthenticationProvider 2022-08-30 19:06:16 -07:00
block Merge "Block: Expose list of block types as constant" 2022-08-29 17:59:42 +00:00
cache BackLinkCache::queryLinks: Make janky filter more robust 2022-09-12 08:36:51 +00:00
changes Coalesce rc comment field to empty string if null 2022-09-12 19:13:43 -07:00
changetags ChangeTags: Improve database query hygine 2022-08-01 19:36:39 +02:00
collation IcuCollation: Add mappings for versions 70 and 71 2022-08-28 19:17:45 +01:00
CommentFormatter Get rid of warnings on PHP 8.1 2022-06-13 04:42:20 -04:00
composer
config GlobalVarConfig: Avoid slowness of array_key_exists on $GLOBALS in PHP 8.1+ 2022-09-16 12:18:05 +02:00
content content: Fix comments in ContentModelChange 2022-09-02 21:08:26 +02:00
context Setup: Adopt RequestContext::getActionName for most early callers 2022-09-20 00:05:31 +00:00
dao Simplify assertion for false around wiki id and domain id 2022-06-18 09:49:13 +02:00
db rdbms: Move Database::factory() to DatabaseFactory service 2022-08-31 10:53:50 +10:00
debug Do minor code cleanup 2022-06-24 13:52:42 +02:00
deferred Merge "Replace trivial usages of code in strings with concatenation" 2022-08-26 16:54:56 +00:00
diff Use default ParserOutput::getText() options for injectTOC 2022-09-08 15:56:14 -04:00
edit ParsoidOutputStash: make storage backend configurable. 2022-06-14 14:11:37 +01:00
editpage EditPage: Disentangle edit summary and section title 2022-07-19 09:56:05 +00:00
exception Use MainConfigNames constant to refer configs 2022-08-17 21:27:48 +02:00
export Allow DB config to be reloaded on the fly 2022-08-05 17:32:12 +02:00
externalstore externalstore: Migrate Database::select usages to SelectQueryBuilder 2022-08-05 18:40:37 +02:00
filebackend filebackend: Remove LBFactory dep from LockManager service 2022-08-02 22:22:48 -07:00
filerepo filerepo: avoid PHP 8 warnings in File::splitMime() if $mime is null 2022-08-23 17:12:01 -07:00
gallery Set alt in galleries, despite caption being visible 2022-06-07 18:20:26 -04:00
historyblob Merge "DiffHistoryBlob: Remove workarounds for old PECL xdiff versions" 2022-06-09 16:14:42 +00:00
Hook TempUser CentralAuth integration 2022-05-10 09:06:05 +10:00
HookContainer Deprecate PersonalUrls hook 2022-09-08 21:04:12 +00:00
htmlform Allow returning StatusValue from HTMLForm submit callbacks 2022-08-22 20:43:20 +00:00
http Use MainConfigNames instead of string literals, #3 2022-04-26 14:31:26 +03:00
import ImportStreamSource::newFromURL() Prevent passing null to fwrite 2022-08-16 13:39:39 +01:00
installer Localisation updates from https://translatewiki.net. 2022-09-12 09:21:48 +02:00
interwiki
jobqueue Merge "Replace trivial usages of code in strings with concatenation" 2022-08-26 16:54:56 +00:00
json Add return type to jsonSerialize() 2022-07-02 15:34:02 +00:00
language docs: Fix broken references to docs/Configuration.md 2022-09-07 16:36:21 +00:00
languages Update name of language of CHO. 2022-09-16 14:17:47 +02:00
libs Merge "Suppress php 7.4 phan false positive" 2022-09-19 15:12:24 +00:00
linkeddata
linker Add support for write new for templatelinks migration 2022-07-12 14:46:54 +02:00
logging ManualLogEntry: Don't pass null to trim() as PHP 8.1 whines 2022-09-09 20:33:28 -04:00
mail mail: Replace deprecated User::getOption 2022-08-05 22:31:05 +00:00
media Move isWellFormedLanguageTag from Language to LanguageCode 2022-08-30 11:39:26 +00:00
Message
Navigation Restore compatibility with overrides for IndexPager::makeLink() 2022-09-12 07:52:13 +02:00
objectcache Merge "SqlBagOStuff: Fix modtoken comparison" 2022-08-19 22:44:58 +00:00
page Merge "Separate RevisionOutputCache::makeParserOutputKey from no revid case" 2022-09-15 05:34:49 +00:00
pager IndexPager: $offsets may be shorter than $columns 2022-09-19 13:13:58 +02:00
ParamValidator/TypeDef Fix many typos in comments 2022-05-10 12:46:11 +00:00
parser CoreMagicVariables/CoreParserFunction: unify revisionuser 2022-09-22 13:05:19 -04:00
password Use MainConfigNames instead of string literals, #4 2022-04-26 19:03:37 +03:00
Permissions Permissions: Exit early from RestrictionStore::loadRestrictions if no rev id 2022-09-16 00:30:31 +00:00
poolcounter poolcounter: Avoid calling parent::doWork in PoolWorkArticleView classes 2022-05-13 20:36:25 +00:00
preferences Deprecate Parser::getFreshParser() 2022-07-05 14:09:36 +10:00
profiler profiler: Remove deprecated 'trace' feature in SectionProfiler 2022-04-29 11:18:50 +00:00
rcfeed Use MainConfigNames instead of string literals, #4 2022-04-26 19:03:37 +03:00
registration Collect autoloader info in ExtensionProcessor 2022-06-07 17:39:00 +02:00
ResourceLoader VueComponentParser: Use Zest's getElementsByTagName() rather than PHP's 2022-09-11 02:45:27 -07:00
Rest Localisation updates from https://translatewiki.net. 2022-09-19 08:07:32 +02:00
Revision SQLPlatform: Introduce buildComparison() 2022-09-10 04:22:19 +02:00
revisiondelete Call IContextSource::getAuthority instead of IContextSource::getUser 2022-06-29 22:22:44 +02:00
revisionlist Get rid of warnings on PHP 8.1 2022-06-13 04:42:20 -04:00
search Use container divs instead of styling elements individually 2022-09-09 11:33:16 +02:00
session SessionManager: write default edit token during session creation 2022-08-16 21:22:25 +00:00
Settings GlobalVarConfig: Avoid slowness of array_key_exists on $GLOBALS in PHP 8.1+ 2022-09-16 12:18:05 +02:00
shell Replace trivial usages of code in strings with concatenation 2022-08-26 12:26:44 +00:00
site site: Consistently return null from Site::getDomain() 2022-07-06 19:07:01 +00:00
skins Move SkinTemplate::getFooterIcons() to Skin class 2022-09-12 16:29:58 -06:00
sparql
specialpage docs: Fix broken references to docs/Configuration.md 2022-09-07 16:36:21 +00:00
specials SpecialEditTags: Set default value of wpTagsToRemove to empty array 2022-09-19 18:25:23 +08:00
Storage Storage: Remove using LoadBalancer::getConnectionRef in NameTableStore 2022-08-08 15:16:14 +00:00
templates
tidy Merge "parser: Use a <meta> tag for the internal TOC_PLACEHOLDER" 2022-09-09 21:12:34 +00:00
title docs: Clarify that functions returning namespace names include underscores (not spaces) 2022-08-30 21:15:19 +00:00
upload UploadStash: Check if us_prop is set in the fileMetadata 2022-08-02 18:15:33 +01:00
user Drop User methods which were deprecated since 1.38 2022-09-05 15:29:14 -04:00
utils SQLPlatform: Introduce buildComparison() 2022-09-10 04:22:19 +02:00
watcheditem Remove references to removed 'watchlist' query group 2022-08-16 20:33:43 +02:00
watchlist Setup: Remove internal short-cut config $wgUseEnotif 2022-08-17 23:41:30 +02:00
widget Make use of ?? and ?: operators where it makes sense 2022-08-04 21:43:12 +02:00
xml Fix many typos in comments 2022-05-10 12:46:11 +00:00
.htaccess
ActorMigration.php
ActorMigrationBase.php Improve docs of various ::getQueryInfo functions 2022-08-13 21:18:44 +02:00
AutoLoader.php Merge "Collect autoloader info in ExtensionProcessor" 2022-06-08 06:11:58 +00:00
BadFileLookup.php
BootstrapHelperFunctions.php Setup.php: clarify the use of $IP. 2022-05-03 11:53:05 +02:00
CategoriesRdf.php
Category.php Category: Migrate to use SelectQueryBuilder in ::getMembers 2022-07-07 07:50:43 +00:00
CategoryViewer.php Use SelectQueryBuilder instead of IDatabase::select() 2022-08-01 15:56:20 +01:00
CommentStore.php Improve docs of various ::getQueryInfo functions 2022-08-13 21:18:44 +02:00
CommentStoreComment.php
config-merge-strategies.php Turn DefaultSettings.php into a deprecated stub 2022-05-17 16:50:56 +02:00
config-schema.php Merge "Fix docs for InterwikiCache about .cdb files" 2022-09-19 23:52:22 +00:00
config-vars.php Revert "Mobile Preferences - display Special:Preferences as a vertical menu" 2022-09-15 21:37:45 +00:00
ConfiguredReadOnlyMode.php Use type hints in ReadOnlyMode/ConfiguredReadOnlyMode and improve docs 2022-06-20 19:49:51 +02:00
ContentSecurityPolicy.php Use MainConfigNames instead of string literals, #4 2022-04-26 19:03:37 +03:00
DefaultSettings.php Turn DefaultSettings.php into a deprecated stub 2022-05-17 16:50:56 +02:00
Defines.php Prepare active branch following REL1_39 cut, labelling as 1.40-alpha 2022-09-05 20:30:54 -04:00
DeprecatedGlobal.php
DerivativeRequest.php
DevelopmentSettings.php debug: Fix $wgDebugRawPage to work with PSR-3 debug logging 2022-04-13 00:29:40 +00:00
DummyLinker.php
EditPage.php EditPage: Refactor large showIntro method 2022-08-29 15:45:19 -07:00
Emptiable.php
EventRelayerGroup.php
ExtensionInfo.php
FauxRequest.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
FauxRequestUpload.php
FauxResponse.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
FeedUtils.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
FileDeleteForm.php SpecialDelete: check permissions again when deleting 2022-04-11 12:47:47 -04:00
ForeignResourceManager.php ForeignResourceManager: Property and function docblocks 2022-08-16 21:42:46 +00:00
ForkController.php Hard deprecate JobQueueGroup::singleton()/destroySingletons() 2022-06-24 18:48:31 +02:00
FormOptions.php Type hints for ArrayAccess and JsonSerializable 2022-04-11 15:06:27 +03:00
GitInfo.php GitInfo: simplify and prepare for converting to a service 2022-06-30 00:09:48 +00:00
GlobalFunctions.php Fix documentation of wfTimestamp() 2022-08-24 18:25:38 -07:00
HeaderCallback.php
Hooks.php
Html.php Handle null passed to wfShorthandToInteger() and Html::element() 2022-07-12 13:21:18 +00:00
HtmlHelper.php Add HtmlHelper::modifyElements() for small HTML modifications 2022-05-08 15:55:00 +02:00
Linker.php Linker: Omit default value '' on Html::rawElement 2022-08-23 08:38:49 +00:00
LinkFilter.php Make use of ?? and ?: operators where it makes sense 2022-08-04 21:43:12 +02:00
ListToggle.php
MagicWord.php
MagicWordArray.php
MagicWordFactory.php Add {{=}} as a built-in magic word 2022-05-20 13:08:20 -04:00
MainConfigNames.php Revert "Mobile Preferences - display Special:Preferences as a vertical menu" 2022-09-15 21:37:45 +00:00
MainConfigNames.template Update docstring per introduction of maintenance/generateConfigSchema.php 2022-08-04 09:42:47 +02:00
MainConfigSchema.php Merge "Fix docs for InterwikiCache about .cdb files" 2022-09-19 23:52:22 +00:00
MediaWiki.php rdbms: Remove synchronous pre-send waitForReplication fallback 2022-08-24 20:52:17 +00:00
MediaWikiServices.php Merge "rdbms: Move Database::factory() to DatabaseFactory service" 2022-09-02 01:51:38 +00:00
MediaWikiVersionFetcher.php
MergeHistory.php Remove unneeded use of TitleValue::newFromPage 2022-07-31 12:26:11 +00:00
MovePage.php Use SelectQueryBuilder instead of IDatabase::select() 2022-08-01 15:56:20 +01:00
MWTimestamp.php Hard-deprecate MWTimestamp::getHumanTimestamp 2022-06-20 02:20:25 +00:00
NoLocalSettings.php
OrderedStreamingForkController.php
OutputHandler.php Remove Flash cross-domain policy mangling 2022-07-22 11:44:49 +10:00
OutputPage.php Merge "Use ParserOutputFlags::SHOW_TOC in OutputPage" 2022-09-12 23:27:44 +00:00
PageProps.php PageProps: Migrate Database::select usages to SelectQueryBuilder 2022-08-05 18:35:48 +02:00
PathRouter.php
PHPVersionCheck.php Prepare active branch following REL1_39 cut, labelling as 1.40-alpha 2022-09-05 20:30:54 -04:00
Pingback.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
ProtectionForm.php Replace deprecated wfReadOnly/wfReadOnlyReason 2022-06-20 15:35:24 +00:00
ProxyLookup.php
RawMessage.php
ReadOnlyMode.php Use type hints in ReadOnlyMode/ConfiguredReadOnlyMode and improve docs 2022-06-20 19:49:51 +02:00
ServiceWiring.php Merge "rdbms: Move Database::factory() to DatabaseFactory service" 2022-09-02 01:51:38 +00:00
Setup.php Remove deprecated $wgParser 2022-08-03 14:40:16 +02:00
SetupDynamicConfig.php docs: Fix broken references to docs/Configuration.md 2022-09-07 16:36:21 +00:00
SiteConfiguration.php Merge "SiteConfiguration: Document some non-obvious optimizations" 2022-08-04 23:32:07 +00:00
SiteStats.php SiteStats: Migrate Database::select usages to SelectQueryBuilder 2022-08-05 18:45:48 +02:00
SiteStatsInit.php SiteStats: Make sure initSiteStats.php re-distribute values 2022-08-22 12:24:56 +00:00
Status.php ResourceLoader namespace (attempt 2) 2022-05-24 15:41:46 +00:00
StreamFile.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
StubGlobalUser.php
StubObject.php
StubUserLang.php
TemplateParser.php Fix many typos in comments 2022-05-10 12:46:11 +00:00
TemplatesOnThisPageFormatter.php TemplatesOnThisPageFormatter: Use PageIdentity 2022-05-23 19:38:40 +02:00
Title.php Restore negative response cache in getDbPageLanguageCode 2022-09-06 05:56:45 +00:00
TitleArray.php
TitleArrayFromResult.php Get rid of warnings on PHP 8.1 2022-06-13 04:42:20 -04:00
TitleFactory.php
TrackingCategories.php Add {{=}} as a built-in magic word 2022-05-20 13:08:20 -04:00
WebRequest.php Support CDN query parameter re-ordering 2022-08-09 01:53:38 +00:00
WebRequestUpload.php
WebResponse.php Use name constants to access config settings. 2022-04-07 13:02:28 +02:00
WebStart.php Setup.php: Remove internal use of $IP 2022-05-13 16:32:09 +00:00
WikiMap.php Fix many typos in comments 2022-05-10 12:46:11 +00:00
WikiReference.php