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