| 1 |
<?php |
| 2 |
|
| 3 |
namespace MediaWiki\HookContainer; |
| 4 |
|
| 5 |
use Article; |
| 6 |
use File; |
| 7 |
use MailAddress; |
| 8 |
use ManualLogEntry; |
| 9 |
use MediaWiki\Auth\AuthenticationResponse; |
| 10 |
use MediaWiki\Auth\AuthManager; |
| 11 |
use MediaWiki\Content\ContentHandler; |
| 12 |
use MediaWiki\Content\JsonContent; |
| 13 |
use MediaWiki\Context\IContextSource; |
| 14 |
use MediaWiki\Linker\LinkRenderer; |
| 15 |
use MediaWiki\Linker\LinkTarget; |
| 16 |
use MediaWiki\Mail\UserEmailContact; |
| 17 |
use MediaWiki\Output\OutputPage; |
| 18 |
use MediaWiki\Page\PageIdentity; |
| 19 |
use MediaWiki\Page\ProperPageIdentity; |
| 20 |
use MediaWiki\Parser\Parser; |
| 21 |
use MediaWiki\Parser\ParserOptions; |
| 22 |
use MediaWiki\Parser\ParserOutput; |
| 23 |
use MediaWiki\Permissions\Authority; |
| 24 |
use MediaWiki\RenameUser\RenameuserSQL; |
| 25 |
use MediaWiki\ResourceLoader as RL; |
| 26 |
use MediaWiki\Revision\RevisionRecord; |
| 27 |
use MediaWiki\Session\Session; |
| 28 |
use MediaWiki\SpecialPage\SpecialPage; |
| 29 |
use MediaWiki\Title\Title; |
| 30 |
use MediaWiki\User\UserIdentity; |
| 31 |
use SearchEngine; |
| 32 |
use Skin; |
| 33 |
use StatusValue; |
| 34 |
use Wikimedia\Rdbms\SelectQueryBuilder; |
| 35 |
use WikiPage; |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
class HookRunner implements |
| 51 |
\MediaWiki\Actions\Hook\GetActionNameHook, |
| 52 |
\MediaWiki\Auth\Hook\AuthManagerFilterProvidersHook, |
| 53 |
\MediaWiki\Auth\Hook\AuthManagerLoginAuthenticateAuditHook, |
| 54 |
\MediaWiki\Auth\Hook\AuthManagerVerifyAuthenticationHook, |
| 55 |
\MediaWiki\Auth\Hook\AuthPreserveQueryParamsHook, |
| 56 |
\MediaWiki\Auth\Hook\ExemptFromAccountCreationThrottleHook, |
| 57 |
\MediaWiki\Auth\Hook\LocalUserCreatedHook, |
| 58 |
\MediaWiki\Auth\Hook\ResetPasswordExpirationHook, |
| 59 |
\MediaWiki\Auth\Hook\SecuritySensitiveOperationStatusHook, |
| 60 |
\MediaWiki\Auth\Hook\UserLoggedInHook, |
| 61 |
\MediaWiki\Block\Hook\AbortAutoblockHook, |
| 62 |
\MediaWiki\Block\Hook\GetAllBlockActionsHook, |
| 63 |
\MediaWiki\Block\Hook\GetUserBlockHook, |
| 64 |
\MediaWiki\Block\Hook\PerformRetroactiveAutoblockHook, |
| 65 |
\MediaWiki\Block\Hook\SpreadAnyEditBlockHook, |
| 66 |
\MediaWiki\Cache\Hook\BacklinkCacheGetConditionsHook, |
| 67 |
\MediaWiki\Cache\Hook\BacklinkCacheGetPrefixHook, |
| 68 |
\MediaWiki\Cache\Hook\HtmlCacheUpdaterAppendUrlsHook, |
| 69 |
\MediaWiki\Cache\Hook\HtmlCacheUpdaterVaryUrlsHook, |
| 70 |
\MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook, |
| 71 |
\MediaWiki\Cache\Hook\MessageCacheFetchOverridesHook, |
| 72 |
\MediaWiki\Cache\Hook\MessageCacheReplaceHook, |
| 73 |
\MediaWiki\Cache\Hook\MessageCache__getHook, |
| 74 |
\MediaWiki\Cache\Hook\MessagesPreLoadHook, |
| 75 |
\MediaWiki\Hook\TitleSquidURLsHook, |
| 76 |
\MediaWiki\ChangeTags\Hook\ChangeTagAfterDeleteHook, |
| 77 |
\MediaWiki\ChangeTags\Hook\ChangeTagCanCreateHook, |
| 78 |
\MediaWiki\ChangeTags\Hook\ChangeTagCanDeleteHook, |
| 79 |
\MediaWiki\ChangeTags\Hook\ChangeTagsAfterUpdateTagsHook, |
| 80 |
\MediaWiki\ChangeTags\Hook\ChangeTagsAllowedAddHook, |
| 81 |
\MediaWiki\ChangeTags\Hook\ChangeTagsListActiveHook, |
| 82 |
\MediaWiki\ChangeTags\Hook\ListDefinedTagsHook, |
| 83 |
\MediaWiki\Content\Hook\ContentAlterParserOutputHook, |
| 84 |
\MediaWiki\Content\Hook\ContentGetParserOutputHook, |
| 85 |
\MediaWiki\Content\Hook\ContentHandlerForModelIDHook, |
| 86 |
\MediaWiki\Content\Hook\ContentModelCanBeUsedOnHook, |
| 87 |
\MediaWiki\Content\Hook\ConvertContentHook, |
| 88 |
\MediaWiki\Content\Hook\GetContentModelsHook, |
| 89 |
\MediaWiki\Content\Hook\GetDifferenceEngineHook, |
| 90 |
\MediaWiki\Content\Hook\GetSlotDiffRendererHook, |
| 91 |
\MediaWiki\Content\Hook\JsonValidateSaveHook, |
| 92 |
\MediaWiki\Content\Hook\PageContentLanguageHook, |
| 93 |
\MediaWiki\Content\Hook\PlaceNewSectionHook, |
| 94 |
\MediaWiki\Content\Hook\SearchDataForIndexHook, |
| 95 |
\MediaWiki\Content\Hook\SearchDataForIndex2Hook, |
| 96 |
\MediaWiki\Specials\Contribute\Hook\ContributeCardsHook, |
| 97 |
\MediaWiki\Diff\Hook\AbortDiffCacheHook, |
| 98 |
\MediaWiki\Diff\Hook\ArticleContentOnDiffHook, |
| 99 |
\MediaWiki\Diff\Hook\DifferenceEngineAfterLoadNewTextHook, |
| 100 |
\MediaWiki\Diff\Hook\TextSlotDiffRendererTablePrefixHook, |
| 101 |
\MediaWiki\Diff\Hook\DifferenceEngineLoadTextAfterNewContentIsLoadedHook, |
| 102 |
\MediaWiki\Diff\Hook\DifferenceEngineMarkPatrolledLinkHook, |
| 103 |
\MediaWiki\Diff\Hook\DifferenceEngineMarkPatrolledRCIDHook, |
| 104 |
\MediaWiki\Diff\Hook\DifferenceEngineNewHeaderHook, |
| 105 |
\MediaWiki\Diff\Hook\DifferenceEngineOldHeaderHook, |
| 106 |
\MediaWiki\Diff\Hook\DifferenceEngineOldHeaderNoOldRevHook, |
| 107 |
\MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionAddParserOutputHook, |
| 108 |
\MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionShowFinalPatrolLinkHook, |
| 109 |
\MediaWiki\Diff\Hook\DifferenceEngineShowDiffHook, |
| 110 |
\MediaWiki\Diff\Hook\DifferenceEngineShowDiffPageHook, |
| 111 |
\MediaWiki\Diff\Hook\DifferenceEngineShowDiffPageMaybeShowMissingRevisionHook, |
| 112 |
\MediaWiki\Diff\Hook\DifferenceEngineShowEmptyOldContentHook, |
| 113 |
\MediaWiki\Diff\Hook\DifferenceEngineViewHeaderHook, |
| 114 |
\MediaWiki\Diff\Hook\DiffToolsHook, |
| 115 |
\MediaWiki\Diff\Hook\NewDifferenceEngineHook, |
| 116 |
\MediaWiki\Hook\AbortEmailNotificationHook, |
| 117 |
\MediaWiki\Hook\AbortTalkPageEmailNotificationHook, |
| 118 |
\MediaWiki\Hook\ActionBeforeFormDisplayHook, |
| 119 |
\MediaWiki\Hook\ActionModifyFormFieldsHook, |
| 120 |
\MediaWiki\Hook\AddNewAccountHook, |
| 121 |
\MediaWiki\Output\Hook\AfterBuildFeedLinksHook, |
| 122 |
\MediaWiki\Output\Hook\AfterFinalPageOutputHook, |
| 123 |
\MediaWiki\Hook\AfterImportPageHook, |
| 124 |
\MediaWiki\Hook\AfterParserFetchFileAndTitleHook, |
| 125 |
\MediaWiki\Hook\AlternateEditHook, |
| 126 |
\MediaWiki\Hook\AlternateEditPreviewHook, |
| 127 |
\MediaWiki\Hook\AlternateUserMailerHook, |
| 128 |
\MediaWiki\Hook\AncientPagesQueryHook, |
| 129 |
\MediaWiki\Hook\ApiBeforeMainHook, |
| 130 |
\MediaWiki\Hook\ArticleMergeCompleteHook, |
| 131 |
\MediaWiki\Hook\ArticleRevisionVisibilitySetHook, |
| 132 |
\MediaWiki\Hook\ArticleUpdateBeforeRedirectHook, |
| 133 |
\MediaWiki\Hook\BadImageHook, |
| 134 |
\MediaWiki\Hook\BeforeInitializeHook, |
| 135 |
\MediaWiki\Output\Hook\BeforePageDisplayHook, |
| 136 |
\MediaWiki\Output\Hook\BeforePageRedirectHook, |
| 137 |
\MediaWiki\Hook\BeforeParserFetchFileAndTitleHook, |
| 138 |
\MediaWiki\Hook\BeforeParserFetchTemplateRevisionRecordHook, |
| 139 |
\MediaWiki\Hook\BeforeWelcomeCreationHook, |
| 140 |
\MediaWiki\Hook\BitmapHandlerCheckImageAreaHook, |
| 141 |
\MediaWiki\Hook\BitmapHandlerTransformHook, |
| 142 |
\MediaWiki\Hook\BlockIpCompleteHook, |
| 143 |
\MediaWiki\Hook\BlockIpHook, |
| 144 |
\MediaWiki\Hook\BookInformationHook, |
| 145 |
\MediaWiki\Hook\CanonicalNamespacesHook, |
| 146 |
\MediaWiki\Hook\CategoryViewer__doCategoryQueryHook, |
| 147 |
\MediaWiki\Hook\CategoryViewer__generateLinkHook, |
| 148 |
\MediaWiki\Hook\ChangesListInitRowsHook, |
| 149 |
\MediaWiki\Hook\ChangesListInsertArticleLinkHook, |
| 150 |
\MediaWiki\Hook\ChangeUserGroupsHook, |
| 151 |
\MediaWiki\Hook\Collation__factoryHook, |
| 152 |
\MediaWiki\Hook\ContentSecurityPolicyDefaultSourceHook, |
| 153 |
\MediaWiki\Hook\ContentSecurityPolicyDirectivesHook, |
| 154 |
\MediaWiki\Hook\ContentSecurityPolicyScriptSourceHook, |
| 155 |
\MediaWiki\Hook\ContribsPager__getQueryInfoHook, |
| 156 |
\MediaWiki\Hook\ContribsPager__reallyDoQueryHook, |
| 157 |
\MediaWiki\Hook\ContributionsLineEndingHook, |
| 158 |
\MediaWiki\Hook\ContributionsToolLinksHook, |
| 159 |
\MediaWiki\Hook\CustomEditorHook, |
| 160 |
\MediaWiki\Hook\DeletedContribsPager__reallyDoQueryHook, |
| 161 |
\MediaWiki\Hook\DeletedContributionsLineEndingHook, |
| 162 |
\MediaWiki\Hook\DeleteUnknownPreferencesHook, |
| 163 |
\MediaWiki\Hook\EditFilterHook, |
| 164 |
\MediaWiki\Hook\EditFilterMergedContentHook, |
| 165 |
\MediaWiki\Hook\EditFormInitialTextHook, |
| 166 |
\MediaWiki\Hook\EditFormPreloadTextHook, |
| 167 |
\MediaWiki\Hook\EditPageBeforeConflictDiffHook, |
| 168 |
\MediaWiki\Hook\EditPageBeforeEditButtonsHook, |
| 169 |
\MediaWiki\Hook\EditPageBeforeEditToolbarHook, |
| 170 |
\MediaWiki\Hook\EditPageCopyrightWarningHook, |
| 171 |
\MediaWiki\Hook\EditPageGetCheckboxesDefinitionHook, |
| 172 |
\MediaWiki\Hook\EditPageGetDiffContentHook, |
| 173 |
\MediaWiki\Hook\EditPageGetPreviewContentHook, |
| 174 |
\MediaWiki\Hook\EditPageNoSuchSectionHook, |
| 175 |
\MediaWiki\Hook\EditPageTosSummaryHook, |
| 176 |
\MediaWiki\Hook\EditPage__attemptSaveHook, |
| 177 |
\MediaWiki\Hook\EditPage__attemptSave_afterHook, |
| 178 |
\MediaWiki\Hook\EditPage__importFormDataHook, |
| 179 |
\MediaWiki\Hook\EditPage__showEditForm_fieldsHook, |
| 180 |
\MediaWiki\Hook\EditPage__showEditForm_initialHook, |
| 181 |
\MediaWiki\Hook\EditPage__showReadOnlyForm_initialHook, |
| 182 |
\MediaWiki\Hook\EditPage__showStandardInputs_optionsHook, |
| 183 |
\MediaWiki\Hook\EmailUserCCHook, |
| 184 |
\MediaWiki\Hook\EmailUserCompleteHook, |
| 185 |
\MediaWiki\Hook\EmailUserFormHook, |
| 186 |
\MediaWiki\Hook\EmailUserHook, |
| 187 |
\MediaWiki\Hook\EmailUserPermissionsErrorsHook, |
| 188 |
\MediaWiki\Mail\Hook\EmailUserAuthorizeSendHook, |
| 189 |
\MediaWiki\Mail\Hook\EmailUserSendEmailHook, |
| 190 |
\MediaWiki\Hook\EnhancedChangesListModifyBlockLineDataHook, |
| 191 |
\MediaWiki\Hook\EnhancedChangesListModifyLineDataHook, |
| 192 |
\MediaWiki\Hook\EnhancedChangesList__getLogTextHook, |
| 193 |
\MediaWiki\Hook\ExtensionTypesHook, |
| 194 |
\MediaWiki\Hook\FetchChangesListHook, |
| 195 |
\MediaWiki\Hook\FileDeleteCompleteHook, |
| 196 |
\MediaWiki\Hook\FileTransformedHook, |
| 197 |
\MediaWiki\Hook\FileUndeleteCompleteHook, |
| 198 |
\MediaWiki\Hook\FileUploadHook, |
| 199 |
\MediaWiki\Hook\FormatAutocommentsHook, |
| 200 |
\MediaWiki\Hook\GalleryGetModesHook, |
| 201 |
\MediaWiki\Hook\GetBlockErrorMessageKeyHook, |
| 202 |
\MediaWiki\Output\Hook\GetCacheVaryCookiesHook, |
| 203 |
\MediaWiki\Hook\GetCanonicalURLHook, |
| 204 |
\MediaWiki\Hook\GetDefaultSortkeyHook, |
| 205 |
\MediaWiki\Hook\GetDoubleUnderscoreIDsHook, |
| 206 |
\MediaWiki\Hook\GetExtendedMetadataHook, |
| 207 |
\MediaWiki\Hook\GetFullURLHook, |
| 208 |
\MediaWiki\Hook\GetHumanTimestampHook, |
| 209 |
\MediaWiki\Hook\GetInternalURLHook, |
| 210 |
\MediaWiki\Hook\GetIPHook, |
| 211 |
\MediaWiki\Hook\GetLangPreferredVariantHook, |
| 212 |
\MediaWiki\Hook\GetLinkColoursHook, |
| 213 |
\MediaWiki\Hook\GetLocalURLHook, |
| 214 |
\MediaWiki\Hook\GetLocalURL__ArticleHook, |
| 215 |
\MediaWiki\Hook\GetLocalURL__InternalHook, |
| 216 |
\MediaWiki\Hook\GetLogTypesOnUserHook, |
| 217 |
\MediaWiki\Hook\GetMagicVariableIDsHook, |
| 218 |
\MediaWiki\Hook\GetMetadataVersionHook, |
| 219 |
\MediaWiki\Hook\GetNewMessagesAlertHook, |
| 220 |
\MediaWiki\Hook\GetSecurityLogContextHook, |
| 221 |
\MediaWiki\Hook\GetRelativeTimestampHook, |
| 222 |
\MediaWiki\Hook\GitViewersHook, |
| 223 |
\MediaWiki\Hook\HistoryPageToolLinksHook, |
| 224 |
\MediaWiki\Hook\HistoryToolsHook, |
| 225 |
\MediaWiki\Hook\ImageBeforeProduceHTMLHook, |
| 226 |
\MediaWiki\Hook\ImgAuthBeforeStreamHook, |
| 227 |
\MediaWiki\Hook\ImgAuthModifyHeadersHook, |
| 228 |
\MediaWiki\Hook\ImportHandleContentXMLTagHook, |
| 229 |
\MediaWiki\Hook\ImportHandleLogItemXMLTagHook, |
| 230 |
\MediaWiki\Hook\ImportHandlePageXMLTagHook, |
| 231 |
\MediaWiki\Hook\ImportHandleRevisionXMLTagHook, |
| 232 |
\MediaWiki\Hook\ImportHandleToplevelXMLTagHook, |
| 233 |
\MediaWiki\Hook\ImportHandleUnknownUserHook, |
| 234 |
\MediaWiki\Hook\ImportHandleUploadXMLTagHook, |
| 235 |
\MediaWiki\Hook\ImportLogInterwikiLinkHook, |
| 236 |
\MediaWiki\Hook\ImportSourcesHook, |
| 237 |
\MediaWiki\Hook\InfoActionHook, |
| 238 |
\MediaWiki\Hook\InitializeArticleMaybeRedirectHook, |
| 239 |
\MediaWiki\Hook\InternalParseBeforeLinksHook, |
| 240 |
\MediaWiki\Hook\IRCLineURLHook, |
| 241 |
\MediaWiki\Hook\IsTrustedProxyHook, |
| 242 |
\MediaWiki\Hook\IsUploadAllowedFromUrlHook, |
| 243 |
\MediaWiki\Hook\IsValidEmailAddrHook, |
| 244 |
\MediaWiki\Hook\LanguageGetNamespacesHook, |
| 245 |
\MediaWiki\Output\Hook\LanguageLinksHook, |
| 246 |
\MediaWiki\Hook\LanguageSelectorHook, |
| 247 |
\MediaWiki\Hook\LinkerMakeExternalImageHook, |
| 248 |
\MediaWiki\Hook\LinkerMakeExternalLinkHook, |
| 249 |
\MediaWiki\Hook\LinkerMakeMediaLinkFileHook, |
| 250 |
\MediaWiki\Hook\LinksUpdateCompleteHook, |
| 251 |
\MediaWiki\Hook\LinksUpdateHook, |
| 252 |
\MediaWiki\Hook\LocalFilePurgeThumbnailsHook, |
| 253 |
\MediaWiki\Hook\LocalFile__getHistoryHook, |
| 254 |
\MediaWiki\Hook\LocalisationCacheRecacheFallbackHook, |
| 255 |
\MediaWiki\Hook\LocalisationCacheRecacheHook, |
| 256 |
\MediaWiki\Hook\LogEventsListGetExtraInputsHook, |
| 257 |
\MediaWiki\Hook\LogEventsListLineEndingHook, |
| 258 |
\MediaWiki\Hook\LogEventsListShowLogExtractHook, |
| 259 |
\MediaWiki\Hook\LogExceptionHook, |
| 260 |
\MediaWiki\Hook\LoginFormValidErrorMessagesHook, |
| 261 |
\MediaWiki\Hook\LogLineHook, |
| 262 |
\MediaWiki\Hook\LonelyPagesQueryHook, |
| 263 |
\MediaWiki\Hook\MagicWordwgVariableIDsHook, |
| 264 |
\MediaWiki\Hook\MaintenanceRefreshLinksInitHook, |
| 265 |
\MediaWiki\Hook\MaintenanceShellStartHook, |
| 266 |
\MediaWiki\Hook\MaintenanceUpdateAddParamsHook, |
| 267 |
\MediaWiki\Output\Hook\MakeGlobalVariablesScriptHook, |
| 268 |
\MediaWiki\Hook\ManualLogEntryBeforePublishHook, |
| 269 |
\MediaWiki\Hook\MarkPatrolledCompleteHook, |
| 270 |
\MediaWiki\Hook\MarkPatrolledHook, |
| 271 |
\MediaWiki\Hook\MediaWikiPerformActionHook, |
| 272 |
\MediaWiki\Hook\MediaWikiServicesHook, |
| 273 |
\MediaWiki\Hook\MimeMagicGuessFromContentHook, |
| 274 |
\MediaWiki\Hook\MimeMagicImproveFromExtensionHook, |
| 275 |
\MediaWiki\Hook\MimeMagicInitHook, |
| 276 |
\MediaWiki\Hook\ModifyExportQueryHook, |
| 277 |
\MediaWiki\Hook\MovePageCheckPermissionsHook, |
| 278 |
\MediaWiki\Hook\MovePageIsValidMoveHook, |
| 279 |
\MediaWiki\Hook\NamespaceIsMovableHook, |
| 280 |
\MediaWiki\Hook\NewPagesLineEndingHook, |
| 281 |
\MediaWiki\Hook\OldChangesListRecentChangesLineHook, |
| 282 |
\MediaWiki\Hook\OpenSearchUrlsHook, |
| 283 |
\MediaWiki\Hook\OtherAutoblockLogLinkHook, |
| 284 |
\MediaWiki\Hook\OtherBlockLogLinkHook, |
| 285 |
\MediaWiki\Output\Hook\OutputPageAfterGetHeadLinksArrayHook, |
| 286 |
\MediaWiki\Output\Hook\OutputPageBeforeHTMLHook, |
| 287 |
\MediaWiki\Output\Hook\OutputPageBodyAttributesHook, |
| 288 |
\MediaWiki\Output\Hook\OutputPageCheckLastModifiedHook, |
| 289 |
\MediaWiki\Output\Hook\OutputPageMakeCategoryLinksHook, |
| 290 |
\MediaWiki\Output\Hook\OutputPageParserOutputHook, |
| 291 |
\MediaWiki\Output\Hook\OutputPageRenderCategoryLinkHook, |
| 292 |
\MediaWiki\Hook\PageHistoryBeforeListHook, |
| 293 |
\MediaWiki\Hook\PageHistoryLineEndingHook, |
| 294 |
\MediaWiki\Hook\PageHistoryPager__doBatchLookupsHook, |
| 295 |
\MediaWiki\Hook\PageHistoryPager__getQueryInfoHook, |
| 296 |
\MediaWiki\Hook\PageMoveCompleteHook, |
| 297 |
\MediaWiki\Hook\PageMoveCompletingHook, |
| 298 |
\MediaWiki\Hook\PageRenderingHashHook, |
| 299 |
\MediaWiki\Hook\ParserAfterParseHook, |
| 300 |
\MediaWiki\Hook\ParserAfterTidyHook, |
| 301 |
\MediaWiki\Hook\ParserBeforeInternalParseHook, |
| 302 |
\MediaWiki\Hook\ParserBeforePreprocessHook, |
| 303 |
\MediaWiki\Hook\ParserCacheSaveCompleteHook, |
| 304 |
\MediaWiki\Hook\ParserClearStateHook, |
| 305 |
\MediaWiki\Hook\ParserClonedHook, |
| 306 |
\MediaWiki\Hook\ParserFetchTemplateDataHook, |
| 307 |
\MediaWiki\Hook\ParserFirstCallInitHook, |
| 308 |
\MediaWiki\Hook\ParserGetVariableValueSwitchHook, |
| 309 |
\MediaWiki\Hook\ParserGetVariableValueTsHook, |
| 310 |
\MediaWiki\Hook\ParserLimitReportFormatHook, |
| 311 |
\MediaWiki\Hook\ParserLimitReportPrepareHook, |
| 312 |
\MediaWiki\Hook\ParserLogLinterDataHook, |
| 313 |
\MediaWiki\Hook\ParserMakeImageParamsHook, |
| 314 |
\MediaWiki\Hook\ParserModifyImageHTMLHook, |
| 315 |
\MediaWiki\Hook\ParserOptionsRegisterHook, |
| 316 |
\MediaWiki\Hook\ParserOutputPostCacheTransformHook, |
| 317 |
\MediaWiki\Hook\ParserPreSaveTransformCompleteHook, |
| 318 |
\MediaWiki\Hook\ParserTestGlobalsHook, |
| 319 |
\MediaWiki\Hook\PasswordPoliciesForUserHook, |
| 320 |
\MediaWiki\Hook\PostLoginRedirectHook, |
| 321 |
\MediaWiki\Hook\PreferencesGetIconHook, |
| 322 |
\MediaWiki\Hook\PreferencesGetLayoutHook, |
| 323 |
\MediaWiki\Hook\PreferencesGetLegendHook, |
| 324 |
\MediaWiki\Hook\PrefsEmailAuditHook, |
| 325 |
\MediaWiki\Hook\ProtectionForm__buildFormHook, |
| 326 |
\MediaWiki\Hook\ProtectionForm__saveHook, |
| 327 |
\MediaWiki\Hook\ProtectionForm__showLogExtractHook, |
| 328 |
\MediaWiki\Hook\ProtectionFormAddFormFieldsHook, |
| 329 |
\MediaWiki\Hook\RandomPageQueryHook, |
| 330 |
\MediaWiki\Hook\RawPageViewBeforeOutputHook, |
| 331 |
\MediaWiki\Hook\RecentChangesPurgeRowsHook, |
| 332 |
\MediaWiki\Hook\RecentChange_saveHook, |
| 333 |
\MediaWiki\Hook\RejectParserCacheValueHook, |
| 334 |
\MediaWiki\Hook\RequestContextCreateSkinHook, |
| 335 |
\MediaWiki\Hook\SelfLinkBeginHook, |
| 336 |
\MediaWiki\Hook\SendWatchlistEmailNotificationHook, |
| 337 |
\MediaWiki\Hook\SetupAfterCacheHook, |
| 338 |
\MediaWiki\Hook\ShortPagesQueryHook, |
| 339 |
\MediaWiki\Hook\SidebarBeforeOutputHook, |
| 340 |
\MediaWiki\Hook\SiteNoticeAfterHook, |
| 341 |
\MediaWiki\Hook\SiteNoticeBeforeHook, |
| 342 |
\MediaWiki\Hook\SkinAddFooterLinksHook, |
| 343 |
\MediaWiki\Hook\SkinAfterBottomScriptsHook, |
| 344 |
\MediaWiki\Hook\SkinAfterContentHook, |
| 345 |
\MediaWiki\Hook\SkinBuildSidebarHook, |
| 346 |
\MediaWiki\Hook\SkinCopyrightFooterHook, |
| 347 |
\MediaWiki\Hook\SkinCopyrightFooterMessageHook, |
| 348 |
\MediaWiki\Hook\SkinEditSectionLinksHook, |
| 349 |
\MediaWiki\Hook\SkinPreloadExistenceHook, |
| 350 |
\MediaWiki\Hook\SkinSubPageSubtitleHook, |
| 351 |
\MediaWiki\Hook\SkinTemplateGetLanguageLinkHook, |
| 352 |
\MediaWiki\Hook\SkinTemplateNavigation__UniversalHook, |
| 353 |
\MediaWiki\Hook\SoftwareInfoHook, |
| 354 |
\MediaWiki\Hook\SpecialBlockModifyFormFieldsHook, |
| 355 |
\MediaWiki\Hook\SpecialContributionsBeforeMainOutputHook, |
| 356 |
\MediaWiki\Hook\SpecialContributions__formatRow__flagsHook, |
| 357 |
\MediaWiki\Hook\SpecialCreateAccountBenefitsHook, |
| 358 |
\MediaWiki\Hook\SpecialExportGetExtraPagesHook, |
| 359 |
\MediaWiki\Hook\SpecialContributions__getForm__filtersHook, |
| 360 |
\MediaWiki\Hook\SpecialListusersDefaultQueryHook, |
| 361 |
\MediaWiki\Hook\SpecialListusersFormatRowHook, |
| 362 |
\MediaWiki\Hook\SpecialListusersHeaderFormHook, |
| 363 |
\MediaWiki\Hook\SpecialListusersHeaderHook, |
| 364 |
\MediaWiki\Hook\SpecialListusersQueryInfoHook, |
| 365 |
\MediaWiki\Hook\SpecialLogAddLogSearchRelationsHook, |
| 366 |
\MediaWiki\Hook\SpecialMovepageAfterMoveHook, |
| 367 |
\MediaWiki\Hook\SpecialMuteModifyFormFieldsHook, |
| 368 |
\MediaWiki\Hook\SpecialNewpagesConditionsHook, |
| 369 |
\MediaWiki\Hook\SpecialNewPagesFiltersHook, |
| 370 |
\MediaWiki\Hook\SpecialPrefixIndexGetFormFiltersHook, |
| 371 |
\MediaWiki\Hook\SpecialPrefixIndexQueryHook, |
| 372 |
\MediaWiki\Hook\SpecialRandomGetRandomTitleHook, |
| 373 |
\MediaWiki\Hook\SpecialRecentChangesPanelHook, |
| 374 |
\MediaWiki\Hook\SpecialResetTokensTokensHook, |
| 375 |
\MediaWiki\Hook\SpecialSearchCreateLinkHook, |
| 376 |
\MediaWiki\Hook\SpecialSearchGoResultHook, |
| 377 |
\MediaWiki\Hook\SpecialSearchNogomatchHook, |
| 378 |
\MediaWiki\Hook\SpecialSearchProfilesHook, |
| 379 |
\MediaWiki\Hook\SpecialSearchResultsAppendHook, |
| 380 |
\MediaWiki\Hook\SpecialSearchResultsHook, |
| 381 |
\MediaWiki\Hook\SpecialSearchResultsPrependHook, |
| 382 |
\MediaWiki\Hook\SpecialSearchSetupEngineHook, |
| 383 |
\MediaWiki\Hook\SpecialStatsAddExtraHook, |
| 384 |
\MediaWiki\Hook\SpecialTrackingCategories__generateCatLinkHook, |
| 385 |
\MediaWiki\Hook\SpecialTrackingCategories__preprocessHook, |
| 386 |
\MediaWiki\Hook\SpecialUploadCompleteHook, |
| 387 |
\MediaWiki\Hook\SpecialVersionVersionUrlHook, |
| 388 |
\MediaWiki\Hook\SpecialWatchlistGetNonRevisionTypesHook, |
| 389 |
\MediaWiki\Hook\SpecialWhatLinksHereQueryHook, |
| 390 |
\MediaWiki\Hook\TestCanonicalRedirectHook, |
| 391 |
\MediaWiki\Hook\ThumbnailBeforeProduceHTMLHook, |
| 392 |
\MediaWiki\Hook\TempUserCreatedRedirectHook, |
| 393 |
\MediaWiki\Hook\TitleExistsHook, |
| 394 |
\MediaWiki\Hook\TitleGetEditNoticesHook, |
| 395 |
\MediaWiki\Hook\TitleGetRestrictionTypesHook, |
| 396 |
\MediaWiki\Hook\TitleIsAlwaysKnownHook, |
| 397 |
\MediaWiki\Hook\TitleIsMovableHook, |
| 398 |
\MediaWiki\Hook\TitleMoveHook, |
| 399 |
\MediaWiki\Hook\TitleMoveStartingHook, |
| 400 |
\MediaWiki\Hook\UnblockUserCompleteHook, |
| 401 |
\MediaWiki\Hook\UnblockUserHook, |
| 402 |
\MediaWiki\Hook\UndeleteForm__showHistoryHook, |
| 403 |
\MediaWiki\Hook\UndeleteForm__showRevisionHook, |
| 404 |
\MediaWiki\Hook\UndeletePageToolLinksHook, |
| 405 |
\MediaWiki\Hook\UnitTestsAfterDatabaseSetupHook, |
| 406 |
\MediaWiki\Hook\UnitTestsBeforeDatabaseTeardownHook, |
| 407 |
\MediaWiki\Hook\UnitTestsListHook, |
| 408 |
\MediaWiki\Hook\UnwatchArticleCompleteHook, |
| 409 |
\MediaWiki\Hook\UnwatchArticleHook, |
| 410 |
\MediaWiki\Hook\UpdateUserMailerFormattedPageStatusHook, |
| 411 |
\MediaWiki\Hook\UploadCompleteHook, |
| 412 |
\MediaWiki\Hook\UploadCreateFromRequestHook, |
| 413 |
\MediaWiki\Hook\UploadFormInitDescriptorHook, |
| 414 |
\MediaWiki\Hook\UploadFormSourceDescriptorsHook, |
| 415 |
\MediaWiki\Hook\UploadForm_BeforeProcessingHook, |
| 416 |
\MediaWiki\Hook\UploadForm_getInitialPageTextHook, |
| 417 |
\MediaWiki\Hook\UploadForm_initialHook, |
| 418 |
\MediaWiki\Hook\UploadStashFileHook, |
| 419 |
\MediaWiki\Hook\UploadVerifyFileHook, |
| 420 |
\MediaWiki\Hook\UploadVerifyUploadHook, |
| 421 |
\MediaWiki\Hook\UserEditCountUpdateHook, |
| 422 |
\MediaWiki\Hook\UserGetLanguageObjectHook, |
| 423 |
\MediaWiki\Hook\UserLoginCompleteHook, |
| 424 |
\MediaWiki\Hook\UserLogoutCompleteHook, |
| 425 |
\MediaWiki\Hook\UserMailerChangeReturnPathHook, |
| 426 |
\MediaWiki\Hook\UserMailerSplitToHook, |
| 427 |
\MediaWiki\Hook\UserMailerTransformContentHook, |
| 428 |
\MediaWiki\Hook\UserMailerTransformMessageHook, |
| 429 |
\MediaWiki\Hook\UsersPagerDoBatchLookupsHook, |
| 430 |
\MediaWiki\Hook\UserToolLinksEditHook, |
| 431 |
\MediaWiki\Hook\ValidateExtendedMetadataCacheHook, |
| 432 |
\MediaWiki\Hook\WantedPages__getQueryInfoHook, |
| 433 |
\MediaWiki\Hook\WatchArticleCompleteHook, |
| 434 |
\MediaWiki\Hook\WatchArticleHook, |
| 435 |
\MediaWiki\Hook\WatchedItemQueryServiceExtensionsHook, |
| 436 |
\MediaWiki\Hook\WatchlistEditorBeforeFormRenderHook, |
| 437 |
\MediaWiki\Hook\WatchlistEditorBuildRemoveLineHook, |
| 438 |
\MediaWiki\Hook\WebRequestPathInfoRouterHook, |
| 439 |
\MediaWiki\Hook\WebResponseSetCookieHook, |
| 440 |
\MediaWiki\Hook\WhatLinksHerePropsHook, |
| 441 |
\MediaWiki\Hook\WikiExporter__dumpStableQueryHook, |
| 442 |
\MediaWiki\Hook\XmlDumpWriterOpenPageHook, |
| 443 |
\MediaWiki\Hook\XmlDumpWriterWriteRevisionHook, |
| 444 |
\MediaWiki\Installer\Hook\LoadExtensionSchemaUpdatesHook, |
| 445 |
\MediaWiki\Interwiki\Hook\InterwikiLoadPrefixHook, |
| 446 |
\MediaWiki\Languages\Hook\LanguageGetTranslatedLanguageNamesHook, |
| 447 |
\MediaWiki\Languages\Hook\Language__getMessagesFileNameHook, |
| 448 |
\MediaWiki\Linker\Hook\LinkerGenerateRollbackLinkHook, |
| 449 |
\MediaWiki\Linker\Hook\HtmlPageLinkRendererBeginHook, |
| 450 |
\MediaWiki\Linker\Hook\HtmlPageLinkRendererEndHook, |
| 451 |
\MediaWiki\Page\Hook\ArticleConfirmDeleteHook, |
| 452 |
\MediaWiki\Page\Hook\ArticleDeleteAfterSuccessHook, |
| 453 |
\MediaWiki\Page\Hook\ArticleDeleteCompleteHook, |
| 454 |
\MediaWiki\Page\Hook\ArticleDeleteHook, |
| 455 |
\MediaWiki\Page\Hook\ArticleFromTitleHook, |
| 456 |
\MediaWiki\Page\Hook\ArticlePageDataAfterHook, |
| 457 |
\MediaWiki\Page\Hook\ArticlePageDataBeforeHook, |
| 458 |
\MediaWiki\Page\Hook\ArticleParserOptionsHook, |
| 459 |
\MediaWiki\Page\Hook\ArticleProtectCompleteHook, |
| 460 |
\MediaWiki\Page\Hook\ArticleProtectHook, |
| 461 |
\MediaWiki\Page\Hook\ArticlePurgeHook, |
| 462 |
\MediaWiki\Page\Hook\ArticleRevisionViewCustomHook, |
| 463 |
\MediaWiki\Page\Hook\ArticleShowPatrolFooterHook, |
| 464 |
\MediaWiki\Page\Hook\ArticleUndeleteHook, |
| 465 |
\MediaWiki\Page\Hook\ArticleViewFooterHook, |
| 466 |
\MediaWiki\Page\Hook\ArticleViewHeaderHook, |
| 467 |
\MediaWiki\Page\Hook\ArticleViewRedirectHook, |
| 468 |
\MediaWiki\Page\Hook\Article__MissingArticleConditionsHook, |
| 469 |
\MediaWiki\Page\Hook\BeforeDisplayNoArticleTextHook, |
| 470 |
\MediaWiki\Page\Hook\CategoryAfterPageAddedHook, |
| 471 |
\MediaWiki\Page\Hook\CategoryAfterPageRemovedHook, |
| 472 |
\MediaWiki\Page\Hook\CategoryPageViewHook, |
| 473 |
\MediaWiki\Page\Hook\DisplayOldSubtitleHook, |
| 474 |
\MediaWiki\Page\Hook\ImageOpenShowImageInlineBeforeHook, |
| 475 |
\MediaWiki\Page\Hook\ImagePageAfterImageLinksHook, |
| 476 |
\MediaWiki\Page\Hook\ImagePageFileHistoryLineHook, |
| 477 |
\MediaWiki\Page\Hook\ImagePageFindFileHook, |
| 478 |
\MediaWiki\Page\Hook\ImagePageShowTOCHook, |
| 479 |
\MediaWiki\Page\Hook\IsFileCacheableHook, |
| 480 |
\MediaWiki\Page\Hook\OpportunisticLinksUpdateHook, |
| 481 |
\MediaWiki\Page\Hook\PageDeleteCompleteHook, |
| 482 |
\MediaWiki\Page\Hook\PageDeleteHook, |
| 483 |
\MediaWiki\Page\Hook\PageDeletionDataUpdatesHook, |
| 484 |
\MediaWiki\Page\Hook\PageUndeleteCompleteHook, |
| 485 |
\MediaWiki\Page\Hook\PageUndeleteHook, |
| 486 |
\MediaWiki\Page\Hook\PageViewUpdatesHook, |
| 487 |
\MediaWiki\Page\Hook\RevisionFromEditCompleteHook, |
| 488 |
\MediaWiki\Page\Hook\RevisionUndeletedHook, |
| 489 |
\MediaWiki\Page\Hook\RollbackCompleteHook, |
| 490 |
\MediaWiki\Page\Hook\ShowMissingArticleHook, |
| 491 |
\MediaWiki\Page\Hook\WikiPageDeletionUpdatesHook, |
| 492 |
\MediaWiki\Page\Hook\WikiPageFactoryHook, |
| 493 |
\MediaWiki\Permissions\Hook\PermissionErrorAuditHook, |
| 494 |
\MediaWiki\Permissions\Hook\GetUserPermissionsErrorsExpensiveHook, |
| 495 |
\MediaWiki\Permissions\Hook\GetUserPermissionsErrorsHook, |
| 496 |
\MediaWiki\Permissions\Hook\TitleQuickPermissionsHook, |
| 497 |
\MediaWiki\Permissions\Hook\TitleReadWhitelistHook, |
| 498 |
\MediaWiki\Permissions\Hook\UserCanHook, |
| 499 |
\MediaWiki\Permissions\Hook\UserGetAllRightsHook, |
| 500 |
\MediaWiki\Permissions\Hook\UserGetRightsHook, |
| 501 |
\MediaWiki\Permissions\Hook\UserGetRightsRemoveHook, |
| 502 |
\MediaWiki\Permissions\Hook\UserIsBlockedFromHook, |
| 503 |
\MediaWiki\Permissions\Hook\UserIsEveryoneAllowedHook, |
| 504 |
\MediaWiki\Preferences\Hook\GetPreferencesHook, |
| 505 |
\MediaWiki\Preferences\Hook\PreferencesFormPreSaveHook, |
| 506 |
\MediaWiki\RenameUser\Hook\RenameUserAbortHook, |
| 507 |
\MediaWiki\RenameUser\Hook\RenameUserCompleteHook, |
| 508 |
\MediaWiki\RenameUser\Hook\RenameUserPreRenameHook, |
| 509 |
\MediaWiki\RenameUser\Hook\RenameUserSQLHook, |
| 510 |
\MediaWiki\RenameUser\Hook\RenameUserWarningHook, |
| 511 |
\MediaWiki\Rest\Hook\SearchResultProvideDescriptionHook, |
| 512 |
\MediaWiki\Revision\Hook\ContentHandlerDefaultModelForHook, |
| 513 |
\MediaWiki\Revision\Hook\RevisionRecordInsertedHook, |
| 514 |
\MediaWiki\Search\Hook\PrefixSearchBackendHook, |
| 515 |
\MediaWiki\Search\Hook\PrefixSearchExtractNamespaceHook, |
| 516 |
\MediaWiki\Search\Hook\SearchableNamespacesHook, |
| 517 |
\MediaWiki\Search\Hook\SearchAfterNoDirectMatchHook, |
| 518 |
\MediaWiki\Search\Hook\SearchGetNearMatchBeforeHook, |
| 519 |
\MediaWiki\Search\Hook\SearchGetNearMatchCompleteHook, |
| 520 |
\MediaWiki\Search\Hook\SearchGetNearMatchHook, |
| 521 |
\MediaWiki\Search\Hook\SearchIndexFieldsHook, |
| 522 |
\MediaWiki\Search\Hook\SearchResultInitFromTitleHook, |
| 523 |
\MediaWiki\Search\Hook\SearchResultProvideThumbnailHook, |
| 524 |
\MediaWiki\Search\Hook\SearchResultsAugmentHook, |
| 525 |
\MediaWiki\Search\Hook\ShowSearchHitHook, |
| 526 |
\MediaWiki\Search\Hook\ShowSearchHitTitleHook, |
| 527 |
\MediaWiki\Search\Hook\SpecialSearchPowerBoxHook, |
| 528 |
\MediaWiki\Search\Hook\SpecialSearchProfileFormHook, |
| 529 |
\MediaWiki\Session\Hook\SessionCheckInfoHook, |
| 530 |
\MediaWiki\Session\Hook\SessionMetadataHook, |
| 531 |
\MediaWiki\Shell\Hook\WfShellWikiCmdHook, |
| 532 |
\MediaWiki\Skins\Hook\SkinAfterPortletHook, |
| 533 |
\MediaWiki\Skins\Hook\SkinPageReadyConfigHook, |
| 534 |
\MediaWiki\SpecialPage\Hook\AuthChangeFormFieldsHook, |
| 535 |
\MediaWiki\SpecialPage\Hook\ChangeAuthenticationDataAuditHook, |
| 536 |
\MediaWiki\SpecialPage\Hook\ChangesListSpecialPageQueryHook, |
| 537 |
\MediaWiki\SpecialPage\Hook\ChangesListSpecialPageStructuredFiltersHook, |
| 538 |
\MediaWiki\SpecialPage\Hook\RedirectSpecialArticleRedirectParamsHook, |
| 539 |
\MediaWiki\SpecialPage\Hook\SpecialPageAfterExecuteHook, |
| 540 |
\MediaWiki\SpecialPage\Hook\SpecialPageBeforeExecuteHook, |
| 541 |
\MediaWiki\SpecialPage\Hook\SpecialPageBeforeFormDisplayHook, |
| 542 |
\MediaWiki\SpecialPage\Hook\SpecialPage_initListHook, |
| 543 |
\MediaWiki\SpecialPage\Hook\WgQueryPagesHook, |
| 544 |
\MediaWiki\Storage\Hook\ArticleEditUpdateNewTalkHook, |
| 545 |
\MediaWiki\Storage\Hook\ArticlePrepareTextForEditHook, |
| 546 |
\MediaWiki\Storage\Hook\BeforeRevertedTagUpdateHook, |
| 547 |
\MediaWiki\Storage\Hook\MultiContentSaveHook, |
| 548 |
\MediaWiki\Storage\Hook\PageContentSaveHook, |
| 549 |
\MediaWiki\Storage\Hook\PageSaveCompleteHook, |
| 550 |
\MediaWiki\Storage\Hook\ParserOutputStashForEditHook, |
| 551 |
\MediaWiki\Storage\Hook\RevisionDataUpdatesHook, |
| 552 |
\MediaWiki\User\Hook\AutopromoteConditionHook, |
| 553 |
\MediaWiki\User\Hook\ConfirmEmailCompleteHook, |
| 554 |
\MediaWiki\User\Hook\EmailConfirmedHook, |
| 555 |
\MediaWiki\User\Hook\GetAutoPromoteGroupsHook, |
| 556 |
\MediaWiki\User\Hook\InvalidateEmailCompleteHook, |
| 557 |
\MediaWiki\User\Hook\IsValidPasswordHook, |
| 558 |
\MediaWiki\User\Hook\PingLimiterHook, |
| 559 |
\MediaWiki\User\Hook\SpecialPasswordResetOnSubmitHook, |
| 560 |
\MediaWiki\User\Hook\UserAddGroupHook, |
| 561 |
\MediaWiki\User\Hook\UserArrayFromResultHook, |
| 562 |
\MediaWiki\User\Hook\UserCanSendEmailHook, |
| 563 |
\MediaWiki\User\Hook\UserClearNewTalkNotificationHook, |
| 564 |
\MediaWiki\User\Hook\UserEffectiveGroupsHook, |
| 565 |
\MediaWiki\User\Hook\UserGetDefaultOptionsHook, |
| 566 |
\MediaWiki\User\Hook\UserGetEmailAuthenticationTimestampHook, |
| 567 |
\MediaWiki\User\Hook\UserGetEmailHook, |
| 568 |
\MediaWiki\User\Hook\UserGetReservedNamesHook, |
| 569 |
\MediaWiki\User\Hook\UserGroupsChangedHook, |
| 570 |
\MediaWiki\User\Hook\UserIsBlockedGloballyHook, |
| 571 |
\MediaWiki\User\Hook\UserIsBotHook, |
| 572 |
\MediaWiki\User\Hook\UserIsLockedHook, |
| 573 |
\MediaWiki\User\Hook\UserLoadAfterLoadFromSessionHook, |
| 574 |
\MediaWiki\User\Hook\UserLoadDefaultsHook, |
| 575 |
\MediaWiki\User\Hook\UserLogoutHook, |
| 576 |
\MediaWiki\User\Hook\UserPrivilegedGroupsHook, |
| 577 |
\MediaWiki\User\Hook\UserRemoveGroupHook, |
| 578 |
\MediaWiki\User\Hook\UserSaveSettingsHook, |
| 579 |
\MediaWiki\User\Hook\UserSendConfirmationMailHook, |
| 580 |
\MediaWiki\User\Hook\UserSetEmailAuthenticationTimestampHook, |
| 581 |
\MediaWiki\User\Hook\UserSetEmailHook, |
| 582 |
\MediaWiki\User\Hook\User__mailPasswordInternalHook, |
| 583 |
\MediaWiki\User\Options\Hook\LoadUserOptionsHook, |
| 584 |
\MediaWiki\User\Options\Hook\SaveUserOptionsHook, |
| 585 |
\MediaWiki\User\Options\Hook\ConditionalDefaultOptionsAddConditionHook |
| 586 |
{ |
| 587 |
|
| 588 |
private $container; |
| 589 |
|
| 590 |
public function __construct( HookContainer $container ) { |
| 591 |
$this->container = $container; |
| 592 |
} |
| 593 |
|
| 594 |
public function onAbortAutoblock( $autoblockip, $block ) { |
| 595 |
return $this->container->run( |
| 596 |
'AbortAutoblock', |
| 597 |
[ $autoblockip, $block ] |
| 598 |
); |
| 599 |
} |
| 600 |
|
| 601 |
public function onAbortDiffCache( $diffEngine ) { |
| 602 |
return $this->container->run( |
| 603 |
'AbortDiffCache', |
| 604 |
[ $diffEngine ] |
| 605 |
); |
| 606 |
} |
| 607 |
|
| 608 |
public function onAbortEmailNotification( $editor, $title, $rc ) { |
| 609 |
return $this->container->run( |
| 610 |
'AbortEmailNotification', |
| 611 |
[ $editor, $title, $rc ] |
| 612 |
); |
| 613 |
} |
| 614 |
|
| 615 |
public function onAbortTalkPageEmailNotification( $targetUser, $title ) { |
| 616 |
return $this->container->run( |
| 617 |
'AbortTalkPageEmailNotification', |
| 618 |
[ $targetUser, $title ] |
| 619 |
); |
| 620 |
} |
| 621 |
|
| 622 |
public function onActionBeforeFormDisplay( $name, $form, $article ) { |
| 623 |
return $this->container->run( |
| 624 |
'ActionBeforeFormDisplay', |
| 625 |
[ $name, $form, $article ] |
| 626 |
); |
| 627 |
} |
| 628 |
|
| 629 |
public function onActionModifyFormFields( $name, &$fields, $article ) { |
| 630 |
return $this->container->run( |
| 631 |
'ActionModifyFormFields', |
| 632 |
[ $name, &$fields, $article ] |
| 633 |
); |
| 634 |
} |
| 635 |
|
| 636 |
public function onAddNewAccount( $user, $byEmail ) { |
| 637 |
return $this->container->run( |
| 638 |
'AddNewAccount', |
| 639 |
[ $user, $byEmail ] |
| 640 |
); |
| 641 |
} |
| 642 |
|
| 643 |
public function onAfterBuildFeedLinks( &$feedLinks ) { |
| 644 |
return $this->container->run( |
| 645 |
'AfterBuildFeedLinks', |
| 646 |
[ &$feedLinks ] |
| 647 |
); |
| 648 |
} |
| 649 |
|
| 650 |
public function onAfterFinalPageOutput( $output ): void { |
| 651 |
$this->container->run( |
| 652 |
'AfterFinalPageOutput', |
| 653 |
[ $output ], |
| 654 |
[ 'abortable' => false ] |
| 655 |
); |
| 656 |
} |
| 657 |
|
| 658 |
public function onAfterImportPage( $title, $foreignTitle, $revCount, |
| 659 |
$sRevCount, $pageInfo |
| 660 |
) { |
| 661 |
return $this->container->run( |
| 662 |
'AfterImportPage', |
| 663 |
[ $title, $foreignTitle, $revCount, $sRevCount, $pageInfo ] |
| 664 |
); |
| 665 |
} |
| 666 |
|
| 667 |
public function onAfterParserFetchFileAndTitle( $parser, $ig, &$html ) { |
| 668 |
return $this->container->run( |
| 669 |
'AfterParserFetchFileAndTitle', |
| 670 |
[ $parser, $ig, &$html ] |
| 671 |
); |
| 672 |
} |
| 673 |
|
| 674 |
public function onAlternateEdit( $editPage ) { |
| 675 |
return $this->container->run( |
| 676 |
'AlternateEdit', |
| 677 |
[ $editPage ] |
| 678 |
); |
| 679 |
} |
| 680 |
|
| 681 |
public function onAlternateEditPreview( $editPage, &$content, &$previewHTML, |
| 682 |
&$parserOutput |
| 683 |
) { |
| 684 |
return $this->container->run( |
| 685 |
'AlternateEditPreview', |
| 686 |
[ $editPage, &$content, &$previewHTML, &$parserOutput ] |
| 687 |
); |
| 688 |
} |
| 689 |
|
| 690 |
public function onAlternateUserMailer( $headers, $to, $from, $subject, $body ) { |
| 691 |
return $this->container->run( |
| 692 |
'AlternateUserMailer', |
| 693 |
[ $headers, $to, $from, $subject, $body ] |
| 694 |
); |
| 695 |
} |
| 696 |
|
| 697 |
public function onAncientPagesQuery( &$tables, &$conds, &$joinConds ) { |
| 698 |
return $this->container->run( |
| 699 |
'AncientPagesQuery', |
| 700 |
[ &$tables, &$conds, &$joinConds ] |
| 701 |
); |
| 702 |
} |
| 703 |
|
| 704 |
public function onApiBeforeMain( &$main ) { |
| 705 |
return $this->container->run( |
| 706 |
'ApiBeforeMain', |
| 707 |
[ &$main ] |
| 708 |
); |
| 709 |
} |
| 710 |
|
| 711 |
public function onArticleConfirmDelete( $article, $output, &$reason ) { |
| 712 |
return $this->container->run( |
| 713 |
'ArticleConfirmDelete', |
| 714 |
[ $article, $output, &$reason ] |
| 715 |
); |
| 716 |
} |
| 717 |
|
| 718 |
public function onArticleContentOnDiff( $diffEngine, $output ) { |
| 719 |
return $this->container->run( |
| 720 |
'ArticleContentOnDiff', |
| 721 |
[ $diffEngine, $output ] |
| 722 |
); |
| 723 |
} |
| 724 |
|
| 725 |
public function onArticleDelete( $wikiPage, $user, &$reason, &$error, &$status, |
| 726 |
$suppress |
| 727 |
) { |
| 728 |
return $this->container->run( |
| 729 |
'ArticleDelete', |
| 730 |
[ $wikiPage, $user, &$reason, &$error, &$status, $suppress ] |
| 731 |
); |
| 732 |
} |
| 733 |
|
| 734 |
public function onArticleDeleteAfterSuccess( $title, $outputPage ) { |
| 735 |
return $this->container->run( |
| 736 |
'ArticleDeleteAfterSuccess', |
| 737 |
[ $title, $outputPage ] |
| 738 |
); |
| 739 |
} |
| 740 |
|
| 741 |
public function onArticleDeleteComplete( $wikiPage, $user, $reason, $id, |
| 742 |
$content, $logEntry, $archivedRevisionCount |
| 743 |
) { |
| 744 |
return $this->container->run( |
| 745 |
'ArticleDeleteComplete', |
| 746 |
[ $wikiPage, $user, $reason, $id, $content, $logEntry, |
| 747 |
$archivedRevisionCount ] |
| 748 |
); |
| 749 |
} |
| 750 |
|
| 751 |
public function onArticleEditUpdateNewTalk( $wikiPage, $recipient ) { |
| 752 |
return $this->container->run( |
| 753 |
'ArticleEditUpdateNewTalk', |
| 754 |
[ $wikiPage, $recipient ] |
| 755 |
); |
| 756 |
} |
| 757 |
|
| 758 |
public function onArticleFromTitle( $title, &$article, $context ) { |
| 759 |
return $this->container->run( |
| 760 |
'ArticleFromTitle', |
| 761 |
[ $title, &$article, $context ] |
| 762 |
); |
| 763 |
} |
| 764 |
|
| 765 |
public function onArticleMergeComplete( $targetTitle, $destTitle ) { |
| 766 |
return $this->container->run( |
| 767 |
'ArticleMergeComplete', |
| 768 |
[ $targetTitle, $destTitle ] |
| 769 |
); |
| 770 |
} |
| 771 |
|
| 772 |
public function onArticlePageDataAfter( $wikiPage, &$row ) { |
| 773 |
return $this->container->run( |
| 774 |
'ArticlePageDataAfter', |
| 775 |
[ $wikiPage, &$row ] |
| 776 |
); |
| 777 |
} |
| 778 |
|
| 779 |
public function onArticlePageDataBefore( $wikiPage, &$fields, &$tables, |
| 780 |
&$joinConds |
| 781 |
) { |
| 782 |
return $this->container->run( |
| 783 |
'ArticlePageDataBefore', |
| 784 |
[ $wikiPage, &$fields, &$tables, &$joinConds ] |
| 785 |
); |
| 786 |
} |
| 787 |
|
| 788 |
public function onArticleParserOptions( Article $article, ParserOptions $popts ) { |
| 789 |
return $this->container->run( |
| 790 |
'ArticleParserOptions', |
| 791 |
[ $article, $popts ] |
| 792 |
); |
| 793 |
} |
| 794 |
|
| 795 |
public function onArticlePrepareTextForEdit( $wikiPage, $popts ) { |
| 796 |
return $this->container->run( |
| 797 |
'ArticlePrepareTextForEdit', |
| 798 |
[ $wikiPage, $popts ] |
| 799 |
); |
| 800 |
} |
| 801 |
|
| 802 |
public function onArticleProtect( $wikiPage, $user, $protect, $reason ) { |
| 803 |
return $this->container->run( |
| 804 |
'ArticleProtect', |
| 805 |
[ $wikiPage, $user, $protect, $reason ] |
| 806 |
); |
| 807 |
} |
| 808 |
|
| 809 |
public function onArticleProtectComplete( $wikiPage, $user, $protect, $reason ) { |
| 810 |
return $this->container->run( |
| 811 |
'ArticleProtectComplete', |
| 812 |
[ $wikiPage, $user, $protect, $reason ] |
| 813 |
); |
| 814 |
} |
| 815 |
|
| 816 |
public function onArticlePurge( $wikiPage ) { |
| 817 |
return $this->container->run( |
| 818 |
'ArticlePurge', |
| 819 |
[ $wikiPage ] |
| 820 |
); |
| 821 |
} |
| 822 |
|
| 823 |
public function onArticleRevisionViewCustom( $revision, $title, $oldid, |
| 824 |
$output |
| 825 |
) { |
| 826 |
return $this->container->run( |
| 827 |
'ArticleRevisionViewCustom', |
| 828 |
[ $revision, $title, $oldid, $output ] |
| 829 |
); |
| 830 |
} |
| 831 |
|
| 832 |
public function onArticleRevisionVisibilitySet( $title, $ids, |
| 833 |
$visibilityChangeMap |
| 834 |
) { |
| 835 |
return $this->container->run( |
| 836 |
'ArticleRevisionVisibilitySet', |
| 837 |
[ $title, $ids, $visibilityChangeMap ] |
| 838 |
); |
| 839 |
} |
| 840 |
|
| 841 |
public function onArticleShowPatrolFooter( $article ) { |
| 842 |
return $this->container->run( |
| 843 |
'ArticleShowPatrolFooter', |
| 844 |
[ $article ] |
| 845 |
); |
| 846 |
} |
| 847 |
|
| 848 |
public function onArticleUndelete( $title, $create, $comment, $oldPageId, |
| 849 |
$restoredPages |
| 850 |
) { |
| 851 |
return $this->container->run( |
| 852 |
'ArticleUndelete', |
| 853 |
[ $title, $create, $comment, $oldPageId, $restoredPages ] |
| 854 |
); |
| 855 |
} |
| 856 |
|
| 857 |
public function onArticleUpdateBeforeRedirect( $article, &$sectionanchor, |
| 858 |
&$extraq |
| 859 |
) { |
| 860 |
return $this->container->run( |
| 861 |
'ArticleUpdateBeforeRedirect', |
| 862 |
[ $article, &$sectionanchor, &$extraq ] |
| 863 |
); |
| 864 |
} |
| 865 |
|
| 866 |
public function onArticleViewFooter( $article, $patrolFooterShown ) { |
| 867 |
return $this->container->run( |
| 868 |
'ArticleViewFooter', |
| 869 |
[ $article, $patrolFooterShown ] |
| 870 |
); |
| 871 |
} |
| 872 |
|
| 873 |
public function onArticleViewHeader( $article, &$outputDone, &$pcache ) { |
| 874 |
return $this->container->run( |
| 875 |
'ArticleViewHeader', |
| 876 |
[ $article, &$outputDone, &$pcache ] |
| 877 |
); |
| 878 |
} |
| 879 |
|
| 880 |
public function onArticleViewRedirect( $article ) { |
| 881 |
return $this->container->run( |
| 882 |
'ArticleViewRedirect', |
| 883 |
[ $article ] |
| 884 |
); |
| 885 |
} |
| 886 |
|
| 887 |
public function onArticle__MissingArticleConditions( &$conds, $logTypes ) { |
| 888 |
return $this->container->run( |
| 889 |
'Article::MissingArticleConditions', |
| 890 |
[ &$conds, $logTypes ] |
| 891 |
); |
| 892 |
} |
| 893 |
|
| 894 |
public function onAuthChangeFormFields( $requests, $fieldInfo, |
| 895 |
&$formDescriptor, $action |
| 896 |
) { |
| 897 |
return $this->container->run( |
| 898 |
'AuthChangeFormFields', |
| 899 |
[ $requests, $fieldInfo, &$formDescriptor, $action ] |
| 900 |
); |
| 901 |
} |
| 902 |
|
| 903 |
public function onAuthManagerFilterProviders( array &$providers ): void { |
| 904 |
$this->container->run( |
| 905 |
'AuthManagerFilterProviders', |
| 906 |
[ &$providers ], |
| 907 |
[ 'abortable' => false ] |
| 908 |
); |
| 909 |
} |
| 910 |
|
| 911 |
public function onAuthManagerLoginAuthenticateAudit( $response, $user, |
| 912 |
$username, $extraData |
| 913 |
) { |
| 914 |
return $this->container->run( |
| 915 |
'AuthManagerLoginAuthenticateAudit', |
| 916 |
[ $response, $user, $username, $extraData ] |
| 917 |
); |
| 918 |
} |
| 919 |
|
| 920 |
public function onAuthManagerVerifyAuthentication( |
| 921 |
?UserIdentity $user, |
| 922 |
AuthenticationResponse &$response, |
| 923 |
AuthManager $authManager, |
| 924 |
array $info |
| 925 |
): bool { |
| 926 |
return $this->container->run( |
| 927 |
'AuthManagerVerifyAuthentication', |
| 928 |
[ $user, &$response, $authManager, $info ], |
| 929 |
); |
| 930 |
} |
| 931 |
|
| 932 |
public function onAuthPreserveQueryParams( &$params, $options ) { |
| 933 |
return $this->container->run( |
| 934 |
'AuthPreserveQueryParams', [ &$params, $options ] |
| 935 |
); |
| 936 |
} |
| 937 |
|
| 938 |
public function onAutopromoteCondition( $type, $args, $user, &$result ) { |
| 939 |
return $this->container->run( |
| 940 |
'AutopromoteCondition', |
| 941 |
[ $type, $args, $user, &$result ] |
| 942 |
); |
| 943 |
} |
| 944 |
|
| 945 |
public function onBacklinkCacheGetConditions( $table, $title, &$conds ) { |
| 946 |
return $this->container->run( |
| 947 |
'BacklinkCacheGetConditions', |
| 948 |
[ $table, $title, &$conds ] |
| 949 |
); |
| 950 |
} |
| 951 |
|
| 952 |
public function onBacklinkCacheGetPrefix( $table, &$prefix ) { |
| 953 |
return $this->container->run( |
| 954 |
'BacklinkCacheGetPrefix', |
| 955 |
[ $table, &$prefix ] |
| 956 |
); |
| 957 |
} |
| 958 |
|
| 959 |
public function onBadImage( $name, &$bad ) { |
| 960 |
return $this->container->run( |
| 961 |
'BadImage', |
| 962 |
[ $name, &$bad ] |
| 963 |
); |
| 964 |
} |
| 965 |
|
| 966 |
public function onBeforeDisplayNoArticleText( $article ) { |
| 967 |
return $this->container->run( |
| 968 |
'BeforeDisplayNoArticleText', |
| 969 |
[ $article ] |
| 970 |
); |
| 971 |
} |
| 972 |
|
| 973 |
public function onBeforeInitialize( $title, $unused, $output, $user, $request, |
| 974 |
$mediaWiki |
| 975 |
) { |
| 976 |
return $this->container->run( |
| 977 |
'BeforeInitialize', |
| 978 |
[ $title, $unused, $output, $user, $request, $mediaWiki ] |
| 979 |
); |
| 980 |
} |
| 981 |
|
| 982 |
public function onBeforePageDisplay( $out, $skin ): void { |
| 983 |
$this->container->run( |
| 984 |
'BeforePageDisplay', |
| 985 |
[ $out, $skin ], |
| 986 |
[ 'abortable' => false ] |
| 987 |
); |
| 988 |
} |
| 989 |
|
| 990 |
public function onBeforePageRedirect( $out, &$redirect, &$code ) { |
| 991 |
return $this->container->run( |
| 992 |
'BeforePageRedirect', |
| 993 |
[ $out, &$redirect, &$code ] |
| 994 |
); |
| 995 |
} |
| 996 |
|
| 997 |
public function onBeforeParserFetchFileAndTitle( $parser, $nt, &$options, |
| 998 |
&$descQuery |
| 999 |
) { |
| 1000 |
return $this->container->run( |
| 1001 |
'BeforeParserFetchFileAndTitle', |
| 1002 |
[ $parser, $nt, &$options, &$descQuery ] |
| 1003 |
); |
| 1004 |
} |
| 1005 |
|
| 1006 |
public function onBeforeParserFetchTemplateRevisionRecord( |
| 1007 |
?LinkTarget $contextTitle, LinkTarget $title, |
| 1008 |
bool &$skip, ?RevisionRecord &$revRecord |
| 1009 |
) { |
| 1010 |
return $this->container->run( |
| 1011 |
'BeforeParserFetchTemplateRevisionRecord', |
| 1012 |
[ $contextTitle, $title, &$skip, &$revRecord ] |
| 1013 |
); |
| 1014 |
} |
| 1015 |
|
| 1016 |
public function onBeforeRevertedTagUpdate( $wikiPage, $user, |
| 1017 |
$summary, $flags, $revisionRecord, $editResult, &$approved |
| 1018 |
): void { |
| 1019 |
$this->container->run( |
| 1020 |
'BeforeRevertedTagUpdate', |
| 1021 |
[ $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult, |
| 1022 |
&$approved ], |
| 1023 |
[ 'abortable' => false ] |
| 1024 |
); |
| 1025 |
} |
| 1026 |
|
| 1027 |
public function onBeforeWelcomeCreation( &$welcome_creation_msg, |
| 1028 |
&$injected_html |
| 1029 |
) { |
| 1030 |
return $this->container->run( |
| 1031 |
'BeforeWelcomeCreation', |
| 1032 |
[ &$welcome_creation_msg, &$injected_html ] |
| 1033 |
); |
| 1034 |
} |
| 1035 |
|
| 1036 |
public function onBitmapHandlerCheckImageArea( $image, &$params, |
| 1037 |
&$checkImageAreaHookResult |
| 1038 |
) { |
| 1039 |
return $this->container->run( |
| 1040 |
'BitmapHandlerCheckImageArea', |
| 1041 |
[ $image, &$params, &$checkImageAreaHookResult ] |
| 1042 |
); |
| 1043 |
} |
| 1044 |
|
| 1045 |
public function onBitmapHandlerTransform( $handler, $image, &$scalerParams, |
| 1046 |
&$mto |
| 1047 |
) { |
| 1048 |
return $this->container->run( |
| 1049 |
'BitmapHandlerTransform', |
| 1050 |
[ $handler, $image, &$scalerParams, &$mto ] |
| 1051 |
); |
| 1052 |
} |
| 1053 |
|
| 1054 |
public function onBlockIp( $block, $user, &$reason ) { |
| 1055 |
return $this->container->run( |
| 1056 |
'BlockIp', |
| 1057 |
[ $block, $user, &$reason ] |
| 1058 |
); |
| 1059 |
} |
| 1060 |
|
| 1061 |
public function onBlockIpComplete( $block, $user, $priorBlock ) { |
| 1062 |
return $this->container->run( |
| 1063 |
'BlockIpComplete', |
| 1064 |
[ $block, $user, $priorBlock ] |
| 1065 |
); |
| 1066 |
} |
| 1067 |
|
| 1068 |
public function onBookInformation( $isbn, $output ) { |
| 1069 |
return $this->container->run( |
| 1070 |
'BookInformation', |
| 1071 |
[ $isbn, $output ] |
| 1072 |
); |
| 1073 |
} |
| 1074 |
|
| 1075 |
public function onCanonicalNamespaces( &$namespaces ) { |
| 1076 |
return $this->container->run( |
| 1077 |
'CanonicalNamespaces', |
| 1078 |
[ &$namespaces ] |
| 1079 |
); |
| 1080 |
} |
| 1081 |
|
| 1082 |
public function onCategoryAfterPageAdded( $category, $wikiPage ) { |
| 1083 |
return $this->container->run( |
| 1084 |
'CategoryAfterPageAdded', |
| 1085 |
[ $category, $wikiPage ] |
| 1086 |
); |
| 1087 |
} |
| 1088 |
|
| 1089 |
public function onCategoryAfterPageRemoved( $category, $wikiPage, $id ) { |
| 1090 |
return $this->container->run( |
| 1091 |
'CategoryAfterPageRemoved', |
| 1092 |
[ $category, $wikiPage, $id ] |
| 1093 |
); |
| 1094 |
} |
| 1095 |
|
| 1096 |
public function onCategoryPageView( $catpage ) { |
| 1097 |
return $this->container->run( |
| 1098 |
'CategoryPageView', |
| 1099 |
[ $catpage ] |
| 1100 |
); |
| 1101 |
} |
| 1102 |
|
| 1103 |
public function onCategoryViewer__doCategoryQuery( $type, $res ) { |
| 1104 |
return $this->container->run( |
| 1105 |
'CategoryViewer::doCategoryQuery', |
| 1106 |
[ $type, $res ] |
| 1107 |
); |
| 1108 |
} |
| 1109 |
|
| 1110 |
public function onCategoryViewer__generateLink( $type, $title, $html, &$link ) { |
| 1111 |
return $this->container->run( |
| 1112 |
'CategoryViewer::generateLink', |
| 1113 |
[ $type, $title, $html, &$link ] |
| 1114 |
); |
| 1115 |
} |
| 1116 |
|
| 1117 |
public function onChangeAuthenticationDataAudit( $req, $status ) { |
| 1118 |
return $this->container->run( |
| 1119 |
'ChangeAuthenticationDataAudit', |
| 1120 |
[ $req, $status ] |
| 1121 |
); |
| 1122 |
} |
| 1123 |
|
| 1124 |
public function onChangesListInitRows( $changesList, $rows ) { |
| 1125 |
return $this->container->run( |
| 1126 |
'ChangesListInitRows', |
| 1127 |
[ $changesList, $rows ] |
| 1128 |
); |
| 1129 |
} |
| 1130 |
|
| 1131 |
public function onChangesListInsertArticleLink( $changesList, &$articlelink, |
| 1132 |
&$s, $rc, $unpatrolled, $watched |
| 1133 |
) { |
| 1134 |
return $this->container->run( |
| 1135 |
'ChangesListInsertArticleLink', |
| 1136 |
[ $changesList, &$articlelink, &$s, $rc, $unpatrolled, $watched ] |
| 1137 |
); |
| 1138 |
} |
| 1139 |
|
| 1140 |
public function onChangesListSpecialPageQuery( $name, &$tables, &$fields, |
| 1141 |
&$conds, &$query_options, &$join_conds, $opts |
| 1142 |
) { |
| 1143 |
return $this->container->run( |
| 1144 |
'ChangesListSpecialPageQuery', |
| 1145 |
[ $name, &$tables, &$fields, &$conds, &$query_options, |
| 1146 |
&$join_conds, $opts ] |
| 1147 |
); |
| 1148 |
} |
| 1149 |
|
| 1150 |
public function onChangesListSpecialPageStructuredFilters( $special ) { |
| 1151 |
return $this->container->run( |
| 1152 |
'ChangesListSpecialPageStructuredFilters', |
| 1153 |
[ $special ] |
| 1154 |
); |
| 1155 |
} |
| 1156 |
|
| 1157 |
public function onChangeTagAfterDelete( $tag, &$status ) { |
| 1158 |
return $this->container->run( |
| 1159 |
'ChangeTagAfterDelete', |
| 1160 |
[ $tag, &$status ] |
| 1161 |
); |
| 1162 |
} |
| 1163 |
|
| 1164 |
public function onChangeTagCanCreate( $tag, $user, &$status ) { |
| 1165 |
return $this->container->run( |
| 1166 |
'ChangeTagCanCreate', |
| 1167 |
[ $tag, $user, &$status ] |
| 1168 |
); |
| 1169 |
} |
| 1170 |
|
| 1171 |
public function onChangeTagCanDelete( $tag, $user, &$status ) { |
| 1172 |
return $this->container->run( |
| 1173 |
'ChangeTagCanDelete', |
| 1174 |
[ $tag, $user, &$status ] |
| 1175 |
); |
| 1176 |
} |
| 1177 |
|
| 1178 |
public function onChangeTagsAfterUpdateTags( $addedTags, $removedTags, |
| 1179 |
$prevTags, $rc_id, $rev_id, $log_id, $params, $rc, $user |
| 1180 |
) { |
| 1181 |
return $this->container->run( |
| 1182 |
'ChangeTagsAfterUpdateTags', |
| 1183 |
[ $addedTags, $removedTags, $prevTags, $rc_id, $rev_id, $log_id, |
| 1184 |
$params, $rc, $user ] |
| 1185 |
); |
| 1186 |
} |
| 1187 |
|
| 1188 |
public function onChangeTagsAllowedAdd( &$allowedTags, $addTags, $user ) { |
| 1189 |
return $this->container->run( |
| 1190 |
'ChangeTagsAllowedAdd', |
| 1191 |
[ &$allowedTags, $addTags, $user ] |
| 1192 |
); |
| 1193 |
} |
| 1194 |
|
| 1195 |
public function onChangeTagsListActive( &$tags ) { |
| 1196 |
return $this->container->run( |
| 1197 |
'ChangeTagsListActive', |
| 1198 |
[ &$tags ] |
| 1199 |
); |
| 1200 |
} |
| 1201 |
|
| 1202 |
public function onChangeUserGroups( $performer, $user, &$add, &$remove ) { |
| 1203 |
return $this->container->run( |
| 1204 |
'ChangeUserGroups', |
| 1205 |
[ $performer, $user, &$add, &$remove ] |
| 1206 |
); |
| 1207 |
} |
| 1208 |
|
| 1209 |
public function onCollation__factory( $collationName, &$collationObject ) { |
| 1210 |
return $this->container->run( |
| 1211 |
'Collation::factory', |
| 1212 |
[ $collationName, &$collationObject ] |
| 1213 |
); |
| 1214 |
} |
| 1215 |
|
| 1216 |
public function onConfirmEmailComplete( $user ) { |
| 1217 |
return $this->container->run( |
| 1218 |
'ConfirmEmailComplete', |
| 1219 |
[ $user ] |
| 1220 |
); |
| 1221 |
} |
| 1222 |
|
| 1223 |
public function onContentAlterParserOutput( $content, $title, $parserOutput ) { |
| 1224 |
return $this->container->run( |
| 1225 |
'ContentAlterParserOutput', |
| 1226 |
[ $content, $title, $parserOutput ] |
| 1227 |
); |
| 1228 |
} |
| 1229 |
|
| 1230 |
public function onContentGetParserOutput( $content, $title, $revId, $options, |
| 1231 |
$generateHtml, &$parserOutput |
| 1232 |
) { |
| 1233 |
return $this->container->run( |
| 1234 |
'ContentGetParserOutput', |
| 1235 |
[ $content, $title, $revId, $options, $generateHtml, &$parserOutput ] |
| 1236 |
); |
| 1237 |
} |
| 1238 |
|
| 1239 |
public function onContentHandlerDefaultModelFor( $title, &$model ) { |
| 1240 |
return $this->container->run( |
| 1241 |
'ContentHandlerDefaultModelFor', |
| 1242 |
[ $title, &$model ] |
| 1243 |
); |
| 1244 |
} |
| 1245 |
|
| 1246 |
public function onContentHandlerForModelID( $modelName, &$handler ) { |
| 1247 |
return $this->container->run( |
| 1248 |
'ContentHandlerForModelID', |
| 1249 |
[ $modelName, &$handler ] |
| 1250 |
); |
| 1251 |
} |
| 1252 |
|
| 1253 |
public function onContentModelCanBeUsedOn( $contentModel, $title, &$ok ) { |
| 1254 |
return $this->container->run( |
| 1255 |
'ContentModelCanBeUsedOn', |
| 1256 |
[ $contentModel, $title, &$ok ] |
| 1257 |
); |
| 1258 |
} |
| 1259 |
|
| 1260 |
public function onContentSecurityPolicyDefaultSource( &$defaultSrc, |
| 1261 |
$policyConfig, $mode |
| 1262 |
) { |
| 1263 |
return $this->container->run( |
| 1264 |
'ContentSecurityPolicyDefaultSource', |
| 1265 |
[ &$defaultSrc, $policyConfig, $mode ] |
| 1266 |
); |
| 1267 |
} |
| 1268 |
|
| 1269 |
public function onContentSecurityPolicyDirectives( &$directives, $policyConfig, |
| 1270 |
$mode |
| 1271 |
) { |
| 1272 |
return $this->container->run( |
| 1273 |
'ContentSecurityPolicyDirectives', |
| 1274 |
[ &$directives, $policyConfig, $mode ] |
| 1275 |
); |
| 1276 |
} |
| 1277 |
|
| 1278 |
public function onContentSecurityPolicyScriptSource( &$scriptSrc, |
| 1279 |
$policyConfig, $mode |
| 1280 |
) { |
| 1281 |
return $this->container->run( |
| 1282 |
'ContentSecurityPolicyScriptSource', |
| 1283 |
[ &$scriptSrc, $policyConfig, $mode ] |
| 1284 |
); |
| 1285 |
} |
| 1286 |
|
| 1287 |
public function onContribsPager__getQueryInfo( $pager, &$queryInfo ) { |
| 1288 |
return $this->container->run( |
| 1289 |
'ContribsPager::getQueryInfo', |
| 1290 |
[ $pager, &$queryInfo ] |
| 1291 |
); |
| 1292 |
} |
| 1293 |
|
| 1294 |
public function onContribsPager__reallyDoQuery( &$data, $pager, $offset, |
| 1295 |
$limit, $descending |
| 1296 |
) { |
| 1297 |
return $this->container->run( |
| 1298 |
'ContribsPager::reallyDoQuery', |
| 1299 |
[ &$data, $pager, $offset, $limit, $descending ] |
| 1300 |
); |
| 1301 |
} |
| 1302 |
|
| 1303 |
public function onContributeCards( &$cards ): void { |
| 1304 |
$this->container->run( |
| 1305 |
'ContributeCards', |
| 1306 |
[ &$cards ] |
| 1307 |
); |
| 1308 |
} |
| 1309 |
|
| 1310 |
public function onContributionsLineEnding( $page, &$ret, $row, &$classes, |
| 1311 |
&$attribs |
| 1312 |
) { |
| 1313 |
return $this->container->run( |
| 1314 |
'ContributionsLineEnding', |
| 1315 |
[ $page, &$ret, $row, &$classes, &$attribs ] |
| 1316 |
); |
| 1317 |
} |
| 1318 |
|
| 1319 |
public function onContributionsToolLinks( $id, Title $title, array &$tools, SpecialPage $specialPage ) { |
| 1320 |
return $this->container->run( |
| 1321 |
'ContributionsToolLinks', |
| 1322 |
[ $id, $title, &$tools, $specialPage ] |
| 1323 |
); |
| 1324 |
} |
| 1325 |
|
| 1326 |
public function onConvertContent( $content, $toModel, $lossy, &$result ) { |
| 1327 |
return $this->container->run( |
| 1328 |
'ConvertContent', |
| 1329 |
[ $content, $toModel, $lossy, &$result ] |
| 1330 |
); |
| 1331 |
} |
| 1332 |
|
| 1333 |
public function onCustomEditor( $article, $user ) { |
| 1334 |
return $this->container->run( |
| 1335 |
'CustomEditor', |
| 1336 |
[ $article, $user ] |
| 1337 |
); |
| 1338 |
} |
| 1339 |
|
| 1340 |
public function onDeletedContribsPager__reallyDoQuery( &$data, $pager, $offset, |
| 1341 |
$limit, $descending |
| 1342 |
) { |
| 1343 |
return $this->container->run( |
| 1344 |
'DeletedContribsPager::reallyDoQuery', |
| 1345 |
[ &$data, $pager, $offset, $limit, $descending ] |
| 1346 |
); |
| 1347 |
} |
| 1348 |
|
| 1349 |
public function onDeletedContributionsLineEnding( $page, &$ret, $row, |
| 1350 |
&$classes, &$attribs |
| 1351 |
) { |
| 1352 |
return $this->container->run( |
| 1353 |
'DeletedContributionsLineEnding', |
| 1354 |
[ $page, &$ret, $row, &$classes, &$attribs ] |
| 1355 |
); |
| 1356 |
} |
| 1357 |
|
| 1358 |
public function onDeleteUnknownPreferences( &$where, $db ) { |
| 1359 |
return $this->container->run( |
| 1360 |
'DeleteUnknownPreferences', |
| 1361 |
[ &$where, $db ] |
| 1362 |
); |
| 1363 |
} |
| 1364 |
|
| 1365 |
public function onDifferenceEngineAfterLoadNewText( $differenceEngine ) { |
| 1366 |
return $this->container->run( |
| 1367 |
'DifferenceEngineAfterLoadNewText', |
| 1368 |
[ $differenceEngine ] |
| 1369 |
); |
| 1370 |
} |
| 1371 |
|
| 1372 |
public function onTextSlotDiffRendererTablePrefix( |
| 1373 |
\TextSlotDiffRenderer $textSlotDiffRenderer, |
| 1374 |
IContextSource $context, |
| 1375 |
array &$parts |
| 1376 |
) { |
| 1377 |
return $this->container->run( |
| 1378 |
'TextSlotDiffRendererTablePrefix', |
| 1379 |
[ $textSlotDiffRenderer, $context, &$parts ] |
| 1380 |
); |
| 1381 |
} |
| 1382 |
|
| 1383 |
public function onDifferenceEngineLoadTextAfterNewContentIsLoaded( |
| 1384 |
$differenceEngine |
| 1385 |
) { |
| 1386 |
return $this->container->run( |
| 1387 |
'DifferenceEngineLoadTextAfterNewContentIsLoaded', |
| 1388 |
[ $differenceEngine ] |
| 1389 |
); |
| 1390 |
} |
| 1391 |
|
| 1392 |
public function onDifferenceEngineMarkPatrolledLink( $differenceEngine, |
| 1393 |
&$markAsPatrolledLink, $rcid |
| 1394 |
) { |
| 1395 |
return $this->container->run( |
| 1396 |
'DifferenceEngineMarkPatrolledLink', |
| 1397 |
[ $differenceEngine, &$markAsPatrolledLink, $rcid ] |
| 1398 |
); |
| 1399 |
} |
| 1400 |
|
| 1401 |
public function onDifferenceEngineMarkPatrolledRCID( &$rcid, $differenceEngine, |
| 1402 |
$change, $user |
| 1403 |
) { |
| 1404 |
return $this->container->run( |
| 1405 |
'DifferenceEngineMarkPatrolledRCID', |
| 1406 |
[ &$rcid, $differenceEngine, $change, $user ] |
| 1407 |
); |
| 1408 |
} |
| 1409 |
|
| 1410 |
public function onDifferenceEngineNewHeader( $differenceEngine, &$newHeader, |
| 1411 |
$formattedRevisionTools, $nextlink, $rollback, $newminor, $diffOnly, $rdel, |
| 1412 |
$unhide |
| 1413 |
) { |
| 1414 |
return $this->container->run( |
| 1415 |
'DifferenceEngineNewHeader', |
| 1416 |
[ $differenceEngine, &$newHeader, $formattedRevisionTools, |
| 1417 |
$nextlink, $rollback, $newminor, $diffOnly, $rdel, $unhide ] |
| 1418 |
); |
| 1419 |
} |
| 1420 |
|
| 1421 |
public function onDifferenceEngineOldHeader( $differenceEngine, &$oldHeader, |
| 1422 |
$prevlink, $oldminor, $diffOnly, $ldel, $unhide |
| 1423 |
) { |
| 1424 |
return $this->container->run( |
| 1425 |
'DifferenceEngineOldHeader', |
| 1426 |
[ $differenceEngine, &$oldHeader, $prevlink, $oldminor, $diffOnly, |
| 1427 |
$ldel, $unhide ] |
| 1428 |
); |
| 1429 |
} |
| 1430 |
|
| 1431 |
public function onDifferenceEngineOldHeaderNoOldRev( &$oldHeader ) { |
| 1432 |
return $this->container->run( |
| 1433 |
'DifferenceEngineOldHeaderNoOldRev', |
| 1434 |
[ &$oldHeader ] |
| 1435 |
); |
| 1436 |
} |
| 1437 |
|
| 1438 |
public function onDifferenceEngineRenderRevisionAddParserOutput( |
| 1439 |
$differenceEngine, $out, $parserOutput, $wikiPage |
| 1440 |
) { |
| 1441 |
return $this->container->run( |
| 1442 |
'DifferenceEngineRenderRevisionAddParserOutput', |
| 1443 |
[ $differenceEngine, $out, $parserOutput, $wikiPage ] |
| 1444 |
); |
| 1445 |
} |
| 1446 |
|
| 1447 |
public function onDifferenceEngineRenderRevisionShowFinalPatrolLink() { |
| 1448 |
return $this->container->run( |
| 1449 |
'DifferenceEngineRenderRevisionShowFinalPatrolLink', |
| 1450 |
[] |
| 1451 |
); |
| 1452 |
} |
| 1453 |
|
| 1454 |
public function onDifferenceEngineShowDiff( $differenceEngine ) { |
| 1455 |
return $this->container->run( |
| 1456 |
'DifferenceEngineShowDiff', |
| 1457 |
[ $differenceEngine ] |
| 1458 |
); |
| 1459 |
} |
| 1460 |
|
| 1461 |
public function onDifferenceEngineShowDiffPage( $out ) { |
| 1462 |
return $this->container->run( |
| 1463 |
'DifferenceEngineShowDiffPage', |
| 1464 |
[ $out ] |
| 1465 |
); |
| 1466 |
} |
| 1467 |
|
| 1468 |
public function onDifferenceEngineShowDiffPageMaybeShowMissingRevision( |
| 1469 |
$differenceEngine |
| 1470 |
) { |
| 1471 |
return $this->container->run( |
| 1472 |
'DifferenceEngineShowDiffPageMaybeShowMissingRevision', |
| 1473 |
[ $differenceEngine ] |
| 1474 |
); |
| 1475 |
} |
| 1476 |
|
| 1477 |
public function onDifferenceEngineShowEmptyOldContent( $differenceEngine ) { |
| 1478 |
return $this->container->run( |
| 1479 |
'DifferenceEngineShowEmptyOldContent', |
| 1480 |
[ $differenceEngine ] |
| 1481 |
); |
| 1482 |
} |
| 1483 |
|
| 1484 |
public function onDifferenceEngineViewHeader( $differenceEngine ) { |
| 1485 |
return $this->container->run( |
| 1486 |
'DifferenceEngineViewHeader', |
| 1487 |
[ $differenceEngine ] |
| 1488 |
); |
| 1489 |
} |
| 1490 |
|
| 1491 |
public function onDiffTools( $newRevRecord, &$links, $oldRevRecord, $userIdentity ) { |
| 1492 |
return $this->container->run( |
| 1493 |
'DiffTools', |
| 1494 |
[ $newRevRecord, &$links, $oldRevRecord, $userIdentity ] |
| 1495 |
); |
| 1496 |
} |
| 1497 |
|
| 1498 |
public function onDisplayOldSubtitle( $article, &$oldid ) { |
| 1499 |
return $this->container->run( |
| 1500 |
'DisplayOldSubtitle', |
| 1501 |
[ $article, &$oldid ] |
| 1502 |
); |
| 1503 |
} |
| 1504 |
|
| 1505 |
public function onEditFilter( $editor, $text, $section, &$error, $summary ) { |
| 1506 |
return $this->container->run( |
| 1507 |
'EditFilter', |
| 1508 |
[ $editor, $text, $section, &$error, $summary ] |
| 1509 |
); |
| 1510 |
} |
| 1511 |
|
| 1512 |
public function onEditFilterMergedContent( $context, $content, $status, |
| 1513 |
$summary, $user, $minoredit |
| 1514 |
) { |
| 1515 |
return $this->container->run( |
| 1516 |
'EditFilterMergedContent', |
| 1517 |
[ $context, $content, $status, $summary, $user, $minoredit ] |
| 1518 |
); |
| 1519 |
} |
| 1520 |
|
| 1521 |
public function onEditFormInitialText( $editPage ) { |
| 1522 |
return $this->container->run( |
| 1523 |
'EditFormInitialText', |
| 1524 |
[ $editPage ] |
| 1525 |
); |
| 1526 |
} |
| 1527 |
|
| 1528 |
public function onEditFormPreloadText( &$text, $title ) { |
| 1529 |
return $this->container->run( |
| 1530 |
'EditFormPreloadText', |
| 1531 |
[ &$text, $title ] |
| 1532 |
); |
| 1533 |
} |
| 1534 |
|
| 1535 |
public function onEditPageBeforeConflictDiff( $editor, $out ) { |
| 1536 |
return $this->container->run( |
| 1537 |
'EditPageBeforeConflictDiff', |
| 1538 |
[ $editor, $out ] |
| 1539 |
); |
| 1540 |
} |
| 1541 |
|
| 1542 |
public function onEditPageBeforeEditButtons( $editpage, &$buttons, &$tabindex ) { |
| 1543 |
return $this->container->run( |
| 1544 |
'EditPageBeforeEditButtons', |
| 1545 |
[ $editpage, &$buttons, &$tabindex ] |
| 1546 |
); |
| 1547 |
} |
| 1548 |
|
| 1549 |
public function onEditPageBeforeEditToolbar( &$toolbar ) { |
| 1550 |
return $this->container->run( |
| 1551 |
'EditPageBeforeEditToolbar', |
| 1552 |
[ &$toolbar ] |
| 1553 |
); |
| 1554 |
} |
| 1555 |
|
| 1556 |
public function onEditPageCopyrightWarning( $title, &$msg ) { |
| 1557 |
return $this->container->run( |
| 1558 |
'EditPageCopyrightWarning', |
| 1559 |
[ $title, &$msg ] |
| 1560 |
); |
| 1561 |
} |
| 1562 |
|
| 1563 |
public function onEditPageGetCheckboxesDefinition( $editpage, &$checkboxes ) { |
| 1564 |
return $this->container->run( |
| 1565 |
'EditPageGetCheckboxesDefinition', |
| 1566 |
[ $editpage, &$checkboxes ] |
| 1567 |
); |
| 1568 |
} |
| 1569 |
|
| 1570 |
public function onEditPageGetDiffContent( $editPage, &$newtext ) { |
| 1571 |
return $this->container->run( |
| 1572 |
'EditPageGetDiffContent', |
| 1573 |
[ $editPage, &$newtext ] |
| 1574 |
); |
| 1575 |
} |
| 1576 |
|
| 1577 |
public function onEditPageGetPreviewContent( $editPage, &$content ) { |
| 1578 |
return $this->container->run( |
| 1579 |
'EditPageGetPreviewContent', |
| 1580 |
[ $editPage, &$content ] |
| 1581 |
); |
| 1582 |
} |
| 1583 |
|
| 1584 |
public function onEditPageNoSuchSection( $editpage, &$res ) { |
| 1585 |
return $this->container->run( |
| 1586 |
'EditPageNoSuchSection', |
| 1587 |
[ $editpage, &$res ] |
| 1588 |
); |
| 1589 |
} |
| 1590 |
|
| 1591 |
public function onEditPageTosSummary( $title, &$msg ) { |
| 1592 |
return $this->container->run( |
| 1593 |
'EditPageTosSummary', |
| 1594 |
[ $title, &$msg ] |
| 1595 |
); |
| 1596 |
} |
| 1597 |
|
| 1598 |
public function onEditPage__attemptSave( $editpage_Obj ) { |
| 1599 |
return $this->container->run( |
| 1600 |
'EditPage::attemptSave', |
| 1601 |
[ $editpage_Obj ] |
| 1602 |
); |
| 1603 |
} |
| 1604 |
|
| 1605 |
public function onEditPage__attemptSave_after( $editpage_Obj, $status, |
| 1606 |
$resultDetails |
| 1607 |
) { |
| 1608 |
return $this->container->run( |
| 1609 |
'EditPage::attemptSave:after', |
| 1610 |
[ $editpage_Obj, $status, $resultDetails ] |
| 1611 |
); |
| 1612 |
} |
| 1613 |
|
| 1614 |
public function onEditPage__importFormData( $editpage, $request ) { |
| 1615 |
return $this->container->run( |
| 1616 |
'EditPage::importFormData', |
| 1617 |
[ $editpage, $request ] |
| 1618 |
); |
| 1619 |
} |
| 1620 |
|
| 1621 |
public function onEditPage__showEditForm_fields( $editor, $out ) { |
| 1622 |
return $this->container->run( |
| 1623 |
'EditPage::showEditForm:fields', |
| 1624 |
[ $editor, $out ] |
| 1625 |
); |
| 1626 |
} |
| 1627 |
|
| 1628 |
public function onEditPage__showEditForm_initial( $editor, $out ) { |
| 1629 |
return $this->container->run( |
| 1630 |
'EditPage::showEditForm:initial', |
| 1631 |
[ $editor, $out ] |
| 1632 |
); |
| 1633 |
} |
| 1634 |
|
| 1635 |
public function onEditPage__showReadOnlyForm_initial( $editor, $out ) { |
| 1636 |
return $this->container->run( |
| 1637 |
'EditPage::showReadOnlyForm:initial', |
| 1638 |
[ $editor, $out ] |
| 1639 |
); |
| 1640 |
} |
| 1641 |
|
| 1642 |
public function onEditPage__showStandardInputs_options( $editor, $out, |
| 1643 |
&$tabindex |
| 1644 |
) { |
| 1645 |
return $this->container->run( |
| 1646 |
'EditPage::showStandardInputs:options', |
| 1647 |
[ $editor, $out, &$tabindex ] |
| 1648 |
); |
| 1649 |
} |
| 1650 |
|
| 1651 |
public function onEmailConfirmed( $user, &$confirmed ) { |
| 1652 |
return $this->container->run( |
| 1653 |
'EmailConfirmed', |
| 1654 |
[ $user, &$confirmed ] |
| 1655 |
); |
| 1656 |
} |
| 1657 |
|
| 1658 |
public function onEmailUser( &$to, &$from, &$subject, &$text, &$error ) { |
| 1659 |
return $this->container->run( |
| 1660 |
'EmailUser', |
| 1661 |
[ &$to, &$from, &$subject, &$text, &$error ] |
| 1662 |
); |
| 1663 |
} |
| 1664 |
|
| 1665 |
public function onEmailUserCC( &$to, &$from, &$subject, &$text ) { |
| 1666 |
return $this->container->run( |
| 1667 |
'EmailUserCC', |
| 1668 |
[ &$to, &$from, &$subject, &$text ] |
| 1669 |
); |
| 1670 |
} |
| 1671 |
|
| 1672 |
public function onEmailUserComplete( $to, $from, $subject, $text ) { |
| 1673 |
return $this->container->run( |
| 1674 |
'EmailUserComplete', |
| 1675 |
[ $to, $from, $subject, $text ] |
| 1676 |
); |
| 1677 |
} |
| 1678 |
|
| 1679 |
public function onEmailUserForm( &$form ) { |
| 1680 |
return $this->container->run( |
| 1681 |
'EmailUserForm', |
| 1682 |
[ &$form ] |
| 1683 |
); |
| 1684 |
} |
| 1685 |
|
| 1686 |
public function onEmailUserPermissionsErrors( $user, $editToken, &$hookErr ) { |
| 1687 |
return $this->container->run( |
| 1688 |
'EmailUserPermissionsErrors', |
| 1689 |
[ $user, $editToken, &$hookErr ] |
| 1690 |
); |
| 1691 |
} |
| 1692 |
|
| 1693 |
public function onEmailUserAuthorizeSend( Authority $sender, StatusValue $status ) { |
| 1694 |
return $this->container->run( |
| 1695 |
'EmailUserAuthorizeSend', |
| 1696 |
[ $sender, $status ] |
| 1697 |
); |
| 1698 |
} |
| 1699 |
|
| 1700 |
public function onEmailUserSendEmail( |
| 1701 |
Authority $from, |
| 1702 |
MailAddress $fromAddress, |
| 1703 |
UserEmailContact $to, |
| 1704 |
MailAddress $toAddress, |
| 1705 |
string $subject, |
| 1706 |
string $text, |
| 1707 |
StatusValue $status |
| 1708 |
) { |
| 1709 |
return $this->container->run( |
| 1710 |
'EmailUserSendEmail', |
| 1711 |
[ $from, $fromAddress, $to, $toAddress, $subject, $text, $status ] |
| 1712 |
); |
| 1713 |
} |
| 1714 |
|
| 1715 |
public function onEnhancedChangesListModifyBlockLineData( $changesList, &$data, |
| 1716 |
$rc |
| 1717 |
) { |
| 1718 |
return $this->container->run( |
| 1719 |
'EnhancedChangesListModifyBlockLineData', |
| 1720 |
[ $changesList, &$data, $rc ] |
| 1721 |
); |
| 1722 |
} |
| 1723 |
|
| 1724 |
public function onEnhancedChangesListModifyLineData( $changesList, &$data, |
| 1725 |
$block, $rc, &$classes, &$attribs |
| 1726 |
) { |
| 1727 |
return $this->container->run( |
| 1728 |
'EnhancedChangesListModifyLineData', |
| 1729 |
[ $changesList, &$data, $block, $rc, &$classes, &$attribs ] |
| 1730 |
); |
| 1731 |
} |
| 1732 |
|
| 1733 |
public function onEnhancedChangesList__getLogText( $changesList, &$links, |
| 1734 |
$block |
| 1735 |
) { |
| 1736 |
return $this->container->run( |
| 1737 |
'EnhancedChangesList::getLogText', |
| 1738 |
[ $changesList, &$links, $block ] |
| 1739 |
); |
| 1740 |
} |
| 1741 |
|
| 1742 |
public function onExemptFromAccountCreationThrottle( $ip ) { |
| 1743 |
return $this->container->run( |
| 1744 |
'ExemptFromAccountCreationThrottle', |
| 1745 |
[ $ip ] |
| 1746 |
); |
| 1747 |
} |
| 1748 |
|
| 1749 |
public function onExtensionTypes( &$extTypes ) { |
| 1750 |
return $this->container->run( |
| 1751 |
'ExtensionTypes', |
| 1752 |
[ &$extTypes ] |
| 1753 |
); |
| 1754 |
} |
| 1755 |
|
| 1756 |
public function onFetchChangesList( $user, $skin, &$list, $groups ) { |
| 1757 |
return $this->container->run( |
| 1758 |
'FetchChangesList', |
| 1759 |
[ $user, $skin, &$list, $groups ] |
| 1760 |
); |
| 1761 |
} |
| 1762 |
|
| 1763 |
public function onFileDeleteComplete( $file, $oldimage, $article, $user, |
| 1764 |
$reason |
| 1765 |
) { |
| 1766 |
return $this->container->run( |
| 1767 |
'FileDeleteComplete', |
| 1768 |
[ $file, $oldimage, $article, $user, $reason ] |
| 1769 |
); |
| 1770 |
} |
| 1771 |
|
| 1772 |
public function onFileTransformed( $file, $thumb, $tmpThumbPath, $thumbPath ) { |
| 1773 |
return $this->container->run( |
| 1774 |
'FileTransformed', |
| 1775 |
[ $file, $thumb, $tmpThumbPath, $thumbPath ] |
| 1776 |
); |
| 1777 |
} |
| 1778 |
|
| 1779 |
public function onFileUndeleteComplete( $title, $fileVersions, $user, $reason ) { |
| 1780 |
return $this->container->run( |
| 1781 |
'FileUndeleteComplete', |
| 1782 |
[ $title, $fileVersions, $user, $reason ] |
| 1783 |
); |
| 1784 |
} |
| 1785 |
|
| 1786 |
public function onFileUpload( $file, $reupload, $hasDescription ) { |
| 1787 |
return $this->container->run( |
| 1788 |
'FileUpload', |
| 1789 |
[ $file, $reupload, $hasDescription ] |
| 1790 |
); |
| 1791 |
} |
| 1792 |
|
| 1793 |
public function onFormatAutocomments( &$comment, $pre, $auto, $post, $title, |
| 1794 |
$local, $wikiId |
| 1795 |
) { |
| 1796 |
return $this->container->run( |
| 1797 |
'FormatAutocomments', |
| 1798 |
[ &$comment, $pre, $auto, $post, $title, $local, $wikiId ] |
| 1799 |
); |
| 1800 |
} |
| 1801 |
|
| 1802 |
public function onGalleryGetModes( &$modeArray ) { |
| 1803 |
return $this->container->run( |
| 1804 |
'GalleryGetModes', |
| 1805 |
[ &$modeArray ] |
| 1806 |
); |
| 1807 |
} |
| 1808 |
|
| 1809 |
public function onGetAllBlockActions( &$actions ) { |
| 1810 |
return $this->container->run( |
| 1811 |
'GetAllBlockActions', |
| 1812 |
[ &$actions ], |
| 1813 |
[ 'abortable' => false ] |
| 1814 |
); |
| 1815 |
} |
| 1816 |
|
| 1817 |
public function onGetAutoPromoteGroups( $user, &$promote ) { |
| 1818 |
return $this->container->run( |
| 1819 |
'GetAutoPromoteGroups', |
| 1820 |
[ $user, &$promote ] |
| 1821 |
); |
| 1822 |
} |
| 1823 |
|
| 1824 |
public function onGetActionName( IContextSource $context, string &$action ): void { |
| 1825 |
$this->container->run( |
| 1826 |
'GetActionName', |
| 1827 |
[ $context, &$action ], |
| 1828 |
[ 'abortable' => false ] |
| 1829 |
); |
| 1830 |
} |
| 1831 |
|
| 1832 |
public function onGetCacheVaryCookies( $out, &$cookies ) { |
| 1833 |
return $this->container->run( |
| 1834 |
'GetCacheVaryCookies', |
| 1835 |
[ $out, &$cookies ] |
| 1836 |
); |
| 1837 |
} |
| 1838 |
|
| 1839 |
public function onGetCanonicalURL( $title, &$url, $query ) { |
| 1840 |
return $this->container->run( |
| 1841 |
'GetCanonicalURL', |
| 1842 |
[ $title, &$url, $query ] |
| 1843 |
); |
| 1844 |
} |
| 1845 |
|
| 1846 |
public function onGetContentModels( &$models ) { |
| 1847 |
return $this->container->run( |
| 1848 |
'GetContentModels', |
| 1849 |
[ &$models ] |
| 1850 |
); |
| 1851 |
} |
| 1852 |
|
| 1853 |
public function onGetDefaultSortkey( $title, &$sortkey ) { |
| 1854 |
return $this->container->run( |
| 1855 |
'GetDefaultSortkey', |
| 1856 |
[ $title, &$sortkey ] |
| 1857 |
); |
| 1858 |
} |
| 1859 |
|
| 1860 |
public function onGetDifferenceEngine( $context, $old, $new, $refreshCache, |
| 1861 |
$unhide, &$differenceEngine |
| 1862 |
) { |
| 1863 |
return $this->container->run( |
| 1864 |
'GetDifferenceEngine', |
| 1865 |
[ $context, $old, $new, $refreshCache, $unhide, |
| 1866 |
&$differenceEngine ] |
| 1867 |
); |
| 1868 |
} |
| 1869 |
|
| 1870 |
public function onGetDoubleUnderscoreIDs( &$doubleUnderscoreIDs ) { |
| 1871 |
return $this->container->run( |
| 1872 |
'GetDoubleUnderscoreIDs', |
| 1873 |
[ &$doubleUnderscoreIDs ] |
| 1874 |
); |
| 1875 |
} |
| 1876 |
|
| 1877 |
public function onGetExtendedMetadata( &$combinedMeta, $file, $context, |
| 1878 |
$single, &$maxCacheTime |
| 1879 |
) { |
| 1880 |
return $this->container->run( |
| 1881 |
'GetExtendedMetadata', |
| 1882 |
[ &$combinedMeta, $file, $context, $single, &$maxCacheTime ] |
| 1883 |
); |
| 1884 |
} |
| 1885 |
|
| 1886 |
public function onGetFullURL( $title, &$url, $query ) { |
| 1887 |
return $this->container->run( |
| 1888 |
'GetFullURL', |
| 1889 |
[ $title, &$url, $query ] |
| 1890 |
); |
| 1891 |
} |
| 1892 |
|
| 1893 |
public function onGetHumanTimestamp( &$output, $timestamp, $relativeTo, $user, |
| 1894 |
$lang |
| 1895 |
) { |
| 1896 |
return $this->container->run( |
| 1897 |
'GetHumanTimestamp', |
| 1898 |
[ &$output, $timestamp, $relativeTo, $user, $lang ] |
| 1899 |
); |
| 1900 |
} |
| 1901 |
|
| 1902 |
public function onGetInternalURL( $title, &$url, $query ) { |
| 1903 |
return $this->container->run( |
| 1904 |
'GetInternalURL', |
| 1905 |
[ $title, &$url, $query ] |
| 1906 |
); |
| 1907 |
} |
| 1908 |
|
| 1909 |
public function onGetIP( &$ip ) { |
| 1910 |
return $this->container->run( |
| 1911 |
'GetIP', |
| 1912 |
[ &$ip ] |
| 1913 |
); |
| 1914 |
} |
| 1915 |
|
| 1916 |
public function onGetLangPreferredVariant( &$req ) { |
| 1917 |
return $this->container->run( |
| 1918 |
'GetLangPreferredVariant', |
| 1919 |
[ &$req ] |
| 1920 |
); |
| 1921 |
} |
| 1922 |
|
| 1923 |
public function onGetLinkColours( $linkcolour_ids, &$colours, $title ) { |
| 1924 |
return $this->container->run( |
| 1925 |
'GetLinkColours', |
| 1926 |
[ $linkcolour_ids, &$colours, $title ] |
| 1927 |
); |
| 1928 |
} |
| 1929 |
|
| 1930 |
public function onGetLocalURL( $title, &$url, $query ) { |
| 1931 |
return $this->container->run( |
| 1932 |
'GetLocalURL', |
| 1933 |
[ $title, &$url, $query ] |
| 1934 |
); |
| 1935 |
} |
| 1936 |
|
| 1937 |
public function onGetLocalURL__Article( $title, &$url ) { |
| 1938 |
return $this->container->run( |
| 1939 |
'GetLocalURL::Article', |
| 1940 |
[ $title, &$url ] |
| 1941 |
); |
| 1942 |
} |
| 1943 |
|
| 1944 |
public function onGetLocalURL__Internal( $title, &$url, $query ) { |
| 1945 |
return $this->container->run( |
| 1946 |
'GetLocalURL::Internal', |
| 1947 |
[ $title, &$url, $query ] |
| 1948 |
); |
| 1949 |
} |
| 1950 |
|
| 1951 |
public function onGetLogTypesOnUser( &$types ) { |
| 1952 |
return $this->container->run( |
| 1953 |
'GetLogTypesOnUser', |
| 1954 |
[ &$types ] |
| 1955 |
); |
| 1956 |
} |
| 1957 |
|
| 1958 |
public function onGetMagicVariableIDs( &$variableIDs ) { |
| 1959 |
return $this->container->run( |
| 1960 |
'GetMagicVariableIDs', |
| 1961 |
[ &$variableIDs ] |
| 1962 |
); |
| 1963 |
} |
| 1964 |
|
| 1965 |
public function onGetMetadataVersion( &$version ) { |
| 1966 |
return $this->container->run( |
| 1967 |
'GetMetadataVersion', |
| 1968 |
[ &$version ] |
| 1969 |
); |
| 1970 |
} |
| 1971 |
|
| 1972 |
public function onGetNewMessagesAlert( &$newMessagesAlert, $newtalks, $user, |
| 1973 |
$out |
| 1974 |
) { |
| 1975 |
return $this->container->run( |
| 1976 |
'GetNewMessagesAlert', |
| 1977 |
[ &$newMessagesAlert, $newtalks, $user, $out ] |
| 1978 |
); |
| 1979 |
} |
| 1980 |
|
| 1981 |
public function onGetPreferences( $user, &$preferences ) { |
| 1982 |
return $this->container->run( |
| 1983 |
'GetPreferences', |
| 1984 |
[ $user, &$preferences ] |
| 1985 |
); |
| 1986 |
} |
| 1987 |
|
| 1988 |
public function onGetRelativeTimestamp( &$output, &$diff, $timestamp, |
| 1989 |
$relativeTo, $user, $lang |
| 1990 |
) { |
| 1991 |
return $this->container->run( |
| 1992 |
'GetRelativeTimestamp', |
| 1993 |
[ &$output, &$diff, $timestamp, $relativeTo, $user, $lang ] |
| 1994 |
); |
| 1995 |
} |
| 1996 |
|
| 1997 |
public function onGetSlotDiffRenderer( $contentHandler, &$slotDiffRenderer, |
| 1998 |
$context |
| 1999 |
) { |
| 2000 |
return $this->container->run( |
| 2001 |
'GetSlotDiffRenderer', |
| 2002 |
[ $contentHandler, &$slotDiffRenderer, $context ] |
| 2003 |
); |
| 2004 |
} |
| 2005 |
|
| 2006 |
public function onGetUserBlock( $user, $ip, &$block ) { |
| 2007 |
return $this->container->run( |
| 2008 |
'GetUserBlock', |
| 2009 |
[ $user, $ip, &$block ] |
| 2010 |
); |
| 2011 |
} |
| 2012 |
|
| 2013 |
public function onPermissionErrorAudit( |
| 2014 |
LinkTarget $title, |
| 2015 |
UserIdentity $user, |
| 2016 |
string $action, |
| 2017 |
string $rigor, |
| 2018 |
array $errors |
| 2019 |
): void { |
| 2020 |
$this->container->run( |
| 2021 |
'PermissionErrorAudit', |
| 2022 |
[ $title, $user, $action, $rigor, $errors ], |
| 2023 |
[ 'abortable' => false ] |
| 2024 |
); |
| 2025 |
} |
| 2026 |
|
| 2027 |
public function onGetSecurityLogContext( array $info, array &$context ): void { |
| 2028 |
$this->container->run( |
| 2029 |
'GetSecurityLogContext', |
| 2030 |
[ $info, &$context ], |
| 2031 |
[ 'abortable' => false ] |
| 2032 |
); |
| 2033 |
} |
| 2034 |
|
| 2035 |
public function onGetUserPermissionsErrors( $title, $user, $action, &$result ) { |
| 2036 |
return $this->container->run( |
| 2037 |
'getUserPermissionsErrors', |
| 2038 |
[ $title, $user, $action, &$result ] |
| 2039 |
); |
| 2040 |
} |
| 2041 |
|
| 2042 |
public function onGetUserPermissionsErrorsExpensive( $title, $user, $action, |
| 2043 |
&$result |
| 2044 |
) { |
| 2045 |
return $this->container->run( |
| 2046 |
'getUserPermissionsErrorsExpensive', |
| 2047 |
[ $title, $user, $action, &$result ] |
| 2048 |
); |
| 2049 |
} |
| 2050 |
|
| 2051 |
public function onGitViewers( &$extTypes ) { |
| 2052 |
return $this->container->run( |
| 2053 |
'GitViewers', |
| 2054 |
[ &$extTypes ] |
| 2055 |
); |
| 2056 |
} |
| 2057 |
|
| 2058 |
public function onHistoryPageToolLinks( IContextSource $context, LinkRenderer $linkRenderer, array &$links ) { |
| 2059 |
return $this->container->run( |
| 2060 |
'HistoryPageToolLinks', |
| 2061 |
[ $context, $linkRenderer, &$links ] |
| 2062 |
); |
| 2063 |
} |
| 2064 |
|
| 2065 |
public function onHistoryTools( $revRecord, &$links, $prevRevRecord, $userIdentity ) { |
| 2066 |
return $this->container->run( |
| 2067 |
'HistoryTools', |
| 2068 |
[ $revRecord, &$links, $prevRevRecord, $userIdentity ] |
| 2069 |
); |
| 2070 |
} |
| 2071 |
|
| 2072 |
public function onHtmlCacheUpdaterAppendUrls( $title, $mode, &$append ) { |
| 2073 |
return $this->container->run( |
| 2074 |
'HtmlCacheUpdaterAppendUrls', |
| 2075 |
[ $title, $mode, &$append ] |
| 2076 |
); |
| 2077 |
} |
| 2078 |
|
| 2079 |
public function onHtmlCacheUpdaterVaryUrls( $urls, &$append ) { |
| 2080 |
return $this->container->run( |
| 2081 |
'HtmlCacheUpdaterVaryUrls', |
| 2082 |
[ $urls, &$append ] |
| 2083 |
); |
| 2084 |
} |
| 2085 |
|
| 2086 |
public function onHTMLFileCache__useFileCache( $context ) { |
| 2087 |
return $this->container->run( |
| 2088 |
'HTMLFileCache::useFileCache', |
| 2089 |
[ $context ] |
| 2090 |
); |
| 2091 |
} |
| 2092 |
|
| 2093 |
public function onHtmlPageLinkRendererBegin( $linkRenderer, $target, &$text, |
| 2094 |
&$customAttribs, &$query, &$ret |
| 2095 |
) { |
| 2096 |
return $this->container->run( |
| 2097 |
'HtmlPageLinkRendererBegin', |
| 2098 |
[ $linkRenderer, $target, &$text, &$customAttribs, &$query, &$ret ] |
| 2099 |
); |
| 2100 |
} |
| 2101 |
|
| 2102 |
public function onHtmlPageLinkRendererEnd( $linkRenderer, $target, $isKnown, |
| 2103 |
&$text, &$attribs, &$ret |
| 2104 |
) { |
| 2105 |
return $this->container->run( |
| 2106 |
'HtmlPageLinkRendererEnd', |
| 2107 |
[ $linkRenderer, $target, $isKnown, &$text, &$attribs, &$ret ] |
| 2108 |
); |
| 2109 |
} |
| 2110 |
|
| 2111 |
public function onImageBeforeProduceHTML( $linker, &$title, &$file, |
| 2112 |
&$frameParams, &$handlerParams, &$time, &$res, $parser, &$query, &$widthOption |
| 2113 |
) { |
| 2114 |
return $this->container->run( |
| 2115 |
'ImageBeforeProduceHTML', |
| 2116 |
[ $linker, &$title, &$file, &$frameParams, &$handlerParams, &$time, |
| 2117 |
&$res, $parser, &$query, &$widthOption ] |
| 2118 |
); |
| 2119 |
} |
| 2120 |
|
| 2121 |
public function onImageOpenShowImageInlineBefore( $imagePage, $output ) { |
| 2122 |
return $this->container->run( |
| 2123 |
'ImageOpenShowImageInlineBefore', |
| 2124 |
[ $imagePage, $output ] |
| 2125 |
); |
| 2126 |
} |
| 2127 |
|
| 2128 |
public function onImagePageAfterImageLinks( $imagePage, &$html ) { |
| 2129 |
return $this->container->run( |
| 2130 |
'ImagePageAfterImageLinks', |
| 2131 |
[ $imagePage, &$html ] |
| 2132 |
); |
| 2133 |
} |
| 2134 |
|
| 2135 |
public function onImagePageFileHistoryLine( $imageHistoryList, $file, &$line, &$css ) { |
| 2136 |
return $this->container->run( |
| 2137 |
'ImagePageFileHistoryLine', |
| 2138 |
[ $imageHistoryList, $file, &$line, &$css ] |
| 2139 |
); |
| 2140 |
} |
| 2141 |
|
| 2142 |
public function onImagePageFindFile( $page, &$file, &$displayFile ) { |
| 2143 |
return $this->container->run( |
| 2144 |
'ImagePageFindFile', |
| 2145 |
[ $page, &$file, &$displayFile ] |
| 2146 |
); |
| 2147 |
} |
| 2148 |
|
| 2149 |
public function onImagePageShowTOC( $page, &$toc ) { |
| 2150 |
return $this->container->run( |
| 2151 |
'ImagePageShowTOC', |
| 2152 |
[ $page, &$toc ] |
| 2153 |
); |
| 2154 |
} |
| 2155 |
|
| 2156 |
public function onImgAuthBeforeStream( &$title, &$path, &$name, &$result ) { |
| 2157 |
return $this->container->run( |
| 2158 |
'ImgAuthBeforeStream', |
| 2159 |
[ &$title, &$path, &$name, &$result ] |
| 2160 |
); |
| 2161 |
} |
| 2162 |
|
| 2163 |
public function onImgAuthModifyHeaders( $title, &$headers ) { |
| 2164 |
return $this->container->run( |
| 2165 |
'ImgAuthModifyHeaders', |
| 2166 |
[ $title, &$headers ] |
| 2167 |
); |
| 2168 |
} |
| 2169 |
|
| 2170 |
public function onImportHandleLogItemXMLTag( $reader, $logInfo ) { |
| 2171 |
return $this->container->run( |
| 2172 |
'ImportHandleLogItemXMLTag', |
| 2173 |
[ $reader, $logInfo ] |
| 2174 |
); |
| 2175 |
} |
| 2176 |
|
| 2177 |
public function onImportHandlePageXMLTag( $reader, &$pageInfo ) { |
| 2178 |
return $this->container->run( |
| 2179 |
'ImportHandlePageXMLTag', |
| 2180 |
[ $reader, &$pageInfo ] |
| 2181 |
); |
| 2182 |
} |
| 2183 |
|
| 2184 |
public function onImportHandleRevisionXMLTag( $reader, $pageInfo, |
| 2185 |
$revisionInfo |
| 2186 |
) { |
| 2187 |
return $this->container->run( |
| 2188 |
'ImportHandleRevisionXMLTag', |
| 2189 |
[ $reader, $pageInfo, $revisionInfo ] |
| 2190 |
); |
| 2191 |
} |
| 2192 |
|
| 2193 |
public function onImportHandleContentXMLTag( $reader, $contentInfo ) { |
| 2194 |
return $this->container->run( |
| 2195 |
'ImportHandleContentXMLTag', |
| 2196 |
[ $reader, $contentInfo ] ); |
| 2197 |
} |
| 2198 |
|
| 2199 |
public function onImportHandleToplevelXMLTag( $reader ) { |
| 2200 |
return $this->container->run( |
| 2201 |
'ImportHandleToplevelXMLTag', |
| 2202 |
[ $reader ] |
| 2203 |
); |
| 2204 |
} |
| 2205 |
|
| 2206 |
public function onImportHandleUnknownUser( $name ) { |
| 2207 |
return $this->container->run( |
| 2208 |
'ImportHandleUnknownUser', |
| 2209 |
[ $name ] |
| 2210 |
); |
| 2211 |
} |
| 2212 |
|
| 2213 |
public function onImportHandleUploadXMLTag( $reader, $revisionInfo ) { |
| 2214 |
return $this->container->run( |
| 2215 |
'ImportHandleUploadXMLTag', |
| 2216 |
[ $reader, $revisionInfo ] |
| 2217 |
); |
| 2218 |
} |
| 2219 |
|
| 2220 |
public function onImportLogInterwikiLink( &$fullInterwikiPrefix, &$pageTitle ) { |
| 2221 |
return $this->container->run( |
| 2222 |
'ImportLogInterwikiLink', |
| 2223 |
[ &$fullInterwikiPrefix, &$pageTitle ] |
| 2224 |
); |
| 2225 |
} |
| 2226 |
|
| 2227 |
public function onImportSources( &$importSources ) { |
| 2228 |
return $this->container->run( |
| 2229 |
'ImportSources', |
| 2230 |
[ &$importSources ] |
| 2231 |
); |
| 2232 |
} |
| 2233 |
|
| 2234 |
public function onInfoAction( $context, &$pageInfo ) { |
| 2235 |
return $this->container->run( |
| 2236 |
'InfoAction', |
| 2237 |
[ $context, &$pageInfo ] |
| 2238 |
); |
| 2239 |
} |
| 2240 |
|
| 2241 |
public function onInitializeArticleMaybeRedirect( $title, $request, |
| 2242 |
&$ignoreRedirect, &$target, &$article |
| 2243 |
) { |
| 2244 |
return $this->container->run( |
| 2245 |
'InitializeArticleMaybeRedirect', |
| 2246 |
[ $title, $request, &$ignoreRedirect, &$target, &$article ] |
| 2247 |
); |
| 2248 |
} |
| 2249 |
|
| 2250 |
public function onInternalParseBeforeLinks( $parser, &$text, $stripState ) { |
| 2251 |
return $this->container->run( |
| 2252 |
'InternalParseBeforeLinks', |
| 2253 |
[ $parser, &$text, $stripState ] |
| 2254 |
); |
| 2255 |
} |
| 2256 |
|
| 2257 |
public function onInterwikiLoadPrefix( $prefix, &$iwData ) { |
| 2258 |
return $this->container->run( |
| 2259 |
'InterwikiLoadPrefix', |
| 2260 |
[ $prefix, &$iwData ] |
| 2261 |
); |
| 2262 |
} |
| 2263 |
|
| 2264 |
public function onInvalidateEmailComplete( $user ) { |
| 2265 |
return $this->container->run( |
| 2266 |
'InvalidateEmailComplete', |
| 2267 |
[ $user ] |
| 2268 |
); |
| 2269 |
} |
| 2270 |
|
| 2271 |
public function onIRCLineURL( &$url, &$query, $rc ) { |
| 2272 |
return $this->container->run( |
| 2273 |
'IRCLineURL', |
| 2274 |
[ &$url, &$query, $rc ] |
| 2275 |
); |
| 2276 |
} |
| 2277 |
|
| 2278 |
public function onIsFileCacheable( $article ) { |
| 2279 |
return $this->container->run( |
| 2280 |
'IsFileCacheable', |
| 2281 |
[ $article ] |
| 2282 |
); |
| 2283 |
} |
| 2284 |
|
| 2285 |
public function onIsTrustedProxy( $ip, &$result ) { |
| 2286 |
return $this->container->run( |
| 2287 |
'IsTrustedProxy', |
| 2288 |
[ $ip, &$result ] |
| 2289 |
); |
| 2290 |
} |
| 2291 |
|
| 2292 |
public function onIsUploadAllowedFromUrl( $url, &$allowed ) { |
| 2293 |
return $this->container->run( |
| 2294 |
'IsUploadAllowedFromUrl', |
| 2295 |
[ $url, &$allowed ] |
| 2296 |
); |
| 2297 |
} |
| 2298 |
|
| 2299 |
public function onIsValidEmailAddr( $addr, &$result ) { |
| 2300 |
return $this->container->run( |
| 2301 |
'isValidEmailAddr', |
| 2302 |
[ $addr, &$result ] |
| 2303 |
); |
| 2304 |
} |
| 2305 |
|
| 2306 |
public function onIsValidPassword( $password, &$result, $user ) { |
| 2307 |
return $this->container->run( |
| 2308 |
'isValidPassword', |
| 2309 |
[ $password, &$result, $user ] |
| 2310 |
); |
| 2311 |
} |
| 2312 |
|
| 2313 |
public function onJsonValidateSave( JsonContent $content, PageIdentity $pageIdentity, StatusValue $status ) { |
| 2314 |
return $this->container->run( |
| 2315 |
'JsonValidateSave', |
| 2316 |
[ $content, $pageIdentity, &$status ] |
| 2317 |
); |
| 2318 |
} |
| 2319 |
|
| 2320 |
public function onLanguageGetNamespaces( &$namespaces ) { |
| 2321 |
return $this->container->run( |
| 2322 |
'LanguageGetNamespaces', |
| 2323 |
[ &$namespaces ] |
| 2324 |
); |
| 2325 |
} |
| 2326 |
|
| 2327 |
public function onLanguageGetTranslatedLanguageNames( &$names, $code ) { |
| 2328 |
return $this->container->run( |
| 2329 |
'LanguageGetTranslatedLanguageNames', |
| 2330 |
[ &$names, $code ] |
| 2331 |
); |
| 2332 |
} |
| 2333 |
|
| 2334 |
public function onLanguageLinks( $title, &$links, &$linkFlags ) { |
| 2335 |
return $this->container->run( |
| 2336 |
'LanguageLinks', |
| 2337 |
[ $title, &$links, &$linkFlags ] |
| 2338 |
); |
| 2339 |
} |
| 2340 |
|
| 2341 |
public function onLanguageSelector( $out, $cssClassName ) { |
| 2342 |
return $this->container->run( |
| 2343 |
'LanguageSelector', |
| 2344 |
[ $out, $cssClassName ] |
| 2345 |
); |
| 2346 |
} |
| 2347 |
|
| 2348 |
public function onLanguage__getMessagesFileName( $code, &$file ) { |
| 2349 |
return $this->container->run( |
| 2350 |
'Language::getMessagesFileName', |
| 2351 |
[ $code, &$file ] |
| 2352 |
); |
| 2353 |
} |
| 2354 |
|
| 2355 |
public function onLinkerGenerateRollbackLink( $revRecord, $context, $options, &$inner ) { |
| 2356 |
return $this->container->run( |
| 2357 |
'LinkerGenerateRollbackLink', |
| 2358 |
[ $revRecord, $context, $options, &$inner ] |
| 2359 |
); |
| 2360 |
} |
| 2361 |
|
| 2362 |
public function onLinkerMakeExternalImage( &$url, &$alt, &$img ) { |
| 2363 |
return $this->container->run( |
| 2364 |
'LinkerMakeExternalImage', |
| 2365 |
[ &$url, &$alt, &$img ] |
| 2366 |
); |
| 2367 |
} |
| 2368 |
|
| 2369 |
public function onLinkerMakeExternalLink( &$url, &$text, &$link, &$attribs, |
| 2370 |
$linkType |
| 2371 |
) { |
| 2372 |
return $this->container->run( |
| 2373 |
'LinkerMakeExternalLink', |
| 2374 |
[ &$url, &$text, &$link, &$attribs, $linkType ] |
| 2375 |
); |
| 2376 |
} |
| 2377 |
|
| 2378 |
public function onLinkerMakeMediaLinkFile( $title, $file, &$html, &$attribs, |
| 2379 |
&$ret |
| 2380 |
) { |
| 2381 |
return $this->container->run( |
| 2382 |
'LinkerMakeMediaLinkFile', |
| 2383 |
[ $title, $file, &$html, &$attribs, &$ret ] |
| 2384 |
); |
| 2385 |
} |
| 2386 |
|
| 2387 |
public function onLinksUpdate( $linksUpdate ) { |
| 2388 |
return $this->container->run( |
| 2389 |
'LinksUpdate', |
| 2390 |
[ $linksUpdate ] |
| 2391 |
); |
| 2392 |
} |
| 2393 |
|
| 2394 |
public function onLinksUpdateComplete( $linksUpdate, $ticket ) { |
| 2395 |
return $this->container->run( |
| 2396 |
'LinksUpdateComplete', |
| 2397 |
[ $linksUpdate, $ticket ] |
| 2398 |
); |
| 2399 |
} |
| 2400 |
|
| 2401 |
public function onListDefinedTags( &$tags ) { |
| 2402 |
return $this->container->run( |
| 2403 |
'ListDefinedTags', |
| 2404 |
[ &$tags ] |
| 2405 |
); |
| 2406 |
} |
| 2407 |
|
| 2408 |
public function onLoadExtensionSchemaUpdates( $updater ) { |
| 2409 |
return $this->container->run( |
| 2410 |
'LoadExtensionSchemaUpdates', |
| 2411 |
[ $updater ], |
| 2412 |
[ 'noServices' => true ] |
| 2413 |
); |
| 2414 |
} |
| 2415 |
|
| 2416 |
public function onLocalFilePurgeThumbnails( $file, $archiveName, $urls ) { |
| 2417 |
return $this->container->run( |
| 2418 |
'LocalFilePurgeThumbnails', |
| 2419 |
[ $file, $archiveName, $urls ] |
| 2420 |
); |
| 2421 |
} |
| 2422 |
|
| 2423 |
public function onLocalFile__getHistory( $file, &$tables, &$fields, &$conds, |
| 2424 |
&$opts, &$join_conds |
| 2425 |
) { |
| 2426 |
return $this->container->run( |
| 2427 |
'LocalFile::getHistory', |
| 2428 |
[ $file, &$tables, &$fields, &$conds, &$opts, &$join_conds ] |
| 2429 |
); |
| 2430 |
} |
| 2431 |
|
| 2432 |
public function onLocalisationCacheRecache( $cache, $code, &$alldata, $unused ) { |
| 2433 |
return $this->container->run( |
| 2434 |
'LocalisationCacheRecache', |
| 2435 |
[ $cache, $code, &$alldata, $unused ] |
| 2436 |
); |
| 2437 |
} |
| 2438 |
|
| 2439 |
public function onLocalisationCacheRecacheFallback( $cache, $code, &$alldata ) { |
| 2440 |
return $this->container->run( |
| 2441 |
'LocalisationCacheRecacheFallback', |
| 2442 |
[ $cache, $code, &$alldata ] |
| 2443 |
); |
| 2444 |
} |
| 2445 |
|
| 2446 |
public function onLocalUserCreated( $user, $autocreated ) { |
| 2447 |
return $this->container->run( |
| 2448 |
'LocalUserCreated', |
| 2449 |
[ $user, $autocreated ] |
| 2450 |
); |
| 2451 |
} |
| 2452 |
|
| 2453 |
public function onLogEventsListGetExtraInputs( $type, $logEventsList, &$input, |
| 2454 |
&$formDescriptor |
| 2455 |
) { |
| 2456 |
return $this->container->run( |
| 2457 |
'LogEventsListGetExtraInputs', |
| 2458 |
[ $type, $logEventsList, &$input, &$formDescriptor ] |
| 2459 |
); |
| 2460 |
} |
| 2461 |
|
| 2462 |
public function onLogEventsListLineEnding( $page, &$ret, $entry, &$classes, |
| 2463 |
&$attribs |
| 2464 |
) { |
| 2465 |
return $this->container->run( |
| 2466 |
'LogEventsListLineEnding', |
| 2467 |
[ $page, &$ret, $entry, &$classes, &$attribs ] |
| 2468 |
); |
| 2469 |
} |
| 2470 |
|
| 2471 |
public function onLogEventsListShowLogExtract( &$s, $types, $page, $user, |
| 2472 |
$param |
| 2473 |
) { |
| 2474 |
return $this->container->run( |
| 2475 |
'LogEventsListShowLogExtract', |
| 2476 |
[ &$s, $types, $page, $user, $param ] |
| 2477 |
); |
| 2478 |
} |
| 2479 |
|
| 2480 |
public function onLogException( $e, $suppressed ) { |
| 2481 |
return $this->container->run( |
| 2482 |
'LogException', |
| 2483 |
[ $e, $suppressed ] |
| 2484 |
); |
| 2485 |
} |
| 2486 |
|
| 2487 |
public function onLoginFormValidErrorMessages( array &$messages ) { |
| 2488 |
return $this->container->run( |
| 2489 |
'LoginFormValidErrorMessages', |
| 2490 |
[ &$messages ] |
| 2491 |
); |
| 2492 |
} |
| 2493 |
|
| 2494 |
public function onLogLine( $log_type, $log_action, $title, $paramArray, |
| 2495 |
&$comment, &$revert, $time |
| 2496 |
) { |
| 2497 |
return $this->container->run( |
| 2498 |
'LogLine', |
| 2499 |
[ $log_type, $log_action, $title, $paramArray, &$comment, |
| 2500 |
&$revert, $time ] |
| 2501 |
); |
| 2502 |
} |
| 2503 |
|
| 2504 |
public function onLonelyPagesQuery( &$tables, &$conds, &$joinConds ) { |
| 2505 |
return $this->container->run( |
| 2506 |
'LonelyPagesQuery', |
| 2507 |
[ &$tables, &$conds, &$joinConds ] |
| 2508 |
); |
| 2509 |
} |
| 2510 |
|
| 2511 |
public function onMagicWordwgVariableIDs( &$variableIDs ) { |
| 2512 |
return $this->container->run( |
| 2513 |
'MagicWordwgVariableIDs', |
| 2514 |
[ &$variableIDs ] |
| 2515 |
); |
| 2516 |
} |
| 2517 |
|
| 2518 |
public function onMaintenanceRefreshLinksInit( $refreshLinks ) { |
| 2519 |
return $this->container->run( |
| 2520 |
'MaintenanceRefreshLinksInit', |
| 2521 |
[ $refreshLinks ] |
| 2522 |
); |
| 2523 |
} |
| 2524 |
|
| 2525 |
public function onMaintenanceShellStart(): void { |
| 2526 |
$this->container->run( |
| 2527 |
'MaintenanceShellStart', |
| 2528 |
[], |
| 2529 |
[ 'abortable' => false ] |
| 2530 |
); |
| 2531 |
} |
| 2532 |
|
| 2533 |
public function onMaintenanceUpdateAddParams( &$params ) { |
| 2534 |
return $this->container->run( |
| 2535 |
'MaintenanceUpdateAddParams', |
| 2536 |
[ &$params ] |
| 2537 |
); |
| 2538 |
} |
| 2539 |
|
| 2540 |
public function onMakeGlobalVariablesScript( &$vars, $out ): void { |
| 2541 |
$this->container->run( |
| 2542 |
'MakeGlobalVariablesScript', |
| 2543 |
[ &$vars, $out ], |
| 2544 |
[ 'abortable' => false ] |
| 2545 |
); |
| 2546 |
} |
| 2547 |
|
| 2548 |
public function onManualLogEntryBeforePublish( $logEntry ): void { |
| 2549 |
$this->container->run( |
| 2550 |
'ManualLogEntryBeforePublish', |
| 2551 |
[ $logEntry ], |
| 2552 |
[ 'abortable' => false ] |
| 2553 |
); |
| 2554 |
} |
| 2555 |
|
| 2556 |
public function onMarkPatrolled( $rcid, $user, $wcOnlySysopsCanPatrol, $auto, |
| 2557 |
&$tags |
| 2558 |
) { |
| 2559 |
return $this->container->run( |
| 2560 |
'MarkPatrolled', |
| 2561 |
[ $rcid, $user, $wcOnlySysopsCanPatrol, $auto, &$tags ] |
| 2562 |
); |
| 2563 |
} |
| 2564 |
|
| 2565 |
public function onMarkPatrolledComplete( $rcid, $user, $wcOnlySysopsCanPatrol, |
| 2566 |
$auto |
| 2567 |
) { |
| 2568 |
return $this->container->run( |
| 2569 |
'MarkPatrolledComplete', |
| 2570 |
[ $rcid, $user, $wcOnlySysopsCanPatrol, $auto ] |
| 2571 |
); |
| 2572 |
} |
| 2573 |
|
| 2574 |
public function onMediaWikiPerformAction( $output, $article, $title, $user, |
| 2575 |
$request, $mediaWiki |
| 2576 |
) { |
| 2577 |
return $this->container->run( |
| 2578 |
'MediaWikiPerformAction', |
| 2579 |
[ $output, $article, $title, $user, $request, $mediaWiki ] |
| 2580 |
); |
| 2581 |
} |
| 2582 |
|
| 2583 |
public function onMediaWikiServices( $services ) { |
| 2584 |
return $this->container->run( |
| 2585 |
'MediaWikiServices', |
| 2586 |
[ $services ], |
| 2587 |
[ 'noServices' => true ] |
| 2588 |
); |
| 2589 |
} |
| 2590 |
|
| 2591 |
public function onMessageCacheFetchOverrides( array &$messages ): void { |
| 2592 |
$this->container->run( |
| 2593 |
'MessageCacheFetchOverrides', |
| 2594 |
[ &$messages ], |
| 2595 |
[ 'abortable' => false ] |
| 2596 |
); |
| 2597 |
} |
| 2598 |
|
| 2599 |
public function onMessageCacheReplace( $title, $text ) { |
| 2600 |
return $this->container->run( |
| 2601 |
'MessageCacheReplace', |
| 2602 |
[ $title, $text ] |
| 2603 |
); |
| 2604 |
} |
| 2605 |
|
| 2606 |
public function onMessageCache__get( &$key ) { |
| 2607 |
return $this->container->run( |
| 2608 |
'MessageCache::get', |
| 2609 |
[ &$key ] |
| 2610 |
); |
| 2611 |
} |
| 2612 |
|
| 2613 |
public function onMessagesPreLoad( $title, &$message, $code ) { |
| 2614 |
return $this->container->run( |
| 2615 |
'MessagesPreLoad', |
| 2616 |
[ $title, &$message, $code ] |
| 2617 |
); |
| 2618 |
} |
| 2619 |
|
| 2620 |
public function onMimeMagicGuessFromContent( $mimeMagic, &$head, &$tail, $file, |
| 2621 |
&$mime |
| 2622 |
) { |
| 2623 |
return $this->container->run( |
| 2624 |
'MimeMagicGuessFromContent', |
| 2625 |
[ $mimeMagic, &$head, &$tail, $file, &$mime ] |
| 2626 |
); |
| 2627 |
} |
| 2628 |
|
| 2629 |
public function onMimeMagicImproveFromExtension( $mimeMagic, $ext, &$mime ) { |
| 2630 |
return $this->container->run( |
| 2631 |
'MimeMagicImproveFromExtension', |
| 2632 |
[ $mimeMagic, $ext, &$mime ] |
| 2633 |
); |
| 2634 |
} |
| 2635 |
|
| 2636 |
public function onMimeMagicInit( $mimeMagic ) { |
| 2637 |
return $this->container->run( |
| 2638 |
'MimeMagicInit', |
| 2639 |
[ $mimeMagic ] |
| 2640 |
); |
| 2641 |
} |
| 2642 |
|
| 2643 |
public function onGetBlockErrorMessageKey( $block, &$key ) { |
| 2644 |
return $this->container->run( |
| 2645 |
'GetBlockErrorMessageKey', |
| 2646 |
[ $block, &$key ] |
| 2647 |
); |
| 2648 |
} |
| 2649 |
|
| 2650 |
public function onModifyExportQuery( $db, &$tables, $cond, &$opts, |
| 2651 |
&$join_conds, &$conds |
| 2652 |
) { |
| 2653 |
return $this->container->run( |
| 2654 |
'ModifyExportQuery', |
| 2655 |
[ $db, &$tables, $cond, &$opts, &$join_conds, &$conds ] |
| 2656 |
); |
| 2657 |
} |
| 2658 |
|
| 2659 |
public function onMovePageCheckPermissions( $oldTitle, $newTitle, $user, |
| 2660 |
$reason, $status |
| 2661 |
) { |
| 2662 |
return $this->container->run( |
| 2663 |
'MovePageCheckPermissions', |
| 2664 |
[ $oldTitle, $newTitle, $user, $reason, $status ] |
| 2665 |
); |
| 2666 |
} |
| 2667 |
|
| 2668 |
public function onMovePageIsValidMove( $oldTitle, $newTitle, $status ) { |
| 2669 |
return $this->container->run( |
| 2670 |
'MovePageIsValidMove', |
| 2671 |
[ $oldTitle, $newTitle, $status ] |
| 2672 |
); |
| 2673 |
} |
| 2674 |
|
| 2675 |
public function onMultiContentSave( $renderedRevision, $user, $summary, $flags, |
| 2676 |
$status |
| 2677 |
) { |
| 2678 |
return $this->container->run( |
| 2679 |
'MultiContentSave', |
| 2680 |
[ $renderedRevision, $user, $summary, $flags, $status ] |
| 2681 |
); |
| 2682 |
} |
| 2683 |
|
| 2684 |
public function onNamespaceIsMovable( $index, &$result ) { |
| 2685 |
return $this->container->run( |
| 2686 |
'NamespaceIsMovable', |
| 2687 |
[ $index, &$result ] |
| 2688 |
); |
| 2689 |
} |
| 2690 |
|
| 2691 |
public function onNewDifferenceEngine( $title, &$oldId, &$newId, $old, $new ) { |
| 2692 |
return $this->container->run( |
| 2693 |
'NewDifferenceEngine', |
| 2694 |
[ $title, &$oldId, &$newId, $old, $new ] |
| 2695 |
); |
| 2696 |
} |
| 2697 |
|
| 2698 |
public function onNewPagesLineEnding( $page, &$ret, $row, &$classes, &$attribs ) { |
| 2699 |
return $this->container->run( |
| 2700 |
'NewPagesLineEnding', |
| 2701 |
[ $page, &$ret, $row, &$classes, &$attribs ] |
| 2702 |
); |
| 2703 |
} |
| 2704 |
|
| 2705 |
public function onOldChangesListRecentChangesLine( $changeslist, &$s, $rc, |
| 2706 |
&$classes, &$attribs |
| 2707 |
) { |
| 2708 |
return $this->container->run( |
| 2709 |
'OldChangesListRecentChangesLine', |
| 2710 |
[ $changeslist, &$s, $rc, &$classes, &$attribs ] |
| 2711 |
); |
| 2712 |
} |
| 2713 |
|
| 2714 |
public function onOpenSearchUrls( &$urls ) { |
| 2715 |
return $this->container->run( |
| 2716 |
'OpenSearchUrls', |
| 2717 |
[ &$urls ] |
| 2718 |
); |
| 2719 |
} |
| 2720 |
|
| 2721 |
public function onOpportunisticLinksUpdate( $page, $title, $parserOutput ) { |
| 2722 |
return $this->container->run( |
| 2723 |
'OpportunisticLinksUpdate', |
| 2724 |
[ $page, $title, $parserOutput ] |
| 2725 |
); |
| 2726 |
} |
| 2727 |
|
| 2728 |
public function onOtherAutoblockLogLink( &$otherBlockLink ) { |
| 2729 |
return $this->container->run( |
| 2730 |
'OtherAutoblockLogLink', |
| 2731 |
[ &$otherBlockLink ] |
| 2732 |
); |
| 2733 |
} |
| 2734 |
|
| 2735 |
public function onOtherBlockLogLink( &$otherBlockLink, $ip ) { |
| 2736 |
return $this->container->run( |
| 2737 |
'OtherBlockLogLink', |
| 2738 |
[ &$otherBlockLink, $ip ] |
| 2739 |
); |
| 2740 |
} |
| 2741 |
|
| 2742 |
public function onOutputPageAfterGetHeadLinksArray( &$tags, $out ) { |
| 2743 |
return $this->container->run( |
| 2744 |
'OutputPageAfterGetHeadLinksArray', |
| 2745 |
[ &$tags, $out ] |
| 2746 |
); |
| 2747 |
} |
| 2748 |
|
| 2749 |
public function onOutputPageBeforeHTML( $out, &$text ) { |
| 2750 |
return $this->container->run( |
| 2751 |
'OutputPageBeforeHTML', |
| 2752 |
[ $out, &$text ] |
| 2753 |
); |
| 2754 |
} |
| 2755 |
|
| 2756 |
public function onOutputPageBodyAttributes( $out, $sk, &$bodyAttrs ): void { |
| 2757 |
$this->container->run( |
| 2758 |
'OutputPageBodyAttributes', |
| 2759 |
[ $out, $sk, &$bodyAttrs ], |
| 2760 |
[ 'abortable' => false ] |
| 2761 |
); |
| 2762 |
} |
| 2763 |
|
| 2764 |
public function onOutputPageCheckLastModified( &$modifiedTimes, $out ) { |
| 2765 |
return $this->container->run( |
| 2766 |
'OutputPageCheckLastModified', |
| 2767 |
[ &$modifiedTimes, $out ] |
| 2768 |
); |
| 2769 |
} |
| 2770 |
|
| 2771 |
public function onOutputPageMakeCategoryLinks( $out, $categories, &$links ) { |
| 2772 |
return $this->container->run( |
| 2773 |
'OutputPageMakeCategoryLinks', |
| 2774 |
[ $out, $categories, &$links ] |
| 2775 |
); |
| 2776 |
} |
| 2777 |
|
| 2778 |
public function onOutputPageParserOutput( $outputPage, $parserOutput ): void { |
| 2779 |
$this->container->run( |
| 2780 |
'OutputPageParserOutput', |
| 2781 |
[ $outputPage, $parserOutput ], |
| 2782 |
[ 'abortable' => false ] |
| 2783 |
); |
| 2784 |
} |
| 2785 |
|
| 2786 |
public function onOutputPageRenderCategoryLink( |
| 2787 |
OutputPage $outputPage, |
| 2788 |
ProperPageIdentity $categoryTitle, |
| 2789 |
string $text, |
| 2790 |
?string &$link |
| 2791 |
): void { |
| 2792 |
$this->container->run( |
| 2793 |
'OutputPageRenderCategoryLink', |
| 2794 |
[ $outputPage, $categoryTitle, $text, &$link ], |
| 2795 |
[ 'abortable' => false ] |
| 2796 |
); |
| 2797 |
} |
| 2798 |
|
| 2799 |
public function onPageContentLanguage( $title, &$pageLang, $userLang ) { |
| 2800 |
return $this->container->run( |
| 2801 |
'PageContentLanguage', |
| 2802 |
[ $title, &$pageLang, $userLang ] |
| 2803 |
); |
| 2804 |
} |
| 2805 |
|
| 2806 |
public function onPageContentSave( $wikiPage, $user, $content, &$summary, |
| 2807 |
$isminor, $iswatch, $section, $flags, $status |
| 2808 |
) { |
| 2809 |
return $this->container->run( |
| 2810 |
'PageContentSave', |
| 2811 |
[ $wikiPage, $user, $content, &$summary, $isminor, $iswatch, |
| 2812 |
$section, $flags, $status ] |
| 2813 |
); |
| 2814 |
} |
| 2815 |
|
| 2816 |
public function onPageDelete( |
| 2817 |
ProperPageIdentity $page, |
| 2818 |
Authority $deleter, |
| 2819 |
string $reason, |
| 2820 |
StatusValue $status, |
| 2821 |
bool $suppress |
| 2822 |
) { |
| 2823 |
return $this->container->run( |
| 2824 |
'PageDelete', |
| 2825 |
[ $page, $deleter, $reason, $status, $suppress ] |
| 2826 |
); |
| 2827 |
} |
| 2828 |
|
| 2829 |
public function onPageDeleteComplete( |
| 2830 |
ProperPageIdentity $page, |
| 2831 |
Authority $deleter, |
| 2832 |
string $reason, |
| 2833 |
int $pageID, |
| 2834 |
RevisionRecord $deletedRev, |
| 2835 |
ManualLogEntry $logEntry, |
| 2836 |
int $archivedRevisionCount |
| 2837 |
) { |
| 2838 |
return $this->container->run( |
| 2839 |
'PageDeleteComplete', |
| 2840 |
[ $page, $deleter, $reason, $pageID, $deletedRev, $logEntry, $archivedRevisionCount ] |
| 2841 |
); |
| 2842 |
} |
| 2843 |
|
| 2844 |
public function onPageDeletionDataUpdates( $title, $revision, &$updates ) { |
| 2845 |
return $this->container->run( |
| 2846 |
'PageDeletionDataUpdates', |
| 2847 |
[ $title, $revision, &$updates ] |
| 2848 |
); |
| 2849 |
} |
| 2850 |
|
| 2851 |
public function onPageUndelete( |
| 2852 |
ProperPageIdentity $page, |
| 2853 |
Authority $performer, |
| 2854 |
string $reason, |
| 2855 |
bool $unsuppress, |
| 2856 |
array $timestamps, |
| 2857 |
array $fileVersions, |
| 2858 |
StatusValue $status |
| 2859 |
) { |
| 2860 |
return $this->container->run( |
| 2861 |
'PageUndelete', |
| 2862 |
[ $page, $performer, $reason, $unsuppress, $timestamps, $fileVersions, $status ] |
| 2863 |
); |
| 2864 |
} |
| 2865 |
|
| 2866 |
public function onPageUndeleteComplete( |
| 2867 |
ProperPageIdentity $page, |
| 2868 |
Authority $restorer, |
| 2869 |
string $reason, |
| 2870 |
RevisionRecord $restoredRev, |
| 2871 |
ManualLogEntry $logEntry, |
| 2872 |
int $restoredRevisionCount, |
| 2873 |
bool $created, |
| 2874 |
array $restoredPageIds |
| 2875 |
): void { |
| 2876 |
$this->container->run( |
| 2877 |
'PageUndeleteComplete', |
| 2878 |
[ |
| 2879 |
$page, |
| 2880 |
$restorer, |
| 2881 |
$reason, |
| 2882 |
$restoredRev, |
| 2883 |
$logEntry, |
| 2884 |
$restoredRevisionCount, |
| 2885 |
$created, |
| 2886 |
$restoredPageIds |
| 2887 |
], |
| 2888 |
[ 'abortable' => false ] |
| 2889 |
); |
| 2890 |
} |
| 2891 |
|
| 2892 |
public function onPageHistoryBeforeList( $article, $context ) { |
| 2893 |
return $this->container->run( |
| 2894 |
'PageHistoryBeforeList', |
| 2895 |
[ $article, $context ] |
| 2896 |
); |
| 2897 |
} |
| 2898 |
|
| 2899 |
public function onPageHistoryLineEnding( $historyAction, &$row, &$s, &$classes, |
| 2900 |
&$attribs |
| 2901 |
) { |
| 2902 |
return $this->container->run( |
| 2903 |
'PageHistoryLineEnding', |
| 2904 |
[ $historyAction, &$row, &$s, &$classes, &$attribs ] |
| 2905 |
); |
| 2906 |
} |
| 2907 |
|
| 2908 |
public function onPageHistoryPager__doBatchLookups( $pager, $result ) { |
| 2909 |
return $this->container->run( |
| 2910 |
'PageHistoryPager::doBatchLookups', |
| 2911 |
[ $pager, $result ] |
| 2912 |
); |
| 2913 |
} |
| 2914 |
|
| 2915 |
public function onPageHistoryPager__getQueryInfo( $pager, &$queryInfo ) { |
| 2916 |
return $this->container->run( |
| 2917 |
'PageHistoryPager::getQueryInfo', |
| 2918 |
[ $pager, &$queryInfo ] |
| 2919 |
); |
| 2920 |
} |
| 2921 |
|
| 2922 |
public function onPageMoveComplete( $old, $new, $user, $pageid, $redirid, $reason, $revision ) { |
| 2923 |
return $this->container->run( |
| 2924 |
'PageMoveComplete', |
| 2925 |
[ $old, $new, $user, $pageid, $redirid, $reason, $revision ] |
| 2926 |
); |
| 2927 |
} |
| 2928 |
|
| 2929 |
public function onPageMoveCompleting( $old, $new, $user, $pageid, $redirid, $reason, $revision ) { |
| 2930 |
return $this->container->run( |
| 2931 |
'PageMoveCompleting', |
| 2932 |
[ $old, $new, $user, $pageid, $redirid, $reason, $revision ] |
| 2933 |
); |
| 2934 |
} |
| 2935 |
|
| 2936 |
public function onPageRenderingHash( &$confstr, $user, &$forOptions ) { |
| 2937 |
return $this->container->run( |
| 2938 |
'PageRenderingHash', |
| 2939 |
[ &$confstr, $user, &$forOptions ] |
| 2940 |
); |
| 2941 |
} |
| 2942 |
|
| 2943 |
public function onPageSaveComplete( $wikiPage, $user, $summary, $flags, |
| 2944 |
$revisionRecord, $editResult |
| 2945 |
) { |
| 2946 |
return $this->container->run( |
| 2947 |
'PageSaveComplete', |
| 2948 |
[ $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult ] |
| 2949 |
); |
| 2950 |
} |
| 2951 |
|
| 2952 |
public function onPageViewUpdates( $wikipage, $user ) { |
| 2953 |
return $this->container->run( |
| 2954 |
'PageViewUpdates', |
| 2955 |
[ $wikipage, $user ] |
| 2956 |
); |
| 2957 |
} |
| 2958 |
|
| 2959 |
public function onParserAfterParse( $parser, &$text, $stripState ) { |
| 2960 |
return $this->container->run( |
| 2961 |
'ParserAfterParse', |
| 2962 |
[ $parser, &$text, $stripState ] |
| 2963 |
); |
| 2964 |
} |
| 2965 |
|
| 2966 |
public function onParserAfterTidy( $parser, &$text ) { |
| 2967 |
return $this->container->run( |
| 2968 |
'ParserAfterTidy', |
| 2969 |
[ $parser, &$text ] |
| 2970 |
); |
| 2971 |
} |
| 2972 |
|
| 2973 |
public function onParserBeforeInternalParse( $parser, &$text, $stripState ) { |
| 2974 |
return $this->container->run( |
| 2975 |
'ParserBeforeInternalParse', |
| 2976 |
[ $parser, &$text, $stripState ] |
| 2977 |
); |
| 2978 |
} |
| 2979 |
|
| 2980 |
public function onParserBeforePreprocess( $parser, &$text, $stripState ) { |
| 2981 |
return $this->container->run( |
| 2982 |
'ParserBeforePreprocess', |
| 2983 |
[ $parser, &$text, $stripState ] |
| 2984 |
); |
| 2985 |
} |
| 2986 |
|
| 2987 |
public function onParserCacheSaveComplete( $parserCache, $parserOutput, $title, |
| 2988 |
$popts, $revId |
| 2989 |
) { |
| 2990 |
return $this->container->run( |
| 2991 |
'ParserCacheSaveComplete', |
| 2992 |
[ $parserCache, $parserOutput, $title, $popts, $revId ] |
| 2993 |
); |
| 2994 |
} |
| 2995 |
|
| 2996 |
public function onParserClearState( $parser ) { |
| 2997 |
return $this->container->run( |
| 2998 |
'ParserClearState', |
| 2999 |
[ $parser ] |
| 3000 |
); |
| 3001 |
} |
| 3002 |
|
| 3003 |
public function onParserCloned( $parser ) { |
| 3004 |
return $this->container->run( |
| 3005 |
'ParserCloned', |
| 3006 |
[ $parser ] |
| 3007 |
); |
| 3008 |
} |
| 3009 |
|
| 3010 |
public function onParserFetchTemplateData( array $titles, array &$tplData ): bool { |
| 3011 |
return $this->container->run( |
| 3012 |
'ParserFetchTemplateData', |
| 3013 |
[ $titles, &$tplData ] |
| 3014 |
); |
| 3015 |
} |
| 3016 |
|
| 3017 |
public function onParserFirstCallInit( $parser ) { |
| 3018 |
return $this->container->run( |
| 3019 |
'ParserFirstCallInit', |
| 3020 |
[ $parser ] |
| 3021 |
); |
| 3022 |
} |
| 3023 |
|
| 3024 |
public function onParserGetVariableValueSwitch( $parser, &$variableCache, |
| 3025 |
$magicWordId, &$ret, $frame |
| 3026 |
) { |
| 3027 |
return $this->container->run( |
| 3028 |
'ParserGetVariableValueSwitch', |
| 3029 |
[ $parser, &$variableCache, $magicWordId, &$ret, $frame ] |
| 3030 |
); |
| 3031 |
} |
| 3032 |
|
| 3033 |
public function onParserGetVariableValueTs( $parser, &$time ) { |
| 3034 |
return $this->container->run( |
| 3035 |
'ParserGetVariableValueTs', |
| 3036 |
[ $parser, &$time ] |
| 3037 |
); |
| 3038 |
} |
| 3039 |
|
| 3040 |
public function onParserLimitReportFormat( $key, &$value, &$report, $isHTML, |
| 3041 |
$localize |
| 3042 |
) { |
| 3043 |
return $this->container->run( |
| 3044 |
'ParserLimitReportFormat', |
| 3045 |
[ $key, &$value, &$report, $isHTML, $localize ] |
| 3046 |
); |
| 3047 |
} |
| 3048 |
|
| 3049 |
public function onParserLimitReportPrepare( $parser, $output ) { |
| 3050 |
return $this->container->run( |
| 3051 |
'ParserLimitReportPrepare', |
| 3052 |
[ $parser, $output ] |
| 3053 |
); |
| 3054 |
} |
| 3055 |
|
| 3056 |
public function onParserLogLinterData( string $title, int $revId, array $lints ): bool { |
| 3057 |
return $this->container->run( |
| 3058 |
'ParserLogLinterData', |
| 3059 |
[ $title, $revId, $lints ] |
| 3060 |
); |
| 3061 |
} |
| 3062 |
|
| 3063 |
public function onParserMakeImageParams( $title, $file, &$params, $parser ) { |
| 3064 |
return $this->container->run( |
| 3065 |
'ParserMakeImageParams', |
| 3066 |
[ $title, $file, &$params, $parser ] |
| 3067 |
); |
| 3068 |
} |
| 3069 |
|
| 3070 |
public function onParserModifyImageHTML( Parser $parser, File $file, |
| 3071 |
array $params, string &$html |
| 3072 |
): void { |
| 3073 |
$this->container->run( |
| 3074 |
'ParserModifyImageHTML', |
| 3075 |
[ $parser, $file, $params, &$html ], |
| 3076 |
[ 'abortable' => false ] |
| 3077 |
); |
| 3078 |
} |
| 3079 |
|
| 3080 |
public function onParserOptionsRegister( &$defaults, &$inCacheKey, &$lazyLoad ) { |
| 3081 |
return $this->container->run( |
| 3082 |
'ParserOptionsRegister', |
| 3083 |
[ &$defaults, &$inCacheKey, &$lazyLoad ] |
| 3084 |
); |
| 3085 |
} |
| 3086 |
|
| 3087 |
public function onParserOutputPostCacheTransform( $parserOutput, &$text, |
| 3088 |
&$options |
| 3089 |
): void { |
| 3090 |
$this->container->run( |
| 3091 |
'ParserOutputPostCacheTransform', |
| 3092 |
[ $parserOutput, &$text, &$options ], |
| 3093 |
[ 'abortable' => false ] |
| 3094 |
); |
| 3095 |
} |
| 3096 |
|
| 3097 |
public function onParserOutputStashForEdit( $page, $content, $output, $summary, |
| 3098 |
$user |
| 3099 |
) { |
| 3100 |
return $this->container->run( |
| 3101 |
'ParserOutputStashForEdit', |
| 3102 |
[ $page, $content, $output, $summary, $user ] |
| 3103 |
); |
| 3104 |
} |
| 3105 |
|
| 3106 |
public function onParserPreSaveTransformComplete( $parser, &$text ) { |
| 3107 |
return $this->container->run( |
| 3108 |
'ParserPreSaveTransformComplete', |
| 3109 |
[ $parser, &$text ] |
| 3110 |
); |
| 3111 |
} |
| 3112 |
|
| 3113 |
public function onParserTestGlobals( &$globals ) { |
| 3114 |
return $this->container->run( |
| 3115 |
'ParserTestGlobals', |
| 3116 |
[ &$globals ] |
| 3117 |
); |
| 3118 |
} |
| 3119 |
|
| 3120 |
public function onPasswordPoliciesForUser( $user, &$effectivePolicy ) { |
| 3121 |
return $this->container->run( |
| 3122 |
'PasswordPoliciesForUser', |
| 3123 |
[ $user, &$effectivePolicy ] |
| 3124 |
); |
| 3125 |
} |
| 3126 |
|
| 3127 |
public function onPerformRetroactiveAutoblock( $block, &$blockIds ) { |
| 3128 |
return $this->container->run( |
| 3129 |
'PerformRetroactiveAutoblock', |
| 3130 |
[ $block, &$blockIds ] |
| 3131 |
); |
| 3132 |
} |
| 3133 |
|
| 3134 |
public function onPingLimiter( $user, $action, &$result, $incrBy ) { |
| 3135 |
return $this->container->run( |
| 3136 |
'PingLimiter', |
| 3137 |
[ $user, $action, &$result, $incrBy ] |
| 3138 |
); |
| 3139 |
} |
| 3140 |
|
| 3141 |
public function onPlaceNewSection( $content, $oldtext, $subject, &$text ) { |
| 3142 |
return $this->container->run( |
| 3143 |
'PlaceNewSection', |
| 3144 |
[ $content, $oldtext, $subject, &$text ] |
| 3145 |
); |
| 3146 |
} |
| 3147 |
|
| 3148 |
public function onPostLoginRedirect( &$returnTo, &$returnToQuery, &$type ) { |
| 3149 |
return $this->container->run( |
| 3150 |
'PostLoginRedirect', |
| 3151 |
[ &$returnTo, &$returnToQuery, &$type ] |
| 3152 |
); |
| 3153 |
} |
| 3154 |
|
| 3155 |
public function onPreferencesFormPreSave( $formData, $form, $user, &$result, |
| 3156 |
$oldUserOptions |
| 3157 |
) { |
| 3158 |
return $this->container->run( |
| 3159 |
'PreferencesFormPreSave', |
| 3160 |
[ $formData, $form, $user, &$result, $oldUserOptions ] |
| 3161 |
); |
| 3162 |
} |
| 3163 |
|
| 3164 |
public function onPreferencesGetIcon( &$iconNames ) { |
| 3165 |
return $this->container->run( |
| 3166 |
'PreferencesGetIcon', |
| 3167 |
[ &$iconNames ] |
| 3168 |
); |
| 3169 |
} |
| 3170 |
|
| 3171 |
public function onPreferencesGetLayout( &$useMobileLayout, $skinName, |
| 3172 |
$skinProperties = [] |
| 3173 |
) { |
| 3174 |
return $this->container->run( |
| 3175 |
'PreferencesGetLayout', |
| 3176 |
[ &$useMobileLayout, $skinName, $skinProperties ] |
| 3177 |
); |
| 3178 |
} |
| 3179 |
|
| 3180 |
public function onPreferencesGetLegend( $form, $key, &$legend ) { |
| 3181 |
return $this->container->run( |
| 3182 |
'PreferencesGetLegend', |
| 3183 |
[ $form, $key, &$legend ] |
| 3184 |
); |
| 3185 |
} |
| 3186 |
|
| 3187 |
public function onPrefixSearchBackend( $ns, $search, $limit, &$results, |
| 3188 |
$offset |
| 3189 |
) { |
| 3190 |
return $this->container->run( |
| 3191 |
'PrefixSearchBackend', |
| 3192 |
[ $ns, $search, $limit, &$results, $offset ] |
| 3193 |
); |
| 3194 |
} |
| 3195 |
|
| 3196 |
public function onPrefixSearchExtractNamespace( &$namespaces, &$search ) { |
| 3197 |
return $this->container->run( |
| 3198 |
'PrefixSearchExtractNamespace', |
| 3199 |
[ &$namespaces, &$search ] |
| 3200 |
); |
| 3201 |
} |
| 3202 |
|
| 3203 |
public function onPrefsEmailAudit( $user, $oldaddr, $newaddr ) { |
| 3204 |
return $this->container->run( |
| 3205 |
'PrefsEmailAudit', |
| 3206 |
[ $user, $oldaddr, $newaddr ] |
| 3207 |
); |
| 3208 |
} |
| 3209 |
|
| 3210 |
public function onProtectionForm__buildForm( $article, &$output ) { |
| 3211 |
return $this->container->run( |
| 3212 |
'ProtectionForm::buildForm', |
| 3213 |
[ $article, &$output ] |
| 3214 |
); |
| 3215 |
} |
| 3216 |
|
| 3217 |
public function onProtectionFormAddFormFields( $article, &$hookFormOptions ) { |
| 3218 |
return $this->container->run( |
| 3219 |
'ProtectionFormAddFormFields', |
| 3220 |
[ $article, &$hookFormOptions ] |
| 3221 |
); |
| 3222 |
} |
| 3223 |
|
| 3224 |
public function onProtectionForm__save( $article, &$errorMsg, $reasonstr ) { |
| 3225 |
return $this->container->run( |
| 3226 |
'ProtectionForm::save', |
| 3227 |
[ $article, &$errorMsg, $reasonstr ] |
| 3228 |
); |
| 3229 |
} |
| 3230 |
|
| 3231 |
public function onProtectionForm__showLogExtract( $article, $out ) { |
| 3232 |
return $this->container->run( |
| 3233 |
'ProtectionForm::showLogExtract', |
| 3234 |
[ $article, $out ] |
| 3235 |
); |
| 3236 |
} |
| 3237 |
|
| 3238 |
public function onRandomPageQuery( &$tables, &$conds, &$joinConds ) { |
| 3239 |
return $this->container->run( |
| 3240 |
'RandomPageQuery', |
| 3241 |
[ &$tables, &$conds, &$joinConds ] |
| 3242 |
); |
| 3243 |
} |
| 3244 |
|
| 3245 |
public function onRawPageViewBeforeOutput( $obj, &$text ) { |
| 3246 |
return $this->container->run( |
| 3247 |
'RawPageViewBeforeOutput', |
| 3248 |
[ $obj, &$text ] |
| 3249 |
); |
| 3250 |
} |
| 3251 |
|
| 3252 |
public function onRecentChangesPurgeRows( $rows ): void { |
| 3253 |
$this->container->run( |
| 3254 |
'RecentChangesPurgeRows', |
| 3255 |
[ $rows ] |
| 3256 |
); |
| 3257 |
} |
| 3258 |
|
| 3259 |
public function onRecentChange_save( $recentChange ) { |
| 3260 |
return $this->container->run( |
| 3261 |
'RecentChange_save', |
| 3262 |
[ $recentChange ] |
| 3263 |
); |
| 3264 |
} |
| 3265 |
|
| 3266 |
public function onRedirectSpecialArticleRedirectParams( &$redirectParams ) { |
| 3267 |
return $this->container->run( |
| 3268 |
'RedirectSpecialArticleRedirectParams', |
| 3269 |
[ &$redirectParams ] |
| 3270 |
); |
| 3271 |
} |
| 3272 |
|
| 3273 |
public function onRejectParserCacheValue( $parserOutput, $wikiPage, |
| 3274 |
$parserOptions |
| 3275 |
) { |
| 3276 |
return $this->container->run( |
| 3277 |
'RejectParserCacheValue', |
| 3278 |
[ $parserOutput, $wikiPage, $parserOptions ] |
| 3279 |
); |
| 3280 |
} |
| 3281 |
|
| 3282 |
public function onRenameUserAbort( int $uid, string $old, string $new ) { |
| 3283 |
return $this->container->run( |
| 3284 |
'RenameUserAbort', |
| 3285 |
[ $uid, $old, $new ] |
| 3286 |
); |
| 3287 |
} |
| 3288 |
|
| 3289 |
public function onRenameUserComplete( int $uid, string $old, string $new ): void { |
| 3290 |
$this->container->run( |
| 3291 |
'RenameUserComplete', |
| 3292 |
[ $uid, $old, $new ], |
| 3293 |
[ 'abortable' => false ] |
| 3294 |
); |
| 3295 |
} |
| 3296 |
|
| 3297 |
public function onRenameUserPreRename( int $uid, string $old, string $new ): void { |
| 3298 |
$this->container->run( |
| 3299 |
'RenameUserPreRename', |
| 3300 |
[ $uid, $old, $new ], |
| 3301 |
[ 'abortable' => false ] |
| 3302 |
); |
| 3303 |
} |
| 3304 |
|
| 3305 |
public function onRenameUserSQL( RenameuserSQL $renameUserSql ): void { |
| 3306 |
$this->container->run( |
| 3307 |
'RenameUserSQL', |
| 3308 |
[ $renameUserSql ], |
| 3309 |
[ 'abortable' => false ] |
| 3310 |
); |
| 3311 |
} |
| 3312 |
|
| 3313 |
public function onRenameUserWarning( string $oldUsername, string $newUsername, array &$warnings ): void { |
| 3314 |
$this->container->run( |
| 3315 |
'RenameUserWarning', |
| 3316 |
[ $oldUsername, $newUsername, &$warnings ], |
| 3317 |
[ 'abortable' => false ] |
| 3318 |
); |
| 3319 |
} |
| 3320 |
|
| 3321 |
public function onRequestContextCreateSkin( $context, &$skin ) { |
| 3322 |
return $this->container->run( |
| 3323 |
'RequestContextCreateSkin', |
| 3324 |
[ $context, &$skin ] |
| 3325 |
); |
| 3326 |
} |
| 3327 |
|
| 3328 |
public function onResetPasswordExpiration( $user, &$newExpire ) { |
| 3329 |
return $this->container->run( |
| 3330 |
'ResetPasswordExpiration', |
| 3331 |
[ $user, &$newExpire ] |
| 3332 |
); |
| 3333 |
} |
| 3334 |
|
| 3335 |
public function onRevisionDataUpdates( $title, $renderedRevision, &$updates ) { |
| 3336 |
return $this->container->run( |
| 3337 |
'RevisionDataUpdates', |
| 3338 |
[ $title, $renderedRevision, &$updates ] |
| 3339 |
); |
| 3340 |
} |
| 3341 |
|
| 3342 |
public function onRevisionFromEditComplete( $wikiPage, $rev, $originalRevId, $user, &$tags ) { |
| 3343 |
return $this->container->run( |
| 3344 |
'RevisionFromEditComplete', |
| 3345 |
[ $wikiPage, $rev, $originalRevId, $user, &$tags ] |
| 3346 |
); |
| 3347 |
} |
| 3348 |
|
| 3349 |
public function onRevisionRecordInserted( $revisionRecord ) { |
| 3350 |
return $this->container->run( |
| 3351 |
'RevisionRecordInserted', |
| 3352 |
[ $revisionRecord ] |
| 3353 |
); |
| 3354 |
} |
| 3355 |
|
| 3356 |
public function onRevisionUndeleted( $revisionRecord, $oldPageID ) { |
| 3357 |
return $this->container->run( |
| 3358 |
'RevisionUndeleted', |
| 3359 |
[ $revisionRecord, $oldPageID ] |
| 3360 |
); |
| 3361 |
} |
| 3362 |
|
| 3363 |
public function onRollbackComplete( $wikiPage, $user, $revision, $current ) { |
| 3364 |
return $this->container->run( |
| 3365 |
'RollbackComplete', |
| 3366 |
[ $wikiPage, $user, $revision, $current ] |
| 3367 |
); |
| 3368 |
} |
| 3369 |
|
| 3370 |
public function onSearchableNamespaces( &$arr ) { |
| 3371 |
return $this->container->run( |
| 3372 |
'SearchableNamespaces', |
| 3373 |
[ &$arr ] |
| 3374 |
); |
| 3375 |
} |
| 3376 |
|
| 3377 |
public function onSearchAfterNoDirectMatch( $term, &$title ) { |
| 3378 |
return $this->container->run( |
| 3379 |
'SearchAfterNoDirectMatch', |
| 3380 |
[ $term, &$title ] |
| 3381 |
); |
| 3382 |
} |
| 3383 |
|
| 3384 |
public function onSearchDataForIndex( &$fields, $handler, $page, $output, $engine ) { |
| 3385 |
return $this->container->run( |
| 3386 |
'SearchDataForIndex', |
| 3387 |
[ &$fields, $handler, $page, $output, $engine ] |
| 3388 |
); |
| 3389 |
} |
| 3390 |
|
| 3391 |
public function onSearchDataForIndex2( array &$fields, ContentHandler $handler, |
| 3392 |
WikiPage $page, ParserOutput $output, SearchEngine $engine, RevisionRecord $revision |
| 3393 |
) { |
| 3394 |
return $this->container->run( |
| 3395 |
'SearchDataForIndex2', |
| 3396 |
[ &$fields, $handler, $page, $output, $engine, $revision ] |
| 3397 |
); |
| 3398 |
} |
| 3399 |
|
| 3400 |
public function onSearchGetNearMatch( $term, &$title ) { |
| 3401 |
return $this->container->run( |
| 3402 |
'SearchGetNearMatch', |
| 3403 |
[ $term, &$title ] |
| 3404 |
); |
| 3405 |
} |
| 3406 |
|
| 3407 |
public function onSearchGetNearMatchBefore( $allSearchTerms, &$titleResult ) { |
| 3408 |
return $this->container->run( |
| 3409 |
'SearchGetNearMatchBefore', |
| 3410 |
[ $allSearchTerms, &$titleResult ] |
| 3411 |
); |
| 3412 |
} |
| 3413 |
|
| 3414 |
public function onSearchGetNearMatchComplete( $term, &$title ) { |
| 3415 |
return $this->container->run( |
| 3416 |
'SearchGetNearMatchComplete', |
| 3417 |
[ $term, &$title ] |
| 3418 |
); |
| 3419 |
} |
| 3420 |
|
| 3421 |
public function onSearchIndexFields( &$fields, $engine ) { |
| 3422 |
return $this->container->run( |
| 3423 |
'SearchIndexFields', |
| 3424 |
[ &$fields, $engine ] |
| 3425 |
); |
| 3426 |
} |
| 3427 |
|
| 3428 |
public function onSearchResultInitFromTitle( $title, &$id ) { |
| 3429 |
return $this->container->run( |
| 3430 |
'SearchResultInitFromTitle', |
| 3431 |
[ $title, &$id ] |
| 3432 |
); |
| 3433 |
} |
| 3434 |
|
| 3435 |
public function onSearchResultProvideDescription( array $pageIdentities, &$descriptions ) { |
| 3436 |
return $this->container->run( |
| 3437 |
'SearchResultProvideDescription', |
| 3438 |
[ $pageIdentities, &$descriptions ] |
| 3439 |
); |
| 3440 |
} |
| 3441 |
|
| 3442 |
public function onSearchResultProvideThumbnail( array $pageIdentities, &$thumbnails, ?int $size = null ) { |
| 3443 |
return $this->container->run( |
| 3444 |
'SearchResultProvideThumbnail', |
| 3445 |
[ $pageIdentities, &$thumbnails, $size ] |
| 3446 |
); |
| 3447 |
} |
| 3448 |
|
| 3449 |
public function onSearchResultsAugment( &$setAugmentors, &$rowAugmentors ) { |
| 3450 |
return $this->container->run( |
| 3451 |
'SearchResultsAugment', |
| 3452 |
[ &$setAugmentors, &$rowAugmentors ] |
| 3453 |
); |
| 3454 |
} |
| 3455 |
|
| 3456 |
public function onSecuritySensitiveOperationStatus( &$status, $operation, |
| 3457 |
$session, $timeSinceAuth |
| 3458 |
) { |
| 3459 |
return $this->container->run( |
| 3460 |
'SecuritySensitiveOperationStatus', |
| 3461 |
[ &$status, $operation, $session, $timeSinceAuth ] |
| 3462 |
); |
| 3463 |
} |
| 3464 |
|
| 3465 |
public function onSelfLinkBegin( $nt, &$html, &$trail, &$prefix, &$ret ) { |
| 3466 |
return $this->container->run( |
| 3467 |
'SelfLinkBegin', |
| 3468 |
[ $nt, &$html, &$trail, &$prefix, &$ret ] |
| 3469 |
); |
| 3470 |
} |
| 3471 |
|
| 3472 |
public function onSendWatchlistEmailNotification( $targetUser, $title, $enotif ) { |
| 3473 |
return $this->container->run( |
| 3474 |
'SendWatchlistEmailNotification', |
| 3475 |
[ $targetUser, $title, $enotif ] |
| 3476 |
); |
| 3477 |
} |
| 3478 |
|
| 3479 |
public function onSessionCheckInfo( &$reason, $info, $request, $metadata, |
| 3480 |
$data |
| 3481 |
) { |
| 3482 |
return $this->container->run( |
| 3483 |
'SessionCheckInfo', |
| 3484 |
[ &$reason, $info, $request, $metadata, $data ] |
| 3485 |
); |
| 3486 |
} |
| 3487 |
|
| 3488 |
public function onSessionMetadata( $backend, &$metadata, $requests ) { |
| 3489 |
return $this->container->run( |
| 3490 |
'SessionMetadata', |
| 3491 |
[ $backend, &$metadata, $requests ] |
| 3492 |
); |
| 3493 |
} |
| 3494 |
|
| 3495 |
public function onSetupAfterCache() { |
| 3496 |
return $this->container->run( |
| 3497 |
'SetupAfterCache', |
| 3498 |
[] |
| 3499 |
); |
| 3500 |
} |
| 3501 |
|
| 3502 |
public function onShortPagesQuery( &$tables, &$conds, &$joinConds, &$options ) { |
| 3503 |
return $this->container->run( |
| 3504 |
'ShortPagesQuery', |
| 3505 |
[ &$tables, &$conds, &$joinConds, &$options ] |
| 3506 |
); |
| 3507 |
} |
| 3508 |
|
| 3509 |
public function onShowMissingArticle( $article ) { |
| 3510 |
return $this->container->run( |
| 3511 |
'ShowMissingArticle', |
| 3512 |
[ $article ] |
| 3513 |
); |
| 3514 |
} |
| 3515 |
|
| 3516 |
public function onShowSearchHit( $searchPage, $result, $terms, &$link, |
| 3517 |
&$redirect, &$section, &$extract, &$score, &$size, &$date, &$related, &$html |
| 3518 |
) { |
| 3519 |
return $this->container->run( |
| 3520 |
'ShowSearchHit', |
| 3521 |
[ $searchPage, $result, $terms, &$link, &$redirect, &$section, |
| 3522 |
&$extract, &$score, &$size, &$date, &$related, &$html ] |
| 3523 |
); |
| 3524 |
} |
| 3525 |
|
| 3526 |
public function onShowSearchHitTitle( &$title, &$titleSnippet, $result, $terms, |
| 3527 |
$specialSearch, &$query, &$attributes |
| 3528 |
) { |
| 3529 |
return $this->container->run( |
| 3530 |
'ShowSearchHitTitle', |
| 3531 |
[ &$title, &$titleSnippet, $result, $terms, $specialSearch, |
| 3532 |
&$query, &$attributes ] |
| 3533 |
); |
| 3534 |
} |
| 3535 |
|
| 3536 |
public function onSidebarBeforeOutput( $skin, &$sidebar ): void { |
| 3537 |
$this->container->run( |
| 3538 |
'SidebarBeforeOutput', |
| 3539 |
[ $skin, &$sidebar ], |
| 3540 |
[ 'abortable' => false ] |
| 3541 |
); |
| 3542 |
} |
| 3543 |
|
| 3544 |
public function onSiteNoticeAfter( &$siteNotice, $skin ) { |
| 3545 |
return $this->container->run( |
| 3546 |
'SiteNoticeAfter', |
| 3547 |
[ &$siteNotice, $skin ] |
| 3548 |
); |
| 3549 |
} |
| 3550 |
|
| 3551 |
public function onSiteNoticeBefore( &$siteNotice, $skin ) { |
| 3552 |
return $this->container->run( |
| 3553 |
'SiteNoticeBefore', |
| 3554 |
[ &$siteNotice, $skin ] |
| 3555 |
); |
| 3556 |
} |
| 3557 |
|
| 3558 |
public function onSkinPageReadyConfig( RL\Context $context, |
| 3559 |
array &$config |
| 3560 |
): void { |
| 3561 |
$this->container->run( |
| 3562 |
'SkinPageReadyConfig', |
| 3563 |
[ $context, &$config ], |
| 3564 |
[ 'abortable' => false ] |
| 3565 |
); |
| 3566 |
} |
| 3567 |
|
| 3568 |
public function onSkinAddFooterLinks( Skin $skin, string $key, array &$footerItems ) { |
| 3569 |
$this->container->run( |
| 3570 |
'SkinAddFooterLinks', |
| 3571 |
[ $skin, $key, &$footerItems ] |
| 3572 |
); |
| 3573 |
} |
| 3574 |
|
| 3575 |
public function onSkinAfterBottomScripts( $skin, &$text ) { |
| 3576 |
return $this->container->run( |
| 3577 |
'SkinAfterBottomScripts', |
| 3578 |
[ $skin, &$text ] |
| 3579 |
); |
| 3580 |
} |
| 3581 |
|
| 3582 |
public function onSkinAfterContent( &$data, $skin ) { |
| 3583 |
return $this->container->run( |
| 3584 |
'SkinAfterContent', |
| 3585 |
[ &$data, $skin ] |
| 3586 |
); |
| 3587 |
} |
| 3588 |
|
| 3589 |
public function onSkinAfterPortlet( $skin, $portlet, &$html ) { |
| 3590 |
return $this->container->run( |
| 3591 |
'SkinAfterPortlet', |
| 3592 |
[ $skin, $portlet, &$html ] |
| 3593 |
); |
| 3594 |
} |
| 3595 |
|
| 3596 |
public function onSkinBuildSidebar( $skin, &$bar ) { |
| 3597 |
return $this->container->run( |
| 3598 |
'SkinBuildSidebar', |
| 3599 |
[ $skin, &$bar ] |
| 3600 |
); |
| 3601 |
} |
| 3602 |
|
| 3603 |
public function onSkinCopyrightFooter( $title, $type, &$msg, &$link ) { |
| 3604 |
return $this->container->run( |
| 3605 |
'SkinCopyrightFooter', |
| 3606 |
[ $title, $type, &$msg, &$link ] |
| 3607 |
); |
| 3608 |
} |
| 3609 |
|
| 3610 |
public function onSkinCopyrightFooterMessage( $title, $type, &$msg ) { |
| 3611 |
return $this->container->run( |
| 3612 |
'SkinCopyrightFooterMessage', |
| 3613 |
[ $title, $type, &$msg ] |
| 3614 |
); |
| 3615 |
} |
| 3616 |
|
| 3617 |
public function onSkinEditSectionLinks( $skin, $title, $section, $tooltip, |
| 3618 |
&$result, $lang |
| 3619 |
) { |
| 3620 |
return $this->container->run( |
| 3621 |
'SkinEditSectionLinks', |
| 3622 |
[ $skin, $title, $section, $tooltip, &$result, $lang ] |
| 3623 |
); |
| 3624 |
} |
| 3625 |
|
| 3626 |
public function onSkinPreloadExistence( &$titles, $skin ) { |
| 3627 |
return $this->container->run( |
| 3628 |
'SkinPreloadExistence', |
| 3629 |
[ &$titles, $skin ] |
| 3630 |
); |
| 3631 |
} |
| 3632 |
|
| 3633 |
public function onSkinSubPageSubtitle( &$subpages, $skin, $out ) { |
| 3634 |
return $this->container->run( |
| 3635 |
'SkinSubPageSubtitle', |
| 3636 |
[ &$subpages, $skin, $out ] |
| 3637 |
); |
| 3638 |
} |
| 3639 |
|
| 3640 |
public function onSkinTemplateGetLanguageLink( &$languageLink, |
| 3641 |
$languageLinkTitle, $title, $outputPage |
| 3642 |
) { |
| 3643 |
return $this->container->run( |
| 3644 |
'SkinTemplateGetLanguageLink', |
| 3645 |
[ &$languageLink, $languageLinkTitle, $title, $outputPage ] |
| 3646 |
); |
| 3647 |
} |
| 3648 |
|
| 3649 |
public function onSkinTemplateNavigation__Universal( $sktemplate, &$links ): void { |
| 3650 |
$this->container->run( |
| 3651 |
'SkinTemplateNavigation::Universal', |
| 3652 |
[ $sktemplate, &$links ], |
| 3653 |
[ 'abortable' => false ] |
| 3654 |
); |
| 3655 |
} |
| 3656 |
|
| 3657 |
public function onSoftwareInfo( &$software ) { |
| 3658 |
return $this->container->run( |
| 3659 |
'SoftwareInfo', |
| 3660 |
[ &$software ] |
| 3661 |
); |
| 3662 |
} |
| 3663 |
|
| 3664 |
public function onSpecialBlockModifyFormFields( $sp, &$fields ) { |
| 3665 |
return $this->container->run( |
| 3666 |
'SpecialBlockModifyFormFields', |
| 3667 |
[ $sp, &$fields ] |
| 3668 |
); |
| 3669 |
} |
| 3670 |
|
| 3671 |
public function onSpecialContributionsBeforeMainOutput( $id, $user, $sp ) { |
| 3672 |
return $this->container->run( |
| 3673 |
'SpecialContributionsBeforeMainOutput', |
| 3674 |
[ $id, $user, $sp ] |
| 3675 |
); |
| 3676 |
} |
| 3677 |
|
| 3678 |
public function onSpecialContributions__formatRow__flags( $context, $row, |
| 3679 |
&$flags |
| 3680 |
) { |
| 3681 |
return $this->container->run( |
| 3682 |
'SpecialContributions::formatRow::flags', |
| 3683 |
[ $context, $row, &$flags ] |
| 3684 |
); |
| 3685 |
} |
| 3686 |
|
| 3687 |
public function onSpecialContributions__getForm__filters( $sp, &$filters ) { |
| 3688 |
return $this->container->run( |
| 3689 |
'SpecialContributions::getForm::filters', |
| 3690 |
[ $sp, &$filters ] |
| 3691 |
); |
| 3692 |
} |
| 3693 |
|
| 3694 |
public function onSpecialCreateAccountBenefits( ?string &$html, array $info, array &$options ) { |
| 3695 |
return $this->container->run( |
| 3696 |
'SpecialCreateAccountBenefits', |
| 3697 |
[ &$html, $info, &$options ] |
| 3698 |
); |
| 3699 |
} |
| 3700 |
|
| 3701 |
public function onSpecialExportGetExtraPages( $inputPages, &$extraPages ) { |
| 3702 |
return $this->container->run( |
| 3703 |
'SpecialExportGetExtraPages', |
| 3704 |
[ $inputPages, &$extraPages ] |
| 3705 |
); |
| 3706 |
} |
| 3707 |
|
| 3708 |
public function onSpecialListusersDefaultQuery( $pager, &$query ) { |
| 3709 |
return $this->container->run( |
| 3710 |
'SpecialListusersDefaultQuery', |
| 3711 |
[ $pager, &$query ] |
| 3712 |
); |
| 3713 |
} |
| 3714 |
|
| 3715 |
public function onSpecialListusersFormatRow( &$item, $row ) { |
| 3716 |
return $this->container->run( |
| 3717 |
'SpecialListusersFormatRow', |
| 3718 |
[ &$item, $row ] |
| 3719 |
); |
| 3720 |
} |
| 3721 |
|
| 3722 |
public function onSpecialListusersHeader( $pager, &$out ) { |
| 3723 |
return $this->container->run( |
| 3724 |
'SpecialListusersHeader', |
| 3725 |
[ $pager, &$out ] |
| 3726 |
); |
| 3727 |
} |
| 3728 |
|
| 3729 |
public function onSpecialListusersHeaderForm( $pager, &$out ) { |
| 3730 |
return $this->container->run( |
| 3731 |
'SpecialListusersHeaderForm', |
| 3732 |
[ $pager, &$out ] |
| 3733 |
); |
| 3734 |
} |
| 3735 |
|
| 3736 |
public function onSpecialListusersQueryInfo( $pager, &$query ) { |
| 3737 |
return $this->container->run( |
| 3738 |
'SpecialListusersQueryInfo', |
| 3739 |
[ $pager, &$query ] |
| 3740 |
); |
| 3741 |
} |
| 3742 |
|
| 3743 |
public function onSpecialLogAddLogSearchRelations( $type, $request, &$qc ) { |
| 3744 |
return $this->container->run( |
| 3745 |
'SpecialLogAddLogSearchRelations', |
| 3746 |
[ $type, $request, &$qc ] |
| 3747 |
); |
| 3748 |
} |
| 3749 |
|
| 3750 |
public function onSpecialMovepageAfterMove( $movePage, $oldTitle, $newTitle ) { |
| 3751 |
return $this->container->run( |
| 3752 |
'SpecialMovepageAfterMove', |
| 3753 |
[ $movePage, $oldTitle, $newTitle ] |
| 3754 |
); |
| 3755 |
} |
| 3756 |
|
| 3757 |
public function onSpecialMuteModifyFormFields( $target, $user, &$fields ) { |
| 3758 |
return $this->container->run( |
| 3759 |
'SpecialMuteModifyFormFields', |
| 3760 |
[ $target, $user, &$fields ] |
| 3761 |
); |
| 3762 |
} |
| 3763 |
|
| 3764 |
public function onSpecialNewpagesConditions( $special, $opts, &$conds, |
| 3765 |
&$tables, &$fields, &$join_conds |
| 3766 |
) { |
| 3767 |
return $this->container->run( |
| 3768 |
'SpecialNewpagesConditions', |
| 3769 |
[ $special, $opts, &$conds, &$tables, &$fields, &$join_conds ] |
| 3770 |
); |
| 3771 |
} |
| 3772 |
|
| 3773 |
public function onSpecialNewPagesFilters( $special, &$filters ) { |
| 3774 |
return $this->container->run( |
| 3775 |
'SpecialNewPagesFilters', |
| 3776 |
[ $special, &$filters ] |
| 3777 |
); |
| 3778 |
} |
| 3779 |
|
| 3780 |
public function onSpecialPageAfterExecute( $special, $subPage ) { |
| 3781 |
return $this->container->run( |
| 3782 |
'SpecialPageAfterExecute', |
| 3783 |
[ $special, $subPage ] |
| 3784 |
); |
| 3785 |
} |
| 3786 |
|
| 3787 |
public function onSpecialPageBeforeExecute( $special, $subPage ) { |
| 3788 |
return $this->container->run( |
| 3789 |
'SpecialPageBeforeExecute', |
| 3790 |
[ $special, $subPage ] |
| 3791 |
); |
| 3792 |
} |
| 3793 |
|
| 3794 |
public function onSpecialPageBeforeFormDisplay( $name, $form ) { |
| 3795 |
return $this->container->run( |
| 3796 |
'SpecialPageBeforeFormDisplay', |
| 3797 |
[ $name, $form ] |
| 3798 |
); |
| 3799 |
} |
| 3800 |
|
| 3801 |
public function onSpecialPage_initList( &$list ) { |
| 3802 |
return $this->container->run( |
| 3803 |
'SpecialPage_initList', |
| 3804 |
[ &$list ] |
| 3805 |
); |
| 3806 |
} |
| 3807 |
|
| 3808 |
public function onSpecialPasswordResetOnSubmit( &$users, $data, &$error ) { |
| 3809 |
return $this->container->run( |
| 3810 |
'SpecialPasswordResetOnSubmit', |
| 3811 |
[ &$users, $data, &$error ] |
| 3812 |
); |
| 3813 |
} |
| 3814 |
|
| 3815 |
public function onSpecialPrefixIndexGetFormFilters( IContextSource $contextSource, array &$filters ) { |
| 3816 |
$this->container->run( |
| 3817 |
'SpecialPrefixIndexGetFormFilters', |
| 3818 |
[ $contextSource, &$filters ], |
| 3819 |
[ 'abortable' => false ] |
| 3820 |
); |
| 3821 |
} |
| 3822 |
|
| 3823 |
public function onSpecialPrefixIndexQuery( array $fieldData, SelectQueryBuilder $queryBuilder ) { |
| 3824 |
$this->container->run( |
| 3825 |
'SpecialPrefixIndexQuery', |
| 3826 |
[ $fieldData, $queryBuilder ], |
| 3827 |
[ 'abortable' => false ] |
| 3828 |
); |
| 3829 |
} |
| 3830 |
|
| 3831 |
public function onSpecialRandomGetRandomTitle( &$randstr, &$isRedir, |
| 3832 |
&$namespaces, &$extra, &$title |
| 3833 |
) { |
| 3834 |
return $this->container->run( |
| 3835 |
'SpecialRandomGetRandomTitle', |
| 3836 |
[ &$randstr, &$isRedir, &$namespaces, &$extra, &$title ] |
| 3837 |
); |
| 3838 |
} |
| 3839 |
|
| 3840 |
public function onSpecialRecentChangesPanel( &$extraOpts, $opts ) { |
| 3841 |
return $this->container->run( |
| 3842 |
'SpecialRecentChangesPanel', |
| 3843 |
[ &$extraOpts, $opts ] |
| 3844 |
); |
| 3845 |
} |
| 3846 |
|
| 3847 |
public function onSpecialResetTokensTokens( &$tokens ) { |
| 3848 |
return $this->container->run( |
| 3849 |
'SpecialResetTokensTokens', |
| 3850 |
[ &$tokens ] |
| 3851 |
); |
| 3852 |
} |
| 3853 |
|
| 3854 |
public function onSpecialSearchCreateLink( $t, &$params ) { |
| 3855 |
return $this->container->run( |
| 3856 |
'SpecialSearchCreateLink', |
| 3857 |
[ $t, &$params ] |
| 3858 |
); |
| 3859 |
} |
| 3860 |
|
| 3861 |
public function onSpecialSearchGoResult( $term, $title, &$url ) { |
| 3862 |
return $this->container->run( |
| 3863 |
'SpecialSearchGoResult', |
| 3864 |
[ $term, $title, &$url ] |
| 3865 |
); |
| 3866 |
} |
| 3867 |
|
| 3868 |
public function onSpecialSearchNogomatch( &$title ) { |
| 3869 |
return $this->container->run( |
| 3870 |
'SpecialSearchNogomatch', |
| 3871 |
[ &$title ] |
| 3872 |
); |
| 3873 |
} |
| 3874 |
|
| 3875 |
public function onSpecialSearchPowerBox( &$showSections, $term, &$opts ) { |
| 3876 |
return $this->container->run( |
| 3877 |
'SpecialSearchPowerBox', |
| 3878 |
[ &$showSections, $term, &$opts ] |
| 3879 |
); |
| 3880 |
} |
| 3881 |
|
| 3882 |
public function onSpecialSearchProfileForm( $search, &$form, $profile, $term, |
| 3883 |
$opts |
| 3884 |
) { |
| 3885 |
return $this->container->run( |
| 3886 |
'SpecialSearchProfileForm', |
| 3887 |
[ $search, &$form, $profile, $term, $opts ] |
| 3888 |
); |
| 3889 |
} |
| 3890 |
|
| 3891 |
public function onSpecialSearchProfiles( &$profiles ) { |
| 3892 |
return $this->container->run( |
| 3893 |
'SpecialSearchProfiles', |
| 3894 |
[ &$profiles ] |
| 3895 |
); |
| 3896 |
} |
| 3897 |
|
| 3898 |
public function onSpecialSearchResults( $term, &$titleMatches, &$textMatches ) { |
| 3899 |
return $this->container->run( |
| 3900 |
'SpecialSearchResults', |
| 3901 |
[ $term, &$titleMatches, &$textMatches ] |
| 3902 |
); |
| 3903 |
} |
| 3904 |
|
| 3905 |
public function onSpecialSearchResultsAppend( $specialSearch, $output, $term ) { |
| 3906 |
return $this->container->run( |
| 3907 |
'SpecialSearchResultsAppend', |
| 3908 |
[ $specialSearch, $output, $term ] |
| 3909 |
); |
| 3910 |
} |
| 3911 |
|
| 3912 |
public function onSpecialSearchResultsPrepend( $specialSearch, $output, $term ) { |
| 3913 |
return $this->container->run( |
| 3914 |
'SpecialSearchResultsPrepend', |
| 3915 |
[ $specialSearch, $output, $term ] |
| 3916 |
); |
| 3917 |
} |
| 3918 |
|
| 3919 |
public function onSpecialSearchSetupEngine( $search, $profile, $engine ) { |
| 3920 |
return $this->container->run( |
| 3921 |
'SpecialSearchSetupEngine', |
| 3922 |
[ $search, $profile, $engine ] |
| 3923 |
); |
| 3924 |
} |
| 3925 |
|
| 3926 |
public function onSpecialStatsAddExtra( &$extraStats, $context ) { |
| 3927 |
return $this->container->run( |
| 3928 |
'SpecialStatsAddExtra', |
| 3929 |
[ &$extraStats, $context ] |
| 3930 |
); |
| 3931 |
} |
| 3932 |
|
| 3933 |
public function onSpecialTrackingCategories__generateCatLink( $specialPage, |
| 3934 |
$catTitle, &$html |
| 3935 |
) { |
| 3936 |
return $this->container->run( |
| 3937 |
'SpecialTrackingCategories::generateCatLink', |
| 3938 |
[ $specialPage, $catTitle, &$html ] |
| 3939 |
); |
| 3940 |
} |
| 3941 |
|
| 3942 |
public function onSpecialTrackingCategories__preprocess( $specialPage, |
| 3943 |
$trackingCategories |
| 3944 |
) { |
| 3945 |
return $this->container->run( |
| 3946 |
'SpecialTrackingCategories::preprocess', |
| 3947 |
[ $specialPage, $trackingCategories ] |
| 3948 |
); |
| 3949 |
} |
| 3950 |
|
| 3951 |
public function onSpecialUploadComplete( $form ) { |
| 3952 |
return $this->container->run( |
| 3953 |
'SpecialUploadComplete', |
| 3954 |
[ $form ] |
| 3955 |
); |
| 3956 |
} |
| 3957 |
|
| 3958 |
public function onSpecialVersionVersionUrl( $version, &$versionUrl ) { |
| 3959 |
return $this->container->run( |
| 3960 |
'SpecialVersionVersionUrl', |
| 3961 |
[ $version, &$versionUrl ] |
| 3962 |
); |
| 3963 |
} |
| 3964 |
|
| 3965 |
public function onSpecialWatchlistGetNonRevisionTypes( &$nonRevisionTypes ) { |
| 3966 |
return $this->container->run( |
| 3967 |
'SpecialWatchlistGetNonRevisionTypes', |
| 3968 |
[ &$nonRevisionTypes ] |
| 3969 |
); |
| 3970 |
} |
| 3971 |
|
| 3972 |
public function onSpreadAnyEditBlock( $user, bool &$blockWasSpread ) { |
| 3973 |
return $this->container->run( |
| 3974 |
'SpreadAnyEditBlock', |
| 3975 |
[ $user, &$blockWasSpread ] |
| 3976 |
); |
| 3977 |
} |
| 3978 |
|
| 3979 |
public function onSpecialWhatLinksHereQuery( $table, $data, $queryBuilder ): void { |
| 3980 |
$this->container->run( |
| 3981 |
'SpecialWhatLinksHereQuery', |
| 3982 |
[ $table, $data, $queryBuilder ], |
| 3983 |
[ 'abortable' => false ] |
| 3984 |
); |
| 3985 |
} |
| 3986 |
|
| 3987 |
public function onTempUserCreatedRedirect( |
| 3988 |
Session $session, |
| 3989 |
UserIdentity $user, |
| 3990 |
string $returnTo, |
| 3991 |
string $returnToQuery, |
| 3992 |
string $returnToAnchor, |
| 3993 |
&$redirectUrl |
| 3994 |
) { |
| 3995 |
return $this->container->run( |
| 3996 |
'TempUserCreatedRedirect', |
| 3997 |
[ $session, $user, $returnTo, $returnToQuery, $returnToAnchor, &$redirectUrl ] |
| 3998 |
); |
| 3999 |
} |
| 4000 |
|
| 4001 |
public function onTestCanonicalRedirect( $request, $title, $output ) { |
| 4002 |
return $this->container->run( |
| 4003 |
'TestCanonicalRedirect', |
| 4004 |
[ $request, $title, $output ] |
| 4005 |
); |
| 4006 |
} |
| 4007 |
|
| 4008 |
public function onThumbnailBeforeProduceHTML( $thumbnail, &$attribs, |
| 4009 |
&$linkAttribs |
| 4010 |
) { |
| 4011 |
return $this->container->run( |
| 4012 |
'ThumbnailBeforeProduceHTML', |
| 4013 |
[ $thumbnail, &$attribs, &$linkAttribs ] |
| 4014 |
); |
| 4015 |
} |
| 4016 |
|
| 4017 |
public function onTitleExists( $title, &$exists ) { |
| 4018 |
return $this->container->run( |
| 4019 |
'TitleExists', |
| 4020 |
[ $title, &$exists ] |
| 4021 |
); |
| 4022 |
} |
| 4023 |
|
| 4024 |
public function onTitleGetEditNotices( $title, $oldid, &$notices ) { |
| 4025 |
return $this->container->run( |
| 4026 |
'TitleGetEditNotices', |
| 4027 |
[ $title, $oldid, &$notices ] |
| 4028 |
); |
| 4029 |
} |
| 4030 |
|
| 4031 |
public function onTitleGetRestrictionTypes( $title, &$types ) { |
| 4032 |
return $this->container->run( |
| 4033 |
'TitleGetRestrictionTypes', |
| 4034 |
[ $title, &$types ] |
| 4035 |
); |
| 4036 |
} |
| 4037 |
|
| 4038 |
public function onTitleIsAlwaysKnown( $title, &$isKnown ) { |
| 4039 |
return $this->container->run( |
| 4040 |
'TitleIsAlwaysKnown', |
| 4041 |
[ $title, &$isKnown ] |
| 4042 |
); |
| 4043 |
} |
| 4044 |
|
| 4045 |
public function onTitleIsMovable( $title, &$result ) { |
| 4046 |
return $this->container->run( |
| 4047 |
'TitleIsMovable', |
| 4048 |
[ $title, &$result ] |
| 4049 |
); |
| 4050 |
} |
| 4051 |
|
| 4052 |
public function onTitleMove( $old, $nt, $user, $reason, &$status ) { |
| 4053 |
return $this->container->run( |
| 4054 |
'TitleMove', |
| 4055 |
[ $old, $nt, $user, $reason, &$status ] |
| 4056 |
); |
| 4057 |
} |
| 4058 |
|
| 4059 |
public function onTitleMoveStarting( $old, $nt, $user ) { |
| 4060 |
return $this->container->run( |
| 4061 |
'TitleMoveStarting', |
| 4062 |
[ $old, $nt, $user ] |
| 4063 |
); |
| 4064 |
} |
| 4065 |
|
| 4066 |
public function onTitleQuickPermissions( $title, $user, $action, &$errors, |
| 4067 |
$doExpensiveQueries, $short |
| 4068 |
) { |
| 4069 |
return $this->container->run( |
| 4070 |
'TitleQuickPermissions', |
| 4071 |
[ $title, $user, $action, &$errors, $doExpensiveQueries, $short ] |
| 4072 |
); |
| 4073 |
} |
| 4074 |
|
| 4075 |
public function onTitleReadWhitelist( $title, $user, &$whitelisted ) { |
| 4076 |
return $this->container->run( |
| 4077 |
'TitleReadWhitelist', |
| 4078 |
[ $title, $user, &$whitelisted ] |
| 4079 |
); |
| 4080 |
} |
| 4081 |
|
| 4082 |
public function onTitleSquidURLs( $title, &$urls ) { |
| 4083 |
return $this->container->run( |
| 4084 |
'TitleSquidURLs', |
| 4085 |
[ $title, &$urls ] |
| 4086 |
); |
| 4087 |
} |
| 4088 |
|
| 4089 |
public function onUnblockUser( $block, $user, &$reason ) { |
| 4090 |
return $this->container->run( |
| 4091 |
'UnblockUser', |
| 4092 |
[ $block, $user, &$reason ] |
| 4093 |
); |
| 4094 |
} |
| 4095 |
|
| 4096 |
public function onUnblockUserComplete( $block, $user ) { |
| 4097 |
return $this->container->run( |
| 4098 |
'UnblockUserComplete', |
| 4099 |
[ $block, $user ] |
| 4100 |
); |
| 4101 |
} |
| 4102 |
|
| 4103 |
public function onUndeleteForm__showHistory( &$archive, $title ) { |
| 4104 |
return $this->container->run( |
| 4105 |
'UndeleteForm::showHistory', |
| 4106 |
[ &$archive, $title ] |
| 4107 |
); |
| 4108 |
} |
| 4109 |
|
| 4110 |
public function onUndeleteForm__showRevision( &$archive, $title ) { |
| 4111 |
return $this->container->run( |
| 4112 |
'UndeleteForm::showRevision', |
| 4113 |
[ &$archive, $title ] |
| 4114 |
); |
| 4115 |
} |
| 4116 |
|
| 4117 |
public function onUndeletePageToolLinks( IContextSource $context, LinkRenderer $linkRenderer, array &$links ) { |
| 4118 |
return $this->container->run( |
| 4119 |
'UndeletePageToolLinks', |
| 4120 |
[ $context, $linkRenderer, &$links ] |
| 4121 |
); |
| 4122 |
} |
| 4123 |
|
| 4124 |
public function onUnitTestsAfterDatabaseSetup( $database, $prefix ) { |
| 4125 |
return $this->container->run( |
| 4126 |
'UnitTestsAfterDatabaseSetup', |
| 4127 |
[ $database, $prefix ] |
| 4128 |
); |
| 4129 |
} |
| 4130 |
|
| 4131 |
public function onUnitTestsBeforeDatabaseTeardown() { |
| 4132 |
return $this->container->run( |
| 4133 |
'UnitTestsBeforeDatabaseTeardown', |
| 4134 |
[] |
| 4135 |
); |
| 4136 |
} |
| 4137 |
|
| 4138 |
public function onUnitTestsList( &$paths ) { |
| 4139 |
return $this->container->run( |
| 4140 |
'UnitTestsList', |
| 4141 |
[ &$paths ] |
| 4142 |
); |
| 4143 |
} |
| 4144 |
|
| 4145 |
public function onUnwatchArticle( $user, $page, &$status ) { |
| 4146 |
return $this->container->run( |
| 4147 |
'UnwatchArticle', |
| 4148 |
[ $user, $page, &$status ] |
| 4149 |
); |
| 4150 |
} |
| 4151 |
|
| 4152 |
public function onUnwatchArticleComplete( $user, $page ) { |
| 4153 |
return $this->container->run( |
| 4154 |
'UnwatchArticleComplete', |
| 4155 |
[ $user, $page ] |
| 4156 |
); |
| 4157 |
} |
| 4158 |
|
| 4159 |
public function onUpdateUserMailerFormattedPageStatus( &$formattedPageStatus ) { |
| 4160 |
return $this->container->run( |
| 4161 |
'UpdateUserMailerFormattedPageStatus', |
| 4162 |
[ &$formattedPageStatus ] |
| 4163 |
); |
| 4164 |
} |
| 4165 |
|
| 4166 |
public function onUploadComplete( $uploadBase ) { |
| 4167 |
return $this->container->run( |
| 4168 |
'UploadComplete', |
| 4169 |
[ $uploadBase ] |
| 4170 |
); |
| 4171 |
} |
| 4172 |
|
| 4173 |
public function onUploadCreateFromRequest( $type, &$className ) { |
| 4174 |
return $this->container->run( |
| 4175 |
'UploadCreateFromRequest', |
| 4176 |
[ $type, &$className ] |
| 4177 |
); |
| 4178 |
} |
| 4179 |
|
| 4180 |
public function onUploadFormInitDescriptor( &$descriptor ) { |
| 4181 |
return $this->container->run( |
| 4182 |
'UploadFormInitDescriptor', |
| 4183 |
[ &$descriptor ] |
| 4184 |
); |
| 4185 |
} |
| 4186 |
|
| 4187 |
public function onUploadFormSourceDescriptors( &$descriptor, &$radio, |
| 4188 |
$selectedSourceType |
| 4189 |
) { |
| 4190 |
return $this->container->run( |
| 4191 |
'UploadFormSourceDescriptors', |
| 4192 |
[ &$descriptor, &$radio, $selectedSourceType ] |
| 4193 |
); |
| 4194 |
} |
| 4195 |
|
| 4196 |
public function onUploadForm_BeforeProcessing( $upload ) { |
| 4197 |
return $this->container->run( |
| 4198 |
'UploadForm:BeforeProcessing', |
| 4199 |
[ $upload ] |
| 4200 |
); |
| 4201 |
} |
| 4202 |
|
| 4203 |
public function onUploadForm_getInitialPageText( &$pageText, $msg, $config ) { |
| 4204 |
return $this->container->run( |
| 4205 |
'UploadForm:getInitialPageText', |
| 4206 |
[ &$pageText, $msg, $config ] |
| 4207 |
); |
| 4208 |
} |
| 4209 |
|
| 4210 |
public function onUploadForm_initial( $upload ) { |
| 4211 |
return $this->container->run( |
| 4212 |
'UploadForm:initial', |
| 4213 |
[ $upload ] |
| 4214 |
); |
| 4215 |
} |
| 4216 |
|
| 4217 |
public function onUploadStashFile( $upload, $user, $props, &$error ) { |
| 4218 |
return $this->container->run( |
| 4219 |
'UploadStashFile', |
| 4220 |
[ $upload, $user, $props, &$error ] |
| 4221 |
); |
| 4222 |
} |
| 4223 |
|
| 4224 |
public function onUploadVerifyFile( $upload, $mime, &$error ) { |
| 4225 |
return $this->container->run( |
| 4226 |
'UploadVerifyFile', |
| 4227 |
[ $upload, $mime, &$error ] |
| 4228 |
); |
| 4229 |
} |
| 4230 |
|
| 4231 |
public function onUploadVerifyUpload( $upload, $user, $props, $comment, |
| 4232 |
$pageText, &$error |
| 4233 |
) { |
| 4234 |
return $this->container->run( |
| 4235 |
'UploadVerifyUpload', |
| 4236 |
[ $upload, $user, $props, $comment, $pageText, &$error ] |
| 4237 |
); |
| 4238 |
} |
| 4239 |
|
| 4240 |
public function onUserAddGroup( $user, &$group, &$expiry ) { |
| 4241 |
return $this->container->run( |
| 4242 |
'UserAddGroup', |
| 4243 |
[ $user, &$group, &$expiry ] |
| 4244 |
); |
| 4245 |
} |
| 4246 |
|
| 4247 |
public function onUserArrayFromResult( &$userArray, $res ) { |
| 4248 |
return $this->container->run( |
| 4249 |
'UserArrayFromResult', |
| 4250 |
[ &$userArray, $res ] |
| 4251 |
); |
| 4252 |
} |
| 4253 |
|
| 4254 |
public function onUserCan( $title, $user, $action, &$result ) { |
| 4255 |
return $this->container->run( |
| 4256 |
'userCan', |
| 4257 |
[ $title, $user, $action, &$result ] |
| 4258 |
); |
| 4259 |
} |
| 4260 |
|
| 4261 |
public function onUserCanSendEmail( $user, &$hookErr ) { |
| 4262 |
return $this->container->run( |
| 4263 |
'UserCanSendEmail', |
| 4264 |
[ $user, &$hookErr ] |
| 4265 |
); |
| 4266 |
} |
| 4267 |
|
| 4268 |
public function onUserClearNewTalkNotification( $userIdentity, $oldid ) { |
| 4269 |
return $this->container->run( |
| 4270 |
'UserClearNewTalkNotification', |
| 4271 |
[ $userIdentity, $oldid ] |
| 4272 |
); |
| 4273 |
} |
| 4274 |
|
| 4275 |
public function onUserEditCountUpdate( $infos ): void { |
| 4276 |
$this->container->run( |
| 4277 |
'UserEditCountUpdate', |
| 4278 |
[ $infos ], |
| 4279 |
[ 'abortable' => false ] |
| 4280 |
); |
| 4281 |
} |
| 4282 |
|
| 4283 |
public function onUserEffectiveGroups( $user, &$groups ) { |
| 4284 |
return $this->container->run( |
| 4285 |
'UserEffectiveGroups', |
| 4286 |
[ $user, &$groups ] |
| 4287 |
); |
| 4288 |
} |
| 4289 |
|
| 4290 |
public function onUserGetAllRights( &$rights ) { |
| 4291 |
return $this->container->run( |
| 4292 |
'UserGetAllRights', |
| 4293 |
[ &$rights ] |
| 4294 |
); |
| 4295 |
} |
| 4296 |
|
| 4297 |
public function onUserGetDefaultOptions( &$defaultOptions ) { |
| 4298 |
return $this->container->run( |
| 4299 |
'UserGetDefaultOptions', |
| 4300 |
[ &$defaultOptions ] |
| 4301 |
); |
| 4302 |
} |
| 4303 |
|
| 4304 |
public function onConditionalDefaultOptionsAddCondition( &$extraConditions ): void { |
| 4305 |
$this->container->run( |
| 4306 |
'ConditionalDefaultOptionsAddCondition', |
| 4307 |
[ &$extraConditions ], |
| 4308 |
[ 'abortable' => false ] |
| 4309 |
); |
| 4310 |
} |
| 4311 |
|
| 4312 |
public function onUserGetEmail( $user, &$email ) { |
| 4313 |
return $this->container->run( |
| 4314 |
'UserGetEmail', |
| 4315 |
[ $user, &$email ] |
| 4316 |
); |
| 4317 |
} |
| 4318 |
|
| 4319 |
public function onUserGetEmailAuthenticationTimestamp( $user, &$timestamp ) { |
| 4320 |
return $this->container->run( |
| 4321 |
'UserGetEmailAuthenticationTimestamp', |
| 4322 |
[ $user, &$timestamp ] |
| 4323 |
); |
| 4324 |
} |
| 4325 |
|
| 4326 |
public function onUserGetLanguageObject( $user, &$code, $context ) { |
| 4327 |
return $this->container->run( |
| 4328 |
'UserGetLanguageObject', |
| 4329 |
[ $user, &$code, $context ] |
| 4330 |
); |
| 4331 |
} |
| 4332 |
|
| 4333 |
public function onUserPrivilegedGroups( $userIdentity, &$groups ) { |
| 4334 |
return $this->container->run( |
| 4335 |
'UserPrivilegedGroups', |
| 4336 |
[ $userIdentity, &$groups ] |
| 4337 |
); |
| 4338 |
} |
| 4339 |
|
| 4340 |
public function onUserGetReservedNames( &$reservedUsernames ) { |
| 4341 |
return $this->container->run( |
| 4342 |
'UserGetReservedNames', |
| 4343 |
[ &$reservedUsernames ] |
| 4344 |
); |
| 4345 |
} |
| 4346 |
|
| 4347 |
public function onUserGetRights( $user, &$rights ) { |
| 4348 |
return $this->container->run( |
| 4349 |
'UserGetRights', |
| 4350 |
[ $user, &$rights ] |
| 4351 |
); |
| 4352 |
} |
| 4353 |
|
| 4354 |
public function onUserGetRightsRemove( $user, &$rights ) { |
| 4355 |
return $this->container->run( |
| 4356 |
'UserGetRightsRemove', |
| 4357 |
[ $user, &$rights ] |
| 4358 |
); |
| 4359 |
} |
| 4360 |
|
| 4361 |
public function onUserGroupsChanged( $user, $added, $removed, $performer, |
| 4362 |
$reason, $oldUGMs, $newUGMs |
| 4363 |
) { |
| 4364 |
return $this->container->run( |
| 4365 |
'UserGroupsChanged', |
| 4366 |
[ $user, $added, $removed, $performer, $reason, $oldUGMs, |
| 4367 |
$newUGMs ] |
| 4368 |
); |
| 4369 |
} |
| 4370 |
|
| 4371 |
public function onUserIsBlockedFrom( $user, $title, &$blocked, &$allowUsertalk ) { |
| 4372 |
return $this->container->run( |
| 4373 |
'UserIsBlockedFrom', |
| 4374 |
[ $user, $title, &$blocked, &$allowUsertalk ] |
| 4375 |
); |
| 4376 |
} |
| 4377 |
|
| 4378 |
public function onUserIsBlockedGlobally( $user, $ip, &$blocked, &$block ) { |
| 4379 |
return $this->container->run( |
| 4380 |
'UserIsBlockedGlobally', |
| 4381 |
[ $user, $ip, &$blocked, &$block ] |
| 4382 |
); |
| 4383 |
} |
| 4384 |
|
| 4385 |
public function onUserIsBot( $user, &$isBot ) { |
| 4386 |
return $this->container->run( |
| 4387 |
'UserIsBot', |
| 4388 |
[ $user, &$isBot ] |
| 4389 |
); |
| 4390 |
} |
| 4391 |
|
| 4392 |
public function onUserIsEveryoneAllowed( $right ) { |
| 4393 |
return $this->container->run( |
| 4394 |
'UserIsEveryoneAllowed', |
| 4395 |
[ $right ] |
| 4396 |
); |
| 4397 |
} |
| 4398 |
|
| 4399 |
public function onUserIsLocked( $user, &$locked ) { |
| 4400 |
return $this->container->run( |
| 4401 |
'UserIsLocked', |
| 4402 |
[ $user, &$locked ] |
| 4403 |
); |
| 4404 |
} |
| 4405 |
|
| 4406 |
public function onUserLoadAfterLoadFromSession( $user ) { |
| 4407 |
return $this->container->run( |
| 4408 |
'UserLoadAfterLoadFromSession', |
| 4409 |
[ $user ] |
| 4410 |
); |
| 4411 |
} |
| 4412 |
|
| 4413 |
public function onUserLoadDefaults( $user, $name ) { |
| 4414 |
return $this->container->run( |
| 4415 |
'UserLoadDefaults', |
| 4416 |
[ $user, $name ] |
| 4417 |
); |
| 4418 |
} |
| 4419 |
|
| 4420 |
public function onLoadUserOptions( UserIdentity $user, array &$options ): void { |
| 4421 |
$this->container->run( |
| 4422 |
'LoadUserOptions', |
| 4423 |
[ $user, &$options ], |
| 4424 |
[ 'abortable' => false ] |
| 4425 |
); |
| 4426 |
} |
| 4427 |
|
| 4428 |
public function onUserLoggedIn( $user ) { |
| 4429 |
return $this->container->run( |
| 4430 |
'UserLoggedIn', |
| 4431 |
[ $user ] |
| 4432 |
); |
| 4433 |
} |
| 4434 |
|
| 4435 |
public function onUserLoginComplete( $user, &$inject_html, $direct ) { |
| 4436 |
return $this->container->run( |
| 4437 |
'UserLoginComplete', |
| 4438 |
[ $user, &$inject_html, $direct ] |
| 4439 |
); |
| 4440 |
} |
| 4441 |
|
| 4442 |
public function onUserLogout( $user ) { |
| 4443 |
return $this->container->run( |
| 4444 |
'UserLogout', |
| 4445 |
[ $user ] |
| 4446 |
); |
| 4447 |
} |
| 4448 |
|
| 4449 |
public function onUserLogoutComplete( $user, &$inject_html, $oldName ) { |
| 4450 |
return $this->container->run( |
| 4451 |
'UserLogoutComplete', |
| 4452 |
[ $user, &$inject_html, $oldName ] |
| 4453 |
); |
| 4454 |
} |
| 4455 |
|
| 4456 |
public function onUserMailerChangeReturnPath( $to, &$returnPath ) { |
| 4457 |
return $this->container->run( |
| 4458 |
'UserMailerChangeReturnPath', |
| 4459 |
[ $to, &$returnPath ] |
| 4460 |
); |
| 4461 |
} |
| 4462 |
|
| 4463 |
public function onUserMailerSplitTo( &$to ) { |
| 4464 |
return $this->container->run( |
| 4465 |
'UserMailerSplitTo', |
| 4466 |
[ &$to ] |
| 4467 |
); |
| 4468 |
} |
| 4469 |
|
| 4470 |
public function onUserMailerTransformContent( $to, $from, &$body, &$error ) { |
| 4471 |
return $this->container->run( |
| 4472 |
'UserMailerTransformContent', |
| 4473 |
[ $to, $from, &$body, &$error ] |
| 4474 |
); |
| 4475 |
} |
| 4476 |
|
| 4477 |
public function onUserMailerTransformMessage( $to, $from, &$subject, &$headers, |
| 4478 |
&$body, &$error |
| 4479 |
) { |
| 4480 |
return $this->container->run( |
| 4481 |
'UserMailerTransformMessage', |
| 4482 |
[ $to, $from, &$subject, &$headers, &$body, &$error ] |
| 4483 |
); |
| 4484 |
} |
| 4485 |
|
| 4486 |
public function onUserRemoveGroup( $user, &$group ) { |
| 4487 |
return $this->container->run( |
| 4488 |
'UserRemoveGroup', |
| 4489 |
[ $user, &$group ] |
| 4490 |
); |
| 4491 |
} |
| 4492 |
|
| 4493 |
public function onSaveUserOptions( UserIdentity $user, array &$modifiedOptions, array $originalOptions ) { |
| 4494 |
return $this->container->run( |
| 4495 |
'SaveUserOptions', |
| 4496 |
[ $user, &$modifiedOptions, $originalOptions ] |
| 4497 |
); |
| 4498 |
} |
| 4499 |
|
| 4500 |
public function onUserSaveSettings( $user ) { |
| 4501 |
return $this->container->run( |
| 4502 |
'UserSaveSettings', |
| 4503 |
[ $user ] |
| 4504 |
); |
| 4505 |
} |
| 4506 |
|
| 4507 |
public function onUserSendConfirmationMail( $user, &$mail, $info ) { |
| 4508 |
return $this->container->run( |
| 4509 |
'UserSendConfirmationMail', |
| 4510 |
[ $user, &$mail, $info ] |
| 4511 |
); |
| 4512 |
} |
| 4513 |
|
| 4514 |
public function onUserSetEmail( $user, &$email ) { |
| 4515 |
return $this->container->run( |
| 4516 |
'UserSetEmail', |
| 4517 |
[ $user, &$email ] |
| 4518 |
); |
| 4519 |
} |
| 4520 |
|
| 4521 |
public function onUserSetEmailAuthenticationTimestamp( $user, &$timestamp ) { |
| 4522 |
return $this->container->run( |
| 4523 |
'UserSetEmailAuthenticationTimestamp', |
| 4524 |
[ $user, &$timestamp ] |
| 4525 |
); |
| 4526 |
} |
| 4527 |
|
| 4528 |
public function onUsersPagerDoBatchLookups( $dbr, $userIds, &$cache, &$groups ) { |
| 4529 |
return $this->container->run( |
| 4530 |
'UsersPagerDoBatchLookups', |
| 4531 |
[ $dbr, $userIds, &$cache, &$groups ] |
| 4532 |
); |
| 4533 |
} |
| 4534 |
|
| 4535 |
public function onUserToolLinksEdit( $userId, $userText, &$items ) { |
| 4536 |
return $this->container->run( |
| 4537 |
'UserToolLinksEdit', |
| 4538 |
[ $userId, $userText, &$items ] |
| 4539 |
); |
| 4540 |
} |
| 4541 |
|
| 4542 |
public function onUser__mailPasswordInternal( $user, $ip, $u ) { |
| 4543 |
return $this->container->run( |
| 4544 |
'User::mailPasswordInternal', |
| 4545 |
[ $user, $ip, $u ] |
| 4546 |
); |
| 4547 |
} |
| 4548 |
|
| 4549 |
public function onValidateExtendedMetadataCache( $timestamp, $file ) { |
| 4550 |
return $this->container->run( |
| 4551 |
'ValidateExtendedMetadataCache', |
| 4552 |
[ $timestamp, $file ] |
| 4553 |
); |
| 4554 |
} |
| 4555 |
|
| 4556 |
public function onWantedPages__getQueryInfo( $wantedPages, &$query ) { |
| 4557 |
return $this->container->run( |
| 4558 |
'WantedPages::getQueryInfo', |
| 4559 |
[ $wantedPages, &$query ] |
| 4560 |
); |
| 4561 |
} |
| 4562 |
|
| 4563 |
public function onWatchArticle( $user, $page, &$status, $expiry ) { |
| 4564 |
return $this->container->run( |
| 4565 |
'WatchArticle', |
| 4566 |
[ $user, $page, &$status, $expiry ] |
| 4567 |
); |
| 4568 |
} |
| 4569 |
|
| 4570 |
public function onWatchArticleComplete( $user, $page ) { |
| 4571 |
return $this->container->run( |
| 4572 |
'WatchArticleComplete', |
| 4573 |
[ $user, $page ] |
| 4574 |
); |
| 4575 |
} |
| 4576 |
|
| 4577 |
public function onWatchedItemQueryServiceExtensions( &$extensions, |
| 4578 |
$watchedItemQueryService |
| 4579 |
) { |
| 4580 |
return $this->container->run( |
| 4581 |
'WatchedItemQueryServiceExtensions', |
| 4582 |
[ &$extensions, $watchedItemQueryService ] |
| 4583 |
); |
| 4584 |
} |
| 4585 |
|
| 4586 |
public function onWatchlistEditorBeforeFormRender( &$watchlistInfo ) { |
| 4587 |
return $this->container->run( |
| 4588 |
'WatchlistEditorBeforeFormRender', |
| 4589 |
[ &$watchlistInfo ] |
| 4590 |
); |
| 4591 |
} |
| 4592 |
|
| 4593 |
public function onWatchlistEditorBuildRemoveLine( &$tools, $title, $redirect, |
| 4594 |
$skin, &$link |
| 4595 |
) { |
| 4596 |
return $this->container->run( |
| 4597 |
'WatchlistEditorBuildRemoveLine', |
| 4598 |
[ &$tools, $title, $redirect, $skin, &$link ] |
| 4599 |
); |
| 4600 |
} |
| 4601 |
|
| 4602 |
public function onWebRequestPathInfoRouter( $router ) { |
| 4603 |
return $this->container->run( |
| 4604 |
'WebRequestPathInfoRouter', |
| 4605 |
[ $router ] |
| 4606 |
); |
| 4607 |
} |
| 4608 |
|
| 4609 |
public function onWebResponseSetCookie( &$name, &$value, &$expire, &$options ) { |
| 4610 |
return $this->container->run( |
| 4611 |
'WebResponseSetCookie', |
| 4612 |
[ &$name, &$value, &$expire, &$options ] |
| 4613 |
); |
| 4614 |
} |
| 4615 |
|
| 4616 |
public function onWfShellWikiCmd( &$script, &$parameters, &$options ) { |
| 4617 |
return $this->container->run( |
| 4618 |
'wfShellWikiCmd', |
| 4619 |
[ &$script, &$parameters, &$options ] |
| 4620 |
); |
| 4621 |
} |
| 4622 |
|
| 4623 |
public function onWgQueryPages( &$qp ) { |
| 4624 |
return $this->container->run( |
| 4625 |
'wgQueryPages', |
| 4626 |
[ &$qp ] |
| 4627 |
); |
| 4628 |
} |
| 4629 |
|
| 4630 |
public function onWhatLinksHereProps( $row, $title, $target, &$props ) { |
| 4631 |
return $this->container->run( |
| 4632 |
'WhatLinksHereProps', |
| 4633 |
[ $row, $title, $target, &$props ] |
| 4634 |
); |
| 4635 |
} |
| 4636 |
|
| 4637 |
public function onWikiExporter__dumpStableQuery( &$tables, &$opts, &$join ) { |
| 4638 |
return $this->container->run( |
| 4639 |
'WikiExporter::dumpStableQuery', |
| 4640 |
[ &$tables, &$opts, &$join ] |
| 4641 |
); |
| 4642 |
} |
| 4643 |
|
| 4644 |
public function onWikiPageDeletionUpdates( $page, $content, &$updates ) { |
| 4645 |
return $this->container->run( |
| 4646 |
'WikiPageDeletionUpdates', |
| 4647 |
[ $page, $content, &$updates ] |
| 4648 |
); |
| 4649 |
} |
| 4650 |
|
| 4651 |
public function onWikiPageFactory( $title, &$page ) { |
| 4652 |
return $this->container->run( |
| 4653 |
'WikiPageFactory', |
| 4654 |
[ $title, &$page ] |
| 4655 |
); |
| 4656 |
} |
| 4657 |
|
| 4658 |
public function onXmlDumpWriterOpenPage( $obj, &$out, $row, $title ) { |
| 4659 |
return $this->container->run( |
| 4660 |
'XmlDumpWriterOpenPage', |
| 4661 |
[ $obj, &$out, $row, $title ] |
| 4662 |
); |
| 4663 |
} |
| 4664 |
|
| 4665 |
public function onXmlDumpWriterWriteRevision( $obj, &$out, $row, $text, $rev ) { |
| 4666 |
return $this->container->run( |
| 4667 |
'XmlDumpWriterWriteRevision', |
| 4668 |
[ $obj, &$out, $row, $text, $rev ] |
| 4669 |
); |
| 4670 |
} |
| 4671 |
} |