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