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