wiki.techinc.nl/includes
Daimona Eaytoy 9881e82ef7 AutoLoader: Various micro-optimizations
Spotted a few of these while looking at flamegraphs for T273312. I don't
really think these fixes are going to have a noticeable effect, though,
since the slowness seems to be chiefly caused by FS functions.

Still I think these changes are worth the (low) effort, given that these
code paths are presumably hot, and that readability isn't affected IMHO.

Change-Id: I18c25e8a591d7fdc950c286370b7db5e85f3985f
2021-03-18 17:23:58 +00:00
..
actions Hard deprecate CacheHelper, ICacheHelper, CachedAction, SpecialCachedPage. 2021-01-25 13:34:31 -06:00
api Make UserIdentity objects aware of which wiki they belong to. 2021-02-02 16:10:51 +00:00
auth Fix display of Special:Preferences url in password reset email 2020-12-23 03:28:16 +00:00
block Merge "Reduce SpecialBlock/Api logic duplication" 2021-02-02 15:10:00 +00:00
cache Hard deprecate CacheHelper, ICacheHelper, CachedAction, SpecialCachedPage. 2021-01-25 13:34:31 -06:00
changes Relax User to UserIdentity in ManualLogEntry and RecentChange 2021-01-10 00:58:00 +00:00
changetags Merge "Add ChangeTags::getTagsWithData" 2020-11-25 00:07:42 +00:00
collation Deprecate a bunch of global functions 2020-12-18 21:34:50 +00:00
compat
composer Safer autoloading with respect to file-scope code 2021-01-11 11:59:36 +11:00
config build: Enable phan-taint-check-plugin and suppress issues 2020-12-30 19:02:22 +01:00
content ContentHandlerFactory: whitespace cleanup 2020-11-29 22:00:06 +00:00
context Add Authority to Context 2021-01-20 09:07:27 -06:00
dao Add WikiAwareEntity interface for cross-wiki entity methods. 2021-01-29 10:29:03 +00:00
db Migrate text table to abstract schema 2021-01-09 16:07:54 +01:00
debug Language: Turn public properties into Getters in LanguageConverter based hierarchy 2021-02-03 15:17:42 +02:00
deferred deferred: make DeferredUpdates::doUpdates() recursion more uniform 2021-01-14 15:37:58 -08:00
diff Create diff markers with CSS 2020-12-30 12:52:08 +00:00
edit
editpage ImageRedirectConstraint: accept Content objects 2020-12-09 21:41:13 +00:00
exception exception: Remove "exception_id" key in favour of reqId 2021-01-18 05:33:17 +00:00
export Merge "Change object to stdClass type hints in export related classes" 2020-11-18 00:24:00 +00:00
externalstore Update a lot of unspecific "array" types in PHPDocs 2020-10-28 11:01:33 +01:00
filebackend Improve docs in FileJournal class 2020-11-27 16:43:16 +01:00
filerepo Rest: use Authority in all core handlers 2021-01-21 18:22:33 -06:00
gallery Make use of array deconstruction directly in foreach, if possible 2020-11-12 18:38:06 +00:00
historyblob Safer autoloading with respect to file-scope code 2021-01-11 11:59:36 +11:00
Hook Use OOUI for protection form 2021-01-30 00:19:02 -05:00
HookContainer Use OOUI for protection form 2021-01-30 00:19:02 -05:00
htmlform Pass along the disabled/readonly attributes to HTMLDateTimeField 2021-02-02 07:24:01 -08:00
http Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00
import Make UserIdentity objects aware of which wiki they belong to. 2021-02-02 16:10:51 +00:00
installer Drop 1.9 upgrade patch files 2021-02-02 10:26:16 +01:00
interwiki Deprecate InterwikiLoadPrefix hook 2020-12-21 19:28:48 +00:00
jobqueue build: Enable phan-taint-check-plugin and suppress issues 2020-12-30 19:02:22 +01:00
json build: Updating mediawiki/mediawiki-codesniffer to 34.0.0 2020-12-07 14:55:24 +01:00
language Language: Turn public properties into Getters in LanguageConverter based hierarchy 2021-02-03 15:17:42 +02:00
libs Merge "CSSMin: Remove unused internal 'needsEmbedFallback' code" 2021-02-02 01:19:55 +00:00
linkeddata Document HttpError to help taint-check 2020-12-12 00:06:00 +01:00
linker Define equality for PageIdentity and LinkTarget 2021-01-19 23:07:37 +00:00
logging build: Update mediawiki/mediawiki-codesniffer to 35.0.0 2021-01-31 13:34:38 +00:00
mail Fix return type documentation for AlternateUserMailer hook 2020-11-20 17:23:00 +01:00
media Revert "Wrap libxml_disable_entity_loader() calls in version constraint" 2021-01-27 16:06:38 +00:00
Message
Navigation PrevNextNavigationRenderer: readability cleanup 2020-11-22 14:03:15 +00:00
objectcache objectcache: add statsd key metrics to BagOStuff classes 2021-01-25 14:36:29 -08:00
page Make RevisionStore use PageIdentity where easy 2021-02-01 12:29:25 -06:00
pager IndexPager - document getLinkRenderer 2020-12-14 08:22:30 +00:00
ParamValidator/TypeDef TitleDef: document return value as LinkTarget, not TitleValue 2020-11-06 17:07:14 -08:00
parser ParserOptions: Fix param/return type doc 2021-02-02 20:52:52 +00:00
password
Permissions Make User implement Authority 2021-01-19 18:08:12 -06:00
poolcounter Introduce RevisionOutputCache 2020-12-14 16:50:28 +00:00
preferences build: Enable phan-taint-check-plugin and suppress issues 2020-12-30 19:02:22 +01:00
profiler Remove deprecated Profiler::(get|set)Templated 2020-10-22 02:55:31 +00:00
rcfeed
registration Merge "Update a lot of unspecific "array" types in PHPDocs" 2020-11-13 21:48:24 +00:00
resourceloader Merge "resourceloader: Avoid User::getDefaultOptions in UserDefaultsModule" 2021-01-30 01:51:29 +00:00
Rest Localisation updates from https://translatewiki.net. 2021-02-03 08:38:07 +01:00
Revision Make RevisionStore use PageIdentity where easy 2021-02-01 12:29:25 -06:00
revisiondelete Add dependency injection to RevDelList classes 2020-12-11 21:43:23 +00:00
revisionlist Improve docs of RevisionItemBase and RevisionListBase 2020-11-12 22:08:51 +00:00
search rdbms: Remove outdated MySQL 4 references and fix doc URLs 2021-01-30 22:47:33 +00:00
session ParserTestRunner: share more code w/ MediaWikiIntegrationTestCase 2021-01-07 23:31:12 -05:00
shell
site Revert "Wrap libxml_disable_entity_loader() calls in version constraint" 2021-01-27 16:06:38 +00:00
skins Skin: Add notifications and user-menu content navigation 2021-01-26 22:33:40 +00:00
sparql Merge "Update a lot of unspecific "array" types in PHPDocs" 2020-11-13 21:48:24 +00:00
specialpage Do inverse namespace filtering of links tables with a big IN() 2021-01-14 11:24:34 +11:00
specials Merge "Reduce SpecialBlock/Api logic duplication" 2021-02-02 15:10:00 +00:00
Storage Swap out uses of User->isLoggedIn() with ->isRegistered() 2020-12-22 03:13:37 +00:00
templates
tidy
title Define equality for PageIdentity and LinkTarget 2021-01-19 23:07:37 +00:00
upload UploadBase: Don't call MimeAnalyzer if mTempPath is null 2021-01-19 00:52:17 +00:00
user Merge "Add type hints for return types to methods on UserIdentity" 2021-02-03 00:59:14 +00:00
utils MWFileProps: Hotfix getPropsFromPath() to treat null as empty string 2021-02-02 00:51:53 +00:00
watcheditem Make UserIdentity objects aware of which wiki they belong to. 2021-02-02 16:10:51 +00:00
widget
xml build: Enable phan-taint-check-plugin and suppress issues 2020-12-30 19:02:22 +01:00
.htaccess
ActorMigration.php Add type hints for return types to methods on UserIdentity 2021-02-02 20:58:51 +00:00
AjaxDispatcher.php build: Enable phan-taint-check-plugin and suppress issues 2020-12-30 19:02:22 +01:00
AjaxResponse.php
AutoLoader.php AutoLoader: Various micro-optimizations 2021-03-18 17:23:58 +00:00
Autopromote.php Update a lot of unspecific "array" types in PHPDocs 2020-10-28 11:01:33 +01:00
BadFileLookup.php build: Update mediawiki/mediawiki-codesniffer to 35.0.0 2021-01-31 13:34:38 +00:00
CategoriesRdf.php
Category.php Improve docs about @param/@return object $row to stdClass 2020-11-13 00:08:21 +01:00
CategoryViewer.php build: Enable phan-taint-check-plugin and suppress issues 2020-12-30 19:02:22 +01:00
CommentStore.php Improve docs about @param/@return object $row to stdClass 2020-11-13 00:08:21 +01:00
CommentStoreComment.php
ConfiguredReadOnlyMode.php Remove BC support for creating ConfiguredReadOnlyMode with Config 2020-10-26 00:27:17 +00:00
ContentSecurityPolicy.php Update a lot of unspecific "array" types in PHPDocs 2020-10-28 11:01:33 +01:00
DefaultSettings.php Merge "Add viewsuppressed to oversight grant" 2021-01-28 01:54:44 +00:00
Defines.php Improve custom folding and grouping 2020-12-23 12:41:47 +11:00
DeprecatedGlobal.php
DerivativeRequest.php
DevelopmentSettings.php Ensure that the legacy wikitext editor is preferred by default 2021-01-12 12:30:02 +01:00
DummyLinker.php
EditPage.php Skip div with mw-edit-longpage-hint when it is empty 2021-01-19 23:08:31 +01:00
EventRelayerGroup.php
ExtensionInfo.php Update a lot of unspecific "array" types in PHPDocs 2020-10-28 11:01:33 +01:00
FauxRequest.php Implement FauxRequest::getPostValues() 2020-11-27 09:38:08 +01:00
FauxResponse.php
FeedUtils.php Merge "FeedUtils: Update regex to match classes appropriately, and test" 2020-12-16 18:15:42 +00:00
FileDeleteForm.php Swap out uses of User->isLoggedIn() with ->isRegistered() 2020-12-22 03:13:37 +00:00
ForeignResourceManager.php
ForkController.php
FormOptions.php Improve custom folding and grouping 2020-12-23 12:41:47 +11:00
GitInfo.php
GlobalFunctions.php Merge "Use short array syntax to add array element" 2021-01-02 09:55:52 +00:00
HeaderCallback.php HeaderCallback: pre-cache request ID 2020-11-18 21:18:08 -08:00
Hooks.php Hooks: Map dash character to underscore when generating hook names 2021-01-26 15:37:29 +00:00
Html.php Revert "message boxes: Use CSS classes adhering to class naming scheme" 2021-01-25 16:31:08 +00:00
Linker.php Add data attribute to the elements with class "history-size" 2020-12-23 19:44:54 +05:30
LinkFilter.php
ListToggle.php
MagicWord.php
MagicWordArray.php MagicWordArray: mark ::get*Regex*() as @internal, add some options 2020-11-25 12:46:47 -05:00
MagicWordFactory.php
MediaWiki.php rdbms: Use PSR-3 for ChronologyProtector shutdown debug message 2021-01-07 23:35:37 +00:00
MediaWikiServices.php Deprecate premature instantiation of services. 2021-01-19 22:33:13 +01:00
MediaWikiVersionFetcher.php
MergeHistory.php Chain MutableRevisionRecord method calls 2021-01-20 20:52:22 +00:00
MovePage.php Chain MutableRevisionRecord method calls 2021-01-20 20:52:22 +00:00
MWGrants.php
MWNamespace.php Update a lot of unspecific "array" types in PHPDocs 2020-10-28 11:01:33 +01:00
MWTimestamp.php
NoLocalSettings.php
OrderedStreamingForkController.php build: Updating mediawiki/mediawiki-codesniffer to 32.0.0 2020-10-28 20:06:22 +00:00
OutputHandler.php
OutputPage.php Remove unneeded @return documentation 2021-01-25 19:44:27 +01:00
PageProps.php Merge "Update a lot of unspecific "array" types in PHPDocs" 2020-11-13 21:48:24 +00:00
PathRouter.php Improve documentation about object to be stdClass or specific type 2020-11-20 14:47:56 +00:00
PHPVersionCheck.php PHPVersionCheck: The PHP Group only support PHP >= 7.3.0 2021-01-30 00:18:40 +00:00
Pingback.php Pingback.php: Minor cleanup 2021-01-18 18:44:44 +00:00
ProtectionForm.php Use OOUI for protection form 2021-01-30 00:19:02 -05:00
ProxyLookup.php
RawMessage.php
ReadOnlyMode.php
Revision.php Convert RevisionRecord to Authority and PageIdentity 2021-01-21 13:37:01 -06:00
ServiceWiring.php Merge "Fix fetching ipblock-exempt within BlockManager::getUserBlock" 2021-01-27 22:12:30 +00:00
Setup.php Deprecate premature instantiation of services. 2021-01-19 22:33:13 +01:00
SiteConfiguration.php
SiteStats.php Improve docs about @param/@return object $row to stdClass 2020-11-13 00:08:21 +01:00
SiteStatsInit.php
Status.php
StreamFile.php Remove deprecated StreamFile methods 2020-11-22 04:31:33 +00:00
StubObject.php Improve documentation about object to be stdClass or specific type 2020-11-20 14:47:56 +00:00
StubUserLang.php Hard deprecation of Language::convertTitle(), 2020-10-20 16:49:17 -04:00
TemplateParser.php
TemplatesOnThisPageFormatter.php Use LinkBatchFactory 2020-10-25 23:21:42 +01:00
Title.php Add WikiAwareEntity interface for cross-wiki entity methods. 2021-01-29 10:29:03 +00:00
TitleArray.php
TitleArrayFromResult.php
TitleFactory.php
TrackingCategories.php
WebRequest.php Update wikimedia/ip-utils from 1.0.0 to 3.0.1 2021-01-26 15:14:02 -08:00
WebRequestUpload.php build: Update mediawiki/mediawiki-codesniffer to 35.0.0 2021-01-31 13:34:38 +00:00
WebResponse.php
WebStart.php
WikiMap.php WikiMap: typo fix in comment 2020-12-21 13:15:48 -05:00
WikiReference.php