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