MediaWiki  master
HookRunner.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use Article;
6 use Config;
7 use File;
16 use Parser;
17 use ParserOptions;
19 use Skin;
20 use SpecialPage;
21 use StatusValue;
22 use Title;
23 
37 class HookRunner implements
427  \MediaWiki\Page\Hook\ArticleConfirmDeleteHook,
428  \MediaWiki\Page\Hook\ArticleDeleteAfterSuccessHook,
429  \MediaWiki\Page\Hook\ArticleDeleteCompleteHook,
430  \MediaWiki\Page\Hook\ArticleDeleteHook,
431  \MediaWiki\Page\Hook\ArticleFromTitleHook,
432  \MediaWiki\Page\Hook\ArticlePageDataAfterHook,
433  \MediaWiki\Page\Hook\ArticlePageDataBeforeHook,
434  \MediaWiki\Page\Hook\ArticleParserOptionsHook,
435  \MediaWiki\Page\Hook\ArticleProtectCompleteHook,
436  \MediaWiki\Page\Hook\ArticleProtectHook,
437  \MediaWiki\Page\Hook\ArticlePurgeHook,
438  \MediaWiki\Page\Hook\ArticleRevisionViewCustomHook,
439  \MediaWiki\Page\Hook\ArticleShowPatrolFooterHook,
440  \MediaWiki\Page\Hook\ArticleUndeleteHook,
441  \MediaWiki\Page\Hook\ArticleViewFooterHook,
442  \MediaWiki\Page\Hook\ArticleViewHeaderHook,
443  \MediaWiki\Page\Hook\ArticleViewRedirectHook,
444  \MediaWiki\Page\Hook\Article__MissingArticleConditionsHook,
445  \MediaWiki\Page\Hook\BeforeDisplayNoArticleTextHook,
446  \MediaWiki\Page\Hook\CategoryAfterPageAddedHook,
447  \MediaWiki\Page\Hook\CategoryAfterPageRemovedHook,
448  \MediaWiki\Page\Hook\CategoryPageViewHook,
449  \MediaWiki\Page\Hook\DisplayOldSubtitleHook,
450  \MediaWiki\Page\Hook\ImageOpenShowImageInlineBeforeHook,
451  \MediaWiki\Page\Hook\ImagePageAfterImageLinksHook,
452  \MediaWiki\Page\Hook\ImagePageFileHistoryLineHook,
453  \MediaWiki\Page\Hook\ImagePageFindFileHook,
454  \MediaWiki\Page\Hook\ImagePageShowTOCHook,
455  \MediaWiki\Page\Hook\IsFileCacheableHook,
456  \MediaWiki\Page\Hook\OpportunisticLinksUpdateHook,
457  \MediaWiki\Page\Hook\PageDeleteCompleteHook,
458  \MediaWiki\Page\Hook\PageDeleteHook,
459  \MediaWiki\Page\Hook\PageDeletionDataUpdatesHook,
460  \MediaWiki\Page\Hook\PageUndeleteHook,
461  \MediaWiki\Page\Hook\PageViewUpdatesHook,
462  \MediaWiki\Page\Hook\RevisionFromEditCompleteHook,
463  \MediaWiki\Page\Hook\RevisionUndeletedHook,
464  \MediaWiki\Page\Hook\RollbackCompleteHook,
465  \MediaWiki\Page\Hook\ShowMissingArticleHook,
466  \MediaWiki\Page\Hook\WikiPageDeletionUpdatesHook,
480  \MediaWiki\ResourceLoader\Hook\ResourceLoaderGetConfigVarsHook,
481  \MediaWiki\ResourceLoader\Hook\ResourceLoaderJqueryMsgModuleMagicWordsHook,
557 {
559  private $container;
560 
561  public function __construct( HookContainer $container ) {
562  $this->container = $container;
563  }
564 
565  public function onAbortAutoblock( $autoblockip, $block ) {
566  return $this->container->run(
567  'AbortAutoblock',
568  [ $autoblockip, $block ]
569  );
570  }
571 
572  public function onAbortDiffCache( $diffEngine ) {
573  return $this->container->run(
574  'AbortDiffCache',
575  [ $diffEngine ]
576  );
577  }
578 
579  public function onAbortEmailNotification( $editor, $title, $rc ) {
580  return $this->container->run(
581  'AbortEmailNotification',
582  [ $editor, $title, $rc ]
583  );
584  }
585 
586  public function onAbortTalkPageEmailNotification( $targetUser, $title ) {
587  return $this->container->run(
588  'AbortTalkPageEmailNotification',
589  [ $targetUser, $title ]
590  );
591  }
592 
593  public function onActionBeforeFormDisplay( $name, $form, $article ) {
594  return $this->container->run(
595  'ActionBeforeFormDisplay',
596  [ $name, $form, $article ]
597  );
598  }
599 
600  public function onActionModifyFormFields( $name, &$fields, $article ) {
601  return $this->container->run(
602  'ActionModifyFormFields',
603  [ $name, &$fields, $article ]
604  );
605  }
606 
607  public function onAddNewAccount( $user, $byEmail ) {
608  return $this->container->run(
609  'AddNewAccount',
610  [ $user, $byEmail ]
611  );
612  }
613 
614  public function onAfterBuildFeedLinks( &$feedLinks ) {
615  return $this->container->run(
616  'AfterBuildFeedLinks',
617  [ &$feedLinks ]
618  );
619  }
620 
621  public function onAfterFinalPageOutput( $output ): void {
622  $this->container->run(
623  'AfterFinalPageOutput',
624  [ $output ],
625  [ 'abortable' => false ]
626  );
627  }
628 
629  public function onAfterImportPage( $title, $foreignTitle, $revCount,
630  $sRevCount, $pageInfo
631  ) {
632  return $this->container->run(
633  'AfterImportPage',
634  [ $title, $foreignTitle, $revCount, $sRevCount, $pageInfo ]
635  );
636  }
637 
638  public function onAfterParserFetchFileAndTitle( $parser, $ig, &$html ) {
639  return $this->container->run(
640  'AfterParserFetchFileAndTitle',
641  [ $parser, $ig, &$html ]
642  );
643  }
644 
645  public function onAlternateEdit( $editPage ) {
646  return $this->container->run(
647  'AlternateEdit',
648  [ $editPage ]
649  );
650  }
651 
652  public function onAlternateEditPreview( $editPage, &$content, &$previewHTML,
653  &$parserOutput
654  ) {
655  return $this->container->run(
656  'AlternateEditPreview',
657  [ $editPage, &$content, &$previewHTML, &$parserOutput ]
658  );
659  }
660 
661  public function onAlternateUserMailer( $headers, $to, $from, $subject, $body ) {
662  return $this->container->run(
663  'AlternateUserMailer',
664  [ $headers, $to, $from, $subject, $body ]
665  );
666  }
667 
668  public function onAncientPagesQuery( &$tables, &$conds, &$joinConds ) {
669  return $this->container->run(
670  'AncientPagesQuery',
671  [ &$tables, &$conds, &$joinConds ]
672  );
673  }
674 
675  public function onApiBeforeMain( &$main ) {
676  return $this->container->run(
677  'ApiBeforeMain',
678  [ &$main ]
679  );
680  }
681 
682  public function onArticleConfirmDelete( $article, $output, &$reason ) {
683  return $this->container->run(
684  'ArticleConfirmDelete',
685  [ $article, $output, &$reason ]
686  );
687  }
688 
689  public function onArticleContentOnDiff( $diffEngine, $output ) {
690  return $this->container->run(
691  'ArticleContentOnDiff',
692  [ $diffEngine, $output ]
693  );
694  }
695 
696  public function onArticleDelete( $wikiPage, $user, &$reason, &$error, &$status,
697  $suppress
698  ) {
699  return $this->container->run(
700  'ArticleDelete',
701  [ $wikiPage, $user, &$reason, &$error, &$status, $suppress ]
702  );
703  }
704 
705  public function onArticleDeleteAfterSuccess( $title, $outputPage ) {
706  return $this->container->run(
707  'ArticleDeleteAfterSuccess',
708  [ $title, $outputPage ]
709  );
710  }
711 
712  public function onArticleDeleteComplete( $wikiPage, $user, $reason, $id,
713  $content, $logEntry, $archivedRevisionCount
714  ) {
715  return $this->container->run(
716  'ArticleDeleteComplete',
717  [ $wikiPage, $user, $reason, $id, $content, $logEntry,
718  $archivedRevisionCount ]
719  );
720  }
721 
722  public function onArticleEditUpdateNewTalk( $wikiPage, $recipient ) {
723  return $this->container->run(
724  'ArticleEditUpdateNewTalk',
725  [ $wikiPage, $recipient ]
726  );
727  }
728 
729  public function onArticleFromTitle( $title, &$article, $context ) {
730  return $this->container->run(
731  'ArticleFromTitle',
732  [ $title, &$article, $context ]
733  );
734  }
735 
736  public function onArticleMergeComplete( $targetTitle, $destTitle ) {
737  return $this->container->run(
738  'ArticleMergeComplete',
739  [ $targetTitle, $destTitle ]
740  );
741  }
742 
743  public function onArticlePageDataAfter( $wikiPage, &$row ) {
744  return $this->container->run(
745  'ArticlePageDataAfter',
746  [ $wikiPage, &$row ]
747  );
748  }
749 
750  public function onArticlePageDataBefore( $wikiPage, &$fields, &$tables,
751  &$joinConds
752  ) {
753  return $this->container->run(
754  'ArticlePageDataBefore',
755  [ $wikiPage, &$fields, &$tables, &$joinConds ]
756  );
757  }
758 
759  public function onArticleParserOptions( Article $article, ParserOptions $popts ) {
760  return $this->container->run(
761  'ArticleParserOptions',
762  [ $article, $popts ]
763  );
764  }
765 
766  public function onArticlePrepareTextForEdit( $wikiPage, $popts ) {
767  return $this->container->run(
768  'ArticlePrepareTextForEdit',
769  [ $wikiPage, $popts ]
770  );
771  }
772 
773  public function onArticleProtect( $wikiPage, $user, $protect, $reason ) {
774  return $this->container->run(
775  'ArticleProtect',
776  [ $wikiPage, $user, $protect, $reason ]
777  );
778  }
779 
780  public function onArticleProtectComplete( $wikiPage, $user, $protect, $reason ) {
781  return $this->container->run(
782  'ArticleProtectComplete',
783  [ $wikiPage, $user, $protect, $reason ]
784  );
785  }
786 
787  public function onArticlePurge( $wikiPage ) {
788  return $this->container->run(
789  'ArticlePurge',
790  [ $wikiPage ]
791  );
792  }
793 
794  public function onArticleRevisionViewCustom( $revision, $title, $oldid,
795  $output
796  ) {
797  return $this->container->run(
798  'ArticleRevisionViewCustom',
799  [ $revision, $title, $oldid, $output ]
800  );
801  }
802 
803  public function onArticleRevisionVisibilitySet( $title, $ids,
804  $visibilityChangeMap
805  ) {
806  return $this->container->run(
807  'ArticleRevisionVisibilitySet',
808  [ $title, $ids, $visibilityChangeMap ]
809  );
810  }
811 
812  public function onArticleShowPatrolFooter( $article ) {
813  return $this->container->run(
814  'ArticleShowPatrolFooter',
815  [ $article ]
816  );
817  }
818 
819  public function onArticleUndelete( $title, $create, $comment, $oldPageId,
820  $restoredPages
821  ) {
822  return $this->container->run(
823  'ArticleUndelete',
824  [ $title, $create, $comment, $oldPageId, $restoredPages ]
825  );
826  }
827 
828  public function onArticleUpdateBeforeRedirect( $article, &$sectionanchor,
829  &$extraq
830  ) {
831  return $this->container->run(
832  'ArticleUpdateBeforeRedirect',
833  [ $article, &$sectionanchor, &$extraq ]
834  );
835  }
836 
837  public function onArticleViewFooter( $article, $patrolFooterShown ) {
838  return $this->container->run(
839  'ArticleViewFooter',
840  [ $article, $patrolFooterShown ]
841  );
842  }
843 
844  public function onArticleViewHeader( $article, &$outputDone, &$pcache ) {
845  return $this->container->run(
846  'ArticleViewHeader',
847  [ $article, &$outputDone, &$pcache ]
848  );
849  }
850 
851  public function onArticleViewRedirect( $article ) {
852  return $this->container->run(
853  'ArticleViewRedirect',
854  [ $article ]
855  );
856  }
857 
858  public function onArticle__MissingArticleConditions( &$conds, $logTypes ) {
859  return $this->container->run(
860  'Article::MissingArticleConditions',
861  [ &$conds, $logTypes ]
862  );
863  }
864 
865  public function onAuthChangeFormFields( $requests, $fieldInfo,
866  &$formDescriptor, $action
867  ) {
868  return $this->container->run(
869  'AuthChangeFormFields',
870  [ $requests, $fieldInfo, &$formDescriptor, $action ]
871  );
872  }
873 
874  public function onAuthManagerLoginAuthenticateAudit( $response, $user,
875  $username, $extraData
876  ) {
877  return $this->container->run(
878  'AuthManagerLoginAuthenticateAudit',
879  [ $response, $user, $username, $extraData ]
880  );
881  }
882 
883  public function onAutopromoteCondition( $type, $args, $user, &$result ) {
884  return $this->container->run(
885  'AutopromoteCondition',
886  [ $type, $args, $user, &$result ]
887  );
888  }
889 
890  public function onBacklinkCacheGetConditions( $table, $title, &$conds ) {
891  return $this->container->run(
892  'BacklinkCacheGetConditions',
893  [ $table, $title, &$conds ]
894  );
895  }
896 
897  public function onBacklinkCacheGetPrefix( $table, &$prefix ) {
898  return $this->container->run(
899  'BacklinkCacheGetPrefix',
900  [ $table, &$prefix ]
901  );
902  }
903 
904  public function onBadImage( $name, &$bad ) {
905  return $this->container->run(
906  'BadImage',
907  [ $name, &$bad ]
908  );
909  }
910 
911  public function onBaseTemplateAfterPortlet( $template, $portlet, &$html ) {
912  return $this->container->run(
913  'BaseTemplateAfterPortlet',
914  [ $template, $portlet, &$html ]
915  );
916  }
917 
918  public function onBeforeDisplayNoArticleText( $article ) {
919  return $this->container->run(
920  'BeforeDisplayNoArticleText',
921  [ $article ]
922  );
923  }
924 
925  public function onBeforeInitialize( $title, $unused, $output, $user, $request,
926  $mediaWiki
927  ) {
928  return $this->container->run(
929  'BeforeInitialize',
930  [ $title, $unused, $output, $user, $request, $mediaWiki ]
931  );
932  }
933 
934  public function onBeforePageDisplay( $out, $skin ): void {
935  $this->container->run(
936  'BeforePageDisplay',
937  [ $out, $skin ],
938  [ 'abortable' => false ]
939  );
940  }
941 
942  public function onBeforePageRedirect( $out, &$redirect, &$code ) {
943  return $this->container->run(
944  'BeforePageRedirect',
945  [ $out, &$redirect, &$code ]
946  );
947  }
948 
949  public function onBeforeParserFetchFileAndTitle( $parser, $nt, &$options,
950  &$descQuery
951  ) {
952  return $this->container->run(
953  'BeforeParserFetchFileAndTitle',
954  [ $parser, $nt, &$options, &$descQuery ]
955  );
956  }
957 
958  public function onBeforeParserFetchTemplateAndtitle( $parser, $title, &$skip,
959  &$id
960  ) {
961  return $this->container->run(
962  'BeforeParserFetchTemplateAndtitle',
963  [ $parser, $title, &$skip, &$id ]
964  );
965  }
966 
968  ?LinkTarget $contextTitle, LinkTarget $title,
969  bool &$skip, ?RevisionRecord &$revRecord
970  ) {
971  return $this->container->run(
972  'BeforeParserFetchTemplateRevisionRecord',
973  [ $contextTitle, $title, &$skip, &$revRecord ]
974  );
975  }
976 
977  public function onBeforeParserrenderImageGallery( $parser, $ig ) {
978  return $this->container->run(
979  'BeforeParserrenderImageGallery',
980  [ $parser, $ig ]
981  );
982  }
983 
984  public function onBeforeRevertedTagUpdate( $wikiPage, $user,
985  $summary, $flags, $revisionRecord, $editResult, &$approved
986  ): void {
987  $this->container->run(
988  'BeforeRevertedTagUpdate',
989  [ $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult,
990  &$approved ],
991  [ 'abortable' => false ]
992  );
993  }
994 
995  public function onBeforeWelcomeCreation( &$welcome_creation_msg,
996  &$injected_html
997  ) {
998  return $this->container->run(
999  'BeforeWelcomeCreation',
1000  [ &$welcome_creation_msg, &$injected_html ]
1001  );
1002  }
1003 
1004  public function onBitmapHandlerCheckImageArea( $image, &$params,
1005  &$checkImageAreaHookResult
1006  ) {
1007  return $this->container->run(
1008  'BitmapHandlerCheckImageArea',
1009  [ $image, &$params, &$checkImageAreaHookResult ]
1010  );
1011  }
1012 
1013  public function onBitmapHandlerTransform( $handler, $image, &$scalerParams,
1014  &$mto
1015  ) {
1016  return $this->container->run(
1017  'BitmapHandlerTransform',
1018  [ $handler, $image, &$scalerParams, &$mto ]
1019  );
1020  }
1021 
1022  public function onBlockIp( $block, $user, &$reason ) {
1023  return $this->container->run(
1024  'BlockIp',
1025  [ $block, $user, &$reason ]
1026  );
1027  }
1028 
1029  public function onBlockIpComplete( $block, $user, $priorBlock ) {
1030  return $this->container->run(
1031  'BlockIpComplete',
1032  [ $block, $user, $priorBlock ]
1033  );
1034  }
1035 
1036  public function onBookInformation( $isbn, $output ) {
1037  return $this->container->run(
1038  'BookInformation',
1039  [ $isbn, $output ]
1040  );
1041  }
1042 
1043  public function onCanonicalNamespaces( &$namespaces ) {
1044  return $this->container->run(
1045  'CanonicalNamespaces',
1046  [ &$namespaces ]
1047  );
1048  }
1049 
1050  public function onCategoryAfterPageAdded( $category, $wikiPage ) {
1051  return $this->container->run(
1052  'CategoryAfterPageAdded',
1053  [ $category, $wikiPage ]
1054  );
1055  }
1056 
1057  public function onCategoryAfterPageRemoved( $category, $wikiPage, $id ) {
1058  return $this->container->run(
1059  'CategoryAfterPageRemoved',
1060  [ $category, $wikiPage, $id ]
1061  );
1062  }
1063 
1064  public function onCategoryPageView( $catpage ) {
1065  return $this->container->run(
1066  'CategoryPageView',
1067  [ $catpage ]
1068  );
1069  }
1070 
1072  return $this->container->run(
1073  'CategoryViewer::doCategoryQuery',
1074  [ $type, $res ]
1075  );
1076  }
1077 
1078  public function onCategoryViewer__generateLink( $type, $title, $html, &$link ) {
1079  return $this->container->run(
1080  'CategoryViewer::generateLink',
1081  [ $type, $title, $html, &$link ]
1082  );
1083  }
1084 
1085  public function onChangeAuthenticationDataAudit( $req, $status ) {
1086  return $this->container->run(
1087  'ChangeAuthenticationDataAudit',
1088  [ $req, $status ]
1089  );
1090  }
1091 
1092  public function onChangesListInitRows( $changesList, $rows ) {
1093  return $this->container->run(
1094  'ChangesListInitRows',
1095  [ $changesList, $rows ]
1096  );
1097  }
1098 
1099  public function onChangesListInsertArticleLink( $changesList, &$articlelink,
1100  &$s, $rc, $unpatrolled, $watched
1101  ) {
1102  return $this->container->run(
1103  'ChangesListInsertArticleLink',
1104  [ $changesList, &$articlelink, &$s, $rc, $unpatrolled, $watched ]
1105  );
1106  }
1107 
1108  public function onChangesListSpecialPageQuery( $name, &$tables, &$fields,
1109  &$conds, &$query_options, &$join_conds, $opts
1110  ) {
1111  return $this->container->run(
1112  'ChangesListSpecialPageQuery',
1113  [ $name, &$tables, &$fields, &$conds, &$query_options,
1114  &$join_conds, $opts ]
1115  );
1116  }
1117 
1118  public function onChangesListSpecialPageStructuredFilters( $special ) {
1119  return $this->container->run(
1120  'ChangesListSpecialPageStructuredFilters',
1121  [ $special ]
1122  );
1123  }
1124 
1125  public function onChangeTagAfterDelete( $tag, &$status ) {
1126  return $this->container->run(
1127  'ChangeTagAfterDelete',
1128  [ $tag, &$status ]
1129  );
1130  }
1131 
1132  public function onChangeTagCanCreate( $tag, $user, &$status ) {
1133  return $this->container->run(
1134  'ChangeTagCanCreate',
1135  [ $tag, $user, &$status ]
1136  );
1137  }
1138 
1139  public function onChangeTagCanDelete( $tag, $user, &$status ) {
1140  return $this->container->run(
1141  'ChangeTagCanDelete',
1142  [ $tag, $user, &$status ]
1143  );
1144  }
1145 
1146  public function onChangeTagsAfterUpdateTags( $addedTags, $removedTags,
1147  $prevTags, $rc_id, $rev_id, $log_id, $params, $rc, $user
1148  ) {
1149  return $this->container->run(
1150  'ChangeTagsAfterUpdateTags',
1151  [ $addedTags, $removedTags, $prevTags, $rc_id, $rev_id, $log_id,
1152  $params, $rc, $user ]
1153  );
1154  }
1155 
1156  public function onChangeTagsAllowedAdd( &$allowedTags, $addTags, $user ) {
1157  return $this->container->run(
1158  'ChangeTagsAllowedAdd',
1159  [ &$allowedTags, $addTags, $user ]
1160  );
1161  }
1162 
1163  public function onChangeTagsListActive( &$tags ) {
1164  return $this->container->run(
1165  'ChangeTagsListActive',
1166  [ &$tags ]
1167  );
1168  }
1169 
1170  public function onChangeUserGroups( $performer, $user, &$add, &$remove ) {
1171  return $this->container->run(
1172  'ChangeUserGroups',
1173  [ $performer, $user, &$add, &$remove ]
1174  );
1175  }
1176 
1177  public function onCollation__factory( $collationName, &$collationObject ) {
1178  return $this->container->run(
1179  'Collation::factory',
1180  [ $collationName, &$collationObject ]
1181  );
1182  }
1183 
1184  public function onConfirmEmailComplete( $user ) {
1185  return $this->container->run(
1186  'ConfirmEmailComplete',
1187  [ $user ]
1188  );
1189  }
1190 
1191  public function onContentAlterParserOutput( $content, $title, $parserOutput ) {
1192  return $this->container->run(
1193  'ContentAlterParserOutput',
1194  [ $content, $title, $parserOutput ]
1195  );
1196  }
1197 
1198  public function onContentGetParserOutput( $content, $title, $revId, $options,
1199  $generateHtml, &$output
1200  ) {
1201  return $this->container->run(
1202  'ContentGetParserOutput',
1203  [ $content, $title, $revId, $options, $generateHtml, &$output ]
1204  );
1205  }
1206 
1207  public function onContentHandlerDefaultModelFor( $title, &$model ) {
1208  return $this->container->run(
1209  'ContentHandlerDefaultModelFor',
1210  [ $title, &$model ]
1211  );
1212  }
1213 
1214  public function onContentHandlerForModelID( $modeName, &$handler ) {
1215  return $this->container->run(
1216  'ContentHandlerForModelID',
1217  [ $modeName, &$handler ]
1218  );
1219  }
1220 
1221  public function onContentModelCanBeUsedOn( $contentModel, $title, &$ok ) {
1222  return $this->container->run(
1223  'ContentModelCanBeUsedOn',
1224  [ $contentModel, $title, &$ok ]
1225  );
1226  }
1227 
1228  public function onContentSecurityPolicyDefaultSource( &$defaultSrc,
1229  $policyConfig, $mode
1230  ) {
1231  return $this->container->run(
1232  'ContentSecurityPolicyDefaultSource',
1233  [ &$defaultSrc, $policyConfig, $mode ]
1234  );
1235  }
1236 
1237  public function onContentSecurityPolicyDirectives( &$directives, $policyConfig,
1238  $mode
1239  ) {
1240  return $this->container->run(
1241  'ContentSecurityPolicyDirectives',
1242  [ &$directives, $policyConfig, $mode ]
1243  );
1244  }
1245 
1246  public function onContentSecurityPolicyScriptSource( &$scriptSrc,
1247  $policyConfig, $mode
1248  ) {
1249  return $this->container->run(
1250  'ContentSecurityPolicyScriptSource',
1251  [ &$scriptSrc, $policyConfig, $mode ]
1252  );
1253  }
1254 
1255  public function onContribsPager__getQueryInfo( $pager, &$queryInfo ) {
1256  return $this->container->run(
1257  'ContribsPager::getQueryInfo',
1258  [ $pager, &$queryInfo ]
1259  );
1260  }
1261 
1262  public function onContribsPager__reallyDoQuery( &$data, $pager, $offset,
1263  $limit, $descending
1264  ) {
1265  return $this->container->run(
1266  'ContribsPager::reallyDoQuery',
1267  [ &$data, $pager, $offset, $limit, $descending ]
1268  );
1269  }
1270 
1271  public function onContributionsLineEnding( $page, &$ret, $row, &$classes,
1272  &$attribs
1273  ) {
1274  return $this->container->run(
1275  'ContributionsLineEnding',
1276  [ $page, &$ret, $row, &$classes, &$attribs ]
1277  );
1278  }
1279 
1280  public function onContributionsToolLinks( $id, Title $title, array &$tools, SpecialPage $specialPage ) {
1281  return $this->container->run(
1282  'ContributionsToolLinks',
1283  [ $id, $title, &$tools, $specialPage ]
1284  );
1285  }
1286 
1287  public function onConvertContent( $content, $toModel, $lossy, &$result ) {
1288  return $this->container->run(
1289  'ConvertContent',
1290  [ $content, $toModel, $lossy, &$result ]
1291  );
1292  }
1293 
1294  public function onCustomEditor( $article, $user ) {
1295  return $this->container->run(
1296  'CustomEditor',
1297  [ $article, $user ]
1298  );
1299  }
1300 
1301  public function onDeletedContribsPager__reallyDoQuery( &$data, $pager, $offset,
1302  $limit, $descending
1303  ) {
1304  return $this->container->run(
1305  'DeletedContribsPager::reallyDoQuery',
1306  [ &$data, $pager, $offset, $limit, $descending ]
1307  );
1308  }
1309 
1310  public function onDeletedContributionsLineEnding( $page, &$ret, $row,
1311  &$classes, &$attribs
1312  ) {
1313  return $this->container->run(
1314  'DeletedContributionsLineEnding',
1315  [ $page, &$ret, $row, &$classes, &$attribs ]
1316  );
1317  }
1318 
1319  public function onDeleteUnknownPreferences( &$where, $db ) {
1320  return $this->container->run(
1321  'DeleteUnknownPreferences',
1322  [ &$where, $db ]
1323  );
1324  }
1325 
1326  public function onDifferenceEngineAfterLoadNewText( $differenceEngine ) {
1327  return $this->container->run(
1328  'DifferenceEngineAfterLoadNewText',
1329  [ $differenceEngine ]
1330  );
1331  }
1332 
1334  $differenceEngine
1335  ) {
1336  return $this->container->run(
1337  'DifferenceEngineLoadTextAfterNewContentIsLoaded',
1338  [ $differenceEngine ]
1339  );
1340  }
1341 
1342  public function onDifferenceEngineMarkPatrolledLink( $differenceEngine,
1343  &$markAsPatrolledLink, $rcid
1344  ) {
1345  return $this->container->run(
1346  'DifferenceEngineMarkPatrolledLink',
1347  [ $differenceEngine, &$markAsPatrolledLink, $rcid ]
1348  );
1349  }
1350 
1351  public function onDifferenceEngineMarkPatrolledRCID( &$rcid, $differenceEngine,
1352  $change, $user
1353  ) {
1354  return $this->container->run(
1355  'DifferenceEngineMarkPatrolledRCID',
1356  [ &$rcid, $differenceEngine, $change, $user ]
1357  );
1358  }
1359 
1360  public function onDifferenceEngineNewHeader( $differenceEngine, &$newHeader,
1361  $formattedRevisionTools, $nextlink, $rollback, $newminor, $diffOnly, $rdel,
1362  $unhide
1363  ) {
1364  return $this->container->run(
1365  'DifferenceEngineNewHeader',
1366  [ $differenceEngine, &$newHeader, $formattedRevisionTools,
1367  $nextlink, $rollback, $newminor, $diffOnly, $rdel, $unhide ]
1368  );
1369  }
1370 
1371  public function onDifferenceEngineOldHeader( $differenceEngine, &$oldHeader,
1372  $prevlink, $oldminor, $diffOnly, $ldel, $unhide
1373  ) {
1374  return $this->container->run(
1375  'DifferenceEngineOldHeader',
1376  [ $differenceEngine, &$oldHeader, $prevlink, $oldminor, $diffOnly,
1377  $ldel, $unhide ]
1378  );
1379  }
1380 
1381  public function onDifferenceEngineOldHeaderNoOldRev( &$oldHeader ) {
1382  return $this->container->run(
1383  'DifferenceEngineOldHeaderNoOldRev',
1384  [ &$oldHeader ]
1385  );
1386  }
1387 
1389  $differenceEngine, $out, $parserOutput, $wikiPage
1390  ) {
1391  return $this->container->run(
1392  'DifferenceEngineRenderRevisionAddParserOutput',
1393  [ $differenceEngine, $out, $parserOutput, $wikiPage ]
1394  );
1395  }
1396 
1398  return $this->container->run(
1399  'DifferenceEngineRenderRevisionShowFinalPatrolLink',
1400  []
1401  );
1402  }
1403 
1404  public function onDifferenceEngineShowDiff( $differenceEngine ) {
1405  return $this->container->run(
1406  'DifferenceEngineShowDiff',
1407  [ $differenceEngine ]
1408  );
1409  }
1410 
1411  public function onDifferenceEngineShowDiffPage( $out ) {
1412  return $this->container->run(
1413  'DifferenceEngineShowDiffPage',
1414  [ $out ]
1415  );
1416  }
1417 
1419  $differenceEngine
1420  ) {
1421  return $this->container->run(
1422  'DifferenceEngineShowDiffPageMaybeShowMissingRevision',
1423  [ $differenceEngine ]
1424  );
1425  }
1426 
1427  public function onDifferenceEngineShowEmptyOldContent( $differenceEngine ) {
1428  return $this->container->run(
1429  'DifferenceEngineShowEmptyOldContent',
1430  [ $differenceEngine ]
1431  );
1432  }
1433 
1434  public function onDifferenceEngineViewHeader( $differenceEngine ) {
1435  return $this->container->run(
1436  'DifferenceEngineViewHeader',
1437  [ $differenceEngine ]
1438  );
1439  }
1440 
1441  public function onDiffTools( $newRevRecord, &$links, $oldRevRecord, $userIdentity ) {
1442  return $this->container->run(
1443  'DiffTools',
1444  [ $newRevRecord, &$links, $oldRevRecord, $userIdentity ]
1445  );
1446  }
1447 
1448  public function onDisplayOldSubtitle( $article, &$oldid ) {
1449  return $this->container->run(
1450  'DisplayOldSubtitle',
1451  [ $article, &$oldid ]
1452  );
1453  }
1454 
1455  public function onEditFilter( $editor, $text, $section, &$error, $summary ) {
1456  return $this->container->run(
1457  'EditFilter',
1458  [ $editor, $text, $section, &$error, $summary ]
1459  );
1460  }
1461 
1462  public function onEditFilterMergedContent( $context, $content, $status,
1463  $summary, $user, $minoredit
1464  ) {
1465  return $this->container->run(
1466  'EditFilterMergedContent',
1467  [ $context, $content, $status, $summary, $user, $minoredit ]
1468  );
1469  }
1470 
1471  public function onEditFormInitialText( $editPage ) {
1472  return $this->container->run(
1473  'EditFormInitialText',
1474  [ $editPage ]
1475  );
1476  }
1477 
1478  public function onEditFormPreloadText( &$text, $title ) {
1479  return $this->container->run(
1480  'EditFormPreloadText',
1481  [ &$text, $title ]
1482  );
1483  }
1484 
1485  public function onEditPageBeforeConflictDiff( $editor, $out ) {
1486  return $this->container->run(
1487  'EditPageBeforeConflictDiff',
1488  [ $editor, $out ]
1489  );
1490  }
1491 
1492  public function onEditPageBeforeEditButtons( $editpage, &$buttons, &$tabindex ) {
1493  return $this->container->run(
1494  'EditPageBeforeEditButtons',
1495  [ $editpage, &$buttons, &$tabindex ]
1496  );
1497  }
1498 
1499  public function onEditPageBeforeEditToolbar( &$toolbar ) {
1500  return $this->container->run(
1501  'EditPageBeforeEditToolbar',
1502  [ &$toolbar ]
1503  );
1504  }
1505 
1506  public function onEditPageCopyrightWarning( $title, &$msg ) {
1507  return $this->container->run(
1508  'EditPageCopyrightWarning',
1509  [ $title, &$msg ]
1510  );
1511  }
1512 
1513  public function onEditPageGetCheckboxesDefinition( $editpage, &$checkboxes ) {
1514  return $this->container->run(
1515  'EditPageGetCheckboxesDefinition',
1516  [ $editpage, &$checkboxes ]
1517  );
1518  }
1519 
1520  public function onEditPageGetDiffContent( $editPage, &$newtext ) {
1521  return $this->container->run(
1522  'EditPageGetDiffContent',
1523  [ $editPage, &$newtext ]
1524  );
1525  }
1526 
1527  public function onEditPageGetPreviewContent( $editPage, &$content ) {
1528  return $this->container->run(
1529  'EditPageGetPreviewContent',
1530  [ $editPage, &$content ]
1531  );
1532  }
1533 
1534  public function onEditPageNoSuchSection( $editpage, &$res ) {
1535  return $this->container->run(
1536  'EditPageNoSuchSection',
1537  [ $editpage, &$res ]
1538  );
1539  }
1540 
1541  public function onEditPageTosSummary( $title, &$msg ) {
1542  return $this->container->run(
1543  'EditPageTosSummary',
1544  [ $title, &$msg ]
1545  );
1546  }
1547 
1548  public function onEditPage__attemptSave( $editpage_Obj ) {
1549  return $this->container->run(
1550  'EditPage::attemptSave',
1551  [ $editpage_Obj ]
1552  );
1553  }
1554 
1555  public function onEditPage__attemptSave_after( $editpage_Obj, $status,
1556  $resultDetails
1557  ) {
1558  return $this->container->run(
1559  'EditPage::attemptSave:after',
1560  [ $editpage_Obj, $status, $resultDetails ]
1561  );
1562  }
1563 
1564  public function onEditPage__importFormData( $editpage, $request ) {
1565  return $this->container->run(
1566  'EditPage::importFormData',
1567  [ $editpage, $request ]
1568  );
1569  }
1570 
1571  public function onEditPage__showEditForm_fields( $editor, $out ) {
1572  return $this->container->run(
1573  'EditPage::showEditForm:fields',
1574  [ $editor, $out ]
1575  );
1576  }
1577 
1578  public function onEditPage__showEditForm_initial( $editor, $out ) {
1579  return $this->container->run(
1580  'EditPage::showEditForm:initial',
1581  [ $editor, $out ]
1582  );
1583  }
1584 
1585  public function onEditPage__showReadOnlyForm_initial( $editor, $out ) {
1586  return $this->container->run(
1587  'EditPage::showReadOnlyForm:initial',
1588  [ $editor, $out ]
1589  );
1590  }
1591 
1592  public function onEditPage__showStandardInputs_options( $editor, $out,
1593  &$tabindex
1594  ) {
1595  return $this->container->run(
1596  'EditPage::showStandardInputs:options',
1597  [ $editor, $out, &$tabindex ]
1598  );
1599  }
1600 
1601  public function onEmailConfirmed( $user, &$confirmed ) {
1602  return $this->container->run(
1603  'EmailConfirmed',
1604  [ $user, &$confirmed ]
1605  );
1606  }
1607 
1608  public function onEmailUser( &$to, &$from, &$subject, &$text, &$error ) {
1609  return $this->container->run(
1610  'EmailUser',
1611  [ &$to, &$from, &$subject, &$text, &$error ]
1612  );
1613  }
1614 
1615  public function onEmailUserCC( &$to, &$from, &$subject, &$text ) {
1616  return $this->container->run(
1617  'EmailUserCC',
1618  [ &$to, &$from, &$subject, &$text ]
1619  );
1620  }
1621 
1622  public function onEmailUserComplete( $to, $from, $subject, $text ) {
1623  return $this->container->run(
1624  'EmailUserComplete',
1625  [ $to, $from, $subject, $text ]
1626  );
1627  }
1628 
1629  public function onEmailUserForm( &$form ) {
1630  return $this->container->run(
1631  'EmailUserForm',
1632  [ &$form ]
1633  );
1634  }
1635 
1636  public function onEmailUserPermissionsErrors( $user, $editToken, &$hookErr ) {
1637  return $this->container->run(
1638  'EmailUserPermissionsErrors',
1639  [ $user, $editToken, &$hookErr ]
1640  );
1641  }
1642 
1643  public function onEnhancedChangesListModifyBlockLineData( $changesList, &$data,
1644  $rc
1645  ) {
1646  return $this->container->run(
1647  'EnhancedChangesListModifyBlockLineData',
1648  [ $changesList, &$data, $rc ]
1649  );
1650  }
1651 
1652  public function onEnhancedChangesListModifyLineData( $changesList, &$data,
1653  $block, $rc, &$classes, &$attribs
1654  ) {
1655  return $this->container->run(
1656  'EnhancedChangesListModifyLineData',
1657  [ $changesList, &$data, $block, $rc, &$classes, &$attribs ]
1658  );
1659  }
1660 
1661  public function onEnhancedChangesList__getLogText( $changesList, &$links,
1662  $block
1663  ) {
1664  return $this->container->run(
1665  'EnhancedChangesList::getLogText',
1666  [ $changesList, &$links, $block ]
1667  );
1668  }
1669 
1670  public function onExemptFromAccountCreationThrottle( $ip ) {
1671  return $this->container->run(
1672  'ExemptFromAccountCreationThrottle',
1673  [ $ip ]
1674  );
1675  }
1676 
1677  public function onExtensionTypes( &$extTypes ) {
1678  return $this->container->run(
1679  'ExtensionTypes',
1680  [ &$extTypes ]
1681  );
1682  }
1683 
1684  public function onFetchChangesList( $user, $skin, &$list, $groups ) {
1685  return $this->container->run(
1686  'FetchChangesList',
1687  [ $user, $skin, &$list, $groups ]
1688  );
1689  }
1690 
1691  public function onFileDeleteComplete( $file, $oldimage, $article, $user,
1692  $reason
1693  ) {
1694  return $this->container->run(
1695  'FileDeleteComplete',
1696  [ $file, $oldimage, $article, $user, $reason ]
1697  );
1698  }
1699 
1700  public function onFileTransformed( $file, $thumb, $tmpThumbPath, $thumbPath ) {
1701  return $this->container->run(
1702  'FileTransformed',
1703  [ $file, $thumb, $tmpThumbPath, $thumbPath ]
1704  );
1705  }
1706 
1707  public function onFileUndeleteComplete( $title, $fileVersions, $user, $reason ) {
1708  return $this->container->run(
1709  'FileUndeleteComplete',
1710  [ $title, $fileVersions, $user, $reason ]
1711  );
1712  }
1713 
1714  public function onFileUpload( $file, $reupload, $hasDescription ) {
1715  return $this->container->run(
1716  'FileUpload',
1717  [ $file, $reupload, $hasDescription ]
1718  );
1719  }
1720 
1721  public function onFormatAutocomments( &$comment, $pre, $auto, $post, $title,
1722  $local, $wikiId
1723  ) {
1724  return $this->container->run(
1725  'FormatAutocomments',
1726  [ &$comment, $pre, $auto, $post, $title, $local, $wikiId ]
1727  );
1728  }
1729 
1730  public function onGalleryGetModes( &$modeArray ) {
1731  return $this->container->run(
1732  'GalleryGetModes',
1733  [ &$modeArray ]
1734  );
1735  }
1736 
1737  public function onGetAllBlockActions( &$actions ) {
1738  return $this->container->run(
1739  'GetAllBlockActions',
1740  [ &$actions ],
1741  [ 'abortable' => false ]
1742  );
1743  }
1744 
1745  public function onGetAutoPromoteGroups( $user, &$promote ) {
1746  return $this->container->run(
1747  'GetAutoPromoteGroups',
1748  [ $user, &$promote ]
1749  );
1750  }
1751 
1752  public function onGetActionName( IContextSource $context, string &$action ): void {
1753  $this->container->run(
1754  'GetActionName',
1755  [ $context, &$action ],
1756  [ 'abortable' => false ]
1757  );
1758  }
1759 
1760  public function onGetCacheVaryCookies( $out, &$cookies ) {
1761  return $this->container->run(
1762  'GetCacheVaryCookies',
1763  [ $out, &$cookies ]
1764  );
1765  }
1766 
1767  public function onGetCanonicalURL( $title, &$url, $query ) {
1768  return $this->container->run(
1769  'GetCanonicalURL',
1770  [ $title, &$url, $query ]
1771  );
1772  }
1773 
1774  public function onGetContentModels( &$models ) {
1775  return $this->container->run(
1776  'GetContentModels',
1777  [ &$models ]
1778  );
1779  }
1780 
1781  public function onGetDefaultSortkey( $title, &$sortkey ) {
1782  return $this->container->run(
1783  'GetDefaultSortkey',
1784  [ $title, &$sortkey ]
1785  );
1786  }
1787 
1788  public function onGetDifferenceEngine( $context, $old, $new, $refreshCache,
1789  $unhide, &$differenceEngine
1790  ) {
1791  return $this->container->run(
1792  'GetDifferenceEngine',
1793  [ $context, $old, $new, $refreshCache, $unhide,
1794  &$differenceEngine ]
1795  );
1796  }
1797 
1798  public function onGetDoubleUnderscoreIDs( &$doubleUnderscoreIDs ) {
1799  return $this->container->run(
1800  'GetDoubleUnderscoreIDs',
1801  [ &$doubleUnderscoreIDs ]
1802  );
1803  }
1804 
1805  public function onGetExtendedMetadata( &$combinedMeta, $file, $context,
1806  $single, &$maxCacheTime
1807  ) {
1808  return $this->container->run(
1809  'GetExtendedMetadata',
1810  [ &$combinedMeta, $file, $context, $single, &$maxCacheTime ]
1811  );
1812  }
1813 
1814  public function onGetFullURL( $title, &$url, $query ) {
1815  return $this->container->run(
1816  'GetFullURL',
1817  [ $title, &$url, $query ]
1818  );
1819  }
1820 
1821  public function onGetHumanTimestamp( &$output, $timestamp, $relativeTo, $user,
1822  $lang
1823  ) {
1824  return $this->container->run(
1825  'GetHumanTimestamp',
1826  [ &$output, $timestamp, $relativeTo, $user, $lang ]
1827  );
1828  }
1829 
1830  public function onGetInternalURL( $title, &$url, $query ) {
1831  return $this->container->run(
1832  'GetInternalURL',
1833  [ $title, &$url, $query ]
1834  );
1835  }
1836 
1837  public function onGetIP( &$ip ) {
1838  return $this->container->run(
1839  'GetIP',
1840  [ &$ip ]
1841  );
1842  }
1843 
1844  public function onGetLangPreferredVariant( &$req ) {
1845  return $this->container->run(
1846  'GetLangPreferredVariant',
1847  [ &$req ]
1848  );
1849  }
1850 
1851  public function onGetLinkColours( $linkcolour_ids, &$colours, $title ) {
1852  return $this->container->run(
1853  'GetLinkColours',
1854  [ $linkcolour_ids, &$colours, $title ]
1855  );
1856  }
1857 
1858  public function onGetLocalURL( $title, &$url, $query ) {
1859  return $this->container->run(
1860  'GetLocalURL',
1861  [ $title, &$url, $query ]
1862  );
1863  }
1864 
1865  public function onGetLocalURL__Article( $title, &$url ) {
1866  return $this->container->run(
1867  'GetLocalURL::Article',
1868  [ $title, &$url ]
1869  );
1870  }
1871 
1872  public function onGetLocalURL__Internal( $title, &$url, $query ) {
1873  return $this->container->run(
1874  'GetLocalURL::Internal',
1875  [ $title, &$url, $query ]
1876  );
1877  }
1878 
1879  public function onGetLogTypesOnUser( &$types ) {
1880  return $this->container->run(
1881  'GetLogTypesOnUser',
1882  [ &$types ]
1883  );
1884  }
1885 
1886  public function onGetMagicVariableIDs( &$variableIDs ) {
1887  return $this->container->run(
1888  'GetMagicVariableIDs',
1889  [ &$variableIDs ]
1890  );
1891  }
1892 
1893  public function onGetMetadataVersion( &$version ) {
1894  return $this->container->run(
1895  'GetMetadataVersion',
1896  [ &$version ]
1897  );
1898  }
1899 
1900  public function onGetNewMessagesAlert( &$newMessagesAlert, $newtalks, $user,
1901  $out
1902  ) {
1903  return $this->container->run(
1904  'GetNewMessagesAlert',
1905  [ &$newMessagesAlert, $newtalks, $user, $out ]
1906  );
1907  }
1908 
1909  public function onGetPreferences( $user, &$preferences ) {
1910  return $this->container->run(
1911  'GetPreferences',
1912  [ $user, &$preferences ]
1913  );
1914  }
1915 
1916  public function onGetRelativeTimestamp( &$output, &$diff, $timestamp,
1917  $relativeTo, $user, $lang
1918  ) {
1919  return $this->container->run(
1920  'GetRelativeTimestamp',
1921  [ &$output, &$diff, $timestamp, $relativeTo, $user, $lang ]
1922  );
1923  }
1924 
1925  public function onGetSlotDiffRenderer( $contentHandler, &$slotDiffRenderer,
1926  $context
1927  ) {
1928  return $this->container->run(
1929  'GetSlotDiffRenderer',
1930  [ $contentHandler, &$slotDiffRenderer, $context ]
1931  );
1932  }
1933 
1934  public function onGetUserBlock( $user, $ip, &$block ) {
1935  return $this->container->run(
1936  'GetUserBlock',
1937  [ $user, $ip, &$block ]
1938  );
1939  }
1940 
1941  public function onGetUserPermissionsErrors( $title, $user, $action, &$result ) {
1942  return $this->container->run(
1943  'getUserPermissionsErrors',
1944  [ $title, $user, $action, &$result ]
1945  );
1946  }
1947 
1949  &$result
1950  ) {
1951  return $this->container->run(
1952  'getUserPermissionsErrorsExpensive',
1953  [ $title, $user, $action, &$result ]
1954  );
1955  }
1956 
1957  public function onGitViewers( &$extTypes ) {
1958  return $this->container->run(
1959  'GitViewers',
1960  [ &$extTypes ]
1961  );
1962  }
1963 
1964  public function onHistoryPageToolLinks( IContextSource $context, LinkRenderer $linkRenderer, array &$links ) {
1965  return $this->container->run(
1966  'HistoryPageToolLinks',
1967  [ $context, $linkRenderer, &$links ]
1968  );
1969  }
1970 
1971  public function onHistoryTools( $revRecord, &$links, $prevRevRecord, $userIdentity ) {
1972  return $this->container->run(
1973  'HistoryTools',
1974  [ $revRecord, &$links, $prevRevRecord, $userIdentity ]
1975  );
1976  }
1977 
1978  public function onHtmlCacheUpdaterAppendUrls( $title, $mode, &$append ) {
1979  return $this->container->run(
1980  'HtmlCacheUpdaterAppendUrls',
1981  [ $title, $mode, &$append ]
1982  );
1983  }
1984 
1985  public function onHtmlCacheUpdaterVaryUrls( $urls, &$append ) {
1986  return $this->container->run(
1987  'HtmlCacheUpdaterVaryUrls',
1988  [ $urls, &$append ]
1989  );
1990  }
1991 
1993  return $this->container->run(
1994  'HTMLFileCache::useFileCache',
1995  [ $context ]
1996  );
1997  }
1998 
1999  public function onHtmlPageLinkRendererBegin( $linkRenderer, $target, &$text,
2000  &$customAttribs, &$query, &$ret
2001  ) {
2002  return $this->container->run(
2003  'HtmlPageLinkRendererBegin',
2004  [ $linkRenderer, $target, &$text, &$customAttribs, &$query, &$ret ]
2005  );
2006  }
2007 
2008  public function onHtmlPageLinkRendererEnd( $linkRenderer, $target, $isKnown,
2009  &$text, &$attribs, &$ret
2010  ) {
2011  return $this->container->run(
2012  'HtmlPageLinkRendererEnd',
2013  [ $linkRenderer, $target, $isKnown, &$text, &$attribs, &$ret ]
2014  );
2015  }
2016 
2017  public function onImageBeforeProduceHTML( $linker, &$title, &$file,
2018  &$frameParams, &$handlerParams, &$time, &$res, $parser, &$query, &$widthOption
2019  ) {
2020  return $this->container->run(
2021  'ImageBeforeProduceHTML',
2022  [ $linker, &$title, &$file, &$frameParams, &$handlerParams, &$time,
2023  &$res, $parser, &$query, &$widthOption ]
2024  );
2025  }
2026 
2027  public function onImageOpenShowImageInlineBefore( $imagePage, $output ) {
2028  return $this->container->run(
2029  'ImageOpenShowImageInlineBefore',
2030  [ $imagePage, $output ]
2031  );
2032  }
2033 
2034  public function onImagePageAfterImageLinks( $imagePage, &$html ) {
2035  return $this->container->run(
2036  'ImagePageAfterImageLinks',
2037  [ $imagePage, &$html ]
2038  );
2039  }
2040 
2041  public function onImagePageFileHistoryLine( $imageHistoryList, $file, &$line, &$css ) {
2042  return $this->container->run(
2043  'ImagePageFileHistoryLine',
2044  [ $imageHistoryList, $file, &$line, &$css ]
2045  );
2046  }
2047 
2048  public function onImagePageFindFile( $page, &$file, &$displayFile ) {
2049  return $this->container->run(
2050  'ImagePageFindFile',
2051  [ $page, &$file, &$displayFile ]
2052  );
2053  }
2054 
2055  public function onImagePageShowTOC( $page, &$toc ) {
2056  return $this->container->run(
2057  'ImagePageShowTOC',
2058  [ $page, &$toc ]
2059  );
2060  }
2061 
2062  public function onImgAuthBeforeStream( &$title, &$path, &$name, &$result ) {
2063  return $this->container->run(
2064  'ImgAuthBeforeStream',
2065  [ &$title, &$path, &$name, &$result ]
2066  );
2067  }
2068 
2069  public function onImgAuthModifyHeaders( $title, &$headers ) {
2070  return $this->container->run(
2071  'ImgAuthModifyHeaders',
2072  [ $title, &$headers ]
2073  );
2074  }
2075 
2076  public function onImportHandleLogItemXMLTag( $reader, $logInfo ) {
2077  return $this->container->run(
2078  'ImportHandleLogItemXMLTag',
2079  [ $reader, $logInfo ]
2080  );
2081  }
2082 
2083  public function onImportHandlePageXMLTag( $reader, &$pageInfo ) {
2084  return $this->container->run(
2085  'ImportHandlePageXMLTag',
2086  [ $reader, &$pageInfo ]
2087  );
2088  }
2089 
2090  public function onImportHandleRevisionXMLTag( $reader, $pageInfo,
2091  $revisionInfo
2092  ) {
2093  return $this->container->run(
2094  'ImportHandleRevisionXMLTag',
2095  [ $reader, $pageInfo, $revisionInfo ]
2096  );
2097  }
2098 
2099  public function onImportHandleContentXMLTag( $reader, $contentInfo ) {
2100  return $this->container->run(
2101  'ImportHandleContentXMLTag',
2102  [ $reader, $contentInfo ] );
2103  }
2104 
2105  public function onImportHandleToplevelXMLTag( $reader ) {
2106  return $this->container->run(
2107  'ImportHandleToplevelXMLTag',
2108  [ $reader ]
2109  );
2110  }
2111 
2112  public function onImportHandleUnknownUser( $name ) {
2113  return $this->container->run(
2114  'ImportHandleUnknownUser',
2115  [ $name ]
2116  );
2117  }
2118 
2119  public function onImportHandleUploadXMLTag( $reader, $revisionInfo ) {
2120  return $this->container->run(
2121  'ImportHandleUploadXMLTag',
2122  [ $reader, $revisionInfo ]
2123  );
2124  }
2125 
2126  public function onImportLogInterwikiLink( &$fullInterwikiPrefix, &$pageTitle ) {
2127  return $this->container->run(
2128  'ImportLogInterwikiLink',
2129  [ &$fullInterwikiPrefix, &$pageTitle ]
2130  );
2131  }
2132 
2133  public function onImportSources( &$importSources ) {
2134  return $this->container->run(
2135  'ImportSources',
2136  [ &$importSources ]
2137  );
2138  }
2139 
2140  public function onInfoAction( $context, &$pageInfo ) {
2141  return $this->container->run(
2142  'InfoAction',
2143  [ $context, &$pageInfo ]
2144  );
2145  }
2146 
2147  public function onInitializeArticleMaybeRedirect( $title, $request,
2148  &$ignoreRedirect, &$target, &$article
2149  ) {
2150  return $this->container->run(
2151  'InitializeArticleMaybeRedirect',
2152  [ $title, $request, &$ignoreRedirect, &$target, &$article ]
2153  );
2154  }
2155 
2156  public function onInternalParseBeforeLinks( $parser, &$text, $stripState ) {
2157  return $this->container->run(
2158  'InternalParseBeforeLinks',
2159  [ $parser, &$text, $stripState ]
2160  );
2161  }
2162 
2163  public function onInternalParseBeforeSanitize( $parser, &$text, $stripState ) {
2164  return $this->container->run(
2165  'InternalParseBeforeSanitize',
2166  [ $parser, &$text, $stripState ]
2167  );
2168  }
2169 
2170  public function onInterwikiLoadPrefix( $prefix, &$iwData ) {
2171  return $this->container->run(
2172  'InterwikiLoadPrefix',
2173  [ $prefix, &$iwData ]
2174  );
2175  }
2176 
2177  public function onInvalidateEmailComplete( $user ) {
2178  return $this->container->run(
2179  'InvalidateEmailComplete',
2180  [ $user ]
2181  );
2182  }
2183 
2184  public function onIRCLineURL( &$url, &$query, $rc ) {
2185  return $this->container->run(
2186  'IRCLineURL',
2187  [ &$url, &$query, $rc ]
2188  );
2189  }
2190 
2191  public function onIsFileCacheable( $article ) {
2192  return $this->container->run(
2193  'IsFileCacheable',
2194  [ $article ]
2195  );
2196  }
2197 
2198  public function onIsTrustedProxy( $ip, &$result ) {
2199  return $this->container->run(
2200  'IsTrustedProxy',
2201  [ $ip, &$result ]
2202  );
2203  }
2204 
2205  public function onIsUploadAllowedFromUrl( $url, &$allowed ) {
2206  return $this->container->run(
2207  'IsUploadAllowedFromUrl',
2208  [ $url, &$allowed ]
2209  );
2210  }
2211 
2212  public function onIsValidEmailAddr( $addr, &$result ) {
2213  return $this->container->run(
2214  'isValidEmailAddr',
2215  [ $addr, &$result ]
2216  );
2217  }
2218 
2219  public function onIsValidPassword( $password, &$result, $user ) {
2220  return $this->container->run(
2221  'isValidPassword',
2222  [ $password, &$result, $user ]
2223  );
2224  }
2225 
2226  public function onLanguageGetNamespaces( &$namespaces ) {
2227  return $this->container->run(
2228  'LanguageGetNamespaces',
2229  [ &$namespaces ]
2230  );
2231  }
2232 
2233  public function onLanguageGetTranslatedLanguageNames( &$names, $code ) {
2234  return $this->container->run(
2235  'LanguageGetTranslatedLanguageNames',
2236  [ &$names, $code ]
2237  );
2238  }
2239 
2240  public function onLanguageLinks( $title, &$links, &$linkFlags ) {
2241  return $this->container->run(
2242  'LanguageLinks',
2243  [ $title, &$links, &$linkFlags ]
2244  );
2245  }
2246 
2247  public function onLanguageSelector( $out, $cssClassName ) {
2248  return $this->container->run(
2249  'LanguageSelector',
2250  [ $out, $cssClassName ]
2251  );
2252  }
2253 
2254  public function onLanguage__getMessagesFileName( $code, &$file ) {
2255  return $this->container->run(
2256  'Language::getMessagesFileName',
2257  [ $code, &$file ]
2258  );
2259  }
2260 
2261  public function onLinkerGenerateRollbackLink( $revRecord, $context, $options, &$inner ) {
2262  return $this->container->run(
2263  'LinkerGenerateRollbackLink',
2264  [ $revRecord, $context, $options, &$inner ]
2265  );
2266  }
2267 
2268  public function onLinkerMakeExternalImage( &$url, &$alt, &$img ) {
2269  return $this->container->run(
2270  'LinkerMakeExternalImage',
2271  [ &$url, &$alt, &$img ]
2272  );
2273  }
2274 
2275  public function onLinkerMakeExternalLink( &$url, &$text, &$link, &$attribs,
2276  $linkType
2277  ) {
2278  return $this->container->run(
2279  'LinkerMakeExternalLink',
2280  [ &$url, &$text, &$link, &$attribs, $linkType ]
2281  );
2282  }
2283 
2284  public function onLinkerMakeMediaLinkFile( $title, $file, &$html, &$attribs,
2285  &$ret
2286  ) {
2287  return $this->container->run(
2288  'LinkerMakeMediaLinkFile',
2289  [ $title, $file, &$html, &$attribs, &$ret ]
2290  );
2291  }
2292 
2293  public function onLinksUpdate( $linksUpdate ) {
2294  return $this->container->run(
2295  'LinksUpdate',
2296  [ $linksUpdate ]
2297  );
2298  }
2299 
2300  public function onLinksUpdateAfterInsert( $linksUpdate, $table, $insertions ) {
2301  return $this->container->run(
2302  'LinksUpdateAfterInsert',
2303  [ $linksUpdate, $table, $insertions ]
2304  );
2305  }
2306 
2307  public function onLinksUpdateComplete( $linksUpdate, $ticket ) {
2308  return $this->container->run(
2309  'LinksUpdateComplete',
2310  [ $linksUpdate, $ticket ]
2311  );
2312  }
2313 
2314  public function onLinksUpdateConstructed( $linksUpdate ) {
2315  return $this->container->run(
2316  'LinksUpdateConstructed',
2317  [ $linksUpdate ]
2318  );
2319  }
2320 
2321  public function onListDefinedTags( &$tags ) {
2322  return $this->container->run(
2323  'ListDefinedTags',
2324  [ &$tags ]
2325  );
2326  }
2327 
2328  public function onLoadExtensionSchemaUpdates( $updater ) {
2329  return $this->container->run(
2330  'LoadExtensionSchemaUpdates',
2331  [ $updater ],
2332  [ 'noServices' => true ]
2333  );
2334  }
2335 
2336  public function onLocalFilePurgeThumbnails( $file, $archiveName, $urls ) {
2337  return $this->container->run(
2338  'LocalFilePurgeThumbnails',
2339  [ $file, $archiveName, $urls ]
2340  );
2341  }
2342 
2343  public function onLocalFile__getHistory( $file, &$tables, &$fields, &$conds,
2344  &$opts, &$join_conds
2345  ) {
2346  return $this->container->run(
2347  'LocalFile::getHistory',
2348  [ $file, &$tables, &$fields, &$conds, &$opts, &$join_conds ]
2349  );
2350  }
2351 
2352  public function onLocalisationCacheRecache( $cache, $code, &$alldata, $unused ) {
2353  return $this->container->run(
2354  'LocalisationCacheRecache',
2355  [ $cache, $code, &$alldata, $unused ]
2356  );
2357  }
2358 
2359  public function onLocalisationCacheRecacheFallback( $cache, $code, &$alldata ) {
2360  return $this->container->run(
2361  'LocalisationCacheRecacheFallback',
2362  [ $cache, $code, &$alldata ]
2363  );
2364  }
2365 
2366  public function onLocalUserCreated( $user, $autocreated ) {
2367  return $this->container->run(
2368  'LocalUserCreated',
2369  [ $user, $autocreated ]
2370  );
2371  }
2372 
2373  public function onLogEventsListGetExtraInputs( $type, $logEventsList, &$input,
2374  &$formDescriptor
2375  ) {
2376  return $this->container->run(
2377  'LogEventsListGetExtraInputs',
2378  [ $type, $logEventsList, &$input, &$formDescriptor ]
2379  );
2380  }
2381 
2382  public function onLogEventsListLineEnding( $page, &$ret, $entry, &$classes,
2383  &$attribs
2384  ) {
2385  return $this->container->run(
2386  'LogEventsListLineEnding',
2387  [ $page, &$ret, $entry, &$classes, &$attribs ]
2388  );
2389  }
2390 
2391  public function onLogEventsListShowLogExtract( &$s, $types, $page, $user,
2392  $param
2393  ) {
2394  return $this->container->run(
2395  'LogEventsListShowLogExtract',
2396  [ &$s, $types, $page, $user, $param ]
2397  );
2398  }
2399 
2400  public function onLogException( $e, $suppressed ) {
2401  return $this->container->run(
2402  'LogException',
2403  [ $e, $suppressed ]
2404  );
2405  }
2406 
2407  public function onLoginFormValidErrorMessages( array &$messages ) {
2408  return $this->container->run(
2409  'LoginFormValidErrorMessages',
2410  [ &$messages ]
2411  );
2412  }
2413 
2414  public function onLogLine( $log_type, $log_action, $title, $paramArray,
2415  &$comment, &$revert, $time
2416  ) {
2417  return $this->container->run(
2418  'LogLine',
2419  [ $log_type, $log_action, $title, $paramArray, &$comment,
2420  &$revert, $time ]
2421  );
2422  }
2423 
2424  public function onLonelyPagesQuery( &$tables, &$conds, &$joinConds ) {
2425  return $this->container->run(
2426  'LonelyPagesQuery',
2427  [ &$tables, &$conds, &$joinConds ]
2428  );
2429  }
2430 
2431  public function onMagicWordwgVariableIDs( &$variableIDs ) {
2432  return $this->container->run(
2433  'MagicWordwgVariableIDs',
2434  [ &$variableIDs ]
2435  );
2436  }
2437 
2438  public function onMaintenanceRefreshLinksInit( $refreshLinks ) {
2439  return $this->container->run(
2440  'MaintenanceRefreshLinksInit',
2441  [ $refreshLinks ]
2442  );
2443  }
2444 
2445  public function onMaintenanceUpdateAddParams( &$params ) {
2446  return $this->container->run(
2447  'MaintenanceUpdateAddParams',
2448  [ &$params ]
2449  );
2450  }
2451 
2452  public function onMakeGlobalVariablesScript( &$vars, $out ): void {
2453  $this->container->run(
2454  'MakeGlobalVariablesScript',
2455  [ &$vars, $out ],
2456  [ 'abortable' => false ]
2457  );
2458  }
2459 
2460  public function onManualLogEntryBeforePublish( $logEntry ): void {
2461  $this->container->run(
2462  'ManualLogEntryBeforePublish',
2463  [ $logEntry ],
2464  [ 'abortable' => false ]
2465  );
2466  }
2467 
2468  public function onMarkPatrolled( $rcid, $user, $wcOnlySysopsCanPatrol, $auto,
2469  &$tags
2470  ) {
2471  return $this->container->run(
2472  'MarkPatrolled',
2473  [ $rcid, $user, $wcOnlySysopsCanPatrol, $auto, &$tags ]
2474  );
2475  }
2476 
2477  public function onMarkPatrolledComplete( $rcid, $user, $wcOnlySysopsCanPatrol,
2478  $auto
2479  ) {
2480  return $this->container->run(
2481  'MarkPatrolledComplete',
2482  [ $rcid, $user, $wcOnlySysopsCanPatrol, $auto ]
2483  );
2484  }
2485 
2486  public function onMediaWikiPerformAction( $output, $article, $title, $user,
2487  $request, $mediaWiki
2488  ) {
2489  return $this->container->run(
2490  'MediaWikiPerformAction',
2491  [ $output, $article, $title, $user, $request, $mediaWiki ]
2492  );
2493  }
2494 
2495  public function onMediaWikiServices( $services ) {
2496  return $this->container->run(
2497  'MediaWikiServices',
2498  [ $services ],
2499  [ 'noServices' => true ]
2500  );
2501  }
2502 
2503  public function onMessageCacheReplace( $title, $text ) {
2504  return $this->container->run(
2505  'MessageCacheReplace',
2506  [ $title, $text ]
2507  );
2508  }
2509 
2510  public function onMessageCache__get( &$key ) {
2511  return $this->container->run(
2512  'MessageCache::get',
2513  [ &$key ]
2514  );
2515  }
2516 
2517  public function onMessagesPreLoad( $title, &$message, $code ) {
2518  return $this->container->run(
2519  'MessagesPreLoad',
2520  [ $title, &$message, $code ]
2521  );
2522  }
2523 
2524  public function onMimeMagicGuessFromContent( $mimeMagic, &$head, &$tail, $file,
2525  &$mime
2526  ) {
2527  return $this->container->run(
2528  'MimeMagicGuessFromContent',
2529  [ $mimeMagic, &$head, &$tail, $file, &$mime ]
2530  );
2531  }
2532 
2533  public function onMimeMagicImproveFromExtension( $mimeMagic, $ext, &$mime ) {
2534  return $this->container->run(
2535  'MimeMagicImproveFromExtension',
2536  [ $mimeMagic, $ext, &$mime ]
2537  );
2538  }
2539 
2540  public function onMimeMagicInit( $mimeMagic ) {
2541  return $this->container->run(
2542  'MimeMagicInit',
2543  [ $mimeMagic ]
2544  );
2545  }
2546 
2547  public function onModifyExportQuery( $db, &$tables, $cond, &$opts,
2548  &$join_conds, &$conds
2549  ) {
2550  return $this->container->run(
2551  'ModifyExportQuery',
2552  [ $db, &$tables, $cond, &$opts, &$join_conds, &$conds ]
2553  );
2554  }
2555 
2556  public function onMovePageCheckPermissions( $oldTitle, $newTitle, $user,
2557  $reason, $status
2558  ) {
2559  return $this->container->run(
2560  'MovePageCheckPermissions',
2561  [ $oldTitle, $newTitle, $user, $reason, $status ]
2562  );
2563  }
2564 
2565  public function onMovePageIsValidMove( $oldTitle, $newTitle, $status ) {
2566  return $this->container->run(
2567  'MovePageIsValidMove',
2568  [ $oldTitle, $newTitle, $status ]
2569  );
2570  }
2571 
2572  public function onMultiContentSave( $renderedRevision, $user, $summary, $flags,
2573  $status
2574  ) {
2575  return $this->container->run(
2576  'MultiContentSave',
2577  [ $renderedRevision, $user, $summary, $flags, $status ]
2578  );
2579  }
2580 
2581  public function onNamespaceIsMovable( $index, &$result ) {
2582  return $this->container->run(
2583  'NamespaceIsMovable',
2584  [ $index, &$result ]
2585  );
2586  }
2587 
2588  public function onNewDifferenceEngine( $title, &$oldId, &$newId, $old, $new ) {
2589  return $this->container->run(
2590  'NewDifferenceEngine',
2591  [ $title, &$oldId, &$newId, $old, $new ]
2592  );
2593  }
2594 
2595  public function onNewPagesLineEnding( $page, &$ret, $row, &$classes, &$attribs ) {
2596  return $this->container->run(
2597  'NewPagesLineEnding',
2598  [ $page, &$ret, $row, &$classes, &$attribs ]
2599  );
2600  }
2601 
2602  public function onOldChangesListRecentChangesLine( $changeslist, &$s, $rc,
2603  &$classes, &$attribs
2604  ) {
2605  return $this->container->run(
2606  'OldChangesListRecentChangesLine',
2607  [ $changeslist, &$s, $rc, &$classes, &$attribs ]
2608  );
2609  }
2610 
2611  public function onOpenSearchUrls( &$urls ) {
2612  return $this->container->run(
2613  'OpenSearchUrls',
2614  [ &$urls ]
2615  );
2616  }
2617 
2618  public function onOpportunisticLinksUpdate( $page, $title, $parserOutput ) {
2619  return $this->container->run(
2620  'OpportunisticLinksUpdate',
2621  [ $page, $title, $parserOutput ]
2622  );
2623  }
2624 
2625  public function onOtherAutoblockLogLink( &$otherBlockLink ) {
2626  return $this->container->run(
2627  'OtherAutoblockLogLink',
2628  [ &$otherBlockLink ]
2629  );
2630  }
2631 
2632  public function onOtherBlockLogLink( &$otherBlockLink, $ip ) {
2633  return $this->container->run(
2634  'OtherBlockLogLink',
2635  [ &$otherBlockLink, $ip ]
2636  );
2637  }
2638 
2639  public function onOutputPageAfterGetHeadLinksArray( &$tags, $out ) {
2640  return $this->container->run(
2641  'OutputPageAfterGetHeadLinksArray',
2642  [ &$tags, $out ]
2643  );
2644  }
2645 
2646  public function onOutputPageBeforeHTML( $out, &$text ) {
2647  return $this->container->run(
2648  'OutputPageBeforeHTML',
2649  [ $out, &$text ]
2650  );
2651  }
2652 
2653  public function onOutputPageBodyAttributes( $out, $sk, &$bodyAttrs ): void {
2654  $this->container->run(
2655  'OutputPageBodyAttributes',
2656  [ $out, $sk, &$bodyAttrs ],
2657  [ 'abortable' => false ]
2658  );
2659  }
2660 
2661  public function onOutputPageCheckLastModified( &$modifiedTimes, $out ) {
2662  return $this->container->run(
2663  'OutputPageCheckLastModified',
2664  [ &$modifiedTimes, $out ]
2665  );
2666  }
2667 
2668  public function onOutputPageMakeCategoryLinks( $out, $categories, &$links ) {
2669  return $this->container->run(
2670  'OutputPageMakeCategoryLinks',
2671  [ $out, $categories, &$links ]
2672  );
2673  }
2674 
2675  public function onOutputPageParserOutput( $outputPage, $parserOutput ): void {
2676  $this->container->run(
2677  'OutputPageParserOutput',
2678  [ $outputPage, $parserOutput ],
2679  [ 'abortable' => false ]
2680  );
2681  }
2682 
2683  public function onPageContentLanguage( $title, &$pageLang, $userLang ) {
2684  return $this->container->run(
2685  'PageContentLanguage',
2686  [ $title, &$pageLang, $userLang ]
2687  );
2688  }
2689 
2690  public function onPageContentSave( $wikiPage, $user, $content, &$summary,
2691  $isminor, $iswatch, $section, $flags, $status
2692  ) {
2693  return $this->container->run(
2694  'PageContentSave',
2695  [ $wikiPage, $user, $content, &$summary, $isminor, $iswatch,
2696  $section, $flags, $status ]
2697  );
2698  }
2699 
2700  public function onPageDelete(
2701  ProperPageIdentity $page,
2702  Authority $deleter,
2703  string $reason,
2704  StatusValue $status,
2705  bool $suppress
2706  ) {
2707  return $this->container->run(
2708  'PageDelete',
2709  [ $page, $deleter, $reason, $status, $suppress ]
2710  );
2711  }
2712 
2713  public function onPageDeleteComplete(
2714  ProperPageIdentity $page,
2715  Authority $deleter,
2716  string $reason,
2717  int $pageID,
2718  RevisionRecord $deletedRev,
2719  ManualLogEntry $logEntry,
2720  int $archivedRevisionCount
2721  ) {
2722  return $this->container->run(
2723  'PageDeleteComplete',
2724  [ $page, $deleter, $reason, $pageID, $deletedRev, $logEntry, $archivedRevisionCount ]
2725  );
2726  }
2727 
2728  public function onPageDeletionDataUpdates( $title, $revision, &$updates ) {
2729  return $this->container->run(
2730  'PageDeletionDataUpdates',
2731  [ $title, $revision, &$updates ]
2732  );
2733  }
2734 
2735  public function onPageUndelete(
2736  ProperPageIdentity $page,
2737  Authority $performer,
2738  string $reason,
2739  bool $unsuppress,
2740  array $timestamps,
2741  array $fileVersions,
2742  StatusValue $status
2743  ) {
2744  return $this->container->run(
2745  'PageUndelete',
2746  [ $page, $performer, $reason, $unsuppress, $timestamps, $fileVersions, $status ]
2747  );
2748  }
2749 
2750  public function onPageHistoryBeforeList( $article, $context ) {
2751  return $this->container->run(
2752  'PageHistoryBeforeList',
2753  [ $article, $context ]
2754  );
2755  }
2756 
2757  public function onPageHistoryLineEnding( $historyAction, &$row, &$s, &$classes,
2758  &$attribs
2759  ) {
2760  return $this->container->run(
2761  'PageHistoryLineEnding',
2762  [ $historyAction, &$row, &$s, &$classes, &$attribs ]
2763  );
2764  }
2765 
2766  public function onPageHistoryPager__doBatchLookups( $pager, $result ) {
2767  return $this->container->run(
2768  'PageHistoryPager::doBatchLookups',
2769  [ $pager, $result ]
2770  );
2771  }
2772 
2773  public function onPageHistoryPager__getQueryInfo( $pager, &$queryInfo ) {
2774  return $this->container->run(
2775  'PageHistoryPager::getQueryInfo',
2776  [ $pager, &$queryInfo ]
2777  );
2778  }
2779 
2780  public function onPageMoveComplete( $old, $new, $user, $pageid, $redirid, $reason, $revision ) {
2781  return $this->container->run(
2782  'PageMoveComplete',
2783  [ $old, $new, $user, $pageid, $redirid, $reason, $revision ]
2784  );
2785  }
2786 
2787  public function onPageMoveCompleting( $old, $new, $user, $pageid, $redirid, $reason, $revision ) {
2788  return $this->container->run(
2789  'PageMoveCompleting',
2790  [ $old, $new, $user, $pageid, $redirid, $reason, $revision ]
2791  );
2792  }
2793 
2794  public function onPageRenderingHash( &$confstr, $user, &$forOptions ) {
2795  return $this->container->run(
2796  'PageRenderingHash',
2797  [ &$confstr, $user, &$forOptions ]
2798  );
2799  }
2800 
2801  public function onPageSaveComplete( $wikiPage, $user, $summary, $flags,
2802  $revisionRecord, $editResult
2803  ) {
2804  return $this->container->run(
2805  'PageSaveComplete',
2806  [ $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult ]
2807  );
2808  }
2809 
2810  public function onPageViewUpdates( $wikipage, $user ) {
2811  return $this->container->run(
2812  'PageViewUpdates',
2813  [ $wikipage, $user ]
2814  );
2815  }
2816 
2817  public function onParserAfterParse( $parser, &$text, $stripState ) {
2818  return $this->container->run(
2819  'ParserAfterParse',
2820  [ $parser, &$text, $stripState ]
2821  );
2822  }
2823 
2824  public function onParserAfterTidy( $parser, &$text ) {
2825  return $this->container->run(
2826  'ParserAfterTidy',
2827  [ $parser, &$text ]
2828  );
2829  }
2830 
2831  public function onParserBeforeInternalParse( $parser, &$text, $stripState ) {
2832  return $this->container->run(
2833  'ParserBeforeInternalParse',
2834  [ $parser, &$text, $stripState ]
2835  );
2836  }
2837 
2838  public function onParserBeforePreprocess( $parser, &$text, $stripState ) {
2839  return $this->container->run(
2840  'ParserBeforePreprocess',
2841  [ $parser, &$text, $stripState ]
2842  );
2843  }
2844 
2845  public function onParserCacheSaveComplete( $parserCache, $parserOutput, $title,
2846  $popts, $revId
2847  ) {
2848  return $this->container->run(
2849  'ParserCacheSaveComplete',
2850  [ $parserCache, $parserOutput, $title, $popts, $revId ]
2851  );
2852  }
2853 
2854  public function onParserClearState( $parser ) {
2855  return $this->container->run(
2856  'ParserClearState',
2857  [ $parser ]
2858  );
2859  }
2860 
2861  public function onParserCloned( $parser ) {
2862  return $this->container->run(
2863  'ParserCloned',
2864  [ $parser ]
2865  );
2866  }
2867 
2868  public function onParserFirstCallInit( $parser ) {
2869  return $this->container->run(
2870  'ParserFirstCallInit',
2871  [ $parser ]
2872  );
2873  }
2874 
2875  public function onParserGetVariableValueSwitch( $parser, &$variableCache,
2876  $magicWordId, &$ret, $frame
2877  ) {
2878  return $this->container->run(
2879  'ParserGetVariableValueSwitch',
2880  [ $parser, &$variableCache, $magicWordId, &$ret, $frame ]
2881  );
2882  }
2883 
2884  public function onParserGetVariableValueTs( $parser, &$time ) {
2885  return $this->container->run(
2886  'ParserGetVariableValueTs',
2887  [ $parser, &$time ]
2888  );
2889  }
2890 
2891  public function onParserGetVariableValueVarCache( $parser, &$varCache ) {
2892  return $this->container->run(
2893  'ParserGetVariableValueVarCache',
2894  [ $parser, &$varCache ]
2895  );
2896  }
2897 
2898  public function onParserLimitReportFormat( $key, &$value, &$report, $isHTML,
2899  $localize
2900  ) {
2901  return $this->container->run(
2902  'ParserLimitReportFormat',
2903  [ $key, &$value, &$report, $isHTML, $localize ]
2904  );
2905  }
2906 
2907  public function onParserLimitReportPrepare( $parser, $output ) {
2908  return $this->container->run(
2909  'ParserLimitReportPrepare',
2910  [ $parser, $output ]
2911  );
2912  }
2913 
2914  public function onParserMakeImageParams( $title, $file, &$params, $parser ) {
2915  return $this->container->run(
2916  'ParserMakeImageParams',
2917  [ $title, $file, &$params, $parser ]
2918  );
2919  }
2920 
2921  public function onParserModifyImageHTML( Parser $parser, File $file,
2922  array $params, string &$html
2923  ): void {
2924  $this->container->run(
2925  'ParserModifyImageHTML',
2926  [ $parser, $file, $params, &$html ],
2927  [ 'abortable' => false ]
2928  );
2929  }
2930 
2931  public function onParserOptionsRegister( &$defaults, &$inCacheKey, &$lazyLoad ) {
2932  return $this->container->run(
2933  'ParserOptionsRegister',
2934  [ &$defaults, &$inCacheKey, &$lazyLoad ]
2935  );
2936  }
2937 
2938  public function onParserOutputPostCacheTransform( $parserOutput, &$text,
2939  &$options
2940  ): void {
2941  $this->container->run(
2942  'ParserOutputPostCacheTransform',
2943  [ $parserOutput, &$text, &$options ],
2944  [ 'abortable' => false ]
2945  );
2946  }
2947 
2948  public function onParserOutputStashForEdit( $page, $content, $output, $summary,
2949  $user
2950  ) {
2951  return $this->container->run(
2952  'ParserOutputStashForEdit',
2953  [ $page, $content, $output, $summary, $user ]
2954  );
2955  }
2956 
2957  public function onParserPreSaveTransformComplete( $parser, &$text ) {
2958  return $this->container->run(
2959  'ParserPreSaveTransformComplete',
2960  [ $parser, &$text ]
2961  );
2962  }
2963 
2964  public function onParserSectionCreate( $parser, $section, &$sectionContent,
2965  $showEditLinks
2966  ) {
2967  return $this->container->run(
2968  'ParserSectionCreate',
2969  [ $parser, $section, &$sectionContent, $showEditLinks ]
2970  );
2971  }
2972 
2973  public function onParserTestGlobals( &$globals ) {
2974  return $this->container->run(
2975  'ParserTestGlobals',
2976  [ &$globals ]
2977  );
2978  }
2979 
2980  public function onParserTestTables( &$tables ) {
2981  return $this->container->run(
2982  'ParserTestTables',
2983  [ &$tables ]
2984  );
2985  }
2986 
2987  public function onPasswordPoliciesForUser( $user, &$effectivePolicy ) {
2988  return $this->container->run(
2989  'PasswordPoliciesForUser',
2990  [ $user, &$effectivePolicy ]
2991  );
2992  }
2993 
2994  public function onPerformRetroactiveAutoblock( $block, &$blockIds ) {
2995  return $this->container->run(
2996  'PerformRetroactiveAutoblock',
2997  [ $block, &$blockIds ]
2998  );
2999  }
3000 
3001  public function onPersonalUrls( &$personal_urls, &$title, $skin ): void {
3002  $this->container->run(
3003  'PersonalUrls',
3004  [ &$personal_urls, &$title, $skin ],
3005  [ 'abortable' => false ]
3006  );
3007  }
3008 
3009  public function onPingLimiter( $user, $action, &$result, $incrBy ) {
3010  return $this->container->run(
3011  'PingLimiter',
3012  [ $user, $action, &$result, $incrBy ]
3013  );
3014  }
3015 
3016  public function onPlaceNewSection( $content, $oldtext, $subject, &$text ) {
3017  return $this->container->run(
3018  'PlaceNewSection',
3019  [ $content, $oldtext, $subject, &$text ]
3020  );
3021  }
3022 
3023  public function onPostLoginRedirect( &$returnTo, &$returnToQuery, &$type ) {
3024  return $this->container->run(
3025  'PostLoginRedirect',
3026  [ &$returnTo, &$returnToQuery, &$type ]
3027  );
3028  }
3029 
3030  public function onPreferencesFormPreSave( $formData, $form, $user, &$result,
3031  $oldUserOptions
3032  ) {
3033  return $this->container->run(
3034  'PreferencesFormPreSave',
3035  [ $formData, $form, $user, &$result, $oldUserOptions ]
3036  );
3037  }
3038 
3039  public function onPreferencesGetLegend( $form, $key, &$legend ) {
3040  return $this->container->run(
3041  'PreferencesGetLegend',
3042  [ $form, $key, &$legend ]
3043  );
3044  }
3045 
3046  public function onPrefixSearchBackend( $ns, $search, $limit, &$results,
3047  $offset
3048  ) {
3049  return $this->container->run(
3050  'PrefixSearchBackend',
3051  [ $ns, $search, $limit, &$results, $offset ]
3052  );
3053  }
3054 
3055  public function onPrefixSearchExtractNamespace( &$namespaces, &$search ) {
3056  return $this->container->run(
3057  'PrefixSearchExtractNamespace',
3058  [ &$namespaces, &$search ]
3059  );
3060  }
3061 
3062  public function onPrefsEmailAudit( $user, $oldaddr, $newaddr ) {
3063  return $this->container->run(
3064  'PrefsEmailAudit',
3065  [ $user, $oldaddr, $newaddr ]
3066  );
3067  }
3068 
3069  public function onProtectionForm__buildForm( $article, &$output ) {
3070  return $this->container->run(
3071  'ProtectionForm::buildForm',
3072  [ $article, &$output ]
3073  );
3074  }
3075 
3076  public function onProtectionFormAddFormFields( $article, &$hookFormOptions ) {
3077  return $this->container->run(
3078  'ProtectionFormAddFormFields',
3079  [ $article, &$hookFormOptions ]
3080  );
3081  }
3082 
3083  public function onProtectionForm__save( $article, &$errorMsg, $reasonstr ) {
3084  return $this->container->run(
3085  'ProtectionForm::save',
3086  [ $article, &$errorMsg, $reasonstr ]
3087  );
3088  }
3089 
3090  public function onProtectionForm__showLogExtract( $article, $out ) {
3091  return $this->container->run(
3092  'ProtectionForm::showLogExtract',
3093  [ $article, $out ]
3094  );
3095  }
3096 
3097  public function onRandomPageQuery( &$tables, &$conds, &$joinConds ) {
3098  return $this->container->run(
3099  'RandomPageQuery',
3100  [ &$tables, &$conds, &$joinConds ]
3101  );
3102  }
3103 
3104  public function onRawPageViewBeforeOutput( $obj, &$text ) {
3105  return $this->container->run(
3106  'RawPageViewBeforeOutput',
3107  [ $obj, &$text ]
3108  );
3109  }
3110 
3111  public function onRecentChangesPurgeRows( $rows ) {
3112  return $this->container->run(
3113  'RecentChangesPurgeRows',
3114  [ $rows ]
3115  );
3116  }
3117 
3118  public function onRecentChange_save( $recentChange ) {
3119  return $this->container->run(
3120  'RecentChange_save',
3121  [ $recentChange ]
3122  );
3123  }
3124 
3125  public function onRedirectSpecialArticleRedirectParams( &$redirectParams ) {
3126  return $this->container->run(
3127  'RedirectSpecialArticleRedirectParams',
3128  [ &$redirectParams ]
3129  );
3130  }
3131 
3132  public function onRejectParserCacheValue( $parserOutput, $wikiPage,
3133  $parserOptions
3134  ) {
3135  return $this->container->run(
3136  'RejectParserCacheValue',
3137  [ $parserOutput, $wikiPage, $parserOptions ]
3138  );
3139  }
3140 
3141  public function onRequestContextCreateSkin( $context, &$skin ) {
3142  return $this->container->run(
3143  'RequestContextCreateSkin',
3144  [ $context, &$skin ]
3145  );
3146  }
3147 
3148  public function onResetPasswordExpiration( $user, &$newExpire ) {
3149  return $this->container->run(
3150  'ResetPasswordExpiration',
3151  [ $user, &$newExpire ]
3152  );
3153  }
3154 
3155  public function onResourceLoaderGetConfigVars( array &$vars, $skin, Config $config ): void {
3156  $this->container->run(
3157  'ResourceLoaderGetConfigVars',
3158  [ &$vars, $skin, $config ],
3159  [ 'abortable' => false ]
3160  );
3161  }
3162 
3164  array &$magicWords
3165  ): void {
3166  $this->container->run(
3167  'ResourceLoaderJqueryMsgModuleMagicWords',
3168  [ $context, &$magicWords ],
3169  [ 'abortable' => false ]
3170  );
3171  }
3172 
3173  public function onRevisionDataUpdates( $title, $renderedRevision, &$updates ) {
3174  return $this->container->run(
3175  'RevisionDataUpdates',
3176  [ $title, $renderedRevision, &$updates ]
3177  );
3178  }
3179 
3180  public function onRevisionFromEditComplete( $wikiPage, $rev, $originalRevId, $user, &$tags ) {
3181  return $this->container->run(
3182  'RevisionFromEditComplete',
3183  [ $wikiPage, $rev, $originalRevId, $user, &$tags ]
3184  );
3185  }
3186 
3187  public function onRevisionRecordInserted( $revisionRecord ) {
3188  return $this->container->run(
3189  'RevisionRecordInserted',
3190  [ $revisionRecord ]
3191  );
3192  }
3193 
3194  public function onRevisionUndeleted( $revisionRecord, $oldPageID ) {
3195  return $this->container->run(
3196  'RevisionUndeleted',
3197  [ $revisionRecord, $oldPageID ]
3198  );
3199  }
3200 
3201  public function onRollbackComplete( $wikiPage, $user, $revision, $current ) {
3202  return $this->container->run(
3203  'RollbackComplete',
3204  [ $wikiPage, $user, $revision, $current ]
3205  );
3206  }
3207 
3208  public function onSearchableNamespaces( &$arr ) {
3209  return $this->container->run(
3210  'SearchableNamespaces',
3211  [ &$arr ]
3212  );
3213  }
3214 
3215  public function onSearchAfterNoDirectMatch( $term, &$title ) {
3216  return $this->container->run(
3217  'SearchAfterNoDirectMatch',
3218  [ $term, &$title ]
3219  );
3220  }
3221 
3222  public function onSearchDataForIndex( &$fields, $handler, $page, $output,
3223  $engine
3224  ) {
3225  return $this->container->run(
3226  'SearchDataForIndex',
3227  [ &$fields, $handler, $page, $output, $engine ]
3228  );
3229  }
3230 
3231  public function onSearchGetNearMatch( $term, &$title ) {
3232  return $this->container->run(
3233  'SearchGetNearMatch',
3234  [ $term, &$title ]
3235  );
3236  }
3237 
3238  public function onSearchGetNearMatchBefore( $allSearchTerms, &$titleResult ) {
3239  return $this->container->run(
3240  'SearchGetNearMatchBefore',
3241  [ $allSearchTerms, &$titleResult ]
3242  );
3243  }
3244 
3245  public function onSearchGetNearMatchComplete( $term, &$title ) {
3246  return $this->container->run(
3247  'SearchGetNearMatchComplete',
3248  [ $term, &$title ]
3249  );
3250  }
3251 
3252  public function onSearchIndexFields( &$fields, $engine ) {
3253  return $this->container->run(
3254  'SearchIndexFields',
3255  [ &$fields, $engine ]
3256  );
3257  }
3258 
3259  public function onSearchResultInitFromTitle( $title, &$id ) {
3260  return $this->container->run(
3261  'SearchResultInitFromTitle',
3262  [ $title, &$id ]
3263  );
3264  }
3265 
3266  public function onSearchResultProvideDescription( array $pageIdentities, &$descriptions ) {
3267  return $this->container->run(
3268  'SearchResultProvideDescription',
3269  [ $pageIdentities, &$descriptions ]
3270  );
3271  }
3272 
3273  public function onSearchResultProvideThumbnail( array $pageIdentities, &$thumbnails ) {
3274  return $this->container->run(
3275  'SearchResultProvideThumbnail',
3276  [ $pageIdentities, &$thumbnails ]
3277  );
3278  }
3279 
3280  public function onSearchResultsAugment( &$setAugmentors, &$rowAugmentors ) {
3281  return $this->container->run(
3282  'SearchResultsAugment',
3283  [ &$setAugmentors, &$rowAugmentors ]
3284  );
3285  }
3286 
3287  public function onSecuritySensitiveOperationStatus( &$status, $operation,
3288  $session, $timeSinceAuth
3289  ) {
3290  return $this->container->run(
3291  'SecuritySensitiveOperationStatus',
3292  [ &$status, $operation, $session, $timeSinceAuth ]
3293  );
3294  }
3295 
3296  public function onSelfLinkBegin( $nt, &$html, &$trail, &$prefix, &$ret ) {
3297  return $this->container->run(
3298  'SelfLinkBegin',
3299  [ $nt, &$html, &$trail, &$prefix, &$ret ]
3300  );
3301  }
3302 
3303  public function onSendWatchlistEmailNotification( $targetUser, $title, $enotif ) {
3304  return $this->container->run(
3305  'SendWatchlistEmailNotification',
3306  [ $targetUser, $title, $enotif ]
3307  );
3308  }
3309 
3310  public function onSessionCheckInfo( &$reason, $info, $request, $metadata,
3311  $data
3312  ) {
3313  return $this->container->run(
3314  'SessionCheckInfo',
3315  [ &$reason, $info, $request, $metadata, $data ]
3316  );
3317  }
3318 
3319  public function onSessionMetadata( $backend, &$metadata, $requests ) {
3320  return $this->container->run(
3321  'SessionMetadata',
3322  [ $backend, &$metadata, $requests ]
3323  );
3324  }
3325 
3326  public function onSetupAfterCache() {
3327  return $this->container->run(
3328  'SetupAfterCache',
3329  []
3330  );
3331  }
3332 
3333  public function onShortPagesQuery( &$tables, &$conds, &$joinConds, &$options ) {
3334  return $this->container->run(
3335  'ShortPagesQuery',
3336  [ &$tables, &$conds, &$joinConds, &$options ]
3337  );
3338  }
3339 
3340  public function onShowMissingArticle( $article ) {
3341  return $this->container->run(
3342  'ShowMissingArticle',
3343  [ $article ]
3344  );
3345  }
3346 
3347  public function onShowSearchHit( $searchPage, $result, $terms, &$link,
3348  &$redirect, &$section, &$extract, &$score, &$size, &$date, &$related, &$html
3349  ) {
3350  return $this->container->run(
3351  'ShowSearchHit',
3352  [ $searchPage, $result, $terms, &$link, &$redirect, &$section,
3353  &$extract, &$score, &$size, &$date, &$related, &$html ]
3354  );
3355  }
3356 
3357  public function onShowSearchHitTitle( &$title, &$titleSnippet, $result, $terms,
3358  $specialSearch, &$query, &$attributes
3359  ) {
3360  return $this->container->run(
3361  'ShowSearchHitTitle',
3362  [ &$title, &$titleSnippet, $result, $terms, $specialSearch,
3363  &$query, &$attributes ]
3364  );
3365  }
3366 
3367  public function onSidebarBeforeOutput( $skin, &$sidebar ): void {
3368  $this->container->run(
3369  'SidebarBeforeOutput',
3370  [ $skin, &$sidebar ],
3371  [ 'abortable' => false ]
3372  );
3373  }
3374 
3375  public function onSiteNoticeAfter( &$siteNotice, $skin ) {
3376  return $this->container->run(
3377  'SiteNoticeAfter',
3378  [ &$siteNotice, $skin ]
3379  );
3380  }
3381 
3382  public function onSiteNoticeBefore( &$siteNotice, $skin ) {
3383  return $this->container->run(
3384  'SiteNoticeBefore',
3385  [ &$siteNotice, $skin ]
3386  );
3387  }
3388 
3390  array &$config
3391  ): void {
3392  $this->container->run(
3393  'SkinPageReadyConfig',
3394  [ $context, &$config ],
3395  [ 'abortable' => false ]
3396  );
3397  }
3398 
3399  public function onSkinAddFooterLinks( Skin $skin, string $key, array &$footerItems ) {
3400  $this->container->run(
3401  'SkinAddFooterLinks',
3402  [ $skin, $key, &$footerItems ]
3403  );
3404  }
3405 
3406  public function onSkinAfterBottomScripts( $skin, &$text ) {
3407  return $this->container->run(
3408  'SkinAfterBottomScripts',
3409  [ $skin, &$text ]
3410  );
3411  }
3412 
3413  public function onSkinAfterContent( &$data, $skin ) {
3414  return $this->container->run(
3415  'SkinAfterContent',
3416  [ &$data, $skin ]
3417  );
3418  }
3419 
3420  public function onSkinAfterPortlet( $skin, $portlet, &$html ) {
3421  return $this->container->run(
3422  'SkinAfterPortlet',
3423  [ $skin, $portlet, &$html ]
3424  );
3425  }
3426 
3427  public function onSkinBuildSidebar( $skin, &$bar ) {
3428  return $this->container->run(
3429  'SkinBuildSidebar',
3430  [ $skin, &$bar ]
3431  );
3432  }
3433 
3434  public function onSkinCopyrightFooter( $title, $type, &$msg, &$link ) {
3435  return $this->container->run(
3436  'SkinCopyrightFooter',
3437  [ $title, $type, &$msg, &$link ]
3438  );
3439  }
3440 
3441  public function onSkinEditSectionLinks( $skin, $title, $section, $tooltip,
3442  &$result, $lang
3443  ) {
3444  return $this->container->run(
3445  'SkinEditSectionLinks',
3446  [ $skin, $title, $section, $tooltip, &$result, $lang ]
3447  );
3448  }
3449 
3450  public function onSkinGetPoweredBy( &$text, $skin ) {
3451  return $this->container->run(
3452  'SkinGetPoweredBy',
3453  [ &$text, $skin ]
3454  );
3455  }
3456 
3457  public function onSkinPreloadExistence( &$titles, $skin ) {
3458  return $this->container->run(
3459  'SkinPreloadExistence',
3460  [ &$titles, $skin ]
3461  );
3462  }
3463 
3464  public function onSkinSubPageSubtitle( &$subpages, $skin, $out ) {
3465  return $this->container->run(
3466  'SkinSubPageSubtitle',
3467  [ &$subpages, $skin, $out ]
3468  );
3469  }
3470 
3471  public function onSkinTemplateGetLanguageLink( &$languageLink,
3472  $languageLinkTitle, $title, $outputPage
3473  ) {
3474  return $this->container->run(
3475  'SkinTemplateGetLanguageLink',
3476  [ &$languageLink, $languageLinkTitle, $title, $outputPage ]
3477  );
3478  }
3479 
3480  public function onSkinTemplateNavigation( $sktemplate, &$links ): void {
3481  $this->container->run(
3482  'SkinTemplateNavigation',
3483  [ $sktemplate, &$links ],
3484  [ 'abortable' => false ]
3485  );
3486  }
3487 
3488  public function onSkinTemplateNavigation__SpecialPage( $sktemplate, &$links ): void {
3489  $this->container->run(
3490  'SkinTemplateNavigation::SpecialPage',
3491  [ $sktemplate, &$links ],
3492  [ 'abortable' => false ]
3493  );
3494  }
3495 
3496  public function onSkinTemplateNavigation__Universal( $sktemplate, &$links ): void {
3497  $this->container->run(
3498  'SkinTemplateNavigation::Universal',
3499  [ $sktemplate, &$links ],
3500  [ 'abortable' => false ]
3501  );
3502  }
3503 
3504  public function onSoftwareInfo( &$software ) {
3505  return $this->container->run(
3506  'SoftwareInfo',
3507  [ &$software ]
3508  );
3509  }
3510 
3511  public function onSpecialBlockModifyFormFields( $sp, &$fields ) {
3512  return $this->container->run(
3513  'SpecialBlockModifyFormFields',
3514  [ $sp, &$fields ]
3515  );
3516  }
3517 
3518  public function onSpecialContributionsBeforeMainOutput( $id, $user, $sp ) {
3519  return $this->container->run(
3520  'SpecialContributionsBeforeMainOutput',
3521  [ $id, $user, $sp ]
3522  );
3523  }
3524 
3526  &$flags
3527  ) {
3528  return $this->container->run(
3529  'SpecialContributions::formatRow::flags',
3530  [ $context, $row, &$flags ]
3531  );
3532  }
3533 
3534  public function onSpecialContributions__getForm__filters( $sp, &$filters ) {
3535  return $this->container->run(
3536  'SpecialContributions::getForm::filters',
3537  [ $sp, &$filters ]
3538  );
3539  }
3540 
3541  public function onSpecialExportGetExtraPages( $inputPages, &$extraPages ) {
3542  return $this->container->run(
3543  'SpecialExportGetExtraPages',
3544  [ $inputPages, &$extraPages ]
3545  );
3546  }
3547 
3548  public function onSpecialListusersDefaultQuery( $pager, &$query ) {
3549  return $this->container->run(
3550  'SpecialListusersDefaultQuery',
3551  [ $pager, &$query ]
3552  );
3553  }
3554 
3555  public function onSpecialListusersFormatRow( &$item, $row ) {
3556  return $this->container->run(
3557  'SpecialListusersFormatRow',
3558  [ &$item, $row ]
3559  );
3560  }
3561 
3562  public function onSpecialListusersHeader( $pager, &$out ) {
3563  return $this->container->run(
3564  'SpecialListusersHeader',
3565  [ $pager, &$out ]
3566  );
3567  }
3568 
3569  public function onSpecialListusersHeaderForm( $pager, &$out ) {
3570  return $this->container->run(
3571  'SpecialListusersHeaderForm',
3572  [ $pager, &$out ]
3573  );
3574  }
3575 
3576  public function onSpecialListusersQueryInfo( $pager, &$query ) {
3577  return $this->container->run(
3578  'SpecialListusersQueryInfo',
3579  [ $pager, &$query ]
3580  );
3581  }
3582 
3583  public function onSpecialLogAddLogSearchRelations( $type, $request, &$qc ) {
3584  return $this->container->run(
3585  'SpecialLogAddLogSearchRelations',
3586  [ $type, $request, &$qc ]
3587  );
3588  }
3589 
3590  public function onSpecialMovepageAfterMove( $movePage, $oldTitle, $newTitle ) {
3591  return $this->container->run(
3592  'SpecialMovepageAfterMove',
3593  [ $movePage, $oldTitle, $newTitle ]
3594  );
3595  }
3596 
3597  public function onSpecialMuteModifyFormFields( $target, $user, &$fields ) {
3598  return $this->container->run(
3599  'SpecialMuteModifyFormFields',
3600  [ $target, $user, &$fields ]
3601  );
3602  }
3603 
3604  public function onSpecialMuteSubmit( $data ) {
3605  return $this->container->run(
3606  'SpecialMuteSubmit',
3607  [ $data ]
3608  );
3609  }
3610 
3611  public function onSpecialNewpagesConditions( $special, $opts, &$conds,
3612  &$tables, &$fields, &$join_conds
3613  ) {
3614  return $this->container->run(
3615  'SpecialNewpagesConditions',
3616  [ $special, $opts, &$conds, &$tables, &$fields, &$join_conds ]
3617  );
3618  }
3619 
3620  public function onSpecialNewPagesFilters( $special, &$filters ) {
3621  return $this->container->run(
3622  'SpecialNewPagesFilters',
3623  [ $special, &$filters ]
3624  );
3625  }
3626 
3627  public function onSpecialPageAfterExecute( $special, $subPage ) {
3628  return $this->container->run(
3629  'SpecialPageAfterExecute',
3630  [ $special, $subPage ]
3631  );
3632  }
3633 
3634  public function onSpecialPageBeforeExecute( $special, $subPage ) {
3635  return $this->container->run(
3636  'SpecialPageBeforeExecute',
3637  [ $special, $subPage ]
3638  );
3639  }
3640 
3641  public function onSpecialPageBeforeFormDisplay( $name, $form ) {
3642  return $this->container->run(
3643  'SpecialPageBeforeFormDisplay',
3644  [ $name, $form ]
3645  );
3646  }
3647 
3648  public function onSpecialPage_initList( &$list ) {
3649  return $this->container->run(
3650  'SpecialPage_initList',
3651  [ &$list ]
3652  );
3653  }
3654 
3655  public function onSpecialPasswordResetOnSubmit( &$users, $data, &$error ) {
3656  return $this->container->run(
3657  'SpecialPasswordResetOnSubmit',
3658  [ &$users, $data, &$error ]
3659  );
3660  }
3661 
3662  public function onSpecialRandomGetRandomTitle( &$randstr, &$isRedir,
3663  &$namespaces, &$extra, &$title
3664  ) {
3665  return $this->container->run(
3666  'SpecialRandomGetRandomTitle',
3667  [ &$randstr, &$isRedir, &$namespaces, &$extra, &$title ]
3668  );
3669  }
3670 
3671  public function onSpecialRecentChangesPanel( &$extraOpts, $opts ) {
3672  return $this->container->run(
3673  'SpecialRecentChangesPanel',
3674  [ &$extraOpts, $opts ]
3675  );
3676  }
3677 
3678  public function onSpecialResetTokensTokens( &$tokens ) {
3679  return $this->container->run(
3680  'SpecialResetTokensTokens',
3681  [ &$tokens ]
3682  );
3683  }
3684 
3685  public function onSpecialSearchCreateLink( $t, &$params ) {
3686  return $this->container->run(
3687  'SpecialSearchCreateLink',
3688  [ $t, &$params ]
3689  );
3690  }
3691 
3692  public function onSpecialSearchGoResult( $term, $title, &$url ) {
3693  return $this->container->run(
3694  'SpecialSearchGoResult',
3695  [ $term, $title, &$url ]
3696  );
3697  }
3698 
3699  public function onSpecialSearchNogomatch( &$title ) {
3700  return $this->container->run(
3701  'SpecialSearchNogomatch',
3702  [ &$title ]
3703  );
3704  }
3705 
3706  public function onSpecialSearchPowerBox( &$showSections, $term, &$opts ) {
3707  return $this->container->run(
3708  'SpecialSearchPowerBox',
3709  [ &$showSections, $term, &$opts ]
3710  );
3711  }
3712 
3713  public function onSpecialSearchProfileForm( $search, &$form, $profile, $term,
3714  $opts
3715  ) {
3716  return $this->container->run(
3717  'SpecialSearchProfileForm',
3718  [ $search, &$form, $profile, $term, $opts ]
3719  );
3720  }
3721 
3722  public function onSpecialSearchProfiles( &$profiles ) {
3723  return $this->container->run(
3724  'SpecialSearchProfiles',
3725  [ &$profiles ]
3726  );
3727  }
3728 
3729  public function onSpecialSearchResults( $term, &$titleMatches, &$textMatches ) {
3730  return $this->container->run(
3731  'SpecialSearchResults',
3732  [ $term, &$titleMatches, &$textMatches ]
3733  );
3734  }
3735 
3736  public function onSpecialSearchResultsAppend( $specialSearch, $output, $term ) {
3737  return $this->container->run(
3738  'SpecialSearchResultsAppend',
3739  [ $specialSearch, $output, $term ]
3740  );
3741  }
3742 
3743  public function onSpecialSearchResultsPrepend( $specialSearch, $output, $term ) {
3744  return $this->container->run(
3745  'SpecialSearchResultsPrepend',
3746  [ $specialSearch, $output, $term ]
3747  );
3748  }
3749 
3750  public function onSpecialSearchSetupEngine( $search, $profile, $engine ) {
3751  return $this->container->run(
3752  'SpecialSearchSetupEngine',
3753  [ $search, $profile, $engine ]
3754  );
3755  }
3756 
3757  public function onSpecialStatsAddExtra( &$extraStats, $context ) {
3758  return $this->container->run(
3759  'SpecialStatsAddExtra',
3760  [ &$extraStats, $context ]
3761  );
3762  }
3763 
3764  public function onSpecialTrackingCategories__generateCatLink( $specialPage,
3765  $catTitle, &$html
3766  ) {
3767  return $this->container->run(
3768  'SpecialTrackingCategories::generateCatLink',
3769  [ $specialPage, $catTitle, &$html ]
3770  );
3771  }
3772 
3773  public function onSpecialTrackingCategories__preprocess( $specialPage,
3774  $trackingCategories
3775  ) {
3776  return $this->container->run(
3777  'SpecialTrackingCategories::preprocess',
3778  [ $specialPage, $trackingCategories ]
3779  );
3780  }
3781 
3782  public function onSpecialUploadComplete( $form ) {
3783  return $this->container->run(
3784  'SpecialUploadComplete',
3785  [ $form ]
3786  );
3787  }
3788 
3789  public function onSpecialVersionVersionUrl( $version, &$versionUrl ) {
3790  return $this->container->run(
3791  'SpecialVersionVersionUrl',
3792  [ $version, &$versionUrl ]
3793  );
3794  }
3795 
3796  public function onSpecialWatchlistGetNonRevisionTypes( &$nonRevisionTypes ) {
3797  return $this->container->run(
3798  'SpecialWatchlistGetNonRevisionTypes',
3799  [ &$nonRevisionTypes ]
3800  );
3801  }
3802 
3803  public function onTestCanonicalRedirect( $request, $title, $output ) {
3804  return $this->container->run(
3805  'TestCanonicalRedirect',
3806  [ $request, $title, $output ]
3807  );
3808  }
3809 
3810  public function onThumbnailBeforeProduceHTML( $thumbnail, &$attribs,
3811  &$linkAttribs
3812  ) {
3813  return $this->container->run(
3814  'ThumbnailBeforeProduceHTML',
3815  [ $thumbnail, &$attribs, &$linkAttribs ]
3816  );
3817  }
3818 
3819  public function onTitleExists( $title, &$exists ) {
3820  return $this->container->run(
3821  'TitleExists',
3822  [ $title, &$exists ]
3823  );
3824  }
3825 
3826  public function onTitleGetEditNotices( $title, $oldid, &$notices ) {
3827  return $this->container->run(
3828  'TitleGetEditNotices',
3829  [ $title, $oldid, &$notices ]
3830  );
3831  }
3832 
3833  public function onTitleGetRestrictionTypes( $title, &$types ) {
3834  return $this->container->run(
3835  'TitleGetRestrictionTypes',
3836  [ $title, &$types ]
3837  );
3838  }
3839 
3840  public function onTitleIsAlwaysKnown( $title, &$isKnown ) {
3841  return $this->container->run(
3842  'TitleIsAlwaysKnown',
3843  [ $title, &$isKnown ]
3844  );
3845  }
3846 
3847  public function onTitleIsMovable( $title, &$result ) {
3848  return $this->container->run(
3849  'TitleIsMovable',
3850  [ $title, &$result ]
3851  );
3852  }
3853 
3854  public function onTitleMove( $old, $nt, $user, $reason, &$status ) {
3855  return $this->container->run(
3856  'TitleMove',
3857  [ $old, $nt, $user, $reason, &$status ]
3858  );
3859  }
3860 
3861  public function onTitleMoveStarting( $old, $nt, $user ) {
3862  return $this->container->run(
3863  'TitleMoveStarting',
3864  [ $old, $nt, $user ]
3865  );
3866  }
3867 
3868  public function onTitleQuickPermissions( $title, $user, $action, &$errors,
3869  $doExpensiveQueries, $short
3870  ) {
3871  return $this->container->run(
3872  'TitleQuickPermissions',
3873  [ $title, $user, $action, &$errors, $doExpensiveQueries, $short ]
3874  );
3875  }
3876 
3877  public function onTitleReadWhitelist( $title, $user, &$whitelisted ) {
3878  return $this->container->run(
3879  'TitleReadWhitelist',
3880  [ $title, $user, &$whitelisted ]
3881  );
3882  }
3883 
3884  public function onTitleSquidURLs( $title, &$urls ) {
3885  return $this->container->run(
3886  'TitleSquidURLs',
3887  [ $title, &$urls ]
3888  );
3889  }
3890 
3891  public function onUnblockUser( $block, $user, &$reason ) {
3892  return $this->container->run(
3893  'UnblockUser',
3894  [ $block, $user, &$reason ]
3895  );
3896  }
3897 
3898  public function onUnblockUserComplete( $block, $user ) {
3899  return $this->container->run(
3900  'UnblockUserComplete',
3901  [ $block, $user ]
3902  );
3903  }
3904 
3905  public function onUndeleteForm__showHistory( &$archive, $title ) {
3906  return $this->container->run(
3907  'UndeleteForm::showHistory',
3908  [ &$archive, $title ]
3909  );
3910  }
3911 
3912  public function onUndeleteForm__showRevision( &$archive, $title ) {
3913  return $this->container->run(
3914  'UndeleteForm::showRevision',
3915  [ &$archive, $title ]
3916  );
3917  }
3918 
3919  public function onUndeletePageToolLinks( IContextSource $context, LinkRenderer $linkRenderer, array &$links ) {
3920  return $this->container->run(
3921  'UndeletePageToolLinks',
3922  [ $context, $linkRenderer, &$links ]
3923  );
3924  }
3925 
3926  public function onUnitTestsAfterDatabaseSetup( $database, $prefix ) {
3927  return $this->container->run(
3928  'UnitTestsAfterDatabaseSetup',
3929  [ $database, $prefix ]
3930  );
3931  }
3932 
3934  return $this->container->run(
3935  'UnitTestsBeforeDatabaseTeardown',
3936  []
3937  );
3938  }
3939 
3940  public function onUnitTestsList( &$paths ) {
3941  return $this->container->run(
3942  'UnitTestsList',
3943  [ &$paths ]
3944  );
3945  }
3946 
3947  public function onUnwatchArticle( $user, $page, &$status ) {
3948  return $this->container->run(
3949  'UnwatchArticle',
3950  [ $user, $page, &$status ]
3951  );
3952  }
3953 
3954  public function onUnwatchArticleComplete( $user, $page ) {
3955  return $this->container->run(
3956  'UnwatchArticleComplete',
3957  [ $user, $page ]
3958  );
3959  }
3960 
3961  public function onUpdateUserMailerFormattedPageStatus( &$formattedPageStatus ) {
3962  return $this->container->run(
3963  'UpdateUserMailerFormattedPageStatus',
3964  [ &$formattedPageStatus ]
3965  );
3966  }
3967 
3968  public function onUploadComplete( $uploadBase ) {
3969  return $this->container->run(
3970  'UploadComplete',
3971  [ $uploadBase ]
3972  );
3973  }
3974 
3975  public function onUploadCreateFromRequest( $type, &$className ) {
3976  return $this->container->run(
3977  'UploadCreateFromRequest',
3978  [ $type, &$className ]
3979  );
3980  }
3981 
3982  public function onUploadFormInitDescriptor( &$descriptor ) {
3983  return $this->container->run(
3984  'UploadFormInitDescriptor',
3985  [ &$descriptor ]
3986  );
3987  }
3988 
3989  public function onUploadFormSourceDescriptors( &$descriptor, &$radio,
3990  $selectedSourceType
3991  ) {
3992  return $this->container->run(
3993  'UploadFormSourceDescriptors',
3994  [ &$descriptor, &$radio, $selectedSourceType ]
3995  );
3996  }
3997 
3998  public function onUploadForm_BeforeProcessing( $upload ) {
3999  return $this->container->run(
4000  'UploadForm:BeforeProcessing',
4001  [ $upload ]
4002  );
4003  }
4004 
4005  public function onUploadForm_getInitialPageText( &$pageText, $msg, $config ) {
4006  return $this->container->run(
4007  'UploadForm:getInitialPageText',
4008  [ &$pageText, $msg, $config ]
4009  );
4010  }
4011 
4012  public function onUploadForm_initial( $upload ) {
4013  return $this->container->run(
4014  'UploadForm:initial',
4015  [ $upload ]
4016  );
4017  }
4018 
4019  public function onUploadStashFile( $upload, $user, $props, &$error ) {
4020  return $this->container->run(
4021  'UploadStashFile',
4022  [ $upload, $user, $props, &$error ]
4023  );
4024  }
4025 
4026  public function onUploadVerifyFile( $upload, $mime, &$error ) {
4027  return $this->container->run(
4028  'UploadVerifyFile',
4029  [ $upload, $mime, &$error ]
4030  );
4031  }
4032 
4033  public function onUploadVerifyUpload( $upload, $user, $props, $comment,
4034  $pageText, &$error
4035  ) {
4036  return $this->container->run(
4037  'UploadVerifyUpload',
4038  [ $upload, $user, $props, $comment, $pageText, &$error ]
4039  );
4040  }
4041 
4042  public function onUserAddGroup( $user, &$group, &$expiry ) {
4043  return $this->container->run(
4044  'UserAddGroup',
4045  [ $user, &$group, &$expiry ]
4046  );
4047  }
4048 
4049  public function onUserArrayFromResult( &$userArray, $res ) {
4050  return $this->container->run(
4051  'UserArrayFromResult',
4052  [ &$userArray, $res ]
4053  );
4054  }
4055 
4056  public function onUserCan( $title, $user, $action, &$result ) {
4057  return $this->container->run(
4058  'userCan',
4059  [ $title, $user, $action, &$result ]
4060  );
4061  }
4062 
4063  public function onUserCanSendEmail( $user, &$hookErr ) {
4064  return $this->container->run(
4065  'UserCanSendEmail',
4066  [ $user, &$hookErr ]
4067  );
4068  }
4069 
4070  public function onUserClearNewTalkNotification( $userIdentity, $oldid ) {
4071  return $this->container->run(
4072  'UserClearNewTalkNotification',
4073  [ $userIdentity, $oldid ]
4074  );
4075  }
4076 
4077  public function onUserEffectiveGroups( $user, &$groups ) {
4078  return $this->container->run(
4079  'UserEffectiveGroups',
4080  [ $user, &$groups ]
4081  );
4082  }
4083 
4084  public function onUserGetAllRights( &$rights ) {
4085  return $this->container->run(
4086  'UserGetAllRights',
4087  [ &$rights ]
4088  );
4089  }
4090 
4091  public function onUserGetDefaultOptions( &$defaultOptions ) {
4092  return $this->container->run(
4093  'UserGetDefaultOptions',
4094  [ &$defaultOptions ]
4095  );
4096  }
4097 
4098  public function onUserGetEmail( $user, &$email ) {
4099  return $this->container->run(
4100  'UserGetEmail',
4101  [ $user, &$email ]
4102  );
4103  }
4104 
4105  public function onUserGetEmailAuthenticationTimestamp( $user, &$timestamp ) {
4106  return $this->container->run(
4107  'UserGetEmailAuthenticationTimestamp',
4108  [ $user, &$timestamp ]
4109  );
4110  }
4111 
4112  public function onUserGetLanguageObject( $user, &$code, $context ) {
4113  return $this->container->run(
4114  'UserGetLanguageObject',
4115  [ $user, &$code, $context ]
4116  );
4117  }
4118 
4119  public function onUserGetReservedNames( &$reservedUsernames ) {
4120  return $this->container->run(
4121  'UserGetReservedNames',
4122  [ &$reservedUsernames ]
4123  );
4124  }
4125 
4126  public function onUserGetRights( $user, &$rights ) {
4127  return $this->container->run(
4128  'UserGetRights',
4129  [ $user, &$rights ]
4130  );
4131  }
4132 
4133  public function onUserGetRightsRemove( $user, &$rights ) {
4134  return $this->container->run(
4135  'UserGetRightsRemove',
4136  [ $user, &$rights ]
4137  );
4138  }
4139 
4140  public function onUserGroupsChanged( $user, $added, $removed, $performer,
4141  $reason, $oldUGMs, $newUGMs
4142  ) {
4143  return $this->container->run(
4144  'UserGroupsChanged',
4145  [ $user, $added, $removed, $performer, $reason, $oldUGMs,
4146  $newUGMs ]
4147  );
4148  }
4149 
4150  public function onUserIsBlockedFrom( $user, $title, &$blocked, &$allowUsertalk ) {
4151  return $this->container->run(
4152  'UserIsBlockedFrom',
4153  [ $user, $title, &$blocked, &$allowUsertalk ]
4154  );
4155  }
4156 
4157  public function onUserIsBlockedGlobally( $user, $ip, &$blocked, &$block ) {
4158  return $this->container->run(
4159  'UserIsBlockedGlobally',
4160  [ $user, $ip, &$blocked, &$block ]
4161  );
4162  }
4163 
4164  public function onUserIsBot( $user, &$isBot ) {
4165  return $this->container->run(
4166  'UserIsBot',
4167  [ $user, &$isBot ]
4168  );
4169  }
4170 
4171  public function onUserIsEveryoneAllowed( $right ) {
4172  return $this->container->run(
4173  'UserIsEveryoneAllowed',
4174  [ $right ]
4175  );
4176  }
4177 
4178  public function onUserIsLocked( $user, &$locked ) {
4179  return $this->container->run(
4180  'UserIsLocked',
4181  [ $user, &$locked ]
4182  );
4183  }
4184 
4185  public function onUserLoadAfterLoadFromSession( $user ) {
4186  return $this->container->run(
4187  'UserLoadAfterLoadFromSession',
4188  [ $user ]
4189  );
4190  }
4191 
4192  public function onUserLoadDefaults( $user, $name ) {
4193  return $this->container->run(
4194  'UserLoadDefaults',
4195  [ $user, $name ]
4196  );
4197  }
4198 
4199  public function onUserLoadFromDatabase( $user, &$s ) {
4200  return $this->container->run(
4201  'UserLoadFromDatabase',
4202  [ $user, &$s ]
4203  );
4204  }
4205 
4206  public function onLoadUserOptions( UserIdentity $user, array &$options ): void {
4207  $this->container->run(
4208  'LoadUserOptions',
4209  [ $user, &$options ],
4210  [ 'abortable' => false ]
4211  );
4212  }
4213 
4214  public function onUserLoggedIn( $user ) {
4215  return $this->container->run(
4216  'UserLoggedIn',
4217  [ $user ]
4218  );
4219  }
4220 
4221  public function onUserLoginComplete( $user, &$inject_html, $direct ) {
4222  return $this->container->run(
4223  'UserLoginComplete',
4224  [ $user, &$inject_html, $direct ]
4225  );
4226  }
4227 
4228  public function onUserLogout( $user ) {
4229  return $this->container->run(
4230  'UserLogout',
4231  [ $user ]
4232  );
4233  }
4234 
4235  public function onUserLogoutComplete( $user, &$inject_html, $oldName ) {
4236  return $this->container->run(
4237  'UserLogoutComplete',
4238  [ $user, &$inject_html, $oldName ]
4239  );
4240  }
4241 
4242  public function onUserMailerChangeReturnPath( $to, &$returnPath ) {
4243  return $this->container->run(
4244  'UserMailerChangeReturnPath',
4245  [ $to, &$returnPath ]
4246  );
4247  }
4248 
4249  public function onUserMailerSplitTo( &$to ) {
4250  return $this->container->run(
4251  'UserMailerSplitTo',
4252  [ &$to ]
4253  );
4254  }
4255 
4256  public function onUserMailerTransformContent( $to, $from, &$body, &$error ) {
4257  return $this->container->run(
4258  'UserMailerTransformContent',
4259  [ $to, $from, &$body, &$error ]
4260  );
4261  }
4262 
4263  public function onUserMailerTransformMessage( $to, $from, &$subject, &$headers,
4264  &$body, &$error
4265  ) {
4266  return $this->container->run(
4267  'UserMailerTransformMessage',
4268  [ $to, $from, &$subject, &$headers, &$body, &$error ]
4269  );
4270  }
4271 
4272  public function onUserRemoveGroup( $user, &$group ) {
4273  return $this->container->run(
4274  'UserRemoveGroup',
4275  [ $user, &$group ]
4276  );
4277  }
4278 
4279  public function onSaveUserOptions( UserIdentity $user, array &$modifiedOptions, array $originalOptions ) {
4280  return $this->container->run(
4281  'SaveUserOptions',
4282  [ $user, &$modifiedOptions, $originalOptions ]
4283  );
4284  }
4285 
4286  public function onUserSaveSettings( $user ) {
4287  return $this->container->run(
4288  'UserSaveSettings',
4289  [ $user ]
4290  );
4291  }
4292 
4293  public function onUserSendConfirmationMail( $user, &$mail, $info ) {
4294  return $this->container->run(
4295  'UserSendConfirmationMail',
4296  [ $user, &$mail, $info ]
4297  );
4298  }
4299 
4300  public function onUserSetCookies( $user, &$session, &$cookies ) {
4301  return $this->container->run(
4302  'UserSetCookies',
4303  [ $user, &$session, &$cookies ]
4304  );
4305  }
4306 
4307  public function onUserSetEmail( $user, &$email ) {
4308  return $this->container->run(
4309  'UserSetEmail',
4310  [ $user, &$email ]
4311  );
4312  }
4313 
4314  public function onUserSetEmailAuthenticationTimestamp( $user, &$timestamp ) {
4315  return $this->container->run(
4316  'UserSetEmailAuthenticationTimestamp',
4317  [ $user, &$timestamp ]
4318  );
4319  }
4320 
4321  public function onUsersPagerDoBatchLookups( $dbr, $userIds, &$cache, &$groups ) {
4322  return $this->container->run(
4323  'UsersPagerDoBatchLookups',
4324  [ $dbr, $userIds, &$cache, &$groups ]
4325  );
4326  }
4327 
4328  public function onUserToolLinksEdit( $userId, $userText, &$items ) {
4329  return $this->container->run(
4330  'UserToolLinksEdit',
4331  [ $userId, $userText, &$items ]
4332  );
4333  }
4334 
4335  public function onUser__mailPasswordInternal( $user, $ip, $u ) {
4336  return $this->container->run(
4337  'User::mailPasswordInternal',
4338  [ $user, $ip, $u ]
4339  );
4340  }
4341 
4342  public function onValidateExtendedMetadataCache( $timestamp, $file ) {
4343  return $this->container->run(
4344  'ValidateExtendedMetadataCache',
4345  [ $timestamp, $file ]
4346  );
4347  }
4348 
4349  public function onWantedPages__getQueryInfo( $wantedPages, &$query ) {
4350  return $this->container->run(
4351  'WantedPages::getQueryInfo',
4352  [ $wantedPages, &$query ]
4353  );
4354  }
4355 
4356  public function onWatchArticle( $user, $page, &$status, $expiry ) {
4357  return $this->container->run(
4358  'WatchArticle',
4359  [ $user, $page, &$status, $expiry ]
4360  );
4361  }
4362 
4363  public function onWatchArticleComplete( $user, $page ) {
4364  return $this->container->run(
4365  'WatchArticleComplete',
4366  [ $user, $page ]
4367  );
4368  }
4369 
4370  public function onWatchedItemQueryServiceExtensions( &$extensions,
4371  $watchedItemQueryService
4372  ) {
4373  return $this->container->run(
4374  'WatchedItemQueryServiceExtensions',
4375  [ &$extensions, $watchedItemQueryService ]
4376  );
4377  }
4378 
4379  public function onWatchlistEditorBeforeFormRender( &$watchlistInfo ) {
4380  return $this->container->run(
4381  'WatchlistEditorBeforeFormRender',
4382  [ &$watchlistInfo ]
4383  );
4384  }
4385 
4386  public function onWatchlistEditorBuildRemoveLine( &$tools, $title, $redirect,
4387  $skin, &$link
4388  ) {
4389  return $this->container->run(
4390  'WatchlistEditorBuildRemoveLine',
4391  [ &$tools, $title, $redirect, $skin, &$link ]
4392  );
4393  }
4394 
4395  public function onWebRequestPathInfoRouter( $router ) {
4396  return $this->container->run(
4397  'WebRequestPathInfoRouter',
4398  [ $router ]
4399  );
4400  }
4401 
4402  public function onWebResponseSetCookie( &$name, &$value, &$expire, &$options ) {
4403  return $this->container->run(
4404  'WebResponseSetCookie',
4405  [ &$name, &$value, &$expire, &$options ]
4406  );
4407  }
4408 
4409  public function onWfShellWikiCmd( &$script, &$parameters, &$options ) {
4410  return $this->container->run(
4411  'wfShellWikiCmd',
4412  [ &$script, &$parameters, &$options ]
4413  );
4414  }
4415 
4416  public function onWgQueryPages( &$qp ) {
4417  return $this->container->run(
4418  'wgQueryPages',
4419  [ &$qp ]
4420  );
4421  }
4422 
4423  public function onWhatLinksHereProps( $row, $title, $target, &$props ) {
4424  return $this->container->run(
4425  'WhatLinksHereProps',
4426  [ $row, $title, $target, &$props ]
4427  );
4428  }
4429 
4430  public function onWikiExporter__dumpStableQuery( &$tables, &$opts, &$join ) {
4431  return $this->container->run(
4432  'WikiExporter::dumpStableQuery',
4433  [ &$tables, &$opts, &$join ]
4434  );
4435  }
4436 
4437  public function onWikiPageDeletionUpdates( $page, $content, &$updates ) {
4438  return $this->container->run(
4439  'WikiPageDeletionUpdates',
4440  [ $page, $content, &$updates ]
4441  );
4442  }
4443 
4444  public function onWikiPageFactory( $title, &$page ) {
4445  return $this->container->run(
4446  'WikiPageFactory',
4447  [ $title, &$page ]
4448  );
4449  }
4450 
4451  public function onXmlDumpWriterOpenPage( $obj, &$out, $row, $title ) {
4452  return $this->container->run(
4453  'XmlDumpWriterOpenPage',
4454  [ $obj, &$out, $row, $title ]
4455  );
4456  }
4457 
4458  public function onXmlDumpWriterWriteRevision( $obj, &$out, $row, $text, $rev ) {
4459  return $this->container->run(
4460  'XmlDumpWriterWriteRevision',
4461  [ $obj, &$out, $row, $text, $rev ]
4462  );
4463  }
4464 
4465  public function onMaintenanceShellStart(): void {
4466  $this->container->run(
4467  'MaintenanceShellStart',
4468  [],
4469  [ 'abortable' => false ]
4470  );
4471  }
4472 }
MediaWiki\Hook\LanguageGetNamespacesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LanguageGetNamespacesHook.php:12
MediaWiki\HookContainer\HookRunner\onGitViewers
onGitViewers(&$extTypes)
This hook is called when generating the list of git viewers for Special:Version, allowing you to modi...
Definition: HookRunner.php:1957
MediaWiki\HookContainer\HookRunner\onParserAfterParse
onParserAfterParse( $parser, &$text, $stripState)
This hook is called from Parser::parse() just after the call to Parser::internalParse() returns.
Definition: HookRunner.php:2817
MediaWiki\HookContainer\HookRunner\onValidateExtendedMetadataCache
onValidateExtendedMetadataCache( $timestamp, $file)
Use this hook to validate the cached metadata in FormatMetadata::getExtendedMeta.
Definition: HookRunner.php:4342
MediaWiki\HookContainer\HookRunner\onGetLangPreferredVariant
onGetLangPreferredVariant(&$req)
This hook is called in LanguageConverter::getPreferredVariant() to allow fetching the language varian...
Definition: HookRunner.php:1844
MediaWiki\Hook\RandomPageQueryHook
This is a hook handler interface, see docs/Hooks.md.
Definition: RandomPageQueryHook.php:12
MediaWiki\HookContainer\HookRunner\onPageUndelete
onPageUndelete(ProperPageIdentity $page, Authority $performer, string $reason, bool $unsuppress, array $timestamps, array $fileVersions, StatusValue $status)
Definition: HookRunner.php:2735
MediaWiki\Hook\RecentChange_saveHook
This is a hook handler interface, see docs/Hooks.md.
Definition: RecentChange_saveHook.php:15
MediaWiki\HookContainer\HookRunner\onImgAuthBeforeStream
onImgAuthBeforeStream(&$title, &$path, &$name, &$result)
This hook is called before a file is streamed to a user, but only when using img_auth....
Definition: HookRunner.php:2062
MediaWiki\Hook\OtherAutoblockLogLinkHook
This is a hook handler interface, see docs/Hooks.md.
Definition: OtherAutoblockLogLinkHook.php:12
MediaWiki\HookContainer\HookRunner\onChangesListInsertArticleLink
onChangesListInsertArticleLink( $changesList, &$articlelink, &$s, $rc, $unpatrolled, $watched)
Use this hook to override or augment link to article in RC list.
Definition: HookRunner.php:1099
MediaWiki\ChangeTags\Hook\ChangeTagCanCreateHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ChangeTagCanCreateHook.php:15
MediaWiki\HookContainer\HookRunner\onPreferencesFormPreSave
onPreferencesFormPreSave( $formData, $form, $user, &$result, $oldUserOptions)
Use this hook to override preferences being saved.
Definition: HookRunner.php:3030
MediaWiki\Cache\Hook\MessageCacheReplaceHook
This is a hook handler interface, see docs/Hooks.md.
Definition: MessageCacheReplaceHook.php:14
MediaWiki\HookContainer\HookRunner\onEditPage__showEditForm_fields
onEditPage__showEditForm_fields( $editor, $out)
Use this hook to inject form field into edit form.
Definition: HookRunner.php:1571
MediaWiki\HookContainer\HookRunner\onRevisionUndeleted
onRevisionUndeleted( $revisionRecord, $oldPageID)
After an article revision is restored.
Definition: HookRunner.php:3194
MediaWiki\Hook\EditPage__attemptSaveHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditPage__attemptSaveHook.php:15
MediaWiki\HookContainer\HookRunner\onSpecialWatchlistGetNonRevisionTypes
onSpecialWatchlistGetNonRevisionTypes(&$nonRevisionTypes)
This hook is called when building the SQL query for SpecialWatchlist.
Definition: HookRunner.php:3796
MediaWiki\Cache\Hook\HtmlCacheUpdaterAppendUrlsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: HtmlCacheUpdaterAppendUrlsHook.php:14
MediaWiki\Search\Hook\SpecialSearchPowerBoxHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialSearchPowerBoxHook.php:12
MediaWiki\Hook\GetCanonicalURLHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetCanonicalURLHook.php:14
MediaWiki\User\Hook\PingLimiterHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PingLimiterHook.php:14
MediaWiki\Hook\BeforeInitializeHook
This is a hook handler interface, see docs/Hooks.md.
Definition: BeforeInitializeHook.php:18
ParserOptions
Set options of the Parser.
Definition: ParserOptions.php:45
MediaWiki\HookContainer\HookRunner\onPrefixSearchExtractNamespace
onPrefixSearchExtractNamespace(&$namespaces, &$search)
This hook is called if core was not able to extract a namespace from the search string so that extens...
Definition: HookRunner.php:3055
MediaWiki\Hook\TitleIsMovableHook
This is a hook handler interface, see docs/Hooks.md.
Definition: TitleIsMovableHook.php:14
MediaWiki\User\Hook\UserEffectiveGroupsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserEffectiveGroupsHook.php:14
MediaWiki\HookContainer\HookRunner\onEditPage__attemptSave
onEditPage__attemptSave( $editpage_Obj)
This hook is called before an article is saved, before WikiPage::doUserEditContent() is called.
Definition: HookRunner.php:1548
MediaWiki\Preferences\Hook\PreferencesFormPreSaveHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PreferencesFormPreSaveHook.php:15
MediaWiki\HookContainer\HookRunner\onSiteNoticeAfter
onSiteNoticeAfter(&$siteNotice, $skin)
This hook is called after the sitenotice/anonnotice is composed.
Definition: HookRunner.php:3375
MediaWiki\HookContainer\HookRunner\onLogEventsListShowLogExtract
onLogEventsListShowLogExtract(&$s, $types, $page, $user, $param)
This hook is called before the string is added to OutputPage.
Definition: HookRunner.php:2391
MediaWiki\Hook\GalleryGetModesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GalleryGetModesHook.php:12
MediaWiki\Hook\SkinTemplateNavigation__UniversalHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SkinTemplateNavigation__UniversalHook.php:15
MediaWiki\HookContainer\HookRunner\onBeforeDisplayNoArticleText
onBeforeDisplayNoArticleText( $article)
This hook is called before displaying message key "noarticletext" or "noarticletext-nopermission" at ...
Definition: HookRunner.php:918
MediaWiki\Hook\SkinEditSectionLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SkinEditSectionLinksHook.php:16
ResourceLoaderContext
Context object that contains information about the state of a specific ResourceLoader web request.
Definition: ResourceLoaderContext.php:37
MediaWiki\Cache\Hook\MessageCache__getHook
This is a hook handler interface, see docs/Hooks.md.
Definition: MessageCache__getHook.php:13
MediaWiki\HookContainer\HookRunner\onArticleEditUpdateNewTalk
onArticleEditUpdateNewTalk( $wikiPage, $recipient)
This hook is called before updating user_newtalk when a user talk page was changed.
Definition: HookRunner.php:722
MediaWiki\HookContainer\HookRunner\onTitleMoveStarting
onTitleMoveStarting( $old, $nt, $user)
This hook is called before moving an article (title), but just after the atomic DB section starts.
Definition: HookRunner.php:3861
MediaWiki\HookContainer\HookRunner\onManualLogEntryBeforePublish
onManualLogEntryBeforePublish( $logEntry)
Use this hook to access or modify log entry just before it is published.
Definition: HookRunner.php:2460
MediaWiki\HookContainer\HookRunner\onContentSecurityPolicyDirectives
onContentSecurityPolicyDirectives(&$directives, $policyConfig, $mode)
If ContentSecurityPolicyDefaultSource and ContentSecurityPolicyScriptSource do not meet your needs,...
Definition: HookRunner.php:1237
MediaWiki\HookContainer\HookRunner\onPrefixSearchBackend
onPrefixSearchBackend( $ns, $search, $limit, &$results, $offset)
Use this hook to override the title prefix search used for OpenSearch and AJAX search suggestions.
Definition: HookRunner.php:3046
MediaWiki\HookContainer\HookRunner\onExtensionTypes
onExtensionTypes(&$extTypes)
This hook is called when generating the extensions credits.
Definition: HookRunner.php:1677
MediaWiki\HookContainer\HookRunner\onThumbnailBeforeProduceHTML
onThumbnailBeforeProduceHTML( $thumbnail, &$attribs, &$linkAttribs)
This hook is called before an image HTML is about to be rendered (by ThumbnailImage:toHtml method).
Definition: HookRunner.php:3810
MediaWiki\Hook\BlockIpCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: BlockIpCompleteHook.php:15
MediaWiki\HookContainer\HookRunner\onShowMissingArticle
onShowMissingArticle( $article)
This hook is called when generating the output for a non-existent page.
Definition: HookRunner.php:3340
MediaWiki\Hook\BeforeParserrenderImageGalleryHook
This is a hook handler interface, see docs/Hooks.md.
Definition: BeforeParserrenderImageGalleryHook.php:15
MediaWiki\Hook\LoginFormValidErrorMessagesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LoginFormValidErrorMessagesHook.php:12
MediaWiki\Hook\EditPage__importFormDataHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditPage__importFormDataHook.php:16
MediaWiki\HookContainer\HookRunner\onSpecialSearchNogomatch
onSpecialSearchNogomatch(&$title)
This hook is called when the 'Go' feature is triggered and the target doesn't exist.
Definition: HookRunner.php:3699
MediaWiki\Hook\ImageBeforeProduceHTMLHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ImageBeforeProduceHTMLHook.php:17
MediaWiki\Hook\UserMailerTransformContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserMailerTransformContentHook.php:14
MediaWiki\Hook\GetInternalURLHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetInternalURLHook.php:14
MediaWiki\Hook\IsValidEmailAddrHook
This is a hook handler interface, see docs/Hooks.md.
Definition: IsValidEmailAddrHook.php:12
MediaWiki\HookContainer\HookRunner\onGetLocalURL__Article
onGetLocalURL__Article( $title, &$url)
Use this hook to modify local URLs specifically pointing to article paths without any fancy queries o...
Definition: HookRunner.php:1865
MediaWiki\HookContainer\HookRunner\onChangeTagsAllowedAdd
onChangeTagsAllowedAdd(&$allowedTags, $addTags, $user)
This hook is called when checking if a user can add tags to a change.
Definition: HookRunner.php:1156
MediaWiki\Linker\Hook\HtmlPageLinkRendererEndHook
This is a hook handler interface, see docs/Hooks.md.
Definition: HtmlPageLinkRendererEndHook.php:16
MediaWiki\HookContainer\HookRunner\onBlockIp
onBlockIp( $block, $user, &$reason)
This hook is called before an IP address or user is blocked.
Definition: HookRunner.php:1022
MediaWiki\User\Hook\UserGetEmailHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserGetEmailHook.php:14
MediaWiki\Hook\UserMailerChangeReturnPathHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserMailerChangeReturnPathHook.php:14
MediaWiki\Hook\EditPageNoSuchSectionHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditPageNoSuchSectionHook.php:14
StatusValue
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition: StatusValue.php:43
MediaWiki\HookContainer\HookRunner\onPageContentSave
onPageContentSave( $wikiPage, $user, $content, &$summary, $isminor, $iswatch, $section, $flags, $status)
This hook is called before an article is saved.
Definition: HookRunner.php:2690
MediaWiki\HookContainer\HookRunner\onUserIsBlockedGlobally
onUserIsBlockedGlobally( $user, $ip, &$blocked, &$block)
Use this hook to establish that a user is blocked on all wikis.
Definition: HookRunner.php:4157
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition: RevisionRecord.php:47
MediaWiki\Hook\EditFilterMergedContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditFilterMergedContentHook.php:17
MediaWiki\HookContainer\HookRunner\onChangeTagCanCreate
onChangeTagCanCreate( $tag, $user, &$status)
Use this hook to tell whether a change tag should be able to be created from the UI (Special:Tags) or...
Definition: HookRunner.php:1132
MediaWiki\HookContainer\HookRunner\onEditFormPreloadText
onEditFormPreloadText(&$text, $title)
Use this hook to populate the edit form when creating pages.
Definition: HookRunner.php:1478
MediaWiki\HookContainer\HookRunner\onAbortDiffCache
onAbortDiffCache( $diffEngine)
Use this hook to cancel the caching of a diff.
Definition: HookRunner.php:572
MediaWiki\Hook\BitmapHandlerCheckImageAreaHook
This is a hook handler interface, see docs/Hooks.md.
Definition: BitmapHandlerCheckImageAreaHook.php:14
MediaWiki\HookContainer\HookRunner\onWikiPageFactory
onWikiPageFactory( $title, &$page)
Use this hook to override WikiPage class used for a title.
Definition: HookRunner.php:4444
MediaWiki\HookContainer\HookRunner\onPreferencesGetLegend
onPreferencesGetLegend( $form, $key, &$legend)
Use the hook to override the text used for the <legend> of a preferences section.
Definition: HookRunner.php:3039
MediaWiki\Diff\Hook\DifferenceEngineShowDiffPageHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DifferenceEngineShowDiffPageHook.php:14
MediaWiki\Skins\Hook\SkinPageReadyConfigHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SkinPageReadyConfigHook.php:13
MediaWiki\Hook\UserToolLinksEditHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserToolLinksEditHook.php:12
MediaWiki\HookContainer\HookRunner\onEmailUserComplete
onEmailUserComplete( $to, $from, $subject, $text)
This hook is called after sending email from one user to another.
Definition: HookRunner.php:1622
MediaWiki\User\Hook\UserSetEmailHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserSetEmailHook.php:14
MediaWiki\HookContainer\HookRunner\onUpdateUserMailerFormattedPageStatus
onUpdateUserMailerFormattedPageStatus(&$formattedPageStatus)
This hook is called before a notification email gets sent.
Definition: HookRunner.php:3961
MediaWiki\HookContainer\HookRunner\onMagicWordwgVariableIDs
onMagicWordwgVariableIDs(&$variableIDs)
This hook is called when defining new magic words IDs.
Definition: HookRunner.php:2431
MediaWiki\Hook\ParserMakeImageParamsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ParserMakeImageParamsHook.php:16
MediaWiki\HookContainer\HookRunner\onCollation__factory
onCollation__factory( $collationName, &$collationObject)
This hook is called if $wgCategoryCollation is an unknown collation.
Definition: HookRunner.php:1177
MediaWiki\HookContainer\HookRunner\onLanguage__getMessagesFileName
onLanguage__getMessagesFileName( $code, &$file)
Use this hook to change the path of a localisation file.
Definition: HookRunner.php:2254
MediaWiki\HookContainer\HookRunner\onChangesListSpecialPageQuery
onChangesListSpecialPageQuery( $name, &$tables, &$fields, &$conds, &$query_options, &$join_conds, $opts)
This hook is called when building an SQL query on pages inheriting from ChangesListSpecialPage (in co...
Definition: HookRunner.php:1108
MediaWiki\Hook\SpecialExportGetExtraPagesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialExportGetExtraPagesHook.php:14
MediaWiki\Hook\LinksUpdateHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LinksUpdateHook.php:14
MediaWiki\Auth\Hook\AuthManagerLoginAuthenticateAuditHook
This is a hook handler interface, see docs/Hooks.md.
Definition: AuthManagerLoginAuthenticateAuditHook.php:15
MediaWiki\SpecialPage\Hook\ChangesListSpecialPageQueryHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ChangesListSpecialPageQueryHook.php:14
MediaWiki\Interwiki\Hook\InterwikiLoadPrefixHook
This is a hook handler interface, see docs/Hooks.md.
Definition: InterwikiLoadPrefixHook.php:14
MediaWiki\ChangeTags\Hook\ChangeTagCanDeleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ChangeTagCanDeleteHook.php:15
MediaWiki\HookContainer\HookRunner\onSearchResultProvideThumbnail
onSearchResultProvideThumbnail(array $pageIdentities, &$thumbnails)
This hook is called when generating search results in order to fill the 'thumbnail' field in an exten...
Definition: HookRunner.php:3273
MediaWiki\HookContainer\HookRunner\onSpecialRandomGetRandomTitle
onSpecialRandomGetRandomTitle(&$randstr, &$isRedir, &$namespaces, &$extra, &$title)
This hook is called during the execution of Special:Random,.
Definition: HookRunner.php:3662
MediaWiki\Hook\ArticleUpdateBeforeRedirectHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ArticleUpdateBeforeRedirectHook.php:14
MediaWiki\HookContainer\HookRunner\onChangeTagsAfterUpdateTags
onChangeTagsAfterUpdateTags( $addedTags, $removedTags, $prevTags, $rc_id, $rev_id, $log_id, $params, $rc, $user)
This hook is called after tags have been updated with the ChangeTags::updateTags function.
Definition: HookRunner.php:1146
MediaWiki\Hook\RejectParserCacheValueHook
This is a hook handler interface, see docs/Hooks.md.
Definition: RejectParserCacheValueHook.php:16
MediaWiki\ChangeTags\Hook\ChangeTagAfterDeleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ChangeTagAfterDeleteHook.php:14
MediaWiki\HookContainer\HookRunner\onSearchGetNearMatchBefore
onSearchGetNearMatchBefore( $allSearchTerms, &$titleResult)
Use this hook to perform exact-title-matches in "go" searches before the normal operations.
Definition: HookRunner.php:3238
MediaWiki\Hook\SpecialWatchlistGetNonRevisionTypesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialWatchlistGetNonRevisionTypesHook.php:12
MediaWiki\HookContainer\HookRunner\onWebRequestPathInfoRouter
onWebRequestPathInfoRouter( $router)
This hook is called while building the PathRouter to parse the REQUEST_URI.
Definition: HookRunner.php:4395
MediaWiki\HookContainer\HookRunner\onUnwatchArticleComplete
onUnwatchArticleComplete( $user, $page)
This hook is called after a watch is removed from an article.
Definition: HookRunner.php:3954
MediaWiki\HookContainer\HookRunner\onImagePageFileHistoryLine
onImagePageFileHistoryLine( $imageHistoryList, $file, &$line, &$css)
This hook is called when a file history line is constructed.
Definition: HookRunner.php:2041
MediaWiki\Hook\LinksUpdateCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LinksUpdateCompleteHook.php:14
MediaWiki\Hook\ChangesListInitRowsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ChangesListInitRowsHook.php:15
MediaWiki\HookContainer\HookRunner\onUserGetRights
onUserGetRights( $user, &$rights)
This hook is called in PermissionManager::getUserPermissions().
Definition: HookRunner.php:4126
MediaWiki\Linker\Hook\LinkerGenerateRollbackLinkHook
Definition: LinkerGenerateRollbackLinkHook.php:12
MediaWiki\Hook\UndeletePageToolLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UndeletePageToolLinksHook.php:15
MediaWiki\HookContainer\HookRunner\onOutputPageBeforeHTML
onOutputPageBeforeHTML( $out, &$text)
This hook is called when a page has been processed by the parser and the resulting HTML is about to b...
Definition: HookRunner.php:2646
MediaWiki\Hook\HistoryToolsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: HistoryToolsHook.php:15
MediaWiki\HookContainer\HookRunner\onDifferenceEngineMarkPatrolledLink
onDifferenceEngineMarkPatrolledLink( $differenceEngine, &$markAsPatrolledLink, $rcid)
Use this hook to change the "mark as patrolled" link which is shown both on the diff header as well a...
Definition: HookRunner.php:1342
MediaWiki\HookContainer\HookRunner\onPageHistoryPager__doBatchLookups
onPageHistoryPager__doBatchLookups( $pager, $result)
This hook is called after the pager query was run, before any output is generated,...
Definition: HookRunner.php:2766
MediaWiki\Hook\GetNewMessagesAlertHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetNewMessagesAlertHook.php:15
MediaWiki\HookContainer\HookRunner\onSpecialStatsAddExtra
onSpecialStatsAddExtra(&$extraStats, $context)
Use this hook to add extra statistics at the end of Special:Statistics.
Definition: HookRunner.php:3757
MediaWiki\HookContainer\HookRunner\onOutputPageCheckLastModified
onOutputPageCheckLastModified(&$modifiedTimes, $out)
This hook is called when checking if the page has been modified since the last visit.
Definition: HookRunner.php:2661
MediaWiki\HookContainer\HookRunner\onDifferenceEngineNewHeader
onDifferenceEngineNewHeader( $differenceEngine, &$newHeader, $formattedRevisionTools, $nextlink, $rollback, $newminor, $diffOnly, $rdel, $unhide)
Use this hook to change the $newHeader variable, which contains information about the new revision,...
Definition: HookRunner.php:1360
MediaWiki\HookContainer\HookRunner\onGetSlotDiffRenderer
onGetSlotDiffRenderer( $contentHandler, &$slotDiffRenderer, $context)
Use this hook to replace or wrap the standard SlotDiffRenderer for some content type.
Definition: HookRunner.php:1925
MediaWiki\HookContainer\HookRunner\onEnhancedChangesList__getLogText
onEnhancedChangesList__getLogText( $changesList, &$links, $block)
Use this hook to alter, remove, or add to the links of a group of changes in EnhancedChangesList.
Definition: HookRunner.php:1661
MediaWiki\Permissions\Hook\GetUserPermissionsErrorsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetUserPermissionsErrorsHook.php:16
MediaWiki\HookContainer\HookRunner\onSpecialSearchSetupEngine
onSpecialSearchSetupEngine( $search, $profile, $engine)
Use this hook for passing custom data to the search engine.
Definition: HookRunner.php:3750
MediaWiki\Hook\UnblockUserHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UnblockUserHook.php:15
MediaWiki\HookContainer\HookRunner\onIRCLineURL
onIRCLineURL(&$url, &$query, $rc)
This hook is called when constructing the URL to use in an IRC notification.
Definition: HookRunner.php:2184
MediaWiki\Hook\UserMailerTransformMessageHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserMailerTransformMessageHook.php:14
MediaWiki\HookContainer\HookRunner\onRandomPageQuery
onRandomPageQuery(&$tables, &$conds, &$joinConds)
Use this hook to modify the query used by Special:Random to select random pages.
Definition: HookRunner.php:3097
$lang
if(!isset( $args[0])) $lang
Definition: testCompression.php:37
MediaWiki\Languages\Hook\LanguageGetTranslatedLanguageNamesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LanguageGetTranslatedLanguageNamesHook.php:12
MediaWiki\Hook\TitleExistsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: TitleExistsHook.php:14
MediaWiki\HookContainer\HookRunner\onSpecialListusersFormatRow
onSpecialListusersFormatRow(&$item, $row)
This hook is called right before the end of UsersPager::formatRow().
Definition: HookRunner.php:3555
MediaWiki\SpecialPage\Hook\ChangeAuthenticationDataAuditHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ChangeAuthenticationDataAuditHook.php:15
MediaWiki\HookContainer\HookRunner\onRawPageViewBeforeOutput
onRawPageViewBeforeOutput( $obj, &$text)
This hook is called right before the text is blown out in action=raw.
Definition: HookRunner.php:3104
MediaWiki\HookContainer\HookRunner\onContentSecurityPolicyScriptSource
onContentSecurityPolicyScriptSource(&$scriptSrc, $policyConfig, $mode)
Use this hook to modify the allowed CSP script sources.
Definition: HookRunner.php:1246
MediaWiki\HookContainer\HookRunner\onUnwatchArticle
onUnwatchArticle( $user, $page, &$status)
This hook is called before a watch is removed from an article.
Definition: HookRunner.php:3947
MediaWiki\Hook\ArticleMergeCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ArticleMergeCompleteHook.php:14
MediaWiki\HookContainer\HookRunner\onGetFullURL
onGetFullURL( $title, &$url, $query)
Use this hook to modify fully-qualified URLs used in redirects/export/offsite data.
Definition: HookRunner.php:1814
MediaWiki\Hook\IsTrustedProxyHook
This is a hook handler interface, see docs/Hooks.md.
Definition: IsTrustedProxyHook.php:12
MediaWiki\Hook\SoftwareInfoHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SoftwareInfoHook.php:12
MediaWiki\Rest\Hook\SearchResultProvideDescriptionHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SearchResultProvideDescriptionHook.php:16
MediaWiki\HookContainer\HookRunner\onArticleShowPatrolFooter
onArticleShowPatrolFooter( $article)
This hook is called at the beginning of Article::showPatrolFooter.
Definition: HookRunner.php:812
MediaWiki\Hook\SpecialBlockModifyFormFieldsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialBlockModifyFormFieldsHook.php:14
MediaWiki\HookContainer\HookRunner\onUploadStashFile
onUploadStashFile( $upload, $user, $props, &$error)
Definition: HookRunner.php:4019
MediaWiki\HookContainer\HookRunner\onParserCloned
onParserCloned( $parser)
This hook is called when the parser is cloned.
Definition: HookRunner.php:2861
MediaWiki\HookContainer\HookRunner\onBacklinkCacheGetPrefix
onBacklinkCacheGetPrefix( $table, &$prefix)
Use this hook to set a prefix for a specific link table.
Definition: HookRunner.php:897
MediaWiki\HookContainer\HookRunner\onHtmlCacheUpdaterAppendUrls
onHtmlCacheUpdaterAppendUrls( $title, $mode, &$append)
This hook is used to declare extra URLs to purge from HTTP caches.
Definition: HookRunner.php:1978
MediaWiki\HookContainer\HookRunner\onGetExtendedMetadata
onGetExtendedMetadata(&$combinedMeta, $file, $context, $single, &$maxCacheTime)
Use this hook to get extended file metadata for the API.
Definition: HookRunner.php:1805
MediaWiki\HookContainer\HookRunner\onOutputPageParserOutput
onOutputPageParserOutput( $outputPage, $parserOutput)
This hook is called after adding a parserOutput to $wgOut.
Definition: HookRunner.php:2675
MediaWiki\HookContainer\HookRunner\onAlternateEditPreview
onAlternateEditPreview( $editPage, &$content, &$previewHTML, &$parserOutput)
This hook is called before generating the preview of the page when editing ( EditPage::getPreviewText...
Definition: HookRunner.php:652
MediaWiki\HookContainer\HookRunner\onTitleIsAlwaysKnown
onTitleIsAlwaysKnown( $title, &$isKnown)
This hook is called when determining if a page exists.
Definition: HookRunner.php:3840
MediaWiki\SpecialPage\Hook\RedirectSpecialArticleRedirectParamsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: RedirectSpecialArticleRedirectParamsHook.php:12
MediaWiki\HookContainer\HookRunner\onPlaceNewSection
onPlaceNewSection( $content, $oldtext, $subject, &$text)
Use this hook to override placement of new sections.
Definition: HookRunner.php:3016
MediaWiki\Hook\GetCacheVaryCookiesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetCacheVaryCookiesHook.php:14
MediaWiki\HookContainer\HookRunner\onBitmapHandlerTransform
onBitmapHandlerTransform( $handler, $image, &$scalerParams, &$mto)
This hook is called before a file is transformed, giving extensions the possibility to transform it t...
Definition: HookRunner.php:1013
MediaWiki\HookContainer\HookRunner\onGetHumanTimestamp
onGetHumanTimestamp(&$output, $timestamp, $relativeTo, $user, $lang)
Use this hook to preemptively override the human-readable timestamp generated by MWTimestamp::getHuma...
Definition: HookRunner.php:1821
MediaWiki\Hook\ProtectionForm__buildFormHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ProtectionForm__buildFormHook.php:15
MediaWiki\HookContainer\HookRunner\onLoginFormValidErrorMessages
onLoginFormValidErrorMessages(array &$messages)
This hook is called in LoginForm when a function gets valid error messages.
Definition: HookRunner.php:2407
MediaWiki\Hook\SpecialSearchSetupEngineHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialSearchSetupEngineHook.php:15
MediaWiki\HookContainer\HookRunner\onGetMagicVariableIDs
onGetMagicVariableIDs(&$variableIDs)
Use this hook to modify the list of magic variables.
Definition: HookRunner.php:1886
MediaWiki\HookContainer\HookRunner\onPasswordPoliciesForUser
onPasswordPoliciesForUser( $user, &$effectivePolicy)
Use this hook to alter the effective password policy for a user.
Definition: HookRunner.php:2987
MediaWiki\Hook\LogLineHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LogLineHook.php:14
MediaWiki\HookContainer\HookRunner\onSpecialMovepageAfterMove
onSpecialMovepageAfterMove( $movePage, $oldTitle, $newTitle)
This hook is called after moving a page.
Definition: HookRunner.php:3590
MediaWiki\Hook\PageRenderingHashHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PageRenderingHashHook.php:14
MediaWiki\HookContainer\HookRunner\onSearchResultProvideDescription
onSearchResultProvideDescription(array $pageIdentities, &$descriptions)
This hook is called when generating search results in order to fill the 'description' field in an ext...
Definition: HookRunner.php:3266
MediaWiki\HookContainer\HookRunner\onDifferenceEngineShowDiff
onDifferenceEngineShowDiff( $differenceEngine)
Use this hook to affect the diff text which eventually gets sent to the OutputPage object.
Definition: HookRunner.php:1404
MediaWiki\Hook\ChangesListInsertArticleLinkHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ChangesListInsertArticleLinkHook.php:15
MediaWiki\Search\Hook\ShowSearchHitTitleHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ShowSearchHitTitleHook.php:17
MediaWiki\Search\Hook\SearchableNamespacesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SearchableNamespacesHook.php:12
MediaWiki\Hook\UnblockUserCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UnblockUserCompleteHook.php:15
MediaWiki\Hook\ParserBeforeInternalParseHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ParserBeforeInternalParseHook.php:15
MediaWiki\HookContainer\HookRunner\onSpecialBlockModifyFormFields
onSpecialBlockModifyFormFields( $sp, &$fields)
Use this hook to add more fields to Special:Block.
Definition: HookRunner.php:3511
MediaWiki\Hook\GetLocalURL__InternalHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetLocalURL__InternalHook.php:15
MediaWiki\Hook\ParserClonedHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ParserClonedHook.php:14
MediaWiki\HookContainer\HookRunner\onWebResponseSetCookie
onWebResponseSetCookie(&$name, &$value, &$expire, &$options)
This hook is called when setting a cookie in WebResponse::setcookie().
Definition: HookRunner.php:4402
MediaWiki\Linker\LinkRenderer
Class that generates HTML anchor link elements for pages.
Definition: LinkRenderer.php:43
MediaWiki\HookContainer\HookRunner\onInvalidateEmailComplete
onInvalidateEmailComplete( $user)
This hook is called after a user's email has been invalidated successfully.
Definition: HookRunner.php:2177
MediaWiki\HookContainer\HookRunner\onGetDefaultSortkey
onGetDefaultSortkey( $title, &$sortkey)
Use this hook to override the default sortkey for a page.
Definition: HookRunner.php:1781
MediaWiki\HookContainer\HookRunner\onUploadForm_initial
onUploadForm_initial( $upload)
This hook is called before the upload form is generated.
Definition: HookRunner.php:4012
MediaWiki\User\Hook\UserGetEmailAuthenticationTimestampHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserGetEmailAuthenticationTimestampHook.php:14
MediaWiki\Hook\FileUploadHook
This is a hook handler interface, see docs/Hooks.md.
Definition: FileUploadHook.php:14
MediaWiki\HookContainer\HookRunner\onSkinPreloadExistence
onSkinPreloadExistence(&$titles, $skin)
Use this hook to supply titles that should be added to link existence cache before the page is render...
Definition: HookRunner.php:3457
MediaWiki\Hook\TitleGetRestrictionTypesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: TitleGetRestrictionTypesHook.php:14
MediaWiki\HookContainer\HookRunner\onDiffTools
onDiffTools( $newRevRecord, &$links, $oldRevRecord, $userIdentity)
Use this hook to override or extend the revision tools available from the diff view,...
Definition: HookRunner.php:1441
MediaWiki\Hook\AbortEmailNotificationHook
This is a hook handler interface, see docs/Hooks.md.
Definition: AbortEmailNotificationHook.php:16
MediaWiki\Hook\OutputPageBeforeHTMLHook
This is a hook handler interface, see docs/Hooks.md.
Definition: OutputPageBeforeHTMLHook.php:14
MediaWiki\HookContainer\HookRunner\onImportHandleContentXMLTag
onImportHandleContentXMLTag( $reader, $contentInfo)
This hook is called when parsing a content XML tag.
Definition: HookRunner.php:2099
MediaWiki\HookContainer\HookRunner\onDifferenceEngineMarkPatrolledRCID
onDifferenceEngineMarkPatrolledRCID(&$rcid, $differenceEngine, $change, $user)
Use this hook to possibly change the rcid parameter.
Definition: HookRunner.php:1351
MediaWiki\Hook\AfterImportPageHook
This is a hook handler interface, see docs/Hooks.md.
Definition: AfterImportPageHook.php:15
MediaWiki\Hook\ParserBeforePreprocessHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ParserBeforePreprocessHook.php:15
MediaWiki\HookContainer\HookRunner\onLinksUpdate
onLinksUpdate( $linksUpdate)
This hook is called at the beginning of LinksUpdate::doUpdate() just before the actual update.
Definition: HookRunner.php:2293
MediaWiki\HookContainer\HookRunner\onContentHandlerForModelID
onContentHandlerForModelID( $modeName, &$handler)
This hook is called when a ContentHandler is requested for a given content model name,...
Definition: HookRunner.php:1214
MediaWiki\Hook\EditPage__showEditForm_fieldsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditPage__showEditForm_fieldsHook.php:16
MediaWiki\Hook\EditPage__showStandardInputs_optionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditPage__showStandardInputs_optionsHook.php:16
MediaWiki\HookContainer\HookRunner\onContentGetParserOutput
onContentGetParserOutput( $content, $title, $revId, $options, $generateHtml, &$output)
Use this hook to customize parser output for a given content object.
Definition: HookRunner.php:1198
MediaWiki\User\Options\Hook\LoadUserOptionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LoadUserOptionsHook.php:14
MediaWiki\HookContainer\HookRunner\onUploadFormSourceDescriptors
onUploadFormSourceDescriptors(&$descriptor, &$radio, $selectedSourceType)
This hook is called after the standard source inputs have been added to the descriptor.
Definition: HookRunner.php:3989
MediaWiki\HookContainer\HookRunner\onLinksUpdateComplete
onLinksUpdateComplete( $linksUpdate, $ticket)
This hook is called at the end of LinksUpdate::doUpdate() when updating, including delete and insert,...
Definition: HookRunner.php:2307
MediaWiki\HookContainer\HookRunner\onUnitTestsBeforeDatabaseTeardown
onUnitTestsBeforeDatabaseTeardown()
This hook is called right before MediaWiki tears down its database infrastructure used for unit tests...
Definition: HookRunner.php:3933
MediaWiki\HookContainer\HookRunner\onArticleConfirmDelete
onArticleConfirmDelete( $article, $output, &$reason)
This hook is called before writing the confirmation form for article deletion.
Definition: HookRunner.php:682
MediaWiki\HookContainer\HookRunner\onParserFirstCallInit
onParserFirstCallInit( $parser)
This hook is called when the parser initialises for the first time.
Definition: HookRunner.php:2868
MediaWiki\Hook\UserLoginCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserLoginCompleteHook.php:14
MediaWiki\HookContainer\HookRunner\onSpecialLogAddLogSearchRelations
onSpecialLogAddLogSearchRelations( $type, $request, &$qc)
Use this hook to add log relations to the current log.
Definition: HookRunner.php:3583
MediaWiki\Block\Hook\GetAllBlockActionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetAllBlockActionsHook.php:12
MediaWiki\HookContainer\HookRunner\onAuthChangeFormFields
onAuthChangeFormFields( $requests, $fieldInfo, &$formDescriptor, $action)
This hook is called after converting a field information array obtained from a set of AuthenticationR...
Definition: HookRunner.php:865
MediaWiki\Hook\EditFormPreloadTextHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditFormPreloadTextHook.php:14
MediaWiki\Hook\OutputPageMakeCategoryLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition: OutputPageMakeCategoryLinksHook.php:14
MediaWiki\HookContainer\HookRunner\onSkinCopyrightFooter
onSkinCopyrightFooter( $title, $type, &$msg, &$link)
Use this hook for site and per-namespace customization of the copyright notice.
Definition: HookRunner.php:3434
MediaWiki\Hook\ImportSourcesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ImportSourcesHook.php:12
MediaWiki\HookContainer\HookRunner\onImportHandleLogItemXMLTag
onImportHandleLogItemXMLTag( $reader, $logInfo)
This hook is called when parsing an XML tag in a log item.
Definition: HookRunner.php:2076
MediaWiki\User\Hook\UserLoadAfterLoadFromSessionHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserLoadAfterLoadFromSessionHook.php:14
MediaWiki\HookContainer\HookRunner\onSessionCheckInfo
onSessionCheckInfo(&$reason, $info, $request, $metadata, $data)
Use this hook to validate a MediaWiki\Session\SessionInfo as it's being loaded from storage.
Definition: HookRunner.php:3310
MediaWiki\HookContainer\HookRunner\onShowSearchHit
onShowSearchHit( $searchPage, $result, $terms, &$link, &$redirect, &$section, &$extract, &$score, &$size, &$date, &$related, &$html)
Use this hook to customize display of search hit.
Definition: HookRunner.php:3347
MediaWiki\Hook\EditPageBeforeEditToolbarHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditPageBeforeEditToolbarHook.php:12
MediaWiki\HookContainer\HookRunner\onModifyExportQuery
onModifyExportQuery( $db, &$tables, $cond, &$opts, &$join_conds, &$conds)
Use this hook to modify the query used by the exporter.
Definition: HookRunner.php:2547
MediaWiki\Auth\Hook\ResetPasswordExpirationHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ResetPasswordExpirationHook.php:14
MediaWiki\HookContainer\HookRunner\onUserArrayFromResult
onUserArrayFromResult(&$userArray, $res)
This hook is called when creating an UserArray object from a database result.
Definition: HookRunner.php:4049
MediaWiki\HookContainer\HookRunner\onUserMailerTransformMessage
onUserMailerTransformMessage( $to, $from, &$subject, &$headers, &$body, &$error)
This hook is called in UserMailer::send() to change email after it has gone through the MIME transfor...
Definition: HookRunner.php:4263
MediaWiki\HookContainer\HookRunner\onPageHistoryBeforeList
onPageHistoryBeforeList( $article, $context)
This hook is called when a history page list is about to be constructed.
Definition: HookRunner.php:2750
MediaWiki\HookContainer\HookRunner\onUploadVerifyUpload
onUploadVerifyUpload( $upload, $user, $props, $comment, $pageText, &$error)
Definition: HookRunner.php:4033
MediaWiki\Hook\EmailUserHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EmailUserHook.php:16
MediaWiki\Hook\ContributionsToolLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ContributionsToolLinksHook.php:15
MediaWiki\Hook\InitializeArticleMaybeRedirectHook
This is a hook handler interface, see docs/Hooks.md.
Definition: InitializeArticleMaybeRedirectHook.php:16
MediaWiki\Hook\ChangeUserGroupsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ChangeUserGroupsHook.php:14
MediaWiki\HookContainer\HookRunner\onProtectionForm__buildForm
onProtectionForm__buildForm( $article, &$output)
This hook is called after all protection type fieldsets are made in the form.
Definition: HookRunner.php:3069
MediaWiki\HookContainer\HookRunner\onParserLimitReportPrepare
onParserLimitReportPrepare( $parser, $output)
This hook is called at the end of Parser:parse() when the parser will include comments about size of ...
Definition: HookRunner.php:2907
MediaWiki\HookContainer\HookRunner\onArticleMergeComplete
onArticleMergeComplete( $targetTitle, $destTitle)
This hook is called after merging to article using Special:Mergehistory.
Definition: HookRunner.php:736
MediaWiki\HookContainer\HookRunner\onUserSaveSettings
onUserSaveSettings( $user)
This hook is called directly after user settings have been saved to the database.
Definition: HookRunner.php:4286
MediaWiki\Hook\WhatLinksHerePropsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: WhatLinksHerePropsHook.php:15
MediaWiki\HookContainer\HookRunner\onPageDeletionDataUpdates
onPageDeletionDataUpdates( $title, $revision, &$updates)
This hook is called when constructing a list of DeferrableUpdate to be executed when a page is delete...
Definition: HookRunner.php:2728
MediaWiki\HookContainer\HookRunner\onUnitTestsList
onUnitTestsList(&$paths)
This hook is called when building a list of paths containing PHPUnit tests.
Definition: HookRunner.php:3940
MediaWiki\Hook\UploadCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UploadCompleteHook.php:14
MediaWiki\HookContainer\HookRunner\onParserSectionCreate
onParserSectionCreate( $parser, $section, &$sectionContent, $showEditLinks)
This hook is called each time the parser creates a document section from wikitext.
Definition: HookRunner.php:2964
MediaWiki\HookContainer\HookRunner\onMaintenanceRefreshLinksInit
onMaintenanceRefreshLinksInit( $refreshLinks)
This hook is called before executing the refreshLinks.php maintenance script.
Definition: HookRunner.php:2438
MediaWiki\HookContainer\HookRunner\onSkinSubPageSubtitle
onSkinSubPageSubtitle(&$subpages, $skin, $out)
This hook is called at the beginning of Skin::subPageSubtitle().
Definition: HookRunner.php:3464
MediaWiki\Hook\OutputPageParserOutputHook
This is a hook handler interface, see docs/Hooks.md.
Definition: OutputPageParserOutputHook.php:15
MediaWiki\HookContainer\HookRunner\onArticlePageDataBefore
onArticlePageDataBefore( $wikiPage, &$fields, &$tables, &$joinConds)
This hook is called before loading data of an article from the database.
Definition: HookRunner.php:750
MediaWiki\HookContainer\HookRunner\onSpecialNewpagesConditions
onSpecialNewpagesConditions( $special, $opts, &$conds, &$tables, &$fields, &$join_conds)
This hook is called when building the SQL query for Special:NewPages.
Definition: HookRunner.php:3611
MediaWiki\HookContainer\HookRunner\onSearchResultInitFromTitle
onSearchResultInitFromTitle( $title, &$id)
Use this hook to set the revision used when displaying a page in search results.
Definition: HookRunner.php:3259
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition: router.php:42
MediaWiki\HookContainer\HookRunner\onUserGroupsChanged
onUserGroupsChanged( $user, $added, $removed, $performer, $reason, $oldUGMs, $newUGMs)
This hook is called after user groups are changed.
Definition: HookRunner.php:4140
MediaWiki\HookContainer\HookRunner\onHistoryTools
onHistoryTools( $revRecord, &$links, $prevRevRecord, $userIdentity)
Use this hook to override or extend the revision tools available from the page history view,...
Definition: HookRunner.php:1971
MediaWiki\User\Hook\ConfirmEmailCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ConfirmEmailCompleteHook.php:14
MediaWiki\HookContainer\HookRunner\onNewPagesLineEnding
onNewPagesLineEnding( $page, &$ret, $row, &$classes, &$attribs)
This hook is called before a NewPages line is finished.
Definition: HookRunner.php:2595
MediaWiki\Permissions\Hook\GetUserPermissionsErrorsExpensiveHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetUserPermissionsErrorsExpensiveHook.php:16
MediaWiki\HookContainer\HookRunner\onIsUploadAllowedFromUrl
onIsUploadAllowedFromUrl( $url, &$allowed)
Use this hook to override the result of UploadFromUrl::isAllowedUrl().
Definition: HookRunner.php:2205
MediaWiki\User\Hook\UserAddGroupHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserAddGroupHook.php:14
MediaWiki\Diff\Hook\DifferenceEngineMarkPatrolledRCIDHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DifferenceEngineMarkPatrolledRCIDHook.php:16
MediaWiki\HookContainer\HookRunner\onArticleRevisionViewCustom
onArticleRevisionViewCustom( $revision, $title, $oldid, $output)
Use this hook for custom rendering of an article's content.
Definition: HookRunner.php:794
MediaWiki\HookContainer\HookRunner\onInternalParseBeforeSanitize
onInternalParseBeforeSanitize( $parser, &$text, $stripState)
This hook is called during Parser's internalParse method just before the parser removes unwanted/dang...
Definition: HookRunner.php:2163
MediaWiki\User\Hook\UserCanSendEmailHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserCanSendEmailHook.php:14
MediaWiki\Hook\GetFullURLHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetFullURLHook.php:14
MediaWiki\HookContainer\HookRunner\onGetLocalURL
onGetLocalURL( $title, &$url, $query)
Use this hook to modify local URLs as output into page links.
Definition: HookRunner.php:1858
MediaWiki\HookContainer\HookRunner\onAfterImportPage
onAfterImportPage( $title, $foreignTitle, $revCount, $sRevCount, $pageInfo)
This hook is called when a page import is completed.
Definition: HookRunner.php:629
MediaWiki\Hook\EditFilterHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditFilterHook.php:14
MediaWiki\Hook\DeleteUnknownPreferencesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DeleteUnknownPreferencesHook.php:14
MediaWiki\Hook\LanguageLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LanguageLinksHook.php:14
MediaWiki\HookContainer\HookRunner\onShortPagesQuery
onShortPagesQuery(&$tables, &$conds, &$joinConds, &$options)
Use this hook to modify the query used by Special:ShortPages.
Definition: HookRunner.php:3333
MediaWiki\HookContainer\HookRunner\onParserBeforeInternalParse
onParserBeforeInternalParse( $parser, &$text, $stripState)
This hook is called at the beginning of Parser::internalParse().
Definition: HookRunner.php:2831
MediaWiki\Hook\ProtectionForm__showLogExtractHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ProtectionForm__showLogExtractHook.php:16
MediaWiki\Hook\ManualLogEntryBeforePublishHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ManualLogEntryBeforePublishHook.php:14
MediaWiki\HookContainer\HookRunner\onUserSetEmailAuthenticationTimestamp
onUserSetEmailAuthenticationTimestamp( $user, &$timestamp)
This hook is called when setting the timestamp of a User's email authentication.
Definition: HookRunner.php:4314
MediaWiki\User\Hook\UserSendConfirmationMailHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserSendConfirmationMailHook.php:14
MediaWiki\HookContainer\HookRunner\onSpecialContributionsBeforeMainOutput
onSpecialContributionsBeforeMainOutput( $id, $user, $sp)
This hook is called before the form on Special:Contributions.
Definition: HookRunner.php:3518
MediaWiki\Hook\SkinTemplateNavigation__SpecialPageHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SkinTemplateNavigation__SpecialPageHook.php:15
MediaWiki\Hook\ParserClearStateHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ParserClearStateHook.php:14
MediaWiki\HookContainer\HookRunner\onActionBeforeFormDisplay
onActionBeforeFormDisplay( $name, $form, $article)
This hook is called before executing the HTMLForm object.
Definition: HookRunner.php:593
MediaWiki\Hook\ModifyExportQueryHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ModifyExportQueryHook.php:14
MediaWiki\HookContainer\HookRunner\onParserOutputPostCacheTransform
onParserOutputPostCacheTransform( $parserOutput, &$text, &$options)
This hook is called from ParserOutput::getText() to do post-cache transforms.
Definition: HookRunner.php:2938
MediaWiki\HookContainer\HookRunner\onSpecialUploadComplete
onSpecialUploadComplete( $form)
This hook is called after successfully uploading a file from Special:Upload.
Definition: HookRunner.php:3782
MediaWiki\HookContainer\HookRunner\onUserMailerTransformContent
onUserMailerTransformContent( $to, $from, &$body, &$error)
This hook is called in UserMailer::send() to change email contents.
Definition: HookRunner.php:4256
MediaWiki\Hook\SkinGetPoweredByHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SkinGetPoweredByHook.php:14
MediaWiki\Languages\Hook\Language__getMessagesFileNameHook
This is a hook handler interface, see docs/Hooks.md.
Definition: Language__getMessagesFileNameHook.php:13
MediaWiki\Hook\ContentSecurityPolicyDirectivesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ContentSecurityPolicyDirectivesHook.php:12
MediaWiki\HookContainer\HookRunner\onArticlePurge
onArticlePurge( $wikiPage)
This hook is called before executing "&action=purge".
Definition: HookRunner.php:787
MediaWiki\Cache\Hook\MessagesPreLoadHook
This is a hook handler interface, see docs/Hooks.md.
Definition: MessagesPreLoadHook.php:12
MediaWiki\HookContainer\HookRunner\onGetActionName
onGetActionName(IContextSource $context, string &$action)
Use this hook to override the action name depending on request parameters.
Definition: HookRunner.php:1752
MediaWiki\Hook\ProtectionFormAddFormFieldsHook
Definition: ProtectionFormAddFormFieldsHook.php:11
MediaWiki\HookContainer\HookRunner\onImagePageAfterImageLinks
onImagePageAfterImageLinks( $imagePage, &$html)
This hook is called after the image links section on an image page is built.
Definition: HookRunner.php:2034
MediaWiki\HookContainer\HookRunner\onUserIsBlockedFrom
onUserIsBlockedFrom( $user, $title, &$blocked, &$allowUsertalk)
Use this hook to check if a user is blocked from a specific page (for specific block exemptions if a ...
Definition: HookRunner.php:4150
MediaWiki\Search\Hook\SearchResultInitFromTitleHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SearchResultInitFromTitleHook.php:14
MediaWiki\HookContainer\HookRunner\onBeforeParserFetchTemplateAndtitle
onBeforeParserFetchTemplateAndtitle( $parser, $title, &$skip, &$id)
This hook is called before a template is fetched by Parser.
Definition: HookRunner.php:958
MediaWiki\Auth\Hook\SecuritySensitiveOperationStatusHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SecuritySensitiveOperationStatusHook.php:14
MediaWiki\Hook\SpecialTrackingCategories__preprocessHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialTrackingCategories__preprocessHook.php:15
MediaWiki\HookContainer\HookRunner\onParserGetVariableValueSwitch
onParserGetVariableValueSwitch( $parser, &$variableCache, $magicWordId, &$ret, $frame)
This hook is called when the parser needs the value of a custom magic word.
Definition: HookRunner.php:2875
MediaWiki\HookContainer\HookRunner\onBeforeInitialize
onBeforeInitialize( $title, $unused, $output, $user, $request, $mediaWiki)
This hook is called before anything is initialized in MediaWiki::performRequest().
Definition: HookRunner.php:925
MediaWiki\HookContainer\HookRunner\onDeletedContributionsLineEnding
onDeletedContributionsLineEnding( $page, &$ret, $row, &$classes, &$attribs)
This hook is called before a DeletedContributions HTML line is finished.
Definition: HookRunner.php:1310
MediaWiki\Hook\EmailUserCCHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EmailUserCCHook.php:14
MediaWiki\Hook\SetupAfterCacheHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SetupAfterCacheHook.php:12
MediaWiki\Hook\ImportHandleContentXMLTagHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ImportHandleContentXMLTagHook.php:14
MediaWiki\HookContainer\HookRunner\onAbortTalkPageEmailNotification
onAbortTalkPageEmailNotification( $targetUser, $title)
Use this hook to disable email notifications of edits to users' talk pages.
Definition: HookRunner.php:586
MediaWiki\Hook\SkinTemplateGetLanguageLinkHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SkinTemplateGetLanguageLinkHook.php:15
MediaWiki\Hook\ImportHandleUploadXMLTagHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ImportHandleUploadXMLTagHook.php:14
MediaWiki\Hook\EmailUserPermissionsErrorsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EmailUserPermissionsErrorsHook.php:14
MediaWiki\HookContainer\HookRunner\onResetPasswordExpiration
onResetPasswordExpiration( $user, &$newExpire)
Use this hook to allow extensions to set a default password expiration.
Definition: HookRunner.php:3148
MediaWiki\Hook\GetExtendedMetadataHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetExtendedMetadataHook.php:15
MediaWiki\HookContainer\HookRunner\onSpecialListusersHeader
onSpecialListusersHeader( $pager, &$out)
This hook is called after adding the submit button in UsersPager::getPageHeader().
Definition: HookRunner.php:3562
MediaWiki\Search\Hook\SearchAfterNoDirectMatchHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SearchAfterNoDirectMatchHook.php:14
MediaWiki\Permissions\Hook\UserIsBlockedFromHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserIsBlockedFromHook.php:15
MediaWiki\Hook\UsersPagerDoBatchLookupsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UsersPagerDoBatchLookupsHook.php:14
$res
$res
Definition: testCompression.php:57
MediaWiki\HookContainer\HookRunner\onConfirmEmailComplete
onConfirmEmailComplete( $user)
This hook is called after a user's email has been confirmed successfully.
Definition: HookRunner.php:1184
MediaWiki\Hook\EditPageGetDiffContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditPageGetDiffContentHook.php:15
MediaWiki\HookContainer\HookRunner\onSetupAfterCache
onSetupAfterCache()
This hook is called in Setup.php, after cache objects are set.
Definition: HookRunner.php:3326
MediaWiki\HookContainer\HookRunner\onTitleIsMovable
onTitleIsMovable( $title, &$result)
This hook is called when determining if it is possible to move a page.
Definition: HookRunner.php:3847
MediaWiki\HookContainer\HookRunner\onSearchDataForIndex
onSearchDataForIndex(&$fields, $handler, $page, $output, $engine)
Use this hook to add data to search document.
Definition: HookRunner.php:3222
MediaWiki\HookContainer\HookRunner\onUserIsEveryoneAllowed
onUserIsEveryoneAllowed( $right)
Use this hook to check if all users are allowed some user right; return false if a UserGetRights hook...
Definition: HookRunner.php:4171
MediaWiki\HookContainer\HookRunner\onUnblockUser
onUnblockUser( $block, $user, &$reason)
This hook is called before an IP address or user is unblocked.
Definition: HookRunner.php:3891
MediaWiki\HookContainer\HookRunner\onMaintenanceUpdateAddParams
onMaintenanceUpdateAddParams(&$params)
Use this hook to add params to the update.php maintenance script.
Definition: HookRunner.php:2445
MediaWiki\HookContainer\HookRunner\onRollbackComplete
onRollbackComplete( $wikiPage, $user, $revision, $current)
After an article rollback is completed.
Definition: HookRunner.php:3201
MediaWiki\HookContainer\HookRunner\onOpenSearchUrls
onOpenSearchUrls(&$urls)
This hook is called when constructing the OpenSearch description XML.
Definition: HookRunner.php:2611
MediaWiki\User\Hook\UserIsLockedHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserIsLockedHook.php:14
MediaWiki\User\Hook\UserSaveSettingsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserSaveSettingsHook.php:14
MediaWiki\Hook\OutputPageCheckLastModifiedHook
This is a hook handler interface, see docs/Hooks.md.
Definition: OutputPageCheckLastModifiedHook.php:14
MediaWiki\HookContainer\HookRunner\onLocalisationCacheRecacheFallback
onLocalisationCacheRecacheFallback( $cache, $code, &$alldata)
Called for each language when merging fallback data into the cache.
Definition: HookRunner.php:2359
MediaWiki\HookContainer\HookRunner\onEditPageCopyrightWarning
onEditPageCopyrightWarning( $title, &$msg)
Use this hook for site and per-namespace customization of contribution/copyright notice.
Definition: HookRunner.php:1506
MediaWiki\Hook\SpecialUploadCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialUploadCompleteHook.php:14
MediaWiki\Hook\MovePageCheckPermissionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: MovePageCheckPermissionsHook.php:16
MediaWiki\Hook\OtherBlockLogLinkHook
This is a hook handler interface, see docs/Hooks.md.
Definition: OtherBlockLogLinkHook.php:12
MediaWiki\HookContainer\HookRunner\onUserIsLocked
onUserIsLocked( $user, &$locked)
Use this hook to establish that a user is locked.
Definition: HookRunner.php:4178
MediaWiki\HookContainer\HookRunner\onPageDeleteComplete
onPageDeleteComplete(ProperPageIdentity $page, Authority $deleter, string $reason, int $pageID, RevisionRecord $deletedRev, ManualLogEntry $logEntry, int $archivedRevisionCount)
Definition: HookRunner.php:2713
MediaWiki\HookContainer\HookRunner\onGetLinkColours
onGetLinkColours( $linkcolour_ids, &$colours, $title)
Use this hook to modify the CSS class of an array of page links.
Definition: HookRunner.php:1851
MediaWiki\Hook\SpecialSearchResultsPrependHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialSearchResultsPrependHook.php:15
MediaWiki\Hook\IsUploadAllowedFromUrlHook
This is a hook handler interface, see docs/Hooks.md.
Definition: IsUploadAllowedFromUrlHook.php:12
MediaWiki\Hook\ExtensionTypesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ExtensionTypesHook.php:12
MediaWiki\HookContainer\HookRunner\$container
HookContainer $container
Definition: HookRunner.php:559
MediaWiki\Hook\BeforePageRedirectHook
This is a hook handler interface, see docs/Hooks.md.
Definition: BeforePageRedirectHook.php:14
MediaWiki\Hook\WatchArticleHook
This is a hook handler interface, see docs/Hooks.md.
Definition: WatchArticleHook.php:16
MediaWiki\HookContainer\HookRunner\onChangeTagCanDelete
onChangeTagCanDelete( $tag, $user, &$status)
Use this hook to tell whether a change tag should be able to be deleted from the UI (Special:Tags) or...
Definition: HookRunner.php:1139
MediaWiki\HookContainer\HookRunner\onUndeleteForm__showRevision
onUndeleteForm__showRevision(&$archive, $title)
This hook is called in UndeleteForm::showRevision, after creating a PageArchive object.
Definition: HookRunner.php:3912
MediaWiki\HookContainer\HookRunner\onArticlePageDataAfter
onArticlePageDataAfter( $wikiPage, &$row)
This hook is called after loading data of an article from the database.
Definition: HookRunner.php:743
MediaWiki\Hook\UserGetLanguageObjectHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserGetLanguageObjectHook.php:15
MediaWiki\HookContainer\HookRunner\onFileDeleteComplete
onFileDeleteComplete( $file, $oldimage, $article, $user, $reason)
This hook is called when a file is deleted.
Definition: HookRunner.php:1691
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition: UserIdentity.php:39
MediaWiki\Hook\LocalFilePurgeThumbnailsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LocalFilePurgeThumbnailsHook.php:14
MediaWiki\HookContainer\HookRunner\onContributionsToolLinks
onContributionsToolLinks( $id, Title $title, array &$tools, SpecialPage $specialPage)
Use this hook to change the tool links above Special:Contributions.
Definition: HookRunner.php:1280
MediaWiki\Diff\Hook\DifferenceEngineShowEmptyOldContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DifferenceEngineShowEmptyOldContentHook.php:14
MediaWiki\Hook\EditPageGetCheckboxesDefinitionHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditPageGetCheckboxesDefinitionHook.php:14
MediaWiki\Hook\GetIPHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetIPHook.php:12
MediaWiki\Hook\SpecialLogAddLogSearchRelationsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialLogAddLogSearchRelationsHook.php:14
MediaWiki\Hook\Collation__factoryHook
This is a hook handler interface, see docs/Hooks.md.
Definition: Collation__factoryHook.php:15
MediaWiki\HookContainer\HookRunner\onUserGetEmailAuthenticationTimestamp
onUserGetEmailAuthenticationTimestamp( $user, &$timestamp)
This hook is called when getting the timestamp of email authentication.
Definition: HookRunner.php:4105
MediaWiki\HookContainer\HookRunner\onEditPageBeforeConflictDiff
onEditPageBeforeConflictDiff( $editor, $out)
Use this hook to modify the EditPage object and output when there's an edit conflict.
Definition: HookRunner.php:1485
MediaWiki\User\Hook\UserArrayFromResultHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserArrayFromResultHook.php:15
MediaWiki\HookContainer\HookRunner\onArticle__MissingArticleConditions
onArticle__MissingArticleConditions(&$conds, $logTypes)
This hook is called before fetching deletion and move log entries to display a message of a non-exist...
Definition: HookRunner.php:858
MediaWiki\Hook\ParserPreSaveTransformCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ParserPreSaveTransformCompleteHook.php:14
MediaWiki\HookContainer\HookRunner\onHistoryPageToolLinks
onHistoryPageToolLinks(IContextSource $context, LinkRenderer $linkRenderer, array &$links)
Use this hook to add one or more links to revision history page subtitle.
Definition: HookRunner.php:1964
MediaWiki\HookContainer\HookRunner\onSearchIndexFields
onSearchIndexFields(&$fields, $engine)
Use this hook to add fields to search index mapping.
Definition: HookRunner.php:3252
MediaWiki\HookContainer\HookRunner\onUploadCreateFromRequest
onUploadCreateFromRequest( $type, &$className)
This hook is called when UploadBase::createFromRequest has been called.
Definition: HookRunner.php:3975
MediaWiki\Hook\UnitTestsAfterDatabaseSetupHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UnitTestsAfterDatabaseSetupHook.php:14
MediaWiki\Permissions\Hook\UserGetRightsRemoveHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserGetRightsRemoveHook.php:14
MediaWiki\HookContainer\HookRunner\onUserLogoutComplete
onUserLogoutComplete( $user, &$inject_html, $oldName)
This hook is called after a user has logged out.
Definition: HookRunner.php:4235
MediaWiki\Hook\SkinSubPageSubtitleHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SkinSubPageSubtitleHook.php:15
MediaWiki\Hook\SpecialSearchProfilesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialSearchProfilesHook.php:12
MediaWiki\HookContainer\HookRunner\onMimeMagicInit
onMimeMagicInit( $mimeMagic)
This hook is called before processing the list mapping MIME types to media types and the list mapping...
Definition: HookRunner.php:2540
MediaWiki\HookContainer\HookRunner\onEditPageGetCheckboxesDefinition
onEditPageGetCheckboxesDefinition( $editpage, &$checkboxes)
Use this hook to modify the edit checkboxes and other form fields below the textarea in the edit form...
Definition: HookRunner.php:1513
MediaWiki\HookContainer\HookRunner\onProtectionForm__showLogExtract
onProtectionForm__showLogExtract( $article, $out)
This hook is called after the protection log extract is shown.
Definition: HookRunner.php:3090
MediaWiki\HookContainer\HookRunner\onParserOptionsRegister
onParserOptionsRegister(&$defaults, &$inCacheKey, &$lazyLoad)
Use this hook to register additional parser options.
Definition: HookRunner.php:2931
MediaWiki\HookContainer\HookRunner\onMovePageIsValidMove
onMovePageIsValidMove( $oldTitle, $newTitle, $status)
Use this hook to specify whether a page can be moved for technical reasons.
Definition: HookRunner.php:2565
MediaWiki\Hook\EnhancedChangesListModifyLineDataHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EnhancedChangesListModifyLineDataHook.php:15
MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionShowFinalPatrolLinkHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DifferenceEngineRenderRevisionShowFinalPatrolLinkHook.php:13
MediaWiki\HookContainer\HookRunner\onRevisionFromEditComplete
onRevisionFromEditComplete( $wikiPage, $rev, $originalRevId, $user, &$tags)
This hook is called when a revision was inserted due to an edit, file upload, import or page move.
Definition: HookRunner.php:3180
MediaWiki\Hook\UnwatchArticleHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UnwatchArticleHook.php:16
MediaWiki\HookContainer\HookRunner\onUserGetEmail
onUserGetEmail( $user, &$email)
This hook is called when getting an user email address.
Definition: HookRunner.php:4098
$dbr
$dbr
Definition: testCompression.php:54
MediaWiki\HookContainer\HookRunner\onSecuritySensitiveOperationStatus
onSecuritySensitiveOperationStatus(&$status, $operation, $session, $timeSinceAuth)
Use this hook to affect the return value from MediaWiki\Auth\AuthManager::securitySensitiveOperationS...
Definition: HookRunner.php:3287
MediaWiki\Content\Hook\PageContentLanguageHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PageContentLanguageHook.php:15
MediaWiki\HookContainer\HookRunner\onFetchChangesList
onFetchChangesList( $user, $skin, &$list, $groups)
This hook is called when fetching the ChangesList derivative for a particular user.
Definition: HookRunner.php:1684
MediaWiki\Hook\OutputPageBodyAttributesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: OutputPageBodyAttributesHook.php:15
MediaWiki\User\Hook\SpecialPasswordResetOnSubmitHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialPasswordResetOnSubmitHook.php:15
MediaWiki\Linker\Hook\HtmlPageLinkRendererBeginHook
This is a hook handler interface, see docs/Hooks.md.
Definition: HtmlPageLinkRendererBeginHook.php:16
MediaWiki\Hook\PageMoveCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PageMoveCompleteHook.php:16
MediaWiki\HookContainer\HookRunner\onPageSaveComplete
onPageSaveComplete( $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult)
This hook is called after an article has been updated.
Definition: HookRunner.php:2801
MediaWiki\HookContainer\HookRunner\onSpecialTrackingCategories__generateCatLink
onSpecialTrackingCategories__generateCatLink( $specialPage, $catTitle, &$html)
This hook is called for each category link on Special:TrackingCategories.
Definition: HookRunner.php:3764
MediaWiki\HookContainer\HookRunner\onEditFormInitialText
onEditFormInitialText( $editPage)
Use this hook to modify the edit form when editing existing pages.
Definition: HookRunner.php:1471
MediaWiki\Permissions\Hook\UserGetRightsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserGetRightsHook.php:14
MediaWiki\HookContainer\HookRunner\onSearchGetNearMatchComplete
onSearchGetNearMatchComplete( $term, &$title)
Use this hook to modify exact-title-matches in "go" searches.
Definition: HookRunner.php:3245
MediaWiki\HookContainer\HookRunner\onDisplayOldSubtitle
onDisplayOldSubtitle( $article, &$oldid)
This hook is called before creating subtitle when browsing old versions of an article.
Definition: HookRunner.php:1448
MediaWiki\Hook\WebResponseSetCookieHook
This is a hook handler interface, see docs/Hooks.md.
Definition: WebResponseSetCookieHook.php:12
MediaWiki\User\Hook\UserClearNewTalkNotificationHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserClearNewTalkNotificationHook.php:14
MediaWiki\ChangeTags\Hook\ChangeTagsAfterUpdateTagsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ChangeTagsAfterUpdateTagsHook.php:15
MediaWiki\HookContainer\HookRunner\onInterwikiLoadPrefix
onInterwikiLoadPrefix( $prefix, &$iwData)
This hook is called when resolving whether a given prefix is an interwiki or not.
Definition: HookRunner.php:2170
MediaWiki\Hook\WatchArticleCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: WatchArticleCompleteHook.php:15
MediaWiki\Hook\FormatAutocommentsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: FormatAutocommentsHook.php:14
MediaWiki\HookContainer\HookRunner\onOtherBlockLogLink
onOtherBlockLogLink(&$otherBlockLink, $ip)
Use this hook to add list items to a list of "other blocks" when viewing Special:BlockList.
Definition: HookRunner.php:2632
MediaWiki\Hook\EditFormInitialTextHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditFormInitialTextHook.php:14
MediaWiki\HookContainer\HookRunner\onSpecialSearchProfileForm
onSpecialSearchProfileForm( $search, &$form, $profile, $term, $opts)
Use this hook to modify search profile forms.
Definition: HookRunner.php:3713
MediaWiki\Permissions\Hook\UserCanHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserCanHook.php:15
MediaWiki\Content\Hook\ContentGetParserOutputHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ContentGetParserOutputHook.php:17
MediaWiki\HookContainer\HookRunner\onPrefsEmailAudit
onPrefsEmailAudit( $user, $oldaddr, $newaddr)
This hook is called when user changes their email address.
Definition: HookRunner.php:3062
MediaWiki\HookContainer\HookRunner\onSpecialResetTokensTokens
onSpecialResetTokensTokens(&$tokens)
This hook is called when building token list for SpecialResetTokens.
Definition: HookRunner.php:3678
Config
Interface for configuration instances.
Definition: Config.php:30
MediaWiki\HookContainer\HookRunner\onNamespaceIsMovable
onNamespaceIsMovable( $index, &$result)
This hook is called when determining if it is possible to move pages in a namespace.
Definition: HookRunner.php:2581
MediaWiki\Hook\UndeleteForm__showHistoryHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UndeleteForm__showHistoryHook.php:16
MediaWiki\HookContainer\HookRunner\onSpecialPasswordResetOnSubmit
onSpecialPasswordResetOnSubmit(&$users, $data, &$error)
This hook is called when executing a form submission on Special:PasswordReset.
Definition: HookRunner.php:3655
MediaWiki\HookContainer\HookRunner\onChangeAuthenticationDataAudit
onChangeAuthenticationDataAudit( $req, $status)
This hook is called when a user changes their password.
Definition: HookRunner.php:1085
MediaWiki\Hook\LinkerMakeMediaLinkFileHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LinkerMakeMediaLinkFileHook.php:15
MediaWiki\HookContainer\HookRunner\onWatchArticle
onWatchArticle( $user, $page, &$status, $expiry)
This hook is called before a watch is added to an article.
Definition: HookRunner.php:4356
MediaWiki\Hook\PageHistoryBeforeListHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PageHistoryBeforeListHook.php:15
MediaWiki\HookContainer\HookRunner\onLinkerGenerateRollbackLink
onLinkerGenerateRollbackLink( $revRecord, $context, $options, &$inner)
This hook is called before a rollback link is displayed to allow for customizing the appearance of th...
Definition: HookRunner.php:2261
MediaWiki\Hook\InternalParseBeforeSanitizeHook
This is a hook handler interface, see docs/Hooks.md.
Definition: InternalParseBeforeSanitizeHook.php:15
MediaWiki\Hook\CategoryViewer__generateLinkHook
This is a hook handler interface, see docs/Hooks.md.
Definition: CategoryViewer__generateLinkHook.php:15
MediaWiki\HookContainer\HookRunner\onAddNewAccount
onAddNewAccount( $user, $byEmail)
This hook is called after a user account is created.
Definition: HookRunner.php:607
MediaWiki\HookContainer\HookRunner\onPingLimiter
onPingLimiter( $user, $action, &$result, $incrBy)
Use this hook to override the results of User::pingLimiter().
Definition: HookRunner.php:3009
MediaWiki\Search\Hook\SearchGetNearMatchCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SearchGetNearMatchCompleteHook.php:14
MediaWiki\HookContainer\HookRunner\onSpecialContributions__formatRow__flags
onSpecialContributions__formatRow__flags( $context, $row, &$flags)
This hook is called before rendering a Special:Contributions row.
Definition: HookRunner.php:3525
MediaWiki\HookContainer\HookRunner\onProtectionForm__save
onProtectionForm__save( $article, &$errorMsg, $reasonstr)
This hook is called when a protection form is submitted.
Definition: HookRunner.php:3083
MediaWiki\Hook\SkinCopyrightFooterHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SkinCopyrightFooterHook.php:14
MediaWiki\Hook\ImgAuthModifyHeadersHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ImgAuthModifyHeadersHook.php:14
MediaWiki\User\Hook\InvalidateEmailCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: InvalidateEmailCompleteHook.php:14
MediaWiki\Hook\ImportHandleLogItemXMLTagHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ImportHandleLogItemXMLTagHook.php:14
MediaWiki\Hook\TestCanonicalRedirectHook
This is a hook handler interface, see docs/Hooks.md.
Definition: TestCanonicalRedirectHook.php:16
MediaWiki\HookContainer\HookRunner\onDifferenceEngineRenderRevisionShowFinalPatrolLink
onDifferenceEngineRenderRevisionShowFinalPatrolLink()
Use this hook to not show the final "mark as patrolled" link on the bottom of a page.
Definition: HookRunner.php:1397
File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition: File.php:67
MediaWiki\HookContainer\HookRunner\onPostLoginRedirect
onPostLoginRedirect(&$returnTo, &$returnToQuery, &$type)
Use this hook to modify the post login redirect behavior.
Definition: HookRunner.php:3023
MediaWiki\User\Hook\UserRemoveGroupHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserRemoveGroupHook.php:14
MediaWiki\HookContainer\HookRunner\onChangeTagAfterDelete
onChangeTagAfterDelete( $tag, &$status)
This hook is called after a change tag has been deleted (that is, removed from all revisions and log ...
Definition: HookRunner.php:1125
MediaWiki\Hook\ImportHandlePageXMLTagHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ImportHandlePageXMLTagHook.php:14
MediaWiki\HookContainer\HookRunner\onContribsPager__getQueryInfo
onContribsPager__getQueryInfo( $pager, &$queryInfo)
This hook is called before the contributions query is about to run.
Definition: HookRunner.php:1255
MediaWiki\HookContainer\HookRunner\onEditPage__showStandardInputs_options
onEditPage__showStandardInputs_options( $editor, $out, &$tabindex)
Use this hook to inject form fields into the editOptions area.
Definition: HookRunner.php:1592
MediaWiki\Hook\NewPagesLineEndingHook
This is a hook handler interface, see docs/Hooks.md.
Definition: NewPagesLineEndingHook.php:15
MediaWiki\HookContainer\HookRunner\onImageOpenShowImageInlineBefore
onImageOpenShowImageInlineBefore( $imagePage, $output)
This hook is called just before showing the image on an image page.
Definition: HookRunner.php:2027
MediaWiki\Hook\ParserAfterTidyHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ParserAfterTidyHook.php:14
MediaWiki\Diff\Hook\NewDifferenceEngineHook
This is a hook handler interface, see docs/Hooks.md.
Definition: NewDifferenceEngineHook.php:14
MediaWiki\HookContainer\HookRunner\onIsFileCacheable
onIsFileCacheable( $article)
Use this hook to override the result of Article::isFileCacheable().
Definition: HookRunner.php:2191
MediaWiki\HookContainer\HookRunner\onRecentChange_save
onRecentChange_save( $recentChange)
This hook is called at the end of RecentChange::save().
Definition: HookRunner.php:3118
MediaWiki\Storage\Hook\ParserOutputStashForEditHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ParserOutputStashForEditHook.php:17
MediaWiki\Hook\UserMailerSplitToHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserMailerSplitToHook.php:14
MediaWiki\Hook\PrefsEmailAuditHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PrefsEmailAuditHook.php:14
MediaWiki\Hook\SendWatchlistEmailNotificationHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SendWatchlistEmailNotificationHook.php:16
MediaWiki\Diff\Hook\DifferenceEngineRenderRevisionAddParserOutputHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DifferenceEngineRenderRevisionAddParserOutputHook.php:17
MediaWiki\User\Hook\UserGetDefaultOptionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserGetDefaultOptionsHook.php:12
MediaWiki\HookContainer\HookRunner\onChangesListSpecialPageStructuredFilters
onChangesListSpecialPageStructuredFilters( $special)
Use this hook to register filters for pages inheriting from ChangesListSpecialPage (in core: RecentCh...
Definition: HookRunner.php:1118
MediaWiki\Hook\MediaWikiServicesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: MediaWikiServicesHook.php:19
MediaWiki\Hook\SkinAfterContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SkinAfterContentHook.php:14
MediaWiki\Hook\GetDoubleUnderscoreIDsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetDoubleUnderscoreIDsHook.php:12
MediaWiki\HookContainer\HookRunner\onTestCanonicalRedirect
onTestCanonicalRedirect( $request, $title, $output)
This hook is called when about to force a redirect to a canonical URL for a title when we have no oth...
Definition: HookRunner.php:3803
MediaWiki\Hook\ParserGetVariableValueSwitchHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ParserGetVariableValueSwitchHook.php:15
MediaWiki\HookContainer\HookRunner\onContribsPager__reallyDoQuery
onContribsPager__reallyDoQuery(&$data, $pager, $offset, $limit, $descending)
This hook is called before really executing the query for My Contributions.
Definition: HookRunner.php:1262
MediaWiki\HookContainer\HookRunner\onParserClearState
onParserClearState( $parser)
This hook is called at the end of Parser::clearState().
Definition: HookRunner.php:2854
MediaWiki\HookContainer\HookRunner\onCategoryViewer__doCategoryQuery
onCategoryViewer__doCategoryQuery( $type, $res)
This hook is called after querying for pages to be displayed in a Category page.
Definition: HookRunner.php:1071
MediaWiki\HookContainer\HookRunner\onMarkPatrolled
onMarkPatrolled( $rcid, $user, $wcOnlySysopsCanPatrol, $auto, &$tags)
This hook is called before an edit is marked patrolled.
Definition: HookRunner.php:2468
MediaWiki\Session\Hook\SessionMetadataHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SessionMetadataHook.php:15
MediaWiki\Search\Hook\SearchGetNearMatchHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SearchGetNearMatchHook.php:14
MediaWiki\HookContainer\HookRunner\onEditPageGetPreviewContent
onEditPageGetPreviewContent( $editPage, &$content)
Use this hook to modify the wikitext that will be previewed.
Definition: HookRunner.php:1527
MediaWiki\HookContainer\HookRunner\onSkinTemplateGetLanguageLink
onSkinTemplateGetLanguageLink(&$languageLink, $languageLinkTitle, $title, $outputPage)
This hook is called after building the data for a language link from which the actual html is constru...
Definition: HookRunner.php:3471
MediaWiki\HookContainer\HookRunner\onAutopromoteCondition
onAutopromoteCondition( $type, $args, $user, &$result)
Use this hook to check autopromote condition for user.
Definition: HookRunner.php:883
MediaWiki\HookContainer\HookRunner\onSpecialPageAfterExecute
onSpecialPageAfterExecute( $special, $subPage)
This hook is called after SpecialPage::execute.
Definition: HookRunner.php:3627
MediaWiki\HookContainer\HookRunner\onImageBeforeProduceHTML
onImageBeforeProduceHTML( $linker, &$title, &$file, &$frameParams, &$handlerParams, &$time, &$res, $parser, &$query, &$widthOption)
This hook is called before producing the HTML created by a wiki image insertion.
Definition: HookRunner.php:2017
MediaWiki\HookContainer\HookRunner\onUserIsBot
onUserIsBot( $user, &$isBot)
Use this hook to establish whether a user is a bot account.
Definition: HookRunner.php:4164
MediaWiki\HookContainer\HookRunner\onAfterParserFetchFileAndTitle
onAfterParserFetchFileAndTitle( $parser, $ig, &$html)
This hook is called after an image gallery is formed by Parser, just before adding its HTML to parser...
Definition: HookRunner.php:638
MediaWiki\HookContainer\HookRunner\onArticleViewRedirect
onArticleViewRedirect( $article)
This hook is called before setting "Redirected from ..." subtitle when a redirect was followed.
Definition: HookRunner.php:851
MediaWiki\HookContainer\HookRunner\onXmlDumpWriterOpenPage
onXmlDumpWriterOpenPage( $obj, &$out, $row, $title)
This hook is called at the end of XmlDumpWriter::openPage, to allow extra metadata to be added.
Definition: HookRunner.php:4451
MediaWiki\Hook\WatchlistEditorBuildRemoveLineHook
This is a hook handler interface, see docs/Hooks.md.
Definition: WatchlistEditorBuildRemoveLineHook.php:15
MediaWiki\Hook\SkinAddFooterLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SkinAddFooterLinksHook.php:14
MediaWiki\Hook\SpecialRecentChangesPanelHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialRecentChangesPanelHook.php:14
MediaWiki\Diff\Hook\DifferenceEngineOldHeaderHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DifferenceEngineOldHeaderHook.php:14
MediaWiki\HookContainer\HookRunner\onTitleGetRestrictionTypes
onTitleGetRestrictionTypes( $title, &$types)
Use this hook to modify the types of protection that can be applied.
Definition: HookRunner.php:3833
MediaWiki\HookContainer\HookRunner\onWatchlistEditorBeforeFormRender
onWatchlistEditorBeforeFormRender(&$watchlistInfo)
This hook is called before building the Special:EditWatchlist form.
Definition: HookRunner.php:4379
MediaWiki\HookContainer\HookRunner\onImagePageFindFile
onImagePageFindFile( $page, &$file, &$displayFile)
This hook is called when fetching the file associated with an image page.
Definition: HookRunner.php:2048
MediaWiki\User\Hook\UserLoadFromDatabaseHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserLoadFromDatabaseHook.php:15
MediaWiki\HookContainer\HookRunner\onUserGetAllRights
onUserGetAllRights(&$rights)
This hook is called after calculating a list of all available rights.
Definition: HookRunner.php:4084
MediaWiki\Hook\SpecialResetTokensTokensHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialResetTokensTokensHook.php:12
MediaWiki\HookContainer\HookRunner\onUnitTestsAfterDatabaseSetup
onUnitTestsAfterDatabaseSetup( $database, $prefix)
This hook is called right after MediaWiki's test infrastructure has finished creating/duplicating cor...
Definition: HookRunner.php:3926
MediaWiki\Hook\UploadStashFileHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UploadStashFileHook.php:16
MediaWiki\Diff\Hook\DifferenceEngineLoadTextAfterNewContentIsLoadedHook
This is a hook handler interface, see docs/Hooks.md.
Definition: DifferenceEngineLoadTextAfterNewContentIsLoadedHook.php:14
MediaWiki\Hook\IRCLineURLHook
This is a hook handler interface, see docs/Hooks.md.
Definition: IRCLineURLHook.php:14
MediaWiki\HookContainer\HookRunner\onUser__mailPasswordInternal
onUser__mailPasswordInternal( $user, $ip, $u)
This hook is called before creation and mailing of a user's new temporary password.
Definition: HookRunner.php:4335
MediaWiki\HookContainer\HookRunner\onGetInternalURL
onGetInternalURL( $title, &$url, $query)
Use this hook to modify fully-qualified URLs used for squid cache purging.
Definition: HookRunner.php:1830
MediaWiki\Hook\SpecialListusersHeaderFormHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SpecialListusersHeaderFormHook.php:14
MediaWiki\HookContainer\HookRunner\onUserLoadDefaults
onUserLoadDefaults( $user, $name)
This hook is called when loading a default user.
Definition: HookRunner.php:4192
MediaWiki\Hook\ParserCacheSaveCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ParserCacheSaveCompleteHook.php:17
MediaWiki\Hook\ActionModifyFormFieldsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ActionModifyFormFieldsHook.php:14
MediaWiki\Hook\HistoryPageToolLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition: HistoryPageToolLinksHook.php:15
MediaWiki\HookContainer\HookRunner\onSiteNoticeBefore
onSiteNoticeBefore(&$siteNotice, $skin)
This hook is called before the sitenotice/anonnotice is composed.
Definition: HookRunner.php:3382
MediaWiki\Hook\UploadForm_BeforeProcessingHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UploadForm_BeforeProcessingHook.php:15
MediaWiki\HookContainer\HookRunner\onAbortEmailNotification
onAbortEmailNotification( $editor, $title, $rc)
Use this hook to cancel email notifications for an edit.
Definition: HookRunner.php:579
MediaWiki\HookContainer\HookRunner\onPageDelete
onPageDelete(ProperPageIdentity $page, Authority $deleter, string $reason, StatusValue $status, bool $suppress)
Definition: HookRunner.php:2700
MediaWiki\User\Hook\UserSetEmailAuthenticationTimestampHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserSetEmailAuthenticationTimestampHook.php:14
MediaWiki\Hook\CategoryViewer__doCategoryQueryHook
This is a hook handler interface, see docs/Hooks.md.
Definition: CategoryViewer__doCategoryQueryHook.php:15
MediaWiki\HookContainer\HookRunner\onUserAddGroup
onUserAddGroup( $user, &$group, &$expiry)
This hook is alled when adding a group or changing a group's expiry.
Definition: HookRunner.php:4042
MediaWiki\Hook\TitleIsAlwaysKnownHook
This is a hook handler interface, see docs/Hooks.md.
Definition: TitleIsAlwaysKnownHook.php:14
MediaWiki\HookContainer\HookRunner\onArticleViewHeader
onArticleViewHeader( $article, &$outputDone, &$pcache)
Use this hook to control article output.
Definition: HookRunner.php:844
MediaWiki\Hook\CanonicalNamespacesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: CanonicalNamespacesHook.php:12
MediaWiki\HookContainer\HookRunner\onSkinTemplateNavigation__Universal
onSkinTemplateNavigation__Universal( $sktemplate, &$links)
This hook is called on both content and special pages after variants have been added.
Definition: HookRunner.php:3496
MediaWiki\ChangeTags\Hook\ListDefinedTagsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ListDefinedTagsHook.php:12
MediaWiki\Hook\LinkerMakeExternalImageHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LinkerMakeExternalImageHook.php:12
MediaWiki\HookContainer\HookRunner\onUploadComplete
onUploadComplete( $uploadBase)
This hook is called upon completion of a file upload.
Definition: HookRunner.php:3968
MediaWiki\HookContainer\HookRunner\onBeforePageRedirect
onBeforePageRedirect( $out, &$redirect, &$code)
This hook is called prior to sending an HTTP redirect.
Definition: HookRunner.php:942
MediaWiki\User\Options\Hook\SaveUserOptionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SaveUserOptionsHook.php:14
MediaWiki\HookContainer\HookRunner\onInfoAction
onInfoAction( $context, &$pageInfo)
This hook is called when building information to display on the action=info page.
Definition: HookRunner.php:2140
MediaWiki\HookContainer\HookRunner\onPageMoveComplete
onPageMoveComplete( $old, $new, $user, $pageid, $redirid, $reason, $revision)
This hook is called after moving an article (title), post-commit.
Definition: HookRunner.php:2780
MediaWiki\HookContainer\HookRunner\onChangeTagsListActive
onChangeTagsListActive(&$tags)
Use this hook to nominate which of the tags your extension uses are in active use.
Definition: HookRunner.php:1163
MediaWiki\Hook\ContentSecurityPolicyScriptSourceHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ContentSecurityPolicyScriptSourceHook.php:12