MediaWiki master
HookRunner.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\HookContainer;
4
5use MediaWiki\Auth\AuthenticationResponse;
6use MediaWiki\Auth\AuthManager;
7use MediaWiki\Content\ContentHandler;
8use MediaWiki\Content\JsonContent;
9use MediaWiki\Context\IContextSource;
10use MediaWiki\Diff\TextSlotDiffRenderer;
11use MediaWiki\FileRepo\File\File;
12use MediaWiki\Linker\LinkRenderer;
13use MediaWiki\Linker\LinkTarget;
14use MediaWiki\Logging\ManualLogEntry;
15use MediaWiki\Mail\MailAddress;
16use MediaWiki\Mail\UserEmailContact;
17use MediaWiki\Message\Message;
18use MediaWiki\Output\OutputPage;
19use MediaWiki\Page\Article;
20use MediaWiki\Page\PageIdentity;
21use MediaWiki\Page\PageReference;
22use MediaWiki\Page\ProperPageIdentity;
23use MediaWiki\Page\WikiPage;
24use MediaWiki\Parser\Parser;
25use MediaWiki\Parser\ParserOptions;
26use MediaWiki\Parser\ParserOutput;
27use MediaWiki\Permissions\Authority;
28use MediaWiki\Permissions\PermissionStatus;
29use MediaWiki\RenameUser\RenameuserSQL;
30use MediaWiki\ResourceLoader as RL;
31use MediaWiki\Revision\RevisionRecord;
32use MediaWiki\Search\SearchEngine;
33use MediaWiki\Session\Session;
34use MediaWiki\Skin\Skin;
35use MediaWiki\SpecialPage\SpecialPage;
36use MediaWiki\Specials\Hook\SpecialWhatLinksHereBacklinkQueryData;
37use MediaWiki\Title\Title;
38use MediaWiki\User\User;
39use MediaWiki\User\UserIdentity;
40use StatusValue;
41use Wikimedia\Message\MessageSpecifier;
42use Wikimedia\Parsoid\Core\LinkTarget as ParsoidLinkTarget;
43use Wikimedia\Rdbms\SelectQueryBuilder;
44
58class HookRunner implements
601{
602
603 public function __construct(
604 private readonly HookContainer $container,
605 ) {
606 }
607
609 public function onAbortAutoblock( $autoblockip, $block ) {
610 return $this->container->run(
611 'AbortAutoblock',
612 [ $autoblockip, $block ]
613 );
614 }
615
617 public function onAbortDiffCache( $diffEngine ) {
618 return $this->container->run(
619 'AbortDiffCache',
620 [ $diffEngine ]
621 );
622 }
623
625 public function onActionBeforeFormDisplay( $name, $form, $article ) {
626 return $this->container->run(
627 'ActionBeforeFormDisplay',
628 [ $name, $form, $article ]
629 );
630 }
631
633 public function onActionModifyFormFields( $name, &$fields, $article ) {
634 return $this->container->run(
635 'ActionModifyFormFields',
636 [ $name, &$fields, $article ]
637 );
638 }
639
641 public function onAfterBuildFeedLinks( &$feedLinks ) {
642 return $this->container->run(
643 'AfterBuildFeedLinks',
644 [ &$feedLinks ]
645 );
646 }
647
649 public function onAfterFinalPageOutput( $output ): void {
650 $this->container->run(
651 'AfterFinalPageOutput',
652 [ $output ],
653 [ 'abortable' => false ]
654 );
655 }
656
658 public function onAfterImportPage( $title, $foreignTitle, $revCount,
659 $sRevCount, $pageInfo
660 ) {
661 return $this->container->run(
662 'AfterImportPage',
663 [ $title, $foreignTitle, $revCount, $sRevCount, $pageInfo ]
664 );
665 }
666
668 public function onAfterParserFetchFileAndTitle( $parser, $ig, &$html ) {
669 return $this->container->run(
670 'AfterParserFetchFileAndTitle',
671 [ $parser, $ig, &$html ]
672 );
673 }
674
676 public function onAlternateEdit( $editPage ) {
677 return $this->container->run(
678 'AlternateEdit',
679 [ $editPage ]
680 );
681 }
682
684 public function onAlternateEditPreview( $editPage, &$content, &$previewHTML,
685 &$parserOutput
686 ) {
687 return $this->container->run(
688 'AlternateEditPreview',
689 [ $editPage, &$content, &$previewHTML, &$parserOutput ]
690 );
691 }
692
694 public function onAlternateUserMailer( $headers, $to, $from, $subject, $body ) {
695 return $this->container->run(
696 'AlternateUserMailer',
697 [ $headers, $to, $from, $subject, $body ]
698 );
699 }
700
702 public function onAncientPagesQuery( &$tables, &$conds, &$joinConds ) {
703 return $this->container->run(
704 'AncientPagesQuery',
705 [ &$tables, &$conds, &$joinConds ]
706 );
707 }
708
710 public function onApiBeforeMain( &$main ) {
711 return $this->container->run(
712 'ApiBeforeMain',
713 [ &$main ]
714 );
715 }
716
718 public function onArticleConfirmDelete( $article, $output, &$reason ) {
719 return $this->container->run(
720 'ArticleConfirmDelete',
721 [ $article, $output, &$reason ]
722 );
723 }
724
726 public function onArticleContentOnDiff( $diffEngine, $output ) {
727 return $this->container->run(
728 'ArticleContentOnDiff',
729 [ $diffEngine, $output ]
730 );
731 }
732
734 public function onArticleDelete( $wikiPage, $user, &$reason, &$error, &$status,
735 $suppress
736 ) {
737 return $this->container->run(
738 'ArticleDelete',
739 [ $wikiPage, $user, &$reason, &$error, &$status, $suppress ]
740 );
741 }
742
744 public function onArticleDeleteAfterSuccess( $title, $outputPage ) {
745 return $this->container->run(
746 'ArticleDeleteAfterSuccess',
747 [ $title, $outputPage ]
748 );
749 }
750
752 public function onArticleDeleteComplete( $wikiPage, $user, $reason, $id,
753 $content, $logEntry, $archivedRevisionCount
754 ) {
755 return $this->container->run(
756 'ArticleDeleteComplete',
757 [ $wikiPage, $user, $reason, $id, $content, $logEntry,
758 $archivedRevisionCount ]
759 );
760 }
761
763 public function onArticleEditUpdateNewTalk( $wikiPage, $recipient ) {
764 return $this->container->run(
765 'ArticleEditUpdateNewTalk',
766 [ $wikiPage, $recipient ]
767 );
768 }
769
771 public function onArticleFromTitle( $title, &$article, $context ) {
772 return $this->container->run(
773 'ArticleFromTitle',
774 [ $title, &$article, $context ]
775 );
776 }
777
779 public function onArticleMergeComplete( $targetTitle, $destTitle ) {
780 return $this->container->run(
781 'ArticleMergeComplete',
782 [ $targetTitle, $destTitle ]
783 );
784 }
785
787 public function onArticlePageDataAfter( $wikiPage, &$row ) {
788 return $this->container->run(
789 'ArticlePageDataAfter',
790 [ $wikiPage, &$row ]
791 );
792 }
793
795 public function onArticlePageDataBefore( $wikiPage, &$fields, &$tables,
796 &$joinConds
797 ) {
798 return $this->container->run(
799 'ArticlePageDataBefore',
800 [ $wikiPage, &$fields, &$tables, &$joinConds ]
801 );
802 }
803
805 public function onArticleParserOptions( Article $article, ParserOptions $popts ) {
806 return $this->container->run(
807 'ArticleParserOptions',
808 [ $article, $popts ]
809 );
810 }
811
813 public function onArticlePrepareTextForEdit( $wikiPage, $popts ) {
814 return $this->container->run(
815 'ArticlePrepareTextForEdit',
816 [ $wikiPage, $popts ]
817 );
818 }
819
821 public function onArticleProtect( $wikiPage, $user, $protect, $reason ) {
822 return $this->container->run(
823 'ArticleProtect',
824 [ $wikiPage, $user, $protect, $reason ]
825 );
826 }
827
829 public function onArticleProtectComplete( $wikiPage, $user, $protect, $reason ) {
830 return $this->container->run(
831 'ArticleProtectComplete',
832 [ $wikiPage, $user, $protect, $reason ]
833 );
834 }
835
837 public function onArticlePurge( $wikiPage ) {
838 return $this->container->run(
839 'ArticlePurge',
840 [ $wikiPage ]
841 );
842 }
843
845 public function onArticleRevisionViewCustom( $revision, $title, $oldid,
846 $output
847 ) {
848 return $this->container->run(
849 'ArticleRevisionViewCustom',
850 [ $revision, $title, $oldid, $output ]
851 );
852 }
853
855 public function onArticleRevisionVisibilitySet( $title, $ids,
856 $visibilityChangeMap
857 ) {
858 return $this->container->run(
859 'ArticleRevisionVisibilitySet',
860 [ $title, $ids, $visibilityChangeMap ]
861 );
862 }
863
865 public function onArticleShowPatrolFooter( $article ) {
866 return $this->container->run(
867 'ArticleShowPatrolFooter',
868 [ $article ]
869 );
870 }
871
873 public function onArticleUndelete( $title, $create, $comment, $oldPageId,
874 $restoredPages
875 ) {
876 return $this->container->run(
877 'ArticleUndelete',
878 [ $title, $create, $comment, $oldPageId, $restoredPages ]
879 );
880 }
881
883 public function onArticleUpdateBeforeRedirect( $article, &$sectionanchor,
884 &$extraq
885 ) {
886 return $this->container->run(
887 'ArticleUpdateBeforeRedirect',
888 [ $article, &$sectionanchor, &$extraq ]
889 );
890 }
891
893 public function onArticleViewFooter( $article, $patrolFooterShown ) {
894 return $this->container->run(
895 'ArticleViewFooter',
896 [ $article, $patrolFooterShown ]
897 );
898 }
899
901 public function onArticleViewHeader( $article, &$outputDone, &$pcache ) {
902 return $this->container->run(
903 'ArticleViewHeader',
904 [ $article, &$outputDone, &$pcache ]
905 );
906 }
907
909 public function onArticleViewRedirect( $article ) {
910 return $this->container->run(
911 'ArticleViewRedirect',
912 [ $article ]
913 );
914 }
915
917 public function onArticle__MissingArticleConditions( &$conds, $logTypes ) {
918 return $this->container->run(
919 'Article::MissingArticleConditions',
920 [ &$conds, $logTypes ]
921 );
922 }
923
925 public function onAuthChangeFormFields( $requests, $fieldInfo,
926 &$formDescriptor, $action
927 ) {
928 return $this->container->run(
929 'AuthChangeFormFields',
930 [ $requests, $fieldInfo, &$formDescriptor, $action ]
931 );
932 }
933
935 public function onAuthManagerFilterProviders( array &$providers ): void {
936 $this->container->run(
937 'AuthManagerFilterProviders',
938 [ &$providers ],
939 [ 'abortable' => false ]
940 );
941 }
942
944 public function onAuthManagerLoginAuthenticateAudit( $response, $user,
945 $username, $extraData
946 ) {
947 return $this->container->run(
948 'AuthManagerLoginAuthenticateAudit',
949 [ $response, $user, $username, $extraData ]
950 );
951 }
952
955 ?UserIdentity $user,
956 AuthenticationResponse &$response,
957 AuthManager $authManager,
958 array $info
959 ): bool {
960 return $this->container->run(
961 'AuthManagerVerifyAuthentication',
962 [ $user, &$response, $authManager, $info ],
963 );
964 }
965
967 public function onAuthPreserveQueryParams( &$params, $options ) {
968 return $this->container->run(
969 'AuthPreserveQueryParams', [ &$params, $options ]
970 );
971 }
972
974 public function onAuthenticationAttemptThrottled( string $type, ?string $username, ?string $ip ) {
975 return $this->container->run(
976 'AuthenticationAttemptThrottled', [ $type, $username, $ip ]
977 );
978 }
979
981 public function onAutopromoteCondition( $type, $args, $user, &$result ) {
982 return $this->container->run(
983 'AutopromoteCondition',
984 [ $type, $args, $user, &$result ]
985 );
986 }
987
989 public function onBacklinkCacheGetConditions( $table, $title, &$conds ) {
990 return $this->container->run(
991 'BacklinkCacheGetConditions',
992 [ $table, $title, &$conds ]
993 );
994 }
995
997 public function onBacklinkCacheGetPrefix( $table, &$prefix ) {
998 return $this->container->run(
999 'BacklinkCacheGetPrefix',
1000 [ $table, &$prefix ]
1001 );
1002 }
1003
1005 public function onBadImage( $name, &$bad ) {
1006 return $this->container->run(
1007 'BadImage',
1008 [ $name, &$bad ]
1009 );
1010 }
1011
1013 public function onBeforeDisplayNoArticleText( $article ) {
1014 return $this->container->run(
1015 'BeforeDisplayNoArticleText',
1016 [ $article ]
1017 );
1018 }
1019
1021 public function onBeforeInitialize( $title, $unused, $output, $user, $request,
1022 $mediaWiki
1023 ) {
1024 return $this->container->run(
1025 'BeforeInitialize',
1026 [ $title, $unused, $output, $user, $request, $mediaWiki ]
1027 );
1028 }
1029
1031 public function onBeforePageDisplay( $out, $skin ): void {
1032 $this->container->run(
1033 'BeforePageDisplay',
1034 [ $out, $skin ],
1035 [ 'abortable' => false ]
1036 );
1037 }
1038
1040 public function onBeforePageRedirect( $out, &$redirect, &$code ) {
1041 return $this->container->run(
1042 'BeforePageRedirect',
1043 [ $out, &$redirect, &$code ]
1044 );
1045 }
1046
1048 public function onBeforeParserFetchFileAndTitle( $parser, $nt, &$options,
1049 &$descQuery
1050 ) {
1051 return $this->container->run(
1052 'BeforeParserFetchFileAndTitle',
1053 [ $parser, $nt, &$options, &$descQuery ]
1054 );
1055 }
1056
1059 ?LinkTarget $contextTitle, LinkTarget $title,
1060 bool &$skip, ?RevisionRecord &$revRecord
1061 ) {
1062 return $this->container->run(
1063 'BeforeParserFetchTemplateRevisionRecord',
1064 [ $contextTitle, $title, &$skip, &$revRecord ]
1065 );
1066 }
1067
1069 public function onBeforeRevertedTagUpdate( $wikiPage, $user,
1070 $summary, $flags, $revisionRecord, $editResult, &$approved
1071 ): void {
1072 $this->container->run(
1073 'BeforeRevertedTagUpdate',
1074 [ $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult,
1075 &$approved ],
1076 [ 'abortable' => false ]
1077 );
1078 }
1079
1081 public function onBeforeWelcomeCreation( &$welcome_creation_msg,
1082 &$injected_html
1083 ) {
1084 return $this->container->run(
1085 'BeforeWelcomeCreation',
1086 [ &$welcome_creation_msg, &$injected_html ]
1087 );
1088 }
1089
1091 public function onBitmapHandlerCheckImageArea( $image, &$params,
1092 &$checkImageAreaHookResult
1093 ) {
1094 return $this->container->run(
1095 'BitmapHandlerCheckImageArea',
1096 [ $image, &$params, &$checkImageAreaHookResult ]
1097 );
1098 }
1099
1101 public function onBitmapHandlerTransform( $handler, $image, &$scalerParams,
1102 &$mto
1103 ) {
1104 return $this->container->run(
1105 'BitmapHandlerTransform',
1106 [ $handler, $image, &$scalerParams, &$mto ]
1107 );
1108 }
1109
1111 public function onBlockIp( $block, $user, &$reason ) {
1112 return $this->container->run(
1113 'BlockIp',
1114 [ $block, $user, &$reason ]
1115 );
1116 }
1117
1119 public function onBlockIpComplete( $block, $user, $priorBlock ) {
1120 return $this->container->run(
1121 'BlockIpComplete',
1122 [ $block, $user, $priorBlock ]
1123 );
1124 }
1125
1127 public function onBookInformation( $isbn, $output ) {
1128 return $this->container->run(
1129 'BookInformation',
1130 [ $isbn, $output ]
1131 );
1132 }
1133
1135 public function onCanonicalNamespaces( &$namespaces ) {
1136 return $this->container->run(
1137 'CanonicalNamespaces',
1138 [ &$namespaces ]
1139 );
1140 }
1141
1143 public function onCategoryAfterPageAdded( $category, $wikiPage ) {
1144 return $this->container->run(
1145 'CategoryAfterPageAdded',
1146 [ $category, $wikiPage ]
1147 );
1148 }
1149
1151 public function onCategoryAfterPageRemoved( $category, $wikiPage, $id ) {
1152 return $this->container->run(
1153 'CategoryAfterPageRemoved',
1154 [ $category, $wikiPage, $id ]
1155 );
1156 }
1157
1159 public function onCategoryPageView( $catpage ) {
1160 return $this->container->run(
1161 'CategoryPageView',
1162 [ $catpage ]
1163 );
1164 }
1165
1168 IContextSource $context,
1169 string $type,
1170 PageReference $page,
1171 ?string $html,
1172 ?string &$link,
1173 ) {
1174 $this->container->run(
1175 'CategoryViewerGenerateLink',
1176 [ $context, $type, $page, $html, &$link ]
1177 );
1178 }
1179
1181 public function onCategoryViewer__doCategoryQuery( $type, $res ) {
1182 return $this->container->run(
1183 'CategoryViewer::doCategoryQuery',
1184 [ $type, $res ]
1185 );
1186 }
1187
1189 public function onChangeAuthenticationDataAudit( $req, $status ) {
1190 return $this->container->run(
1191 'ChangeAuthenticationDataAudit',
1192 [ $req, $status ]
1193 );
1194 }
1195
1197 public function onChangesListInitRows( $changesList, $rows ) {
1198 return $this->container->run(
1199 'ChangesListInitRows',
1200 [ $changesList, $rows ]
1201 );
1202 }
1203
1205 public function onChangesListInsertArticleLink( $changesList, &$articlelink,
1206 &$s, $rc, $unpatrolled, $watched
1207 ) {
1208 return $this->container->run(
1209 'ChangesListInsertArticleLink',
1210 [ $changesList, &$articlelink, &$s, $rc, $unpatrolled, $watched ]
1211 );
1212 }
1213
1215 public function onChangesListInsertLogEntry( $entry, $context, &$html, &$classes, &$attribs ) {
1216 return $this->container->run(
1217 'ChangesListInsertLogEntry',
1218 [ $entry, $context, &$html, &$classes, &$attribs ]
1219 );
1220 }
1221
1223 public function onChangesListSpecialPageQuery( $name, &$tables, &$fields,
1224 &$conds, &$query_options, &$join_conds, $opts
1225 ) {
1226 return $this->container->run(
1227 'ChangesListSpecialPageQuery',
1228 [ $name, &$tables, &$fields, &$conds, &$query_options,
1229 &$join_conds, $opts ]
1230 );
1231 }
1232
1234 public function onChangesListSpecialPageStructuredFilters( $special ) {
1235 return $this->container->run(
1236 'ChangesListSpecialPageStructuredFilters',
1237 [ $special ]
1238 );
1239 }
1240
1242 public function onChangeTagAfterDelete( $tag, &$status ) {
1243 return $this->container->run(
1244 'ChangeTagAfterDelete',
1245 [ $tag, &$status ]
1246 );
1247 }
1248
1250 public function onChangeTagCanCreate( $tag, $user, &$status ) {
1251 return $this->container->run(
1252 'ChangeTagCanCreate',
1253 [ $tag, $user, &$status ]
1254 );
1255 }
1256
1258 public function onChangeTagCanDelete( $tag, $user, &$status ) {
1259 return $this->container->run(
1260 'ChangeTagCanDelete',
1261 [ $tag, $user, &$status ]
1262 );
1263 }
1264
1266 public function onChangeTagsAfterUpdateTags( $addedTags, $removedTags,
1267 $prevTags, $rc_id, $rev_id, $log_id, $params, $rc, $user
1268 ) {
1269 return $this->container->run(
1270 'ChangeTagsAfterUpdateTags',
1271 [ $addedTags, $removedTags, $prevTags, $rc_id, $rev_id, $log_id,
1272 $params, $rc, $user ]
1273 );
1274 }
1275
1277 public function onChangeTagsAllowedAdd( &$allowedTags, $addTags, $user ) {
1278 return $this->container->run(
1279 'ChangeTagsAllowedAdd',
1280 [ &$allowedTags, $addTags, $user ]
1281 );
1282 }
1283
1285 public function onChangeTagsListActive( &$tags ) {
1286 return $this->container->run(
1287 'ChangeTagsListActive',
1288 [ &$tags ]
1289 );
1290 }
1291
1293 public function onChangeUserGroups( $performer, $user, &$add, &$remove ) {
1294 return $this->container->run(
1295 'ChangeUserGroups',
1296 [ $performer, $user, &$add, &$remove ]
1297 );
1298 }
1299
1301 public function onCollation__factory( $collationName, &$collationObject ) {
1302 return $this->container->run(
1303 'Collation::factory',
1304 [ $collationName, &$collationObject ]
1305 );
1306 }
1307
1309 public function onConfirmEmailComplete( $user ) {
1310 return $this->container->run(
1311 'ConfirmEmailComplete',
1312 [ $user ]
1313 );
1314 }
1315
1317 public function onContentAlterParserOutput( $content, $title, $parserOutput ) {
1318 return $this->container->run(
1319 'ContentAlterParserOutput',
1320 [ $content, $title, $parserOutput ]
1321 );
1322 }
1323
1325 public function onContentGetParserOutput( $content, $title, $revId, $options,
1326 $generateHtml, &$parserOutput
1327 ) {
1328 return $this->container->run(
1329 'ContentGetParserOutput',
1330 [ $content, $title, $revId, $options, $generateHtml, &$parserOutput ]
1331 );
1332 }
1333
1335 public function onContentHandlerDefaultModelFor( $title, &$model ) {
1336 return $this->container->run(
1337 'ContentHandlerDefaultModelFor',
1338 [ $title, &$model ]
1339 );
1340 }
1341
1343 public function onContentHandlerForModelID( $modelName, &$handler ) {
1344 return $this->container->run(
1345 'ContentHandlerForModelID',
1346 [ $modelName, &$handler ]
1347 );
1348 }
1349
1351 public function onContentModelCanBeUsedOn( $contentModel, $title, &$ok ) {
1352 return $this->container->run(
1353 'ContentModelCanBeUsedOn',
1354 [ $contentModel, $title, &$ok ]
1355 );
1356 }
1357
1359 public function onContentSecurityPolicyDefaultSource( &$defaultSrc,
1360 $policyConfig, $mode
1361 ) {
1362 return $this->container->run(
1363 'ContentSecurityPolicyDefaultSource',
1364 [ &$defaultSrc, $policyConfig, $mode ]
1365 );
1366 }
1367
1369 public function onContentSecurityPolicyDirectives( &$directives, $policyConfig,
1370 $mode
1371 ) {
1372 return $this->container->run(
1373 'ContentSecurityPolicyDirectives',
1374 [ &$directives, $policyConfig, $mode ]
1375 );
1376 }
1377
1379 public function onContentSecurityPolicyScriptSource( &$scriptSrc,
1380 $policyConfig, $mode
1381 ) {
1382 return $this->container->run(
1383 'ContentSecurityPolicyScriptSource',
1384 [ &$scriptSrc, $policyConfig, $mode ]
1385 );
1386 }
1387
1389 public function onContribsPager__getQueryInfo( $pager, &$queryInfo ) {
1390 return $this->container->run(
1391 'ContribsPager::getQueryInfo',
1392 [ $pager, &$queryInfo ]
1393 );
1394 }
1395
1397 public function onContribsPager__reallyDoQuery( &$data, $pager, $offset,
1398 $limit, $descending
1399 ) {
1400 return $this->container->run(
1401 'ContribsPager::reallyDoQuery',
1402 [ &$data, $pager, $offset, $limit, $descending ]
1403 );
1404 }
1405
1407 public function onContributeCards( &$cards ): void {
1408 $this->container->run(
1409 'ContributeCards',
1410 [ &$cards ]
1411 );
1412 }
1413
1415 public function onContributionsLineEnding( $page, &$ret, $row, &$classes,
1416 &$attribs
1417 ) {
1418 return $this->container->run(
1419 'ContributionsLineEnding',
1420 [ $page, &$ret, $row, &$classes, &$attribs ]
1421 );
1422 }
1423
1425 public function onContributionsToolLinks( $id, Title $title, array &$tools, SpecialPage $specialPage ) {
1426 return $this->container->run(
1427 'ContributionsToolLinks',
1428 [ $id, $title, &$tools, $specialPage ]
1429 );
1430 }
1431
1433 public function onConvertContent( $content, $toModel, $lossy, &$result ) {
1434 return $this->container->run(
1435 'ConvertContent',
1436 [ $content, $toModel, $lossy, &$result ]
1437 );
1438 }
1439
1441 public function onCustomEditor( $article, $user ) {
1442 return $this->container->run(
1443 'CustomEditor',
1444 [ $article, $user ]
1445 );
1446 }
1447
1449 public function onDeletedContribsPager__reallyDoQuery( &$data, $pager, $offset,
1450 $limit, $descending
1451 ) {
1452 return $this->container->run(
1453 'DeletedContribsPager::reallyDoQuery',
1454 [ &$data, $pager, $offset, $limit, $descending ]
1455 );
1456 }
1457
1459 public function onDeletedContributionsLineEnding( $page, &$ret, $row,
1460 &$classes, &$attribs
1461 ) {
1462 return $this->container->run(
1463 'DeletedContributionsLineEnding',
1464 [ $page, &$ret, $row, &$classes, &$attribs ]
1465 );
1466 }
1467
1469 public function onDeleteUnknownPreferences( &$where, $db ) {
1470 return $this->container->run(
1471 'DeleteUnknownPreferences',
1472 [ &$where, $db ]
1473 );
1474 }
1475
1477 public function onDifferenceEngineAfterLoadNewText( $differenceEngine ) {
1478 return $this->container->run(
1479 'DifferenceEngineAfterLoadNewText',
1480 [ $differenceEngine ]
1481 );
1482 }
1483
1486 TextSlotDiffRenderer $textSlotDiffRenderer,
1487 IContextSource $context,
1488 array &$parts
1489 ) {
1490 return $this->container->run(
1491 'TextSlotDiffRendererTablePrefix',
1492 [ $textSlotDiffRenderer, $context, &$parts ]
1493 );
1494 }
1495
1498 $differenceEngine
1499 ) {
1500 return $this->container->run(
1501 'DifferenceEngineLoadTextAfterNewContentIsLoaded',
1502 [ $differenceEngine ]
1503 );
1504 }
1505
1507 public function onDifferenceEngineMarkPatrolledLink( $differenceEngine,
1508 &$markAsPatrolledLink, $rcid
1509 ) {
1510 return $this->container->run(
1511 'DifferenceEngineMarkPatrolledLink',
1512 [ $differenceEngine, &$markAsPatrolledLink, $rcid ]
1513 );
1514 }
1515
1517 public function onDifferenceEngineMarkPatrolledRCID( &$rcid, $differenceEngine,
1518 $change, $user
1519 ) {
1520 return $this->container->run(
1521 'DifferenceEngineMarkPatrolledRCID',
1522 [ &$rcid, $differenceEngine, $change, $user ]
1523 );
1524 }
1525
1527 public function onDifferenceEngineNewHeader( $differenceEngine, &$newHeader,
1528 $formattedRevisionTools, $nextlink, $rollback, $newminor, $diffOnly, $rdel,
1529 $unhide
1530 ) {
1531 return $this->container->run(
1532 'DifferenceEngineNewHeader',
1533 [ $differenceEngine, &$newHeader, $formattedRevisionTools,
1534 $nextlink, $rollback, $newminor, $diffOnly, $rdel, $unhide ]
1535 );
1536 }
1537
1539 public function onDifferenceEngineOldHeader( $differenceEngine, &$oldHeader,
1540 $prevlink, $oldminor, $diffOnly, $ldel, $unhide
1541 ) {
1542 return $this->container->run(
1543 'DifferenceEngineOldHeader',
1544 [ $differenceEngine, &$oldHeader, $prevlink, $oldminor, $diffOnly,
1545 $ldel, $unhide ]
1546 );
1547 }
1548
1550 public function onDifferenceEngineOldHeaderNoOldRev( &$oldHeader ) {
1551 return $this->container->run(
1552 'DifferenceEngineOldHeaderNoOldRev',
1553 [ &$oldHeader ]
1554 );
1555 }
1556
1559 $differenceEngine, $out, $parserOutput, $wikiPage
1560 ) {
1561 return $this->container->run(
1562 'DifferenceEngineRenderRevisionAddParserOutput',
1563 [ $differenceEngine, $out, $parserOutput, $wikiPage ]
1564 );
1565 }
1566
1569 return $this->container->run(
1570 'DifferenceEngineRenderRevisionShowFinalPatrolLink',
1571 []
1572 );
1573 }
1574
1576 public function onDifferenceEngineShowDiff( $differenceEngine ) {
1577 return $this->container->run(
1578 'DifferenceEngineShowDiff',
1579 [ $differenceEngine ]
1580 );
1581 }
1582
1584 public function onDifferenceEngineShowDiffPage( $out ) {
1585 return $this->container->run(
1586 'DifferenceEngineShowDiffPage',
1587 [ $out ]
1588 );
1589 }
1590
1593 $differenceEngine
1594 ) {
1595 return $this->container->run(
1596 'DifferenceEngineShowDiffPageMaybeShowMissingRevision',
1597 [ $differenceEngine ]
1598 );
1599 }
1600
1602 public function onDifferenceEngineShowEmptyOldContent( $differenceEngine ) {
1603 return $this->container->run(
1604 'DifferenceEngineShowEmptyOldContent',
1605 [ $differenceEngine ]
1606 );
1607 }
1608
1610 public function onDifferenceEngineViewHeader( $differenceEngine ) {
1611 return $this->container->run(
1612 'DifferenceEngineViewHeader',
1613 [ $differenceEngine ]
1614 );
1615 }
1616
1618 public function onDiffTools( $newRevRecord, &$links, $oldRevRecord, $userIdentity ) {
1619 return $this->container->run(
1620 'DiffTools',
1621 [ $newRevRecord, &$links, $oldRevRecord, $userIdentity ]
1622 );
1623 }
1624
1626 public function onDisplayOldSubtitle( $article, &$oldid ) {
1627 return $this->container->run(
1628 'DisplayOldSubtitle',
1629 [ $article, &$oldid ]
1630 );
1631 }
1632
1634 public function onEditFilterMergedContent( $context, $content, $status,
1635 $summary, $user, $minoredit
1636 ) {
1637 return $this->container->run(
1638 'EditFilterMergedContent',
1639 [ $context, $content, $status, $summary, $user, $minoredit ]
1640 );
1641 }
1642
1644 public function onEditFormInitialText( $editPage ) {
1645 return $this->container->run(
1646 'EditFormInitialText',
1647 [ $editPage ]
1648 );
1649 }
1650
1652 public function onEditFormPreloadText( &$text, $title ) {
1653 return $this->container->run(
1654 'EditFormPreloadText',
1655 [ &$text, $title ]
1656 );
1657 }
1658
1660 public function onEditPageBeforeEditButtons( $editpage, &$buttons, &$tabindex ) {
1661 return $this->container->run(
1662 'EditPageBeforeEditButtons',
1663 [ $editpage, &$buttons, &$tabindex ]
1664 );
1665 }
1666
1668 public function onEditPageCopyrightWarning( $title, &$msg ) {
1669 return $this->container->run(
1670 'EditPageCopyrightWarning',
1671 [ $title, &$msg ]
1672 );
1673 }
1674
1676 public function onEditPageGetCheckboxesDefinition( $editpage, &$checkboxes ) {
1677 return $this->container->run(
1678 'EditPageGetCheckboxesDefinition',
1679 [ $editpage, &$checkboxes ]
1680 );
1681 }
1682
1684 public function onEditPageGetDiffContent( $editPage, &$newtext ) {
1685 return $this->container->run(
1686 'EditPageGetDiffContent',
1687 [ $editPage, &$newtext ]
1688 );
1689 }
1690
1692 public function onEditPageGetPreviewContent( $editPage, &$content ) {
1693 return $this->container->run(
1694 'EditPageGetPreviewContent',
1695 [ $editPage, &$content ]
1696 );
1697 }
1698
1700 public function onEditPageNoSuchSection( $editpage, &$res ) {
1701 return $this->container->run(
1702 'EditPageNoSuchSection',
1703 [ $editpage, &$res ]
1704 );
1705 }
1706
1708 public function onEditPageTosSummary( $title, &$msg ) {
1709 return $this->container->run(
1710 'EditPageTosSummary',
1711 [ $title, &$msg ]
1712 );
1713 }
1714
1716 public function onEditPage__attemptSave( $editpage_Obj ) {
1717 return $this->container->run(
1718 'EditPage::attemptSave',
1719 [ $editpage_Obj ]
1720 );
1721 }
1722
1724 public function onEditPage__attemptSave_after( $editpage_Obj, $status,
1725 $resultDetails
1726 ) {
1727 return $this->container->run(
1728 'EditPage::attemptSave:after',
1729 [ $editpage_Obj, $status, $resultDetails ]
1730 );
1731 }
1732
1734 public function onEditPage__importFormData( $editpage, $request ) {
1735 return $this->container->run(
1736 'EditPage::importFormData',
1737 [ $editpage, $request ]
1738 );
1739 }
1740
1742 public function onEditPage__showEditForm_fields( $editor, $out ) {
1743 return $this->container->run(
1744 'EditPage::showEditForm:fields',
1745 [ $editor, $out ]
1746 );
1747 }
1748
1750 public function onEditPage__showEditForm_initial( $editor, $out ) {
1751 return $this->container->run(
1752 'EditPage::showEditForm:initial',
1753 [ $editor, $out ]
1754 );
1755 }
1756
1758 public function onEditPage__showReadOnlyForm_initial( $editor, $out ) {
1759 return $this->container->run(
1760 'EditPage::showReadOnlyForm:initial',
1761 [ $editor, $out ]
1762 );
1763 }
1764
1766 public function onEditPage__showStandardInputs_options( $editor, $out,
1767 &$tabindex
1768 ) {
1769 return $this->container->run(
1770 'EditPage::showStandardInputs:options',
1771 [ $editor, $out, &$tabindex ]
1772 );
1773 }
1774
1776 public function onEmailConfirmed( $user, &$confirmed ) {
1777 return $this->container->run(
1778 'EmailConfirmed',
1779 [ $user, &$confirmed ]
1780 );
1781 }
1782
1784 public function onEmailUser( &$to, &$from, &$subject, &$text, &$error ) {
1785 return $this->container->run(
1786 'EmailUser',
1787 [ &$to, &$from, &$subject, &$text, &$error ]
1788 );
1789 }
1790
1792 public function onEmailUserCC( &$to, &$from, &$subject, &$text ) {
1793 return $this->container->run(
1794 'EmailUserCC',
1795 [ &$to, &$from, &$subject, &$text ]
1796 );
1797 }
1798
1800 public function onEmailUserComplete( $to, $from, $subject, $text ) {
1801 return $this->container->run(
1802 'EmailUserComplete',
1803 [ $to, $from, $subject, $text ]
1804 );
1805 }
1806
1808 public function onEmailUserForm( &$form ) {
1809 return $this->container->run(
1810 'EmailUserForm',
1811 [ &$form ]
1812 );
1813 }
1814
1816 public function onEmailUserPermissionsErrors( $user, $editToken, &$hookErr ) {
1817 return $this->container->run(
1818 'EmailUserPermissionsErrors',
1819 [ $user, $editToken, &$hookErr ]
1820 );
1821 }
1822
1824 public function onEmailUserAuthorizeSend( Authority $sender, StatusValue $status ) {
1825 return $this->container->run(
1826 'EmailUserAuthorizeSend',
1827 [ $sender, $status ]
1828 );
1829 }
1830
1832 public function onEmailUserSendEmail(
1833 Authority $from,
1834 MailAddress $fromAddress,
1835 UserEmailContact $to,
1836 MailAddress $toAddress,
1837 string $subject,
1838 string $text,
1839 StatusValue $status
1840 ) {
1841 return $this->container->run(
1842 'EmailUserSendEmail',
1843 [ $from, $fromAddress, $to, $toAddress, $subject, $text, $status ]
1844 );
1845 }
1846
1848 public function onEnhancedChangesListModifyBlockLineData( $changesList, &$data,
1849 $rc
1850 ) {
1851 return $this->container->run(
1852 'EnhancedChangesListModifyBlockLineData',
1853 [ $changesList, &$data, $rc ]
1854 );
1855 }
1856
1858 public function onEnhancedChangesListModifyLineData( $changesList, &$data,
1859 $block, $rc, &$classes, &$attribs
1860 ) {
1861 return $this->container->run(
1862 'EnhancedChangesListModifyLineData',
1863 [ $changesList, &$data, $block, $rc, &$classes, &$attribs ]
1864 );
1865 }
1866
1868 public function onEnhancedChangesList__getLogText( $changesList, &$links,
1869 $block
1870 ) {
1871 return $this->container->run(
1872 'EnhancedChangesList::getLogText',
1873 [ $changesList, &$links, $block ]
1874 );
1875 }
1876
1879 return $this->container->run(
1880 'ExemptFromAccountCreationThrottle',
1881 [ $ip ]
1882 );
1883 }
1884
1886 public function onExtensionTypes( &$extTypes ) {
1887 return $this->container->run(
1888 'ExtensionTypes',
1889 [ &$extTypes ]
1890 );
1891 }
1892
1894 public function onFetchChangesList( $user, $skin, &$list, $groups ) {
1895 return $this->container->run(
1896 'FetchChangesList',
1897 [ $user, $skin, &$list, $groups ]
1898 );
1899 }
1900
1902 public function onFileDeleteComplete( $file, $oldimage, $article, $user,
1903 $reason
1904 ) {
1905 return $this->container->run(
1906 'FileDeleteComplete',
1907 [ $file, $oldimage, $article, $user, $reason ]
1908 );
1909 }
1910
1912 public function onFileTransformed( $file, $thumb, $tmpThumbPath, $thumbPath ) {
1913 return $this->container->run(
1914 'FileTransformed',
1915 [ $file, $thumb, $tmpThumbPath, $thumbPath ]
1916 );
1917 }
1918
1920 public function onFileUndeleteComplete( $title, $fileVersions, $user, $reason ) {
1921 return $this->container->run(
1922 'FileUndeleteComplete',
1923 [ $title, $fileVersions, $user, $reason ]
1924 );
1925 }
1926
1928 public function onFileUpload( $file, $reupload, $hasDescription ) {
1929 return $this->container->run(
1930 'FileUpload',
1931 [ $file, $reupload, $hasDescription ]
1932 );
1933 }
1934
1936 public function onFormatAutocomments( &$comment, $pre, $extractedText, $post, $title,
1937 $local, $wikiId
1938 ) {
1939 return $this->container->run(
1940 'FormatAutocomments',
1941 [ &$comment, $pre, $extractedText, $post, $title, $local, $wikiId ]
1942 );
1943 }
1944
1946 public function onGalleryGetModes( &$modeArray ) {
1947 return $this->container->run(
1948 'GalleryGetModes',
1949 [ &$modeArray ]
1950 );
1951 }
1952
1954 public function onGetAllBlockActions( &$actions ) {
1955 return $this->container->run(
1956 'GetAllBlockActions',
1957 [ &$actions ],
1958 [ 'abortable' => false ]
1959 );
1960 }
1961
1963 public function onGetAutoPromoteGroups( $user, &$promote ) {
1964 return $this->container->run(
1965 'GetAutoPromoteGroups',
1966 [ $user, &$promote ]
1967 );
1968 }
1969
1971 public function onGetActionName( IContextSource $context, string &$action ): void {
1972 $this->container->run(
1973 'GetActionName',
1974 [ $context, &$action ],
1975 [ 'abortable' => false ]
1976 );
1977 }
1978
1980 public function onGetCacheVaryCookies( $out, &$cookies ) {
1981 return $this->container->run(
1982 'GetCacheVaryCookies',
1983 [ $out, &$cookies ]
1984 );
1985 }
1986
1988 public function onGetCanonicalURL( $title, &$url, $query ) {
1989 return $this->container->run(
1990 'GetCanonicalURL',
1991 [ $title, &$url, $query ]
1992 );
1993 }
1994
1996 public function onGetContentModels( &$models ) {
1997 return $this->container->run(
1998 'GetContentModels',
1999 [ &$models ]
2000 );
2001 }
2002
2004 public function onGetDefaultSortkey( $title, &$sortkey ) {
2005 return $this->container->run(
2006 'GetDefaultSortkey',
2007 [ $title, &$sortkey ]
2008 );
2009 }
2010
2012 public function onGetDifferenceEngine( $context, $old, $new, $refreshCache,
2013 $unhide, &$differenceEngine
2014 ) {
2015 return $this->container->run(
2016 'GetDifferenceEngine',
2017 [ $context, $old, $new, $refreshCache, $unhide,
2018 &$differenceEngine ]
2019 );
2020 }
2021
2023 public function onGetDoubleUnderscoreIDs( &$doubleUnderscoreIDs ) {
2024 return $this->container->run(
2025 'GetDoubleUnderscoreIDs',
2026 [ &$doubleUnderscoreIDs ]
2027 );
2028 }
2029
2031 public function onGetExtendedMetadata( &$combinedMeta, $file, $context,
2032 $single, &$maxCacheTime
2033 ) {
2034 return $this->container->run(
2035 'GetExtendedMetadata',
2036 [ &$combinedMeta, $file, $context, $single, &$maxCacheTime ]
2037 );
2038 }
2039
2041 public function onGetFullURL( $title, &$url, $query ) {
2042 return $this->container->run(
2043 'GetFullURL',
2044 [ $title, &$url, $query ]
2045 );
2046 }
2047
2049 public function onGetHumanTimestamp( &$output, $timestamp, $relativeTo, $user,
2050 $lang
2051 ) {
2052 return $this->container->run(
2053 'GetHumanTimestamp',
2054 [ &$output, $timestamp, $relativeTo, $user, $lang ]
2055 );
2056 }
2057
2059 public function onGetInternalURL( $title, &$url, $query ) {
2060 return $this->container->run(
2061 'GetInternalURL',
2062 [ $title, &$url, $query ]
2063 );
2064 }
2065
2067 public function onGetIP( &$ip ) {
2068 return $this->container->run(
2069 'GetIP',
2070 [ &$ip ]
2071 );
2072 }
2073
2075 public function onGetLangPreferredVariant( &$req ) {
2076 return $this->container->run(
2077 'GetLangPreferredVariant',
2078 [ &$req ]
2079 );
2080 }
2081
2083 public function onGetLinkColours( $linkcolour_ids, &$colours, $title ) {
2084 return $this->container->run(
2085 'GetLinkColours',
2086 [ $linkcolour_ids, &$colours, $title ]
2087 );
2088 }
2089
2091 public function onGetLocalURL( $title, &$url, $query ) {
2092 return $this->container->run(
2093 'GetLocalURL',
2094 [ $title, &$url, $query ]
2095 );
2096 }
2097
2099 public function onGetLocalURL__Article( $title, &$url ) {
2100 return $this->container->run(
2101 'GetLocalURL::Article',
2102 [ $title, &$url ]
2103 );
2104 }
2105
2107 public function onGetLocalURL__Internal( $title, &$url, $query ) {
2108 return $this->container->run(
2109 'GetLocalURL::Internal',
2110 [ $title, &$url, $query ]
2111 );
2112 }
2113
2115 public function onGetLogTypesOnUser( &$types ) {
2116 return $this->container->run(
2117 'GetLogTypesOnUser',
2118 [ &$types ]
2119 );
2120 }
2121
2123 public function onGetMagicVariableIDs( &$variableIDs ) {
2124 return $this->container->run(
2125 'GetMagicVariableIDs',
2126 [ &$variableIDs ]
2127 );
2128 }
2129
2131 public function onGetMetadataVersion( &$version ) {
2132 return $this->container->run(
2133 'GetMetadataVersion',
2134 [ &$version ]
2135 );
2136 }
2137
2139 public function onGetNewMessagesAlert( &$newMessagesAlert, $newtalks, $user,
2140 $out
2141 ) {
2142 return $this->container->run(
2143 'GetNewMessagesAlert',
2144 [ &$newMessagesAlert, $newtalks, $user, $out ]
2145 );
2146 }
2147
2149 public function onGetPreferences( $user, &$preferences ) {
2150 return $this->container->run(
2151 'GetPreferences',
2152 [ $user, &$preferences ]
2153 );
2154 }
2155
2157 public function onGetRelativeTimestamp( &$output, &$diff, $timestamp,
2158 $relativeTo, $user, $lang
2159 ) {
2160 return $this->container->run(
2161 'GetRelativeTimestamp',
2162 [ &$output, &$diff, $timestamp, $relativeTo, $user, $lang ]
2163 );
2164 }
2165
2167 public function onGetSlotDiffRenderer( $contentHandler, &$slotDiffRenderer,
2168 $context
2169 ) {
2170 return $this->container->run(
2171 'GetSlotDiffRenderer',
2172 [ $contentHandler, &$slotDiffRenderer, $context ]
2173 );
2174 }
2175
2177 public function onGetUserBlock( $user, $ip, &$block ) {
2178 return $this->container->run(
2179 'GetUserBlock',
2180 [ $user, $ip, &$block ]
2181 );
2182 }
2183
2186 LinkTarget $title,
2187 UserIdentity $user,
2188 string $action,
2189 string $rigor,
2190 PermissionStatus $status
2191 ): void {
2192 $this->container->run(
2193 'PermissionStatusAudit',
2194 [ $title, $user, $action, $rigor, $status ],
2195 [ 'abortable' => false ]
2196 );
2197 }
2198
2200 public function onGetSecurityLogContext( array $info, array &$context ): void {
2201 $this->container->run(
2202 'GetSecurityLogContext',
2203 [ $info, &$context ],
2204 [ 'abortable' => false ]
2205 );
2206 }
2207
2209 public function onGetSessionJwtData( ?UserIdentity $user, array &$jwtData ): void {
2210 $this->container->run(
2211 'GetSessionJwtData',
2212 [ $user, &$jwtData ],
2213 [ 'abortable' => false ]
2214 );
2215 }
2216
2218 public function onGetUserPermissionsErrors( $title, $user, $action, &$result ) {
2219 return $this->container->run(
2220 'getUserPermissionsErrors',
2221 [ $title, $user, $action, &$result ]
2222 );
2223 }
2224
2226 public function onGetUserPermissionsErrorsExpensive( $title, $user, $action,
2227 &$result
2228 ) {
2229 return $this->container->run(
2230 'getUserPermissionsErrorsExpensive',
2231 [ $title, $user, $action, &$result ]
2232 );
2233 }
2234
2236 public function onGitViewers( &$extTypes ) {
2237 return $this->container->run(
2238 'GitViewers',
2239 [ &$extTypes ]
2240 );
2241 }
2242
2244 public function onHistoryPageToolLinks( IContextSource $context, LinkRenderer $linkRenderer, array &$links ) {
2245 return $this->container->run(
2246 'HistoryPageToolLinks',
2247 [ $context, $linkRenderer, &$links ]
2248 );
2249 }
2250
2252 public function onHistoryTools( $revRecord, &$links, $prevRevRecord, $userIdentity ) {
2253 return $this->container->run(
2254 'HistoryTools',
2255 [ $revRecord, &$links, $prevRevRecord, $userIdentity ]
2256 );
2257 }
2258
2260 public function onHtmlCacheUpdaterAppendUrls( $title, $mode, &$append ) {
2261 return $this->container->run(
2262 'HtmlCacheUpdaterAppendUrls',
2263 [ $title, $mode, &$append ]
2264 );
2265 }
2266
2268 public function onHtmlCacheUpdaterVaryUrls( $urls, &$append ) {
2269 return $this->container->run(
2270 'HtmlCacheUpdaterVaryUrls',
2271 [ $urls, &$append ]
2272 );
2273 }
2274
2276 public function onHTMLFileCache__useFileCache( $context ) {
2277 return $this->container->run(
2278 'HTMLFileCache::useFileCache',
2279 [ $context ]
2280 );
2281 }
2282
2284 public function onHtmlPageLinkRendererBegin( $linkRenderer, $target, &$text,
2285 &$customAttribs, &$query, &$ret
2286 ) {
2287 return $this->container->run(
2288 'HtmlPageLinkRendererBegin',
2289 [ $linkRenderer, $target, &$text, &$customAttribs, &$query, &$ret ]
2290 );
2291 }
2292
2294 public function onHtmlPageLinkRendererEnd( $linkRenderer, $target, $isKnown,
2295 &$text, &$attribs, &$ret
2296 ) {
2297 return $this->container->run(
2298 'HtmlPageLinkRendererEnd',
2299 [ $linkRenderer, $target, $isKnown, &$text, &$attribs, &$ret ]
2300 );
2301 }
2302
2304 public function onImageBeforeProduceHTML( $linker, &$title, &$file,
2305 &$frameParams, &$handlerParams, &$time, &$res, $parser, &$query, &$widthOption
2306 ) {
2307 return $this->container->run(
2308 'ImageBeforeProduceHTML',
2309 [ $linker, &$title, &$file, &$frameParams, &$handlerParams, &$time,
2310 &$res, $parser, &$query, &$widthOption ]
2311 );
2312 }
2313
2315 public function onImageOpenShowImageInlineBefore( $imagePage, $output ) {
2316 return $this->container->run(
2317 'ImageOpenShowImageInlineBefore',
2318 [ $imagePage, $output ]
2319 );
2320 }
2321
2323 public function onImagePageAfterImageLinks( $imagePage, &$html ) {
2324 return $this->container->run(
2325 'ImagePageAfterImageLinks',
2326 [ $imagePage, &$html ]
2327 );
2328 }
2329
2331 public function onImagePageFileHistoryLine( $imageHistoryList, $file, &$line, &$css ) {
2332 return $this->container->run(
2333 'ImagePageFileHistoryLine',
2334 [ $imageHistoryList, $file, &$line, &$css ]
2335 );
2336 }
2337
2339 public function onImagePageFindFile( $page, &$file, &$displayFile ) {
2340 return $this->container->run(
2341 'ImagePageFindFile',
2342 [ $page, &$file, &$displayFile ]
2343 );
2344 }
2345
2347 public function onImagePageShowTOC( $page, &$toc ) {
2348 return $this->container->run(
2349 'ImagePageShowTOC',
2350 [ $page, &$toc ]
2351 );
2352 }
2353
2355 public function onImgAuthBeforeStream( &$title, &$path, &$name, &$result ) {
2356 return $this->container->run(
2357 'ImgAuthBeforeStream',
2358 [ &$title, &$path, &$name, &$result ]
2359 );
2360 }
2361
2363 public function onImgAuthModifyHeaders( $title, &$headers ) {
2364 return $this->container->run(
2365 'ImgAuthModifyHeaders',
2366 [ $title, &$headers ]
2367 );
2368 }
2369
2371 public function onImportHandleLogItemXMLTag( $reader, $logInfo ) {
2372 return $this->container->run(
2373 'ImportHandleLogItemXMLTag',
2374 [ $reader, $logInfo ]
2375 );
2376 }
2377
2379 public function onImportHandlePageXMLTag( $reader, &$pageInfo ) {
2380 return $this->container->run(
2381 'ImportHandlePageXMLTag',
2382 [ $reader, &$pageInfo ]
2383 );
2384 }
2385
2387 public function onImportHandleRevisionXMLTag( $reader, $pageInfo,
2388 $revisionInfo
2389 ) {
2390 return $this->container->run(
2391 'ImportHandleRevisionXMLTag',
2392 [ $reader, $pageInfo, $revisionInfo ]
2393 );
2394 }
2395
2397 public function onImportHandleContentXMLTag( $reader, $contentInfo ) {
2398 return $this->container->run(
2399 'ImportHandleContentXMLTag',
2400 [ $reader, $contentInfo ] );
2401 }
2402
2404 public function onImportHandleToplevelXMLTag( $reader ) {
2405 return $this->container->run(
2406 'ImportHandleToplevelXMLTag',
2407 [ $reader ]
2408 );
2409 }
2410
2412 public function onImportHandleUnknownUser( $name ) {
2413 return $this->container->run(
2414 'ImportHandleUnknownUser',
2415 [ $name ]
2416 );
2417 }
2418
2420 public function onImportHandleUploadXMLTag( $reader, $revisionInfo ) {
2421 return $this->container->run(
2422 'ImportHandleUploadXMLTag',
2423 [ $reader, $revisionInfo ]
2424 );
2425 }
2426
2428 public function onImportLogInterwikiLink( &$fullInterwikiPrefix, &$pageTitle ) {
2429 return $this->container->run(
2430 'ImportLogInterwikiLink',
2431 [ &$fullInterwikiPrefix, &$pageTitle ]
2432 );
2433 }
2434
2436 public function onImportSources( &$importSources ) {
2437 return $this->container->run(
2438 'ImportSources',
2439 [ &$importSources ]
2440 );
2441 }
2442
2444 public function onInfoAction( $context, &$pageInfo ) {
2445 return $this->container->run(
2446 'InfoAction',
2447 [ $context, &$pageInfo ]
2448 );
2449 }
2450
2453 &$ignoreRedirect, &$target, &$article
2454 ) {
2455 return $this->container->run(
2456 'InitializeArticleMaybeRedirect',
2457 [ $title, $request, &$ignoreRedirect, &$target, &$article ]
2458 );
2459 }
2460
2462 public function onInternalParseBeforeLinks( $parser, &$text, $stripState ) {
2463 return $this->container->run(
2464 'InternalParseBeforeLinks',
2465 [ $parser, &$text, $stripState ]
2466 );
2467 }
2468
2470 public function onInterwikiLoadPrefix( $prefix, &$iwData ) {
2471 return $this->container->run(
2472 'InterwikiLoadPrefix',
2473 [ $prefix, &$iwData ]
2474 );
2475 }
2476
2478 public function onInvalidateEmailComplete( $user ) {
2479 return $this->container->run(
2480 'InvalidateEmailComplete',
2481 [ $user ]
2482 );
2483 }
2484
2486 public function onIRCLineURL( &$url, &$query, $rc ) {
2487 return $this->container->run(
2488 'IRCLineURL',
2489 [ &$url, &$query, $rc ]
2490 );
2491 }
2492
2494 public function onIsFileCacheable( $article ) {
2495 return $this->container->run(
2496 'IsFileCacheable',
2497 [ $article ]
2498 );
2499 }
2500
2502 public function onIsTrustedProxy( $ip, &$result ) {
2503 return $this->container->run(
2504 'IsTrustedProxy',
2505 [ $ip, &$result ]
2506 );
2507 }
2508
2510 public function onIsUploadAllowedFromUrl( $url, &$allowed ) {
2511 return $this->container->run(
2512 'IsUploadAllowedFromUrl',
2513 [ $url, &$allowed ]
2514 );
2515 }
2516
2518 public function onIsValidEmailAddr( $addr, &$result ) {
2519 return $this->container->run(
2520 'isValidEmailAddr',
2521 [ $addr, &$result ]
2522 );
2523 }
2524
2526 public function onIsValidPassword( $password, &$result, $user ) {
2527 return $this->container->run(
2528 'isValidPassword',
2529 [ $password, &$result, $user ]
2530 );
2531 }
2532
2534 public function onJsonValidateSave( JsonContent $content, PageIdentity $pageIdentity, StatusValue $status ) {
2535 return $this->container->run(
2536 'JsonValidateSave',
2537 [ $content, $pageIdentity, &$status ]
2538 );
2539 }
2540
2542 public function onLanguageGetNamespaces( &$namespaces ) {
2543 return $this->container->run(
2544 'LanguageGetNamespaces',
2545 [ &$namespaces ]
2546 );
2547 }
2548
2550 public function onLanguageGetTranslatedLanguageNames( &$names, $code ) {
2551 return $this->container->run(
2552 'LanguageGetTranslatedLanguageNames',
2553 [ &$names, $code ]
2554 );
2555 }
2556
2558 public function onLanguageLinks( $title, &$links, &$linkFlags ) {
2559 return $this->container->run(
2560 'LanguageLinks',
2561 [ $title, &$links, &$linkFlags ]
2562 );
2563 }
2564
2566 public function onLanguageSelector( $out, $cssClassName ) {
2567 return $this->container->run(
2568 'LanguageSelector',
2569 [ $out, $cssClassName ]
2570 );
2571 }
2572
2574 public function onLanguage__getMessagesFileName( $code, &$file ) {
2575 return $this->container->run(
2576 'Language::getMessagesFileName',
2577 [ $code, &$file ]
2578 );
2579 }
2580
2582 public function onLinkerGenerateRollbackLink( $revRecord, $context, $options, &$inner ) {
2583 return $this->container->run(
2584 'LinkerGenerateRollbackLink',
2585 [ $revRecord, $context, $options, &$inner ]
2586 );
2587 }
2588
2590 public function onLinkerMakeExternalImage( &$url, &$alt, &$img ) {
2591 return $this->container->run(
2592 'LinkerMakeExternalImage',
2593 [ &$url, &$alt, &$img ]
2594 );
2595 }
2596
2598 public function onLinkerMakeExternalLink( &$url, &$text, &$link, &$attribs,
2599 $linkType
2600 ) {
2601 return $this->container->run(
2602 'LinkerMakeExternalLink',
2603 [ &$url, &$text, &$link, &$attribs, $linkType ]
2604 );
2605 }
2606
2609 ?string &$url, string &$text, array &$attribs,
2610 string $linkType, ParsoidLinkTarget $contextTitle
2611 ) {
2612 return $this->container->run(
2613 'LinkerMakeExternalLinkWithContext',
2614 [ &$url, &$text, &$attribs, $linkType, $contextTitle ]
2615 );
2616 }
2617
2619 public function onLinkerMakeMediaLinkFile( $title, $file, &$html, &$attribs,
2620 &$ret
2621 ) {
2622 return $this->container->run(
2623 'LinkerMakeMediaLinkFile',
2624 [ $title, $file, &$html, &$attribs, &$ret ]
2625 );
2626 }
2627
2629 public function onLinksUpdate( $linksUpdate ) {
2630 return $this->container->run(
2631 'LinksUpdate',
2632 [ $linksUpdate ]
2633 );
2634 }
2635
2637 public function onLinksUpdateComplete( $linksUpdate, $ticket ) {
2638 return $this->container->run(
2639 'LinksUpdateComplete',
2640 [ $linksUpdate, $ticket ]
2641 );
2642 }
2643
2645 public function onLinkTargetIsAlwaysKnownBatch( array $links, array &$isAlwaysKnown ) {
2646 return $this->container->run(
2647 'LinkTargetIsAlwaysKnownBatch',
2648 [ $links, &$isAlwaysKnown ]
2649 );
2650 }
2651
2653 public function onListDefinedTags( &$tags ) {
2654 return $this->container->run(
2655 'ListDefinedTags',
2656 [ &$tags ]
2657 );
2658 }
2659
2661 public function onListRestrictedTags( array &$restrictedTags ): void {
2662 $this->container->run(
2663 'ListRestrictedTags',
2664 [ &$restrictedTags ],
2665 [ 'abortable' => false ]
2666 );
2667 }
2668
2670 public function onLoadExtensionSchemaUpdates( $updater ) {
2671 return $this->container->run(
2672 'LoadExtensionSchemaUpdates',
2673 [ $updater ],
2674 [ 'noServices' => true ]
2675 );
2676 }
2677
2679 public function onLocalFilePurgeThumbnails( $file, $archiveName, $urls ) {
2680 return $this->container->run(
2681 'LocalFilePurgeThumbnails',
2682 [ $file, $archiveName, $urls ]
2683 );
2684 }
2685
2687 public function onLocalFile__getHistory( $file, &$tables, &$fields, &$conds,
2688 &$opts, &$join_conds
2689 ) {
2690 return $this->container->run(
2691 'LocalFile::getHistory',
2692 [ $file, &$tables, &$fields, &$conds, &$opts, &$join_conds ]
2693 );
2694 }
2695
2697 public function onLocalisationCacheRecache( $cache, $code, &$alldata, $unused ) {
2698 return $this->container->run(
2699 'LocalisationCacheRecache',
2700 [ $cache, $code, &$alldata, $unused ]
2701 );
2702 }
2703
2705 public function onLocalisationCacheRecacheFallback( $cache, $code, &$alldata ) {
2706 return $this->container->run(
2707 'LocalisationCacheRecacheFallback',
2708 [ $cache, $code, &$alldata ]
2709 );
2710 }
2711
2713 public function onLocalUserCreated( $user, $autocreated ) {
2714 return $this->container->run(
2715 'LocalUserCreated',
2716 [ $user, $autocreated ]
2717 );
2718 }
2719
2721 public function onLogEventsListGetExtraInputs( $type, $logEventsList, &$input,
2722 &$formDescriptor
2723 ) {
2724 return $this->container->run(
2725 'LogEventsListGetExtraInputs',
2726 [ $type, $logEventsList, &$input, &$formDescriptor ]
2727 );
2728 }
2729
2731 public function onLogEventsListLineEnding( $page, &$ret, $entry, &$classes,
2732 &$attribs
2733 ) {
2734 return $this->container->run(
2735 'LogEventsListLineEnding',
2736 [ $page, &$ret, $entry, &$classes, &$attribs ]
2737 );
2738 }
2739
2741 public function onLogEventsListShowLogExtract( &$s, $types, $page, $user,
2742 $param
2743 ) {
2744 return $this->container->run(
2745 'LogEventsListShowLogExtract',
2746 [ &$s, $types, $page, $user, $param ]
2747 );
2748 }
2749
2751 public function onLogException( $e, $suppressed ) {
2752 return $this->container->run(
2753 'LogException',
2754 [ $e, $suppressed ]
2755 );
2756 }
2757
2759 public function onLoginFormValidErrorMessages( array &$messages ) {
2760 return $this->container->run(
2761 'LoginFormValidErrorMessages',
2762 [ &$messages ]
2763 );
2764 }
2765
2767 public function onLogLine( $log_type, $log_action, $title, $paramArray,
2768 &$comment, &$revert, $time
2769 ) {
2770 return $this->container->run(
2771 'LogLine',
2772 [ $log_type, $log_action, $title, $paramArray, &$comment,
2773 &$revert, $time ]
2774 );
2775 }
2776
2778 public function onLonelyPagesQuery( &$tables, &$conds, &$joinConds ) {
2779 return $this->container->run(
2780 'LonelyPagesQuery',
2781 [ &$tables, &$conds, &$joinConds ]
2782 );
2783 }
2784
2786 public function onMaintenanceRefreshLinksInit( $refreshLinks ) {
2787 return $this->container->run(
2788 'MaintenanceRefreshLinksInit',
2789 [ $refreshLinks ]
2790 );
2791 }
2792
2794 public function onMaintenanceShellStart(): void {
2795 $this->container->run(
2796 'MaintenanceShellStart',
2797 [],
2798 [ 'abortable' => false ]
2799 );
2800 }
2801
2803 public function onMaintenanceUpdateAddParams( &$params ) {
2804 return $this->container->run(
2805 'MaintenanceUpdateAddParams',
2806 [ &$params ]
2807 );
2808 }
2809
2811 public function onMakeGlobalVariablesScript( &$vars, $out ): void {
2812 $this->container->run(
2813 'MakeGlobalVariablesScript',
2814 [ &$vars, $out ],
2815 [ 'abortable' => false ]
2816 );
2817 }
2818
2820 public function onManualLogEntryBeforePublish( $logEntry ): void {
2821 $this->container->run(
2822 'ManualLogEntryBeforePublish',
2823 [ $logEntry ],
2824 [ 'abortable' => false ]
2825 );
2826 }
2827
2829 public function onMarkPatrolled( $rcid, $user, $wcOnlySysopsCanPatrol, $auto,
2830 &$tags
2831 ) {
2832 return $this->container->run(
2833 'MarkPatrolled',
2834 [ $rcid, $user, $wcOnlySysopsCanPatrol, $auto, &$tags ]
2835 );
2836 }
2837
2839 public function onMarkPatrolledComplete( $rcid, $user, $wcOnlySysopsCanPatrol,
2840 $auto
2841 ) {
2842 return $this->container->run(
2843 'MarkPatrolledComplete',
2844 [ $rcid, $user, $wcOnlySysopsCanPatrol, $auto ]
2845 );
2846 }
2847
2849 public function onMarkPatrolledAudit( $recentChange, $userIdentity, int $logId ): void {
2850 $this->container->run(
2851 'MarkPatrolledAudit',
2852 [ $recentChange, $userIdentity, $logId ],
2853 [ 'abortable' => false ]
2854 );
2855 }
2856
2858 public function onMediaWikiPerformAction( $output, $article, $title, $user,
2859 $request, $mediaWiki
2860 ) {
2861 return $this->container->run(
2862 'MediaWikiPerformAction',
2863 [ $output, $article, $title, $user, $request, $mediaWiki ]
2864 );
2865 }
2866
2868 public function onMediaWikiServices( $services ) {
2869 return $this->container->run(
2870 'MediaWikiServices',
2871 [ $services ],
2872 [ 'noServices' => true ]
2873 );
2874 }
2875
2877 public function onMessageCacheFetchOverrides( array &$messages ): void {
2878 $this->container->run(
2879 'MessageCacheFetchOverrides',
2880 [ &$messages ],
2881 [ 'abortable' => false ]
2882 );
2883 }
2884
2886 public function onMessageCacheReplace( $title, $text ) {
2887 return $this->container->run(
2888 'MessageCacheReplace',
2889 [ $title, $text ]
2890 );
2891 }
2892
2894 public function onMessageCache__get( &$key ) {
2895 return $this->container->run(
2896 'MessageCache::get',
2897 [ &$key ]
2898 );
2899 }
2900
2902 public function onMessagePostProcessHtml( &$value, $format, $key ): void {
2903 $this->container->run(
2904 'MessagePostProcessHtml',
2905 [ &$value, $format, $key ],
2906 [ 'abortable' => false ]
2907 );
2908 }
2909
2911 public function onMessagePostProcessText( &$value, $format, $key ): void {
2912 $this->container->run(
2913 'MessagePostProcessText',
2914 [ &$value, $format, $key ],
2915 [ 'abortable' => false ]
2916 );
2917 }
2918
2920 public function onMessagesPreLoad( $title, &$message, $code ) {
2921 return $this->container->run(
2922 'MessagesPreLoad',
2923 [ $title, &$message, $code ]
2924 );
2925 }
2926
2928 public function onMimeMagicGuessFromContent( $mimeMagic, &$head, &$tail, $file,
2929 &$mime
2930 ) {
2931 return $this->container->run(
2932 'MimeMagicGuessFromContent',
2933 [ $mimeMagic, &$head, &$tail, $file, &$mime ]
2934 );
2935 }
2936
2938 public function onMimeMagicImproveFromExtension( $mimeMagic, $ext, &$mime ) {
2939 return $this->container->run(
2940 'MimeMagicImproveFromExtension',
2941 [ $mimeMagic, $ext, &$mime ]
2942 );
2943 }
2944
2946 public function onMimeMagicInit( $mimeMagic ) {
2947 return $this->container->run(
2948 'MimeMagicInit',
2949 [ $mimeMagic ]
2950 );
2951 }
2952
2954 public function onGetBlockErrorMessageKey( $block, &$key ) {
2955 return $this->container->run(
2956 'GetBlockErrorMessageKey',
2957 [ $block, &$key ]
2958 );
2959 }
2960
2962 public function onModifyExportQuery( $db, &$tables, $cond, &$opts,
2963 &$join_conds, &$conds
2964 ) {
2965 return $this->container->run(
2966 'ModifyExportQuery',
2967 [ $db, &$tables, $cond, &$opts, &$join_conds, &$conds ]
2968 );
2969 }
2970
2972 public function onMovePageCheckPermissions( $oldTitle, $newTitle, $user,
2973 $reason, $status
2974 ) {
2975 return $this->container->run(
2976 'MovePageCheckPermissions',
2977 [ $oldTitle, $newTitle, $user, $reason, $status ]
2978 );
2979 }
2980
2982 public function onMovePageIsValidMove( $oldTitle, $newTitle, $status ) {
2983 return $this->container->run(
2984 'MovePageIsValidMove',
2985 [ $oldTitle, $newTitle, $status ]
2986 );
2987 }
2988
2990 public function onMultiContentSave( $renderedRevision, $user, $summary, $flags,
2991 $status
2992 ) {
2993 return $this->container->run(
2994 'MultiContentSave',
2995 [ $renderedRevision, $user, $summary, $flags, $status ]
2996 );
2997 }
2998
3000 public function onNamespaceIsMovable( $index, &$result ) {
3001 return $this->container->run(
3002 'NamespaceIsMovable',
3003 [ $index, &$result ]
3004 );
3005 }
3006
3008 public function onNewDifferenceEngine( $title, &$oldId, &$newId, $old, $new ) {
3009 return $this->container->run(
3010 'NewDifferenceEngine',
3011 [ $title, &$oldId, &$newId, $old, $new ]
3012 );
3013 }
3014
3016 public function onNewPagesLineEnding( $page, &$ret, $row, &$classes, &$attribs ) {
3017 return $this->container->run(
3018 'NewPagesLineEnding',
3019 [ $page, &$ret, $row, &$classes, &$attribs ]
3020 );
3021 }
3022
3024 public function onOldChangesListRecentChangesLine( $changeslist, &$s, $rc,
3025 &$classes, &$attribs
3026 ) {
3027 return $this->container->run(
3028 'OldChangesListRecentChangesLine',
3029 [ $changeslist, &$s, $rc, &$classes, &$attribs ]
3030 );
3031 }
3032
3034 public function onOpenSearchUrls( &$urls ) {
3035 return $this->container->run(
3036 'OpenSearchUrls',
3037 [ &$urls ]
3038 );
3039 }
3040
3042 public function onOpportunisticLinksUpdate( $page, $title, $parserOutput ) {
3043 return $this->container->run(
3044 'OpportunisticLinksUpdate',
3045 [ $page, $title, $parserOutput ]
3046 );
3047 }
3048
3050 public function onOtherAutoblockLogLink( &$otherBlockLink ) {
3051 return $this->container->run(
3052 'OtherAutoblockLogLink',
3053 [ &$otherBlockLink ]
3054 );
3055 }
3056
3058 public function onOtherBlockLogLink( &$otherBlockLink, $ip ) {
3059 return $this->container->run(
3060 'OtherBlockLogLink',
3061 [ &$otherBlockLink, $ip ]
3062 );
3063 }
3064
3066 public function onOutputPageAfterGetHeadLinksArray( &$tags, $out ) {
3067 return $this->container->run(
3068 'OutputPageAfterGetHeadLinksArray',
3069 [ &$tags, $out ]
3070 );
3071 }
3072
3074 public function onOutputPageBeforeHTML( $out, &$text ) {
3075 return $this->container->run(
3076 'OutputPageBeforeHTML',
3077 [ $out, &$text ]
3078 );
3079 }
3080
3082 public function onOutputPageBodyAttributes( $out, $sk, &$bodyAttrs ): void {
3083 $this->container->run(
3084 'OutputPageBodyAttributes',
3085 [ $out, $sk, &$bodyAttrs ],
3086 [ 'abortable' => false ]
3087 );
3088 }
3089
3091 public function onOutputPageCheckLastModified( &$modifiedTimes, $out ) {
3092 return $this->container->run(
3093 'OutputPageCheckLastModified',
3094 [ &$modifiedTimes, $out ]
3095 );
3096 }
3097
3099 public function onOutputPageParserOutput( $outputPage, $parserOutput ): void {
3100 $this->container->run(
3101 'OutputPageParserOutput',
3102 [ $outputPage, $parserOutput ],
3103 [ 'abortable' => false ]
3104 );
3105 }
3106
3109 OutputPage $outputPage,
3110 ProperPageIdentity $categoryTitle,
3111 string $text,
3112 ?string &$link
3113 ): void {
3114 $this->container->run(
3115 'OutputPageRenderCategoryLink',
3116 [ $outputPage, $categoryTitle, $text, &$link ],
3117 [ 'abortable' => false ]
3118 );
3119 }
3120
3123 ParserOutput &$parserOutput, ParserOptions $parserOptions
3124 ): void {
3125 $this->container->run(
3126 'OutputTransformFirstStage',
3127 [ &$parserOutput, $parserOptions ],
3128 [ 'abortable' => false ]
3129 );
3130 }
3131
3134 ParserOutput &$parserOutput, ParserOptions $parserOptions
3135 ): void {
3136 $this->container->run(
3137 'OutputTransformLastStage',
3138 [ &$parserOutput, $parserOptions ],
3139 [ 'abortable' => false ]
3140 );
3141 }
3142
3144 public function onPageContentLanguage( $title, &$pageLang, $userLang ) {
3145 return $this->container->run(
3146 'PageContentLanguage',
3147 [ $title, &$pageLang, $userLang ]
3148 );
3149 }
3150
3152 public function onPageDelete(
3153 ProperPageIdentity $page,
3154 Authority $deleter,
3155 string $reason,
3156 StatusValue $status,
3157 bool $suppress
3158 ) {
3159 return $this->container->run(
3160 'PageDelete',
3161 [ $page, $deleter, $reason, $status, $suppress ]
3162 );
3163 }
3164
3166 public function onPageDeleteComplete(
3167 ProperPageIdentity $page,
3168 Authority $deleter,
3169 string $reason,
3170 int $pageID,
3171 RevisionRecord $deletedRev,
3172 ManualLogEntry $logEntry,
3173 int $archivedRevisionCount
3174 ) {
3175 return $this->container->run(
3176 'PageDeleteComplete',
3177 [ $page, $deleter, $reason, $pageID, $deletedRev, $logEntry, $archivedRevisionCount ]
3178 );
3179 }
3180
3182 public function onPageDeletionDataUpdates( $title, $revision, &$updates ) {
3183 return $this->container->run(
3184 'PageDeletionDataUpdates',
3185 [ $title, $revision, &$updates ]
3186 );
3187 }
3188
3190 public function onPageUndelete(
3191 ProperPageIdentity $page,
3192 Authority $performer,
3193 string $reason,
3194 bool $unsuppress,
3195 array $timestamps,
3196 array $fileVersions,
3197 StatusValue $status
3198 ) {
3199 return $this->container->run(
3200 'PageUndelete',
3201 [ $page, $performer, $reason, $unsuppress, $timestamps, $fileVersions, $status ]
3202 );
3203 }
3204
3206 public function onPageUndeleteComplete(
3207 ProperPageIdentity $page,
3208 Authority $restorer,
3209 string $reason,
3210 RevisionRecord $restoredRev,
3211 ManualLogEntry $logEntry,
3212 int $restoredRevisionCount,
3213 bool $created,
3214 array $restoredPageIds
3215 ): void {
3216 $this->container->run(
3217 'PageUndeleteComplete',
3218 [
3219 $page,
3220 $restorer,
3221 $reason,
3222 $restoredRev,
3223 $logEntry,
3224 $restoredRevisionCount,
3225 $created,
3226 $restoredPageIds
3227 ],
3228 [ 'abortable' => false ]
3229 );
3230 }
3231
3233 public function onPageHistoryBeforeList( $article, $context ) {
3234 return $this->container->run(
3235 'PageHistoryBeforeList',
3236 [ $article, $context ]
3237 );
3238 }
3239
3241 public function onPageHistoryLineEnding( $historyAction, &$row, &$s, &$classes,
3242 &$attribs
3243 ) {
3244 return $this->container->run(
3245 'PageHistoryLineEnding',
3246 [ $historyAction, &$row, &$s, &$classes, &$attribs ]
3247 );
3248 }
3249
3251 public function onPageHistoryPager__doBatchLookups( $pager, $result ) {
3252 return $this->container->run(
3253 'PageHistoryPager::doBatchLookups',
3254 [ $pager, $result ]
3255 );
3256 }
3257
3259 public function onPageHistoryPager__getQueryInfo( $pager, &$queryInfo ) {
3260 return $this->container->run(
3261 'PageHistoryPager::getQueryInfo',
3262 [ $pager, &$queryInfo ]
3263 );
3264 }
3265
3267 public function onPageMoveComplete( $old, $new, $user, $pageid, $redirid, $reason, $revision ) {
3268 return $this->container->run(
3269 'PageMoveComplete',
3270 [ $old, $new, $user, $pageid, $redirid, $reason, $revision ]
3271 );
3272 }
3273
3275 public function onPageMoveCompleting( $old, $new, $user, $pageid, $redirid, $reason, $revision ) {
3276 return $this->container->run(
3277 'PageMoveCompleting',
3278 [ $old, $new, $user, $pageid, $redirid, $reason, $revision ]
3279 );
3280 }
3281
3283 public function onPageRenderingHash( &$confstr, $user, &$forOptions ) {
3284 return $this->container->run(
3285 'PageRenderingHash',
3286 [ &$confstr, $user, &$forOptions ]
3287 );
3288 }
3289
3291 public function onPageSaveComplete( $wikiPage, $user, $summary, $flags,
3292 $revisionRecord, $editResult
3293 ) {
3294 return $this->container->run(
3295 'PageSaveComplete',
3296 [ $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult ]
3297 );
3298 }
3299
3301 public function onPageViewUpdates( $wikipage, $user ) {
3302 return $this->container->run(
3303 'PageViewUpdates',
3304 [ $wikipage, $user ]
3305 );
3306 }
3307
3309 public function onParserAfterParse( $parser, &$text, $stripState ) {
3310 return $this->container->run(
3311 'ParserAfterParse',
3312 [ $parser, &$text, $stripState ]
3313 );
3314 }
3315
3317 public function onParserAfterTidy( $parser, &$text ) {
3318 return $this->container->run(
3319 'ParserAfterTidy',
3320 [ $parser, &$text ]
3321 );
3322 }
3323
3325 public function onParserBeforeInternalParse( $parser, &$text, $stripState ) {
3326 return $this->container->run(
3327 'ParserBeforeInternalParse',
3328 [ $parser, &$text, $stripState ]
3329 );
3330 }
3331
3333 public function onParserBeforePreprocess( $parser, &$text, $stripState ) {
3334 return $this->container->run(
3335 'ParserBeforePreprocess',
3336 [ $parser, &$text, $stripState ]
3337 );
3338 }
3339
3341 public function onParserCacheSaveComplete( $parserCache, $parserOutput, $title,
3342 $popts, $revId
3343 ) {
3344 return $this->container->run(
3345 'ParserCacheSaveComplete',
3346 [ $parserCache, $parserOutput, $title, $popts, $revId ]
3347 );
3348 }
3349
3351 public function onParserClearState( $parser ) {
3352 return $this->container->run(
3353 'ParserClearState',
3354 [ $parser ]
3355 );
3356 }
3357
3359 public function onParserCloned( $parser ) {
3360 return $this->container->run(
3361 'ParserCloned',
3362 [ $parser ]
3363 );
3364 }
3365
3367 public function onParserFetchTemplateData( array $titles, array &$tplData ): bool {
3368 return $this->container->run(
3369 'ParserFetchTemplateData',
3370 [ $titles, &$tplData ]
3371 );
3372 }
3373
3375 public function onParserFirstCallInit( $parser ) {
3376 return $this->container->run(
3377 'ParserFirstCallInit',
3378 [ $parser ]
3379 );
3380 }
3381
3383 public function onParserGetVariableValueSwitch( $parser, &$variableCache,
3384 $magicWordId, &$ret, $frame
3385 ) {
3386 return $this->container->run(
3387 'ParserGetVariableValueSwitch',
3388 [ $parser, &$variableCache, $magicWordId, &$ret, $frame ]
3389 );
3390 }
3391
3393 public function onParserGetVariableValueTs( $parser, &$time ) {
3394 return $this->container->run(
3395 'ParserGetVariableValueTs',
3396 [ $parser, &$time ]
3397 );
3398 }
3399
3401 public function onParserLimitReportFormat( $key, &$value, &$report, $isHTML,
3402 $localize
3403 ) {
3404 return $this->container->run(
3405 'ParserLimitReportFormat',
3406 [ $key, &$value, &$report, $isHTML, $localize ]
3407 );
3408 }
3409
3411 public function onParserLimitReportPrepare( $parser, $output ) {
3412 return $this->container->run(
3413 'ParserLimitReportPrepare',
3414 [ $parser, $output ]
3415 );
3416 }
3417
3419 public function onParserLogLinterData( string $title, int $revId, array $lints ): bool {
3420 return $this->container->run(
3421 'ParserLogLinterData',
3422 [ $title, $revId, $lints ]
3423 );
3424 }
3425
3427 public function onParserMakeImageParams( $title, $file, &$params, $parser ) {
3428 return $this->container->run(
3429 'ParserMakeImageParams',
3430 [ $title, $file, &$params, $parser ]
3431 );
3432 }
3433
3435 public function onParserModifyImageHTML( Parser $parser, File $file,
3436 array $params, string &$html
3437 ): void {
3438 $this->container->run(
3439 'ParserModifyImageHTML',
3440 [ $parser, $file, $params, &$html ],
3441 [ 'abortable' => false ]
3442 );
3443 }
3444
3446 public function onParserOptionsDefaults( &$defaults, &$inCacheKey, &$lazyLoad, &$postprocOpts = [] ) {
3447 return $this->container->run(
3448 'ParserOptionsDefaults',
3449 [ &$defaults, &$inCacheKey, &$lazyLoad, &$postprocOpts ]
3450 );
3451 }
3452
3454 public function onParserOptionsRegister( &$defaults, &$inCacheKey, &$lazyLoad ) {
3455 return $this->container->run(
3456 'ParserOptionsRegister',
3457 [ &$defaults, &$inCacheKey, &$lazyLoad ]
3458 );
3459 }
3460
3462 public function onParserOutputPostCacheTransform( $parserOutput, &$text,
3463 &$options
3464 ): void {
3465 $this->container->run(
3466 'ParserOutputPostCacheTransform',
3467 [ $parserOutput, &$text, &$options ],
3468 [ 'abortable' => false ]
3469 );
3470 }
3471
3473 public function onParserOutputStashForEdit( $page, $content, $output, $summary,
3474 $user
3475 ) {
3476 return $this->container->run(
3477 'ParserOutputStashForEdit',
3478 [ $page, $content, $output, $summary, $user ]
3479 );
3480 }
3481
3483 public function onParserPreSaveTransformComplete( $parser, &$text ) {
3484 return $this->container->run(
3485 'ParserPreSaveTransformComplete',
3486 [ $parser, &$text ]
3487 );
3488 }
3489
3491 public function onParserTestGlobals( &$globals ) {
3492 return $this->container->run(
3493 'ParserTestGlobals',
3494 [ &$globals ]
3495 );
3496 }
3497
3499 public function onPasswordPoliciesForUser( $user, &$effectivePolicy ) {
3500 return $this->container->run(
3501 'PasswordPoliciesForUser',
3502 [ $user, &$effectivePolicy ]
3503 );
3504 }
3505
3507 public function onPerformRetroactiveAutoblock( $block, &$blockIds ) {
3508 return $this->container->run(
3509 'PerformRetroactiveAutoblock',
3510 [ $block, &$blockIds ]
3511 );
3512 }
3513
3515 public function onPingLimiter( $user, $action, &$result, $incrBy ) {
3516 return $this->container->run(
3517 'PingLimiter',
3518 [ $user, $action, &$result, $incrBy ]
3519 );
3520 }
3521
3523 public function onPlaceNewSection( $content, $oldtext, $subject, &$text ) {
3524 return $this->container->run(
3525 'PlaceNewSection',
3526 [ $content, $oldtext, $subject, &$text ]
3527 );
3528 }
3529
3531 public function onPostLoginRedirect( &$returnTo, &$returnToQuery, &$type ) {
3532 return $this->container->run(
3533 'PostLoginRedirect',
3534 [ &$returnTo, &$returnToQuery, &$type ]
3535 );
3536 }
3537
3539 public function onPreferencesFormPreSave( $formData, $form, $user, &$result,
3540 $oldUserOptions
3541 ) {
3542 return $this->container->run(
3543 'PreferencesFormPreSave',
3544 [ $formData, $form, $user, &$result, $oldUserOptions ]
3545 );
3546 }
3547
3549 public function onPreferencesGetIcon( &$iconNames ) {
3550 return $this->container->run(
3551 'PreferencesGetIcon',
3552 [ &$iconNames ]
3553 );
3554 }
3555
3557 public function onPreferencesGetLayout( &$useMobileLayout, $skinName,
3558 $skinProperties = []
3559 ) {
3560 return $this->container->run(
3561 'PreferencesGetLayout',
3562 [ &$useMobileLayout, $skinName, $skinProperties ]
3563 );
3564 }
3565
3567 public function onPreferencesGetLegend( $form, $key, &$legend ) {
3568 return $this->container->run(
3569 'PreferencesGetLegend',
3570 [ $form, $key, &$legend ]
3571 );
3572 }
3573
3575 public function onPrefixSearchExtractNamespace( &$namespaces, &$search ) {
3576 return $this->container->run(
3577 'PrefixSearchExtractNamespace',
3578 [ &$namespaces, &$search ]
3579 );
3580 }
3581
3583 public function onPrefsEmailAudit( $user, $oldaddr, $newaddr ) {
3584 return $this->container->run(
3585 'PrefsEmailAudit',
3586 [ $user, $oldaddr, $newaddr ]
3587 );
3588 }
3589
3591 public function onProtectionForm__buildForm( $article, &$output ) {
3592 return $this->container->run(
3593 'ProtectionForm::buildForm',
3594 [ $article, &$output ]
3595 );
3596 }
3597
3599 public function onProtectionFormAddFormFields( $article, &$hookFormOptions ) {
3600 return $this->container->run(
3601 'ProtectionFormAddFormFields',
3602 [ $article, &$hookFormOptions ]
3603 );
3604 }
3605
3607 public function onProtectionForm__save( $article, &$errorMsg, $reasonstr ) {
3608 return $this->container->run(
3609 'ProtectionForm::save',
3610 [ $article, &$errorMsg, $reasonstr ]
3611 );
3612 }
3613
3615 public function onProtectionForm__showLogExtract( $article, $out ) {
3616 return $this->container->run(
3617 'ProtectionForm::showLogExtract',
3618 [ $article, $out ]
3619 );
3620 }
3621
3623 public function onRandomPageQuery( &$tables, &$conds, &$joinConds ) {
3624 return $this->container->run(
3625 'RandomPageQuery',
3626 [ &$tables, &$conds, &$joinConds ]
3627 );
3628 }
3629
3631 public function onRawPageViewBeforeOutput( $obj, &$text ) {
3632 return $this->container->run(
3633 'RawPageViewBeforeOutput',
3634 [ $obj, &$text ]
3635 );
3636 }
3637
3640 UserIdentity $performer,
3641 UserIdentity $target,
3642 array $conditions
3643 ): void {
3644 $this->container->run(
3645 'ReadPrivateUserRequirementsCondition',
3646 [ $performer, $target, $conditions ],
3647 [ 'abortable' => false ]
3648 );
3649 }
3650
3652 public function onRecentChangesPurgeRows( $rows ): void {
3653 $this->container->run(
3654 'RecentChangesPurgeRows',
3655 [ $rows ]
3656 );
3657 }
3658
3660 public function onRecentChangesPurgeQuery( $query, &$callbacks ): void {
3661 $this->container->run(
3662 'RecentChangesPurgeQuery',
3663 [ $query, &$callbacks ]
3664 );
3665 }
3666
3668 public function onRecentChange_save( $recentChange ) {
3669 return $this->container->run(
3670 'RecentChange_save',
3671 [ $recentChange ]
3672 );
3673 }
3674
3676 public function onRedirectSpecialArticleRedirectParams( &$redirectParams ) {
3677 return $this->container->run(
3678 'RedirectSpecialArticleRedirectParams',
3679 [ &$redirectParams ]
3680 );
3681 }
3682
3684 public function onRejectParserCacheValue( $parserOutput, $wikiPage,
3685 $parserOptions
3686 ) {
3687 return $this->container->run(
3688 'RejectParserCacheValue',
3689 [ $parserOutput, $wikiPage, $parserOptions ]
3690 );
3691 }
3692
3694 public function onRenameUserAbort( int $uid, string $old, string $new ) {
3695 return $this->container->run(
3696 'RenameUserAbort',
3697 [ $uid, $old, $new ]
3698 );
3699 }
3700
3702 public function onRenameUserComplete( int $uid, string $old, string $new ): void {
3703 $this->container->run(
3704 'RenameUserComplete',
3705 [ $uid, $old, $new ],
3706 [ 'abortable' => false ]
3707 );
3708 }
3709
3711 public function onRenameUserPreRename( int $uid, string $old, string $new ): void {
3712 $this->container->run(
3713 'RenameUserPreRename',
3714 [ $uid, $old, $new ],
3715 [ 'abortable' => false ]
3716 );
3717 }
3718
3720 public function onRenameUserSQL( RenameuserSQL $renameUserSql ): void {
3721 $this->container->run(
3722 'RenameUserSQL',
3723 [ $renameUserSql ],
3724 [ 'abortable' => false ]
3725 );
3726 }
3727
3729 public function onRenameUserWarning( string $oldUsername, string $newUsername, array &$warnings ): void {
3730 $this->container->run(
3731 'RenameUserWarning',
3732 [ $oldUsername, $newUsername, &$warnings ],
3733 [ 'abortable' => false ]
3734 );
3735 }
3736
3738 public function onRequestContextCreateSkin( $context, &$skin ) {
3739 return $this->container->run(
3740 'RequestContextCreateSkin',
3741 [ $context, &$skin ]
3742 );
3743 }
3744
3746 public function onResetPasswordExpiration( $user, &$newExpire ) {
3747 return $this->container->run(
3748 'ResetPasswordExpiration',
3749 [ $user, &$newExpire ]
3750 );
3751 }
3752
3754 public function onRevisionDataUpdates( $title, $renderedRevision, &$updates ) {
3755 return $this->container->run(
3756 'RevisionDataUpdates',
3757 [ $title, $renderedRevision, &$updates ]
3758 );
3759 }
3760
3762 public function onRevisionFromEditComplete( $wikiPage, $rev, $originalRevId, $user, &$tags ) {
3763 return $this->container->run(
3764 'RevisionFromEditComplete',
3765 [ $wikiPage, $rev, $originalRevId, $user, &$tags ]
3766 );
3767 }
3768
3770 public function onRevisionRecordInserted( $revisionRecord ) {
3771 return $this->container->run(
3772 'RevisionRecordInserted',
3773 [ $revisionRecord ]
3774 );
3775 }
3776
3778 public function onRevisionUndeleted( $revisionRecord, $oldPageID ) {
3779 return $this->container->run(
3780 'RevisionUndeleted',
3781 [ $revisionRecord, $oldPageID ]
3782 );
3783 }
3784
3786 public function onRollbackComplete( $wikiPage, $user, $revision, $current ) {
3787 return $this->container->run(
3788 'RollbackComplete',
3789 [ $wikiPage, $user, $revision, $current ]
3790 );
3791 }
3792
3794 public function onSearchableNamespaces( &$arr ) {
3795 return $this->container->run(
3796 'SearchableNamespaces',
3797 [ &$arr ]
3798 );
3799 }
3800
3802 public function onSearchAfterNoDirectMatch( $term, &$title ) {
3803 return $this->container->run(
3804 'SearchAfterNoDirectMatch',
3805 [ $term, &$title ]
3806 );
3807 }
3808
3810 public function onSearchDataForIndex( &$fields, $handler, $page, $output, $engine ) {
3811 return $this->container->run(
3812 'SearchDataForIndex',
3813 [ &$fields, $handler, $page, $output, $engine ]
3814 );
3815 }
3816
3818 public function onSearchDataForIndex2( array &$fields, ContentHandler $handler,
3819 WikiPage $page, ParserOutput $output, SearchEngine $engine, RevisionRecord $revision
3820 ) {
3821 return $this->container->run(
3822 'SearchDataForIndex2',
3823 [ &$fields, $handler, $page, $output, $engine, $revision ]
3824 );
3825 }
3826
3828 public function onSearchGetNearMatch( $term, &$title ) {
3829 return $this->container->run(
3830 'SearchGetNearMatch',
3831 [ $term, &$title ]
3832 );
3833 }
3834
3836 public function onSearchGetNearMatchBefore( $allSearchTerms, &$titleResult ) {
3837 return $this->container->run(
3838 'SearchGetNearMatchBefore',
3839 [ $allSearchTerms, &$titleResult ]
3840 );
3841 }
3842
3844 public function onSearchGetNearMatchComplete( $term, &$title ) {
3845 return $this->container->run(
3846 'SearchGetNearMatchComplete',
3847 [ $term, &$title ]
3848 );
3849 }
3850
3852 public function onSearchIndexFields( &$fields, $engine ) {
3853 return $this->container->run(
3854 'SearchIndexFields',
3855 [ &$fields, $engine ]
3856 );
3857 }
3858
3860 public function onSearchResultInitFromTitle( $title, &$id ) {
3861 return $this->container->run(
3862 'SearchResultInitFromTitle',
3863 [ $title, &$id ]
3864 );
3865 }
3866
3868 public function onSearchResultProvideDescription( array $pageIdentities, &$descriptions ) {
3869 return $this->container->run(
3870 'SearchResultProvideDescription',
3871 [ $pageIdentities, &$descriptions ]
3872 );
3873 }
3874
3876 public function onSearchResultProvideThumbnail( array $pageIdentities, &$thumbnails, ?int $size = null ) {
3877 return $this->container->run(
3878 'SearchResultProvideThumbnail',
3879 [ $pageIdentities, &$thumbnails, $size ]
3880 );
3881 }
3882
3884 public function onSearchResultsAugment( &$setAugmentors, &$rowAugmentors ) {
3885 return $this->container->run(
3886 'SearchResultsAugment',
3887 [ &$setAugmentors, &$rowAugmentors ]
3888 );
3889 }
3890
3892 public function onSecuritySensitiveOperationStatus( &$status, $operation,
3893 $session, $timeSinceAuth
3894 ) {
3895 return $this->container->run(
3896 'SecuritySensitiveOperationStatus',
3897 [ &$status, $operation, $session, $timeSinceAuth ]
3898 );
3899 }
3900
3902 public function onSelfLinkBegin( $nt, &$html, &$trail, &$prefix, &$ret ) {
3903 return $this->container->run(
3904 'SelfLinkBegin',
3905 [ $nt, &$html, &$trail, &$prefix, &$ret ]
3906 );
3907 }
3908
3910 public function onSessionCheckInfo( &$reason, $info, $request, $metadata,
3911 $data
3912 ) {
3913 return $this->container->run(
3914 'SessionCheckInfo',
3915 [ &$reason, $info, $request, $metadata, $data ]
3916 );
3917 }
3918
3920 public function onSessionMetadata( $backend, &$metadata, $requests ) {
3921 return $this->container->run(
3922 'SessionMetadata',
3923 [ $backend, &$metadata, $requests ]
3924 );
3925 }
3926
3928 public function onSetupAfterCache() {
3929 return $this->container->run(
3930 'SetupAfterCache',
3931 []
3932 );
3933 }
3934
3936 public function onShortPagesQuery( &$tables, &$conds, &$joinConds, &$options ) {
3937 return $this->container->run(
3938 'ShortPagesQuery',
3939 [ &$tables, &$conds, &$joinConds, &$options ]
3940 );
3941 }
3942
3944 public function onShowMissingArticle( $article ) {
3945 return $this->container->run(
3946 'ShowMissingArticle',
3947 [ $article ]
3948 );
3949 }
3950
3952 public function onShowSearchHit( $searchPage, $result, $terms, &$link,
3953 &$redirect, &$section, &$extract, &$score, &$size, &$date, &$related, &$html
3954 ) {
3955 return $this->container->run(
3956 'ShowSearchHit',
3957 [ $searchPage, $result, $terms, &$link, &$redirect, &$section,
3958 &$extract, &$score, &$size, &$date, &$related, &$html ]
3959 );
3960 }
3961
3963 public function onShowSearchHitTitle( &$title, &$titleSnippet, $result, $terms,
3964 $specialSearch, &$query, &$attributes
3965 ) {
3966 return $this->container->run(
3967 'ShowSearchHitTitle',
3968 [ &$title, &$titleSnippet, $result, $terms, $specialSearch,
3969 &$query, &$attributes ]
3970 );
3971 }
3972
3974 public function onSidebarBeforeOutput( $skin, &$sidebar ): void {
3975 $this->container->run(
3976 'SidebarBeforeOutput',
3977 [ $skin, &$sidebar ],
3978 [ 'abortable' => false ]
3979 );
3980 }
3981
3983 public function onSiteNoticeAfter( &$siteNotice, $skin ) {
3984 return $this->container->run(
3985 'SiteNoticeAfter',
3986 [ &$siteNotice, $skin ]
3987 );
3988 }
3989
3991 public function onSiteNoticeBefore( &$siteNotice, $skin ) {
3992 return $this->container->run(
3993 'SiteNoticeBefore',
3994 [ &$siteNotice, $skin ]
3995 );
3996 }
3997
3999 public function onSkinPageReadyConfig( RL\Context $context,
4000 array &$config
4001 ) {
4002 $this->container->run(
4003 'SkinPageReadyConfig',
4004 [ $context, &$config ],
4005 [ 'abortable' => true ]
4006 );
4007 }
4008
4010 public function onSkinAddFooterLinks( Skin $skin, string $key, array &$footerItems ) {
4011 $this->container->run(
4012 'SkinAddFooterLinks',
4013 [ $skin, $key, &$footerItems ]
4014 );
4015 }
4016
4018 public function onSkinAfterBottomScripts( $skin, &$text ) {
4019 return $this->container->run(
4020 'SkinAfterBottomScripts',
4021 [ $skin, &$text ]
4022 );
4023 }
4024
4026 public function onSkinAfterContent( &$data, $skin ) {
4027 return $this->container->run(
4028 'SkinAfterContent',
4029 [ &$data, $skin ]
4030 );
4031 }
4032
4034 public function onSkinAfterPortlet( $skin, $portlet, &$html ) {
4035 return $this->container->run(
4036 'SkinAfterPortlet',
4037 [ $skin, $portlet, &$html ]
4038 );
4039 }
4040
4042 public function onSkinBuildSidebar( $skin, &$bar ) {
4043 return $this->container->run(
4044 'SkinBuildSidebar',
4045 [ $skin, &$bar ]
4046 );
4047 }
4048
4050 public function onSkinCopyrightFooterMessage( $title, $type, &$msg ) {
4051 return $this->container->run(
4052 'SkinCopyrightFooterMessage',
4053 [ $title, $type, &$msg ]
4054 );
4055 }
4056
4058 public function onSkinEditSectionLinks( $skin, $title, $section, $tooltip,
4059 &$result, $lang
4060 ) {
4061 return $this->container->run(
4062 'SkinEditSectionLinks',
4063 [ $skin, $title, $section, $tooltip, &$result, $lang ]
4064 );
4065 }
4066
4068 public function onSkinPreloadExistence( &$titles, $skin ) {
4069 return $this->container->run(
4070 'SkinPreloadExistence',
4071 [ &$titles, $skin ]
4072 );
4073 }
4074
4076 public function onSkinSubPageSubtitle( &$subpages, $skin, $out ) {
4077 return $this->container->run(
4078 'SkinSubPageSubtitle',
4079 [ &$subpages, $skin, $out ]
4080 );
4081 }
4082
4084 public function onSkinTemplateGetLanguageLink( &$languageLink,
4085 $languageLinkTitle, $title, $outputPage
4086 ) {
4087 return $this->container->run(
4088 'SkinTemplateGetLanguageLink',
4089 [ &$languageLink, $languageLinkTitle, $title, $outputPage ]
4090 );
4091 }
4092
4094 public function onSkinTemplateNavigation__Universal( $sktemplate, &$links ): void {
4095 $this->container->run(
4096 'SkinTemplateNavigation::Universal',
4097 [ $sktemplate, &$links ],
4098 [ 'abortable' => false ]
4099 );
4100 }
4101
4103 public function onSoftwareInfo( &$software ) {
4104 return $this->container->run(
4105 'SoftwareInfo',
4106 [ &$software ]
4107 );
4108 }
4109
4111 public function onSpecialBlockModifyFormFields( $sp, &$fields ) {
4112 return $this->container->run(
4113 'SpecialBlockModifyFormFields',
4114 [ $sp, &$fields ]
4115 );
4116 }
4117
4119 public function onSpecialContributionsBeforeMainOutput( $id, $user, $sp ) {
4120 return $this->container->run(
4121 'SpecialContributionsBeforeMainOutput',
4122 [ $id, $user, $sp ]
4123 );
4124 }
4125
4127 public function onSpecialContributions__formatRow__flags( $context, $row,
4128 &$flags
4129 ) {
4130 return $this->container->run(
4131 'SpecialContributions::formatRow::flags',
4132 [ $context, $row, &$flags ]
4133 );
4134 }
4135
4137 public function onSpecialContributions__getForm__filters( $sp, &$filters ) {
4138 return $this->container->run(
4139 'SpecialContributions::getForm::filters',
4140 [ $sp, &$filters ]
4141 );
4142 }
4143
4145 public function onSpecialCreateAccountBenefits( ?string &$html, array $info, array &$options ) {
4146 return $this->container->run(
4147 'SpecialCreateAccountBenefits',
4148 [ &$html, $info, &$options ]
4149 );
4150 }
4151
4153 public function onSpecialExportGetExtraPages( $inputPages, &$extraPages ) {
4154 return $this->container->run(
4155 'SpecialExportGetExtraPages',
4156 [ $inputPages, &$extraPages ]
4157 );
4158 }
4159
4161 public function onSpecialListusersDefaultQuery( $pager, &$query ) {
4162 return $this->container->run(
4163 'SpecialListusersDefaultQuery',
4164 [ $pager, &$query ]
4165 );
4166 }
4167
4169 public function onSpecialListusersFormatRow( &$item, $row ) {
4170 return $this->container->run(
4171 'SpecialListusersFormatRow',
4172 [ &$item, $row ]
4173 );
4174 }
4175
4177 public function onSpecialListusersHeader( $pager, &$out ) {
4178 return $this->container->run(
4179 'SpecialListusersHeader',
4180 [ $pager, &$out ]
4181 );
4182 }
4183
4185 public function onSpecialListusersHeaderForm( $pager, &$out ) {
4186 return $this->container->run(
4187 'SpecialListusersHeaderForm',
4188 [ $pager, &$out ]
4189 );
4190 }
4191
4193 public function onSpecialListusersQueryInfo( $pager, &$query ) {
4194 return $this->container->run(
4195 'SpecialListusersQueryInfo',
4196 [ $pager, &$query ]
4197 );
4198 }
4199
4201 public function onSpecialLogAddLogSearchRelations( $type, $request, &$qc ) {
4202 return $this->container->run(
4203 'SpecialLogAddLogSearchRelations',
4204 [ $type, $request, &$qc ]
4205 );
4206 }
4207
4210 array $params,
4211 string &$type
4212 ): void {
4213 $this->container->run(
4214 'SpecialLogResolveLogType',
4215 [ $params, &$type ],
4216 [ 'abortable' => false ]
4217 );
4218 }
4219
4222 IContextSource $context,
4223 array &$subpages
4224 ): void {
4225 $this->container->run(
4226 'SpecialLogGetSubpagesForPrefixSearch',
4227 [ $context, &$subpages ],
4228 [ 'abortable' => false ]
4229 );
4230 }
4231
4233 public function onSpecialMovepageAfterMove( $movePage, $oldTitle, $newTitle ) {
4234 return $this->container->run(
4235 'SpecialMovepageAfterMove',
4236 [ $movePage, $oldTitle, $newTitle ]
4237 );
4238 }
4239
4241 public function onSpecialMuteModifyFormFields( $target, $user, &$fields ) {
4242 return $this->container->run(
4243 'SpecialMuteModifyFormFields',
4244 [ $target, $user, &$fields ]
4245 );
4246 }
4247
4249 public function onSpecialNewpagesConditions( $special, $opts, &$conds,
4250 &$tables, &$fields, &$join_conds
4251 ) {
4252 return $this->container->run(
4253 'SpecialNewpagesConditions',
4254 [ $special, $opts, &$conds, &$tables, &$fields, &$join_conds ]
4255 );
4256 }
4257
4259 public function onSpecialNewPagesFilters( $special, &$filters ) {
4260 return $this->container->run(
4261 'SpecialNewPagesFilters',
4262 [ $special, &$filters ]
4263 );
4264 }
4265
4267 public function onSpecialPageAfterExecute( $special, $subPage ) {
4268 return $this->container->run(
4269 'SpecialPageAfterExecute',
4270 [ $special, $subPage ]
4271 );
4272 }
4273
4275 public function onSpecialPageBeforeExecute( $special, $subPage ) {
4276 return $this->container->run(
4277 'SpecialPageBeforeExecute',
4278 [ $special, $subPage ]
4279 );
4280 }
4281
4283 public function onSpecialPageBeforeFormDisplay( $name, $form ) {
4284 return $this->container->run(
4285 'SpecialPageBeforeFormDisplay',
4286 [ $name, $form ]
4287 );
4288 }
4289
4291 public function onSpecialPage_initList( &$list ) {
4292 return $this->container->run(
4293 'SpecialPage_initList',
4294 [ &$list ]
4295 );
4296 }
4297
4299 public function onSpecialPasswordResetOnSubmit( &$users, $data, &$error ) {
4300 return $this->container->run(
4301 'SpecialPasswordResetOnSubmit',
4302 [ &$users, $data, &$error ]
4303 );
4304 }
4305
4307 public function onSpecialPrefixIndexGetFormFilters( IContextSource $contextSource, array &$filters ) {
4308 $this->container->run(
4309 'SpecialPrefixIndexGetFormFilters',
4310 [ $contextSource, &$filters ],
4311 [ 'abortable' => false ]
4312 );
4313 }
4314
4316 public function onSpecialPrefixIndexQuery( array $fieldData, SelectQueryBuilder $queryBuilder ) {
4317 $this->container->run(
4318 'SpecialPrefixIndexQuery',
4319 [ $fieldData, $queryBuilder ],
4320 [ 'abortable' => false ]
4321 );
4322 }
4323
4325 public function onSpecialRandomGetRandomTitle( &$randstr, &$isRedir,
4326 &$namespaces, &$extra, &$title
4327 ) {
4328 return $this->container->run(
4329 'SpecialRandomGetRandomTitle',
4330 [ &$randstr, &$isRedir, &$namespaces, &$extra, &$title ]
4331 );
4332 }
4333
4335 public function onSpecialRecentChangesPanel( &$extraOpts, $opts ) {
4336 return $this->container->run(
4337 'SpecialRecentChangesPanel',
4338 [ &$extraOpts, $opts ]
4339 );
4340 }
4341
4343 public function onSpecialResetTokensTokens( &$tokens ) {
4344 return $this->container->run(
4345 'SpecialResetTokensTokens',
4346 [ &$tokens ]
4347 );
4348 }
4349
4351 public function onSpecialSearchCreateLink( $t, &$params ) {
4352 return $this->container->run(
4353 'SpecialSearchCreateLink',
4354 [ $t, &$params ]
4355 );
4356 }
4357
4359 public function onSpecialSearchGoResult( $term, $title, &$url ) {
4360 return $this->container->run(
4361 'SpecialSearchGoResult',
4362 [ $term, $title, &$url ]
4363 );
4364 }
4365
4367 public function onSpecialSearchNogomatch( &$title ) {
4368 return $this->container->run(
4369 'SpecialSearchNogomatch',
4370 [ &$title ]
4371 );
4372 }
4373
4375 public function onSpecialSearchPowerBox( &$showSections, $term, &$opts ) {
4376 return $this->container->run(
4377 'SpecialSearchPowerBox',
4378 [ &$showSections, $term, &$opts ]
4379 );
4380 }
4381
4383 public function onSpecialSearchProfileForm( $search, &$form, $profile, $term,
4384 $opts
4385 ) {
4386 return $this->container->run(
4387 'SpecialSearchProfileForm',
4388 [ $search, &$form, $profile, $term, $opts ]
4389 );
4390 }
4391
4393 public function onSpecialSearchProfiles( &$profiles ) {
4394 return $this->container->run(
4395 'SpecialSearchProfiles',
4396 [ &$profiles ]
4397 );
4398 }
4399
4401 public function onSpecialSearchResults( $term, &$titleMatches, &$textMatches ) {
4402 return $this->container->run(
4403 'SpecialSearchResults',
4404 [ $term, &$titleMatches, &$textMatches ]
4405 );
4406 }
4407
4409 public function onSpecialSearchResultsAppend( $specialSearch, $output, $term ) {
4410 return $this->container->run(
4411 'SpecialSearchResultsAppend',
4412 [ $specialSearch, $output, $term ]
4413 );
4414 }
4415
4417 public function onSpecialSearchResultsPrepend( $specialSearch, $output, $term ) {
4418 return $this->container->run(
4419 'SpecialSearchResultsPrepend',
4420 [ $specialSearch, $output, $term ]
4421 );
4422 }
4423
4425 public function onSpecialSearchSetupEngine( $search, $profile, $engine ) {
4426 return $this->container->run(
4427 'SpecialSearchSetupEngine',
4428 [ $search, $profile, $engine ]
4429 );
4430 }
4431
4433 public function onSpecialStatsAddExtra( &$extraStats, $context ) {
4434 return $this->container->run(
4435 'SpecialStatsAddExtra',
4436 [ &$extraStats, $context ]
4437 );
4438 }
4439
4442 $catTitle, &$html
4443 ) {
4444 return $this->container->run(
4445 'SpecialTrackingCategories::generateCatLink',
4446 [ $specialPage, $catTitle, &$html ]
4447 );
4448 }
4449
4451 public function onSpecialTrackingCategories__preprocess( $specialPage,
4452 $trackingCategories
4453 ) {
4454 return $this->container->run(
4455 'SpecialTrackingCategories::preprocess',
4456 [ $specialPage, $trackingCategories ]
4457 );
4458 }
4459
4461 public function onSpecialUploadComplete( $form ) {
4462 return $this->container->run(
4463 'SpecialUploadComplete',
4464 [ $form ]
4465 );
4466 }
4467
4469 public function onSpecialVersionVersionUrl( $version, &$versionUrl ) {
4470 return $this->container->run(
4471 'SpecialVersionVersionUrl',
4472 [ $version, &$versionUrl ]
4473 );
4474 }
4475
4477 public function onSpreadAnyEditBlock( $user, bool &$blockWasSpread ) {
4478 return $this->container->run(
4479 'SpreadAnyEditBlock',
4480 [ $user, &$blockWasSpread ]
4481 );
4482 }
4483
4487 SelectQueryBuilder $queryBuilder
4488 ): void {
4489 $this->container->run(
4490 'SpecialWhatLinksHereBacklinkQuery',
4491 [ $data, $queryBuilder ],
4492 [ 'abortable' => false ]
4493 );
4494 }
4495
4497 public function onSpecialWhatLinksHereQuery( $table, $data, $queryBuilder ): void {
4498 $this->container->run(
4499 'SpecialWhatLinksHereQuery',
4500 [ $table, $data, $queryBuilder ],
4501 [ 'abortable' => false ]
4502 );
4503 }
4504
4507 Session $session,
4508 UserIdentity $user,
4509 string $returnTo,
4510 string $returnToQuery,
4511 string $returnToAnchor,
4512 &$redirectUrl
4513 ) {
4514 return $this->container->run(
4515 'TempUserCreatedRedirect',
4516 [ $session, $user, $returnTo, $returnToQuery, $returnToAnchor, &$redirectUrl ]
4517 );
4518 }
4519
4521 public function onTestCanonicalRedirect( $request, $title, $output ) {
4522 return $this->container->run(
4523 'TestCanonicalRedirect',
4524 [ $request, $title, $output ]
4525 );
4526 }
4527
4529 public function onThumbnailBeforeProduceHTML( $thumbnail, &$attribs,
4530 &$linkAttribs
4531 ) {
4532 return $this->container->run(
4533 'ThumbnailBeforeProduceHTML',
4534 [ $thumbnail, &$attribs, &$linkAttribs ]
4535 );
4536 }
4537
4539 public function onTitleExists( $title, &$exists ) {
4540 return $this->container->run(
4541 'TitleExists',
4542 [ $title, &$exists ]
4543 );
4544 }
4545
4547 public function onTitleGetEditNotices( $title, $oldid, &$notices ) {
4548 return $this->container->run(
4549 'TitleGetEditNotices',
4550 [ $title, $oldid, &$notices ]
4551 );
4552 }
4553
4555 public function onTitleGetRestrictionTypes( $title, &$types ) {
4556 return $this->container->run(
4557 'TitleGetRestrictionTypes',
4558 [ $title, &$types ]
4559 );
4560 }
4561
4563 public function onTitleIsAlwaysKnown( $title, &$isKnown ) {
4564 return $this->container->run(
4565 'TitleIsAlwaysKnown',
4566 [ $title, &$isKnown ]
4567 );
4568 }
4569
4571 public function onTitleIsMovable( $title, &$result ) {
4572 return $this->container->run(
4573 'TitleIsMovable',
4574 [ $title, &$result ]
4575 );
4576 }
4577
4579 public function onTitleMove( $old, $nt, $user, $reason, &$status ) {
4580 return $this->container->run(
4581 'TitleMove',
4582 [ $old, $nt, $user, $reason, &$status ]
4583 );
4584 }
4585
4587 public function onTitleMoveStarting( $old, $nt, $user ) {
4588 return $this->container->run(
4589 'TitleMoveStarting',
4590 [ $old, $nt, $user ]
4591 );
4592 }
4593
4595 public function onTitleQuickPermissions( $title, $user, $action, &$errors,
4596 $doExpensiveQueries, $short
4597 ) {
4598 return $this->container->run(
4599 'TitleQuickPermissions',
4600 [ $title, $user, $action, &$errors, $doExpensiveQueries, $short ]
4601 );
4602 }
4603
4605 public function onTitleReadWhitelist( $title, $user, &$allowed ) {
4606 return $this->container->run(
4607 'TitleReadWhitelist',
4608 [ $title, $user, &$allowed ]
4609 );
4610 }
4611
4613 public function onTitleSquidURLs( $title, &$urls ) {
4614 return $this->container->run(
4615 'TitleSquidURLs',
4616 [ $title, &$urls ]
4617 );
4618 }
4619
4621 public function onUnblockUser( $block, $user, &$reason ) {
4622 return $this->container->run(
4623 'UnblockUser',
4624 [ $block, $user, &$reason ]
4625 );
4626 }
4627
4629 public function onUnblockUserComplete( $block, $user ) {
4630 return $this->container->run(
4631 'UnblockUserComplete',
4632 [ $block, $user ]
4633 );
4634 }
4635
4637 public function onUndeleteForm__showHistory( &$archive, $title ) {
4638 return $this->container->run(
4639 'UndeleteForm::showHistory',
4640 [ &$archive, $title ]
4641 );
4642 }
4643
4645 public function onUndeleteForm__showRevision( &$archive, $title ) {
4646 return $this->container->run(
4647 'UndeleteForm::showRevision',
4648 [ &$archive, $title ]
4649 );
4650 }
4651
4653 public function onUndeletePageToolLinks( IContextSource $context, LinkRenderer $linkRenderer, array &$links ) {
4654 return $this->container->run(
4655 'UndeletePageToolLinks',
4656 [ $context, $linkRenderer, &$links ]
4657 );
4658 }
4659
4661 public function onUnitTestsAfterDatabaseSetup( $database, $prefix ) {
4662 return $this->container->run(
4663 'UnitTestsAfterDatabaseSetup',
4664 [ $database, $prefix ]
4665 );
4666 }
4667
4670 return $this->container->run(
4671 'UnitTestsBeforeDatabaseTeardown',
4672 []
4673 );
4674 }
4675
4677 public function onUnitTestsList( &$paths ) {
4678 return $this->container->run(
4679 'UnitTestsList',
4680 [ &$paths ]
4681 );
4682 }
4683
4685 public function onUnwatchArticle( $user, $page, &$status ) {
4686 return $this->container->run(
4687 'UnwatchArticle',
4688 [ $user, $page, &$status ]
4689 );
4690 }
4691
4693 public function onUnwatchArticleComplete( $user, $page ) {
4694 return $this->container->run(
4695 'UnwatchArticleComplete',
4696 [ $user, $page ]
4697 );
4698 }
4699
4701 public function onUploadComplete( $uploadBase ) {
4702 return $this->container->run(
4703 'UploadComplete',
4704 [ $uploadBase ]
4705 );
4706 }
4707
4709 public function onUploadCreateFromRequest( $type, &$className ) {
4710 return $this->container->run(
4711 'UploadCreateFromRequest',
4712 [ $type, &$className ]
4713 );
4714 }
4715
4717 public function onUploadFormInitDescriptor( &$descriptor ) {
4718 return $this->container->run(
4719 'UploadFormInitDescriptor',
4720 [ &$descriptor ]
4721 );
4722 }
4723
4725 public function onUploadFormSourceDescriptors( &$descriptor, &$radio,
4726 $selectedSourceType
4727 ) {
4728 return $this->container->run(
4729 'UploadFormSourceDescriptors',
4730 [ &$descriptor, &$radio, $selectedSourceType ]
4731 );
4732 }
4733
4735 public function onUploadForm_BeforeProcessing( $upload ) {
4736 return $this->container->run(
4737 'UploadForm:BeforeProcessing',
4738 [ $upload ]
4739 );
4740 }
4741
4743 public function onUploadForm_getInitialPageText( &$pageText, $msg, $config ) {
4744 return $this->container->run(
4745 'UploadForm:getInitialPageText',
4746 [ &$pageText, $msg, $config ]
4747 );
4748 }
4749
4751 public function onUploadForm_initial( $upload ) {
4752 return $this->container->run(
4753 'UploadForm:initial',
4754 [ $upload ]
4755 );
4756 }
4757
4759 public function onUploadStashFile( $upload, $user, $props, &$error ) {
4760 return $this->container->run(
4761 'UploadStashFile',
4762 [ $upload, $user, $props, &$error ]
4763 );
4764 }
4765
4767 public function onUploadVerifyFile( $upload, $mime, &$error ) {
4768 return $this->container->run(
4769 'UploadVerifyFile',
4770 [ $upload, $mime, &$error ]
4771 );
4772 }
4773
4775 public function onUploadVerifyUpload( $upload, $user, $props, $comment,
4776 $pageText, &$error
4777 ) {
4778 return $this->container->run(
4779 'UploadVerifyUpload',
4780 [ $upload, $user, $props, $comment, $pageText, &$error ]
4781 );
4782 }
4783
4785 public function onUserAddGroup( $user, &$group, &$expiry ) {
4786 return $this->container->run(
4787 'UserAddGroup',
4788 [ $user, &$group, &$expiry ]
4789 );
4790 }
4791
4793 public function onUserArrayFromResult( &$userArray, $res ) {
4794 return $this->container->run(
4795 'UserArrayFromResult',
4796 [ &$userArray, $res ]
4797 );
4798 }
4799
4801 public function onUserCan( $title, $user, $action, &$result ) {
4802 return $this->container->run(
4803 'userCan',
4804 [ $title, $user, $action, &$result ]
4805 );
4806 }
4807
4809 public function onUserCanChangeEmail( $user, $oldaddr, $newaddr, &$status ) {
4810 return $this->container->run(
4811 'UserCanChangeEmail',
4812 [ $user, $oldaddr, $newaddr, &$status ]
4813 );
4814 }
4815
4817 public function onUserCanSendEmail( $user, &$hookErr ) {
4818 return $this->container->run(
4819 'UserCanSendEmail',
4820 [ $user, &$hookErr ]
4821 );
4822 }
4823
4825 public function onUserClearNewTalkNotification( $userIdentity, $oldid ) {
4826 return $this->container->run(
4827 'UserClearNewTalkNotification',
4828 [ $userIdentity, $oldid ]
4829 );
4830 }
4831
4833 public function onUserEditCountUpdate( $infos ): void {
4834 $this->container->run(
4835 'UserEditCountUpdate',
4836 [ $infos ],
4837 [ 'abortable' => false ]
4838 );
4839 }
4840
4842 public function onUserEffectiveGroups( $user, &$groups ) {
4843 return $this->container->run(
4844 'UserEffectiveGroups',
4845 [ $user, &$groups ]
4846 );
4847 }
4848
4850 public function onUserGetAllRights( &$rights ) {
4851 return $this->container->run(
4852 'UserGetAllRights',
4853 [ &$rights ]
4854 );
4855 }
4856
4858 public function onUserGetDefaultOptions( &$defaultOptions ) {
4859 return $this->container->run(
4860 'UserGetDefaultOptions',
4861 [ &$defaultOptions ]
4862 );
4863 }
4864
4866 public function onUserGetEmail( $user, &$email ) {
4867 return $this->container->run(
4868 'UserGetEmail',
4869 [ $user, &$email ]
4870 );
4871 }
4872
4874 public function onUserGetEmailAuthenticationTimestamp( $user, &$timestamp ) {
4875 return $this->container->run(
4876 'UserGetEmailAuthenticationTimestamp',
4877 [ $user, &$timestamp ]
4878 );
4879 }
4880
4882 public function onUserGetLanguageObject( $user, &$code, $context ) {
4883 return $this->container->run(
4884 'UserGetLanguageObject',
4885 [ $user, &$code, $context ]
4886 );
4887 }
4888
4890 public function onUserPrivilegedGroups( $userIdentity, &$groups ) {
4891 return $this->container->run(
4892 'UserPrivilegedGroups',
4893 [ $userIdentity, &$groups ]
4894 );
4895 }
4896
4898 public function onUserGetReservedNames( &$reservedUsernames ) {
4899 return $this->container->run(
4900 'UserGetReservedNames',
4901 [ &$reservedUsernames ]
4902 );
4903 }
4904
4906 public function onUserGetRights( $user, &$rights ) {
4907 return $this->container->run(
4908 'UserGetRights',
4909 [ $user, &$rights ]
4910 );
4911 }
4912
4914 public function onUserGetRightsRemove( $user, &$rights ) {
4915 return $this->container->run(
4916 'UserGetRightsRemove',
4917 [ $user, &$rights ]
4918 );
4919 }
4920
4922 public function onUserGroupsChanged( $user, $added, $removed, $performer,
4923 $reason, $oldUGMs, $newUGMs
4924 ) {
4925 return $this->container->run(
4926 'UserGroupsChanged',
4927 [ $user, $added, $removed, $performer, $reason, $oldUGMs,
4928 $newUGMs ]
4929 );
4930 }
4931
4933 public function onUserIsBlockedFrom( $user, $title, &$blocked, &$allowUsertalk ) {
4934 return $this->container->run(
4935 'UserIsBlockedFrom',
4936 [ $user, $title, &$blocked, &$allowUsertalk ]
4937 );
4938 }
4939
4941 public function onUserIsBot( $user, &$isBot ) {
4942 return $this->container->run(
4943 'UserIsBot',
4944 [ $user, &$isBot ]
4945 );
4946 }
4947
4949 public function onUserIsEveryoneAllowed( $right ) {
4950 return $this->container->run(
4951 'UserIsEveryoneAllowed',
4952 [ $right ]
4953 );
4954 }
4955
4957 public function onUserIsLocked( $user, &$locked ) {
4958 return $this->container->run(
4959 'UserIsLocked',
4960 [ $user, &$locked ]
4961 );
4962 }
4963
4966 UserIdentity $targetUser, IContextSource $context, &$html, &$prefix, &$postfix
4967 ) {
4968 return $this->container->run(
4969 'UserLinkRendererUserLinkPostRender',
4970 [ $targetUser, $context, &$html, &$prefix, &$postfix ]
4971 );
4972 }
4973
4975 public function onUserLoadAfterLoadFromSession( $user ) {
4976 return $this->container->run(
4977 'UserLoadAfterLoadFromSession',
4978 [ $user ]
4979 );
4980 }
4981
4983 public function onUserLoadDefaults( $user, $name ) {
4984 return $this->container->run(
4985 'UserLoadDefaults',
4986 [ $user, $name ]
4987 );
4988 }
4989
4991 public function onLoadUserOptions( UserIdentity $user, array &$options ): void {
4992 $this->container->run(
4993 'LoadUserOptions',
4994 [ $user, &$options ],
4995 [ 'abortable' => false ]
4996 );
4997 }
4998
5000 public function onUserLoggedIn( $user ) {
5001 return $this->container->run(
5002 'UserLoggedIn',
5003 [ $user ]
5004 );
5005 }
5006
5008 public function onUserLoginComplete( $user, &$inject_html, $direct ) {
5009 return $this->container->run(
5010 'UserLoginComplete',
5011 [ $user, &$inject_html, $direct ]
5012 );
5013 }
5014
5016 public function onUserLogout( $user ) {
5017 return $this->container->run(
5018 'UserLogout',
5019 [ $user ]
5020 );
5021 }
5022
5024 User $user, User $performer, Message &$subject, Message &$body
5025 ): void {
5026 $this->container->run(
5027 'UserModifyCreateAccountEmail',
5028 [ $user, $performer, &$subject, &$body ],
5029 [ 'abortable' => false ]
5030 );
5031 }
5032
5034 public function onUserLogoutComplete( $user, &$inject_html, $oldName ) {
5035 return $this->container->run(
5036 'UserLogoutComplete',
5037 [ $user, &$inject_html, $oldName ]
5038 );
5039 }
5040
5042 public function onUserMailerChangeReturnPath( $to, &$returnPath ) {
5043 return $this->container->run(
5044 'UserMailerChangeReturnPath',
5045 [ $to, &$returnPath ]
5046 );
5047 }
5048
5050 public function onUserMailerSplitTo( &$to ) {
5051 return $this->container->run(
5052 'UserMailerSplitTo',
5053 [ &$to ]
5054 );
5055 }
5056
5058 public function onUserMailerTransformContent( $to, $from, &$body, &$error ) {
5059 return $this->container->run(
5060 'UserMailerTransformContent',
5061 [ $to, $from, &$body, &$error ]
5062 );
5063 }
5064
5066 public function onUserMailerTransformMessage( $to, $from, &$subject, &$headers,
5067 &$body, &$error
5068 ) {
5069 return $this->container->run(
5070 'UserMailerTransformMessage',
5071 [ $to, $from, &$subject, &$headers, &$body, &$error ]
5072 );
5073 }
5074
5076 public function onUserRemoveGroup( $user, &$group ) {
5077 return $this->container->run(
5078 'UserRemoveGroup',
5079 [ $user, &$group ]
5080 );
5081 }
5082
5084 public function onUserRequirementsCondition( string|int $type, array $args, UserIdentity $user,
5085 bool $isPerformingRequest, ?bool &$result
5086 ): void {
5087 $this->container->run(
5088 'UserRequirementsCondition',
5089 [ $type, $args, $user, $isPerformingRequest, &$result ],
5090 [ 'abortable' => false ]
5091 );
5092 }
5093
5095 public function onUserRequirementsConditionDisplay( string|int $type, array $args, IContextSource $context,
5096 ?MessageSpecifier &$messageSpec
5097 ): void {
5098 $this->container->run(
5099 'UserRequirementsConditionDisplay',
5100 [ $type, $args, $context, &$messageSpec ],
5101 [ 'abortable' => false ]
5102 );
5103 }
5104
5106 public function onSaveUserOptions( UserIdentity $user, array &$modifiedOptions, array $originalOptions ) {
5107 return $this->container->run(
5108 'SaveUserOptions',
5109 [ $user, &$modifiedOptions, $originalOptions ]
5110 );
5111 }
5112
5114 public function onLocalUserOptionsStoreSave( UserIdentity $user, array $oldOptions, array $newOptions ): void {
5115 $this->container->run(
5116 'LocalUserOptionsStoreSave',
5117 [ $user, $oldOptions, $newOptions ],
5118 [ 'abortable' => false ]
5119 );
5120 }
5121
5123 public function onUserSaveSettings( $user ) {
5124 return $this->container->run(
5125 'UserSaveSettings',
5126 [ $user ]
5127 );
5128 }
5129
5131 public function onUserSendConfirmationMail( $user, &$mail, $info ) {
5132 return $this->container->run(
5133 'UserSendConfirmationMail',
5134 [ $user, &$mail, $info ]
5135 );
5136 }
5137
5139 public function onUserSetEmail( $user, &$email ) {
5140 return $this->container->run(
5141 'UserSetEmail',
5142 [ $user, &$email ]
5143 );
5144 }
5145
5147 public function onUserSetEmailAuthenticationTimestamp( $user, &$timestamp ) {
5148 return $this->container->run(
5149 'UserSetEmailAuthenticationTimestamp',
5150 [ $user, &$timestamp ]
5151 );
5152 }
5153
5155 public function onUsersPagerDoBatchLookups( $dbr, $userIds, &$cache, &$groups ) {
5156 return $this->container->run(
5157 'UsersPagerDoBatchLookups',
5158 [ $dbr, $userIds, &$cache, &$groups ]
5159 );
5160 }
5161
5163 public function onUserToolLinksEdit( $userId, $userText, &$items ) {
5164 return $this->container->run(
5165 'UserToolLinksEdit',
5166 [ $userId, $userText, &$items ]
5167 );
5168 }
5169
5171 public function onUser__mailPasswordInternal( $user, $ip, $u ) {
5172 return $this->container->run(
5173 'User::mailPasswordInternal',
5174 [ $user, $ip, $u ]
5175 );
5176 }
5177
5179 public function onValidateExtendedMetadataCache( $timestamp, $file ) {
5180 return $this->container->run(
5181 'ValidateExtendedMetadataCache',
5182 [ $timestamp, $file ]
5183 );
5184 }
5185
5187 public function onWantedPages__getQueryInfo( $wantedPages, &$query ) {
5188 return $this->container->run(
5189 'WantedPages::getQueryInfo',
5190 [ $wantedPages, &$query ]
5191 );
5192 }
5193
5195 public function onWatchArticle( $user, $page, &$status, $expiry ) {
5196 return $this->container->run(
5197 'WatchArticle',
5198 [ $user, $page, &$status, $expiry ]
5199 );
5200 }
5201
5203 public function onWatchArticleComplete( $user, $page ) {
5204 return $this->container->run(
5205 'WatchArticleComplete',
5206 [ $user, $page ]
5207 );
5208 }
5209
5211 public function onWatchedItemQueryServiceExtensions( &$extensions,
5212 $watchedItemQueryService
5213 ) {
5214 return $this->container->run(
5215 'WatchedItemQueryServiceExtensions',
5216 [ &$extensions, $watchedItemQueryService ]
5217 );
5218 }
5219
5221 public function onWatchlistEditorBeforeFormRender( &$watchlistInfo ) {
5222 return $this->container->run(
5223 'WatchlistEditorBeforeFormRender',
5224 [ &$watchlistInfo ]
5225 );
5226 }
5227
5229 public function onWatchlistEditorBuildRemoveLine( &$tools, $title, $redirect,
5230 $skin, &$link
5231 ) {
5232 return $this->container->run(
5233 'WatchlistEditorBuildRemoveLine',
5234 [ &$tools, $title, $redirect, $skin, &$link ]
5235 );
5236 }
5237
5239 public function onWebRequestPathInfoRouter( $router ) {
5240 return $this->container->run(
5241 'WebRequestPathInfoRouter',
5242 [ $router ]
5243 );
5244 }
5245
5247 public function onWebResponseSetCookie( &$name, &$value, &$expire, &$options ) {
5248 return $this->container->run(
5249 'WebResponseSetCookie',
5250 [ &$name, &$value, &$expire, &$options ]
5251 );
5252 }
5253
5255 public function onWfShellWikiCmd( &$script, &$parameters, &$options ) {
5256 return $this->container->run(
5257 'wfShellWikiCmd',
5258 [ &$script, &$parameters, &$options ]
5259 );
5260 }
5261
5263 public function onWgQueryPages( &$qp ) {
5264 return $this->container->run(
5265 'wgQueryPages',
5266 [ &$qp ]
5267 );
5268 }
5269
5271 public function onWhatLinksHereProps( $row, $title, $target, &$props ) {
5272 return $this->container->run(
5273 'WhatLinksHereProps',
5274 [ $row, $title, $target, &$props ]
5275 );
5276 }
5277
5279 public function onWikiExporter__dumpStableQuery( &$tables, &$opts, &$join ) {
5280 return $this->container->run(
5281 'WikiExporter::dumpStableQuery',
5282 [ &$tables, &$opts, &$join ]
5283 );
5284 }
5285
5287 public function onWikiPageDeletionUpdates( $page, $content, &$updates ) {
5288 return $this->container->run(
5289 'WikiPageDeletionUpdates',
5290 [ $page, $content, &$updates ]
5291 );
5292 }
5293
5295 public function onWikiPageFactory( $title, &$page ) {
5296 return $this->container->run(
5297 'WikiPageFactory',
5298 [ $title, &$page ]
5299 );
5300 }
5301
5303 public function onXmlDumpWriterOpenPage( $obj, &$out, $row, $title ) {
5304 return $this->container->run(
5305 'XmlDumpWriterOpenPage',
5306 [ $obj, &$out, $row, $title ]
5307 );
5308 }
5309
5311 public function onXmlDumpWriterWriteRevision( $obj, &$out, $row, $text, $rev ) {
5312 return $this->container->run(
5313 'XmlDumpWriterWriteRevision',
5314 [ $obj, &$out, $row, $text, $rev ]
5315 );
5316 }
5317}
AuthManager is the authentication system in MediaWiki and serves entry point for authentication.
This is a value object to hold authentication response data.
Base class for content handling.
JSON text content that can be viewed and edit directly by users.
Renders a slot diff by doing a text diff on the native representation.
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:80
This class provides an implementation of the core hook interfaces, forwarding hook calls to HookConta...
onLanguage__getMessagesFileName( $code, &$file)
Use this hook to change the path of a localisation file.1.35bool|void True or no return value to cont...
onArticleProtectComplete( $wikiPage, $user, $protect, $reason)
This hook is called after an article is protected.1.35bool|void True or no return value to continue o...
onLanguageLinks( $title, &$links, &$linkFlags)
Use this hook to manipulate a page's language links.This hook is called in various places to allow ex...
onUserSetEmail( $user, &$email)
This hook is called when changing user email address.1.35bool|void True or no return value to continu...
onPreferencesGetLegend( $form, $key, &$legend)
Use the hook to override the text used for the <legend> of a preferences section.1....
onMarkPatrolled( $rcid, $user, $wcOnlySysopsCanPatrol, $auto, &$tags)
This hook is called before an edit is marked patrolled.1.35bool|void True or no return value to conti...
onSkinSubPageSubtitle(&$subpages, $skin, $out)
This hook is called at the beginning of Skin\subPageSubtitle().1.35bool|void True or no return value ...
onReadPrivateUserRequirementsCondition(UserIdentity $performer, UserIdentity $target, array $conditions)
This hook is called when the value of private user requirement conditions is revealed to another user...
onImportSources(&$importSources)
This hook is called when reading from the $wgImportSources configuration variable....
onDifferenceEngineRenderRevisionShowFinalPatrolLink()
Use this hook to not show the final "mark as patrolled" link on the bottom of a page....
onOutputPageParserOutput( $outputPage, $parserOutput)
This hook is called after adding a parserOutput to $wgOut.1.35void This hook must not abort,...
onAbortAutoblock( $autoblockip, $block)
Use this hook to cancel an autoblock.1.35bool|void True or no return value to continue,...
onLinkerMakeExternalLinkWithContext(?string &$url, string &$text, array &$attribs, string $linkType, ParsoidLinkTarget $contextTitle)
onUnitTestsList(&$paths)
This hook is called when building a list of paths containing PHPUnit tests.Since 1....
onAfterBuildFeedLinks(&$feedLinks)
This hook is called in OutputPage.php after all feed links (atom, rss,...) are created....
onAlternateUserMailer( $headers, $to, $from, $subject, $body)
This hook is called before mail is sent so that mail could be logged (or something else) instead of u...
onMovePageIsValidMove( $oldTitle, $newTitle, $status)
Use this hook to specify whether a page can be moved for technical reasons.1.35bool|void True or no r...
onTitleReadWhitelist( $title, $user, &$allowed)
This hook is called at the end of read permissions checks, just before adding the default error messa...
onProtectionFormAddFormFields( $article, &$hookFormOptions)
This hook is called after all protection type form fields are added.1.36bool|void True or no return v...
onArticleRevisionViewCustom( $revision, $title, $oldid, $output)
Use this hook for custom rendering of an article's content.Note that it is preferable to implement pr...
onEnhancedChangesList__getLogText( $changesList, &$links, $block)
Use this hook to alter, remove, or add to the links of a group of changes in EnhancedChangesList....
onGetSlotDiffRenderer( $contentHandler, &$slotDiffRenderer, $context)
Use this hook to replace or wrap the standard SlotDiffRenderer for some content type....
onSkinAddFooterLinks(Skin $skin, string $key, array &$footerItems)
This hook is called when generating the code used to display the footer.1.35bool|void True or no retu...
onEditPageTosSummary( $title, &$msg)
Use this hook for site and per-namespace customizations of terms of service summary link that might e...
onUserSendConfirmationMail( $user, &$mail, $info)
This hook is called just before a confirmation email is sent to a user.Hook handlers can modify the e...
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...
onAuthManagerLoginAuthenticateAudit( $response, $user, $username, $extraData)
This hook is called when a login attempt either succeeds or fails for a reason other than misconfigur...
onSessionCheckInfo(&$reason, $info, $request, $metadata, $data)
Use this hook to validate a MediaWiki\Session\SessionInfo as it's being loaded from storage....
onDifferenceEngineShowDiffPageMaybeShowMissingRevision( $differenceEngine)
This hook is called in DifferenceEngine\showDiffPage() when revision data cannot be loaded....
onSpecialExportGetExtraPages( $inputPages, &$extraPages)
onParserMakeImageParams( $title, $file, &$params, $parser)
This hook is called before the parser generates an image link, use this to modify the parameters of t...
onSkinAfterBottomScripts( $skin, &$text)
This hook is called in OutputPage\getBottomScripts() and allows to add extra html at the end of botto...
onSpecialContributions__formatRow__flags( $context, $row, &$flags)
This hook is called before rendering a Special:Contributions row.1.35bool|void True or no return valu...
onLanguageSelector( $out, $cssClassName)
Use this hook to change the language selector available on a page.1.35bool|void True or no return val...
onImportHandleRevisionXMLTag( $reader, $pageInfo, $revisionInfo)
This hook is called when parsing an XML tag in a page revision.1.35bool|void True or no return value ...
onXmlDumpWriterWriteRevision( $obj, &$out, $row, $text, $rev)
This hook is called at the end of a revision in an XML dump, to add extra metadata....
onAbortDiffCache( $diffEngine)
Use this hook to cancel the caching of a diff.1.35bool|void True or no return value to continue or fa...
onAfterFinalPageOutput( $output)
This hook is called nearly at the end of OutputPage\output() but before OutputPage\sendCacheControl()...
onUnwatchArticle( $user, $page, &$status)
This hook is called before a watch is removed from an article.1.35bool|void True or no return value t...
onDifferenceEngineViewHeader( $differenceEngine)
This hook is called before diff display.1.35bool|void True or no return value to continue or false to...
onEditPageBeforeEditButtons( $editpage, &$buttons, &$tabindex)
Use this hook to modify the edit buttons below the textarea in the edit form.1.35bool|void True or no...
onLogEventsListShowLogExtract(&$s, $types, $page, $user, $param)
This hook is called before the string is added to OutputPage.1.35bool|void True or no return value to...
onSpecialContributions__getForm__filters( $sp, &$filters)
This hook is called with a list of filters to render on Special:Contributions.1.35bool|void True or n...
onPasswordPoliciesForUser( $user, &$effectivePolicy)
Use this hook to alter the effective password policy for a user.1.35bool|void True or no return value...
onImportHandleLogItemXMLTag( $reader, $logInfo)
This hook is called when parsing an XML tag in a log item.1.35bool|void True or no return value to co...
onEditFormInitialText( $editPage)
Use this hook to modify the edit form when editing existing pages.1.35bool|void True or no return val...
onGetLogTypesOnUser(&$types)
Use this hook to add log types where the target is a user page.1.35bool|void True or no return value ...
onChangeTagAfterDelete( $tag, &$status)
This hook is called after a change tag has been deleted (that is, removed from all revisions and log ...
onContentHandlerForModelID( $modelName, &$handler)
This hook is called when a ContentHandler is requested for a given content model name,...
onDiffTools( $newRevRecord, &$links, $oldRevRecord, $userIdentity)
Use this hook to override or extend the revision tools available from the diff view,...
onSpecialContributionsBeforeMainOutput( $id, $user, $sp)
This hook is called before the form on Special:Contributions.1.35bool|void True or no return value to...
onRevisionUndeleted( $revisionRecord, $oldPageID)
After an article revision is restored.1.35bool|void True or no return value to continue or false to a...
onImportHandlePageXMLTag( $reader, &$pageInfo)
This hook is called when parsing an XML tag in a page.1.35bool|void True or no return value to contin...
onParserClearState( $parser)
This hook is called at the end of Parser\clearState().1.35bool|void True or no return value to contin...
onSpecialPasswordResetOnSubmit(&$users, $data, &$error)
This hook is called when executing a form submission on Special:PasswordReset.The data submitted by t...
onParserFirstCallInit( $parser)
This hook is called when the parser initialises for the first time.1.35bool|void True or no return va...
onProtectionForm__showLogExtract( $article, $out)
This hook is called after the protection log extract is shown.1.35bool|void True or no return value t...
onBeforeWelcomeCreation(&$welcome_creation_msg, &$injected_html)
This hook is called before the welcomecreation message is displayed to a newly created user....
onHtmlCacheUpdaterVaryUrls( $urls, &$append)
This hook is used to add variants of URLs to purge from HTTP caches.Extensions that provide site-wide...
onPageDeletionDataUpdates( $title, $revision, &$updates)
This hook is called when constructing a list of DeferrableUpdate to be executed when a page is delete...
onContribsPager__getQueryInfo( $pager, &$queryInfo)
This hook is called before the contributions query is about to run.1.35bool|void True or no return va...
onEditPage__showReadOnlyForm_initial( $editor, $out)
This hook is similar to EditPage\showEditForm:initial but for the read-only 'view source' variant of ...
onContentSecurityPolicyDirectives(&$directives, $policyConfig, $mode)
If ContentSecurityPolicyDefaultSource and ContentSecurityPolicyScriptSource do not meet your needs,...
onArticleEditUpdateNewTalk( $wikiPage, $recipient)
This hook is called before updating user_newtalk when a user talk page was changed....
onUndeleteForm__showHistory(&$archive, $title)
This hook is called in UndeleteForm\showHistory, after creating the PageArchive object....
onIsUploadAllowedFromUrl( $url, &$allowed)
Use this hook to override the result of UploadFromUrl\isAllowedUrl().1.35bool|void True or no return ...
onSearchResultProvideDescription(array $pageIdentities, &$descriptions)
This hook is called when generating search results in order to fill the 'description' field in an ext...
onUser__mailPasswordInternal( $user, $ip, $u)
This hook is called before creation and mailing of a user's new temporary password....
onWhatLinksHereProps( $row, $title, $target, &$props)
Use this hook to add annotations to Special:WhatLinksHere.1.35bool|void True or no return value to co...
onGetAutoPromoteGroups( $user, &$promote)
This hook is called when determining which autopromote groups a user is entitled to be in....
onGetMagicVariableIDs(&$variableIDs)
Use this hook to modify the list of magic variables.Magic variables are localized with the magic word...
onSpecialPrefixIndexGetFormFilters(IContextSource $contextSource, array &$filters)
This hook is called with a list of filters to render on Special:PrefixIndex.1.42void Un-abortable hoo...
onUserGetReservedNames(&$reservedUsernames)
Use this hook to modify $wgReservedUsernames at run time.1.35bool|void True or no return value to con...
onSkinTemplateNavigation__Universal( $sktemplate, &$links)
This hook is called on both content and special pages after variants have been added....
onPreferencesGetLayout(&$useMobileLayout, $skinName, $skinProperties=[])
Use the hook to check if the preferences will have a mobile or desktop layout.1.40 bool|void True or ...
onContributionsToolLinks( $id, Title $title, array &$tools, SpecialPage $specialPage)
Use this hook to change the tool links above Special:Contributions.1.35bool|void True or no return va...
onTitleMove( $old, $nt, $user, $reason, &$status)
onSpecialNewpagesConditions( $special, $opts, &$conds, &$tables, &$fields, &$join_conds)
This hook is called when building the SQL query for Special:NewPages.1.35bool|void True or no return ...
onImgAuthModifyHeaders( $title, &$headers)
This hook is called just before a file is streamed to a user via img_auth.php, allowing headers to be...
onRenameUserSQL(RenameuserSQL $renameUserSql)
Called in the constructor of RenameuserSQL (which performs the actual renaming of users).
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.You can skip the defa...
onInfoAction( $context, &$pageInfo)
This hook is called when building information to display on the action=info page.1....
onUserEffectiveGroups( $user, &$groups)
This hook is called in UserGroupManager\getUserEffectiveGroups().1.35bool|void True or no return valu...
onPageUndelete(ProperPageIdentity $page, Authority $performer, string $reason, bool $unsuppress, array $timestamps, array $fileVersions, StatusValue $status)
This hook is called before (part of) a page is undeleted.1.37bool|void True or no return value to con...
onSearchGetNearMatch( $term, &$title)
Use this hook to perform exact-title-matches in "go" searches if nothing was found....
onMultiContentSave( $renderedRevision, $user, $summary, $flags, $status)
This hook is called before an article is saved.1.35bool|void True or no return value to continue or f...
onRecentChange_save( $recentChange)
This hook is called at the end of RecentChange\save().1.35bool|void True or no return value to contin...
onSearchIndexFields(&$fields, $engine)
Use this hook to add fields to search index mapping.1.35bool|void True or no return value to continue...
onOtherBlockLogLink(&$otherBlockLink, $ip)
Use this hook to add list items to a list of "other blocks" when viewing Special:BlockList....
onSpecialSearchCreateLink( $t, &$params)
This hook is called when making the message to create a page or go to the existing page....
onWatchlistEditorBuildRemoveLine(&$tools, $title, $redirect, $skin, &$link)
This hook is called when building remove lines in Special:Watchlist/edit.1.35bool|void True or no ret...
onSpecialLogResolveLogType(array $params, string &$type)
Hook for intercepting and changing the requested log type in Special:Log, for example,...
__construct(private readonly HookContainer $container,)
onLinkerMakeExternalLink(&$url, &$text, &$link, &$attribs, $linkType)
This hook is called at the end of Linker\makeExternalLink() just before the return....
onIsValidEmailAddr( $addr, &$result)
Use this hook to override the result of Sanitizer\validateEmail(), for instance to return false if th...
onWatchArticle( $user, $page, &$status, $expiry)
This hook is called before a watch is added to an article.1.35bool|void True or no return value to co...
onInternalParseBeforeLinks( $parser, &$text, $stripState)
This hook is called during Parser's internalParse method before links but after nowiki/noinclude/incl...
onListRestrictedTags(array &$restrictedTags)
This hook is called when building the map of rights-restricted change tags to the rights that can vie...
onSpecialTrackingCategories__preprocess( $specialPage, $trackingCategories)
This hook is called after LinkBatch on Special:TrackingCategories.1.35bool|void True or no return val...
onSpecialCreateAccountBenefits(?string &$html, array $info, array &$options)
Replace the default signup page content about the benefits of registering an account ("Wikipedia is m...
onManualLogEntryBeforePublish( $logEntry)
Use this hook to access or modify log entry just before it is published.1.35void This hook must not a...
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,...
onSpecialSearchProfileForm( $search, &$form, $profile, $term, $opts)
Use this hook to modify search profile forms.1.35bool|void True or no return value to continue or fal...
onSearchGetNearMatchBefore( $allSearchTerms, &$titleResult)
Use this hook to perform exact-title-matches in "go" searches before the normal operations....
onHtmlCacheUpdaterAppendUrls( $title, $mode, &$append)
This hook is used to declare extra URLs to purge from HTTP caches.Use $mode to decide whether to gath...
onParserFetchTemplateData(array $titles, array &$tplData)
This hook allows Parsoid to fetch additional serialization information about a Template,...
onWebResponseSetCookie(&$name, &$value, &$expire, &$options)
This hook is called when setting a cookie in WebResponse\setcookie().1.35bool|void True or no return ...
onHistoryTools( $revRecord, &$links, $prevRevRecord, $userIdentity)
Use this hook to override or extend the revision tools available from the page history view,...
onBeforeParserFetchFileAndTitle( $parser, $nt, &$options, &$descQuery)
This hook is called before an image is rendered by Parser.1.35bool|void True or no return value to co...
onSearchResultProvideThumbnail(array $pageIdentities, &$thumbnails, ?int $size=null)
This hook is called when generating search results in order to fill the 'thumbnail' field in an exten...
onDifferenceEngineMarkPatrolledRCID(&$rcid, $differenceEngine, $change, $user)
Use this hook to possibly change the rcid parameter.For example the rcid might be set to zero due to ...
onParserCacheSaveComplete( $parserCache, $parserOutput, $title, $popts, $revId)
This hook is called after a ParserOutput has been committed to the parser cache.1....
onMovePageCheckPermissions( $oldTitle, $newTitle, $user, $reason, $status)
Use this hook to specify whether the user is allowed to move the page.1.35bool|void True or no return...
onWatchlistEditorBeforeFormRender(&$watchlistInfo)
This hook is called before building the Special:EditWatchlist form.It is used to manipulate the list ...
onUserGetAllRights(&$rights)
This hook is called after calculating a list of all available rights.1.35bool|void True or no return ...
onSiteNoticeBefore(&$siteNotice, $skin)
Replace or disable the sitenotice.The default sitenotice considers the sitenotice,...
onImportHandleToplevelXMLTag( $reader)
This hook is called when parsing a top level XML tag.1.35bool|void True or no return value to continu...
onAlternateEditPreview( $editPage, &$content, &$previewHTML, &$parserOutput)
This hook is called before generating the preview of the page when editing ( EditPage\getPreviewText(...
onArticleDelete( $wikiPage, $user, &$reason, &$error, &$status, $suppress)
onUserLogout( $user)
This hook is called before a user logs out.1.35bool|void True or no return value to continue or false...
onRejectParserCacheValue( $parserOutput, $wikiPage, $parserOptions)
Use this hook to reject an otherwise usable cached value from the Parser cache.NOTE: CARELESS USE OF ...
onGetSessionJwtData(?UserIdentity $user, array &$jwtData)
Called when a JWT session token is created, can modify the information stored within....
onIsFileCacheable( $article)
Use this hook to override the result of Article\isFileCacheable().1.35bool|void True or no return val...
onPingLimiter( $user, $action, &$result, $incrBy)
Use this hook to override the results of User\pingLimiter().1.35bool|void True or no return value to ...
onMimeMagicInit( $mimeMagic)
This hook is called before processing the list mapping MIME types to media types and the list mapping...
onSpecialRecentChangesPanel(&$extraOpts, $opts)
This hook is called when building form options in SpecialRecentChanges.1.35bool|void True or no retur...
onPageDelete(ProperPageIdentity $page, Authority $deleter, string $reason, StatusValue $status, bool $suppress)
This hook is called before a page is deleted.1.37bool|void True or no return value to continue; false...
onParserPreSaveTransformComplete( $parser, &$text)
This hook is called from Parser\preSaveTransform() after processing is complete, giving the extension...
onImportHandleContentXMLTag( $reader, $contentInfo)
This hook is called when parsing a content XML tag.1.36bool|void True or no return value to continue,...
onTitleQuickPermissions( $title, $user, $action, &$errors, $doExpensiveQueries, $short)
This hook is called from Title\checkQuickPermissions to add to or override the quick permissions chec...
onTextSlotDiffRendererTablePrefix(TextSlotDiffRenderer $textSlotDiffRenderer, IContextSource $context, array &$parts)
Use this hook to change the HTML that is included in a prefix container directly before the diff tabl...
onDifferenceEngineShowEmptyOldContent( $differenceEngine)
Use this hook to change the diff table body (without header) in cases when there is no old revision o...
onBlockIpComplete( $block, $user, $priorBlock)
This hook is called after an IP address or user is blocked.1.35bool|void True or no return value to c...
onProtectionForm__buildForm( $article, &$output)
This hook is called after all protection type fieldsets are made in the form.1.35bool|void True or no...
onUsersPagerDoBatchLookups( $dbr, $userIds, &$cache, &$groups)
This hook is called in UsersPager\doBatchLookups().It is used to give extensions providing user group...
onPageSaveComplete( $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult)
This hook is called after an article has been updated.1.35bool|void True or no return value to contin...
onPageUndeleteComplete(ProperPageIdentity $page, Authority $restorer, string $reason, RevisionRecord $restoredRev, ManualLogEntry $logEntry, int $restoredRevisionCount, bool $created, array $restoredPageIds)
This hook is called after a page is undeleted.1.40void This hook must not abort, it must return no va...
onGetLocalURL__Article( $title, &$url)
Use this hook to modify local URLs specifically pointing to article paths without any fancy queries o...
onShortPagesQuery(&$tables, &$conds, &$joinConds, &$options)
Use this hook to modify the query used by Special:ShortPages.1.35bool|void True or no return value to...
onFileUndeleteComplete( $title, $fileVersions, $user, $reason)
This hook is called when a file is undeleted.1.35bool|void True or no return value to continue or fal...
onWatchArticleComplete( $user, $page)
This hook is called after a watch is added to an article.1.35bool|void True or no return value to con...
onOtherAutoblockLogLink(&$otherBlockLink)
Use this hook to add list items to a list of "other autoblocks" which appears at the end of Special:A...
onEditPage__showStandardInputs_options( $editor, $out, &$tabindex)
Use this hook to inject form fields into the editOptions area.1.35bool|void Return value is ignored; ...
onBeforeParserFetchTemplateRevisionRecord(?LinkTarget $contextTitle, LinkTarget $title, bool &$skip, ?RevisionRecord &$revRecord)
This hook is called before a template is fetched by Parser.It allows redirection of the title and/or ...
onGetCanonicalURL( $title, &$url, $query)
Use this hook to modify fully-qualified URLs used for IRC and email notifications....
onArticle__MissingArticleConditions(&$conds, $logTypes)
This hook is called before fetching deletion and move log entries to display a message of a non-exist...
onMessagePostProcessHtml(&$value, $format, $key)
This hook is called after a message is formatted as HTML.Use this hook if you wish to post process th...
onSidebarBeforeOutput( $skin, &$sidebar)
Use this hook to edit the sidebar just before it is output by skins.Warning: This hook is run on each...
onDifferenceEngineLoadTextAfterNewContentIsLoaded( $differenceEngine)
This hook is called in DifferenceEngine\loadText() after the new revision's content has been loaded i...
onParserAfterParse( $parser, &$text, $stripState)
This hook is called from Parser\parse() just after the call to Parser\internalParse() returns....
onGetLangPreferredVariant(&$req)
This hook is called in LanguageConverter\getPreferredVariant() to allow fetching the language variant...
onSpecialPageAfterExecute( $special, $subPage)
This hook is called after SpecialPage\execute.1.35bool|void True or no return value to continue or fa...
onParserLogLinterData(string $title, int $revId, array $lints)
This hook allows Parsoid to log additional linting information during a parse to a database maintaine...
onGetPreferences( $user, &$preferences)
Use this hook to modify user preferences.1.35bool|void True or no return value to continue or false t...
onTitleSquidURLs( $title, &$urls)
This hook is called to determine which URLs to purge from HTTP caches.1.35bool|void True or no return...
onGetIP(&$ip)
Use this hook to modify the IP of the current user (called only once).1.35bool|void True or no return...
onMaintenanceRefreshLinksInit( $refreshLinks)
This hook is called before executing the refreshLinks.php maintenance script.1.16since 1....
onEditPageCopyrightWarning( $title, &$msg)
Use this hook for site and per-namespace customization of contribution/copyright notice....
onEmailUserAuthorizeSend(Authority $sender, StatusValue $status)
This hook is called when checking whether a user is allowed to send emails.bool|void True or no retur...
onBeforeRevertedTagUpdate( $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult, &$approved)
This hook is called before scheduling a RevertedTagUpdateJob.Various content management extensions th...
onLinkerMakeMediaLinkFile( $title, $file, &$html, &$attribs, &$ret)
This hook is called at the end of Linker\makeMediaLinkFile() just before the return....
onPerformRetroactiveAutoblock( $block, &$blockIds)
This hook is called before a retroactive autoblock is applied to a user.1.35bool|void True or no retu...
onSiteNoticeAfter(&$siteNotice, $skin)
This hook is called after the sitenotice/anonnotice is composed.1.35bool|void True or no return value...
onLocalFilePurgeThumbnails( $file, $archiveName, $urls)
This hook is called before thumbnails for a local file are purged.1.35bool|void True or no return val...
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...
onOutputTransformFirstStage(ParserOutput &$parserOutput, ParserOptions $parserOptions)
This hook is called from the post-processing output transform pipeline at the very start of processin...
onUserModifyCreateAccountEmail(User $user, User $performer, Message &$subject, Message &$body)
This hook runs when a user account is being created on behalf of another user, such as when using Spe...
onUserRequirementsConditionDisplay(string|int $type, array $args, IContextSource $context, ?MessageSpecifier &$messageSpec)
Use this hook to specify a custom message for displaying user requirements conditions in the user int...
onAuthManagerFilterProviders(array &$providers)
Filter the list of authentication available providers.Providers removed from the list will be disable...
onPreferencesGetIcon(&$iconNames)
Use the hook to add an icon that will be displayed in the mobile layout of Special:Preferences....
onPageHistoryPager__doBatchLookups( $pager, $result)
This hook is called after the pager query was run, before any output is generated,...
onContentModelCanBeUsedOn( $contentModel, $title, &$ok)
Use this hook to determine whether a content model can be used on a given page.This is especially use...
onGetUserBlock( $user, $ip, &$block)
Use this hook to modify the block found by the block manager.This may be a single block or a composit...
onUploadFormSourceDescriptors(&$descriptor, &$radio, $selectedSourceType)
This hook is called after the standard source inputs have been added to the descriptor....
onArticleConfirmDelete( $article, $output, &$reason)
This hook is called before writing the confirmation form for article deletion.1.35bool|void True or n...
onSpecialListusersQueryInfo( $pager, &$query)
This hook is called right before the end of UsersPager\getQueryInfo().1.35bool|void True or no return...
onLoadExtensionSchemaUpdates( $updater)
This hook is called during database installation and updates.Do not use this hook with a handler that...
onInitializeArticleMaybeRedirect( $title, $request, &$ignoreRedirect, &$target, &$article)
Use this hook to override whether a title is a redirect.1.35bool|void True or no return value to cont...
onSpecialSearchPowerBox(&$showSections, $term, &$opts)
Use this hook to modify advanced search profile forms.This hook is equivalent to SpecialSearchProfile...
onSkinPageReadyConfig(RL\Context $context, array &$config)
Allows skins to change the mediawiki.page.ready module configuration.1.36 void This hook must not abo...
onLogException( $e, $suppressed)
This hook is called before an exception (or PHP error) is logged.This is meant for integration with e...
onRedirectSpecialArticleRedirectParams(&$redirectParams)
Use this hook to alter the set of parameter names such as "oldid" that are preserved when using redir...
onLogEventsListLineEnding( $page, &$ret, $entry, &$classes, &$attribs)
This hook is called before a Special:Log line is finished.1.35bool|void True or no return value to co...
onUnblockUser( $block, $user, &$reason)
This hook is called before an IP address or user is unblocked.1.35bool|void True or no return value t...
onPermissionStatusAudit(LinkTarget $title, UserIdentity $user, string $action, string $rigor, PermissionStatus $status)
This hook is called from PermissionManager\getPermissionStatus() to make any permission status (even ...
onMediaWikiServices( $services)
This hook is called when a global MediaWikiServices instance is initialized.Extensions may use this t...
onMediaWikiPerformAction( $output, $article, $title, $user, $request, $mediaWiki)
Use this hook to override ActionEntryPoint\performAction().Use this to do something completely differ...
onTitleGetRestrictionTypes( $title, &$types)
Use this hook to modify the types of protection that can be applied.1.35bool|void True or no return v...
onParserGetVariableValueTs( $parser, &$time)
Use this hook to change the value of the time for time-related magic words, ie {{CURRENTMONTH}...
onParserOptionsRegister(&$defaults, &$inCacheKey, &$lazyLoad)
Use this hook to register additional parser options.Note that if you change the default value for an ...
onEditPage__importFormData( $editpage, $request)
Use this hook to read additional data posted in the form.1.35bool|void Return value is ignored; this ...
onBeforePageDisplay( $out, $skin)
This hook is called prior to outputting a page.1.35void This hook must not abort, it must return no v...
onUserLoginComplete( $user, &$inject_html, $direct)
Use this hook to show custom content after a user has logged in via the web interface....
onParserLimitReportFormat( $key, &$value, &$report, $isHTML, $localize)
This hook is called for each row in the parser limit report that needs formatting....
onIRCLineURL(&$url, &$query, $rc)
This hook is called when constructing the URL to use in an RCFeed notification.Callee may modify $url...
onParserAfterTidy( $parser, &$text)
This hook is called after Parser\tidy() in Parser\parse().1.35bool|void True or no return value to co...
onSkinCopyrightFooterMessage( $title, $type, &$msg)
Use this hook for site and per-namespace customization of the copyright notice as wikitext....
onPageMoveCompleting( $old, $new, $user, $pageid, $redirid, $reason, $revision)
This hook is called after moving an article (title), pre-commit.1.35bool|void True or no return value...
onContentSecurityPolicyDefaultSource(&$defaultSrc, $policyConfig, $mode)
Use this hook to modify the allowed CSP load sources.This affects all directives except for the scrip...
onSecuritySensitiveOperationStatus(&$status, $operation, $session, $timeSinceAuth)
Use this hook to affect the return value from MediaWiki\Auth\AuthManager\securitySensitiveOperationSt...
onSkinEditSectionLinks( $skin, $title, $section, $tooltip, &$result, $lang)
Use this hook to modify section edit links.1.35bool|void True or no return value to continue or false...
onSpecialResetTokensTokens(&$tokens)
This hook is called when building token list for SpecialResetTokens.1.35bool|void True or no return v...
onImagePageFileHistoryLine( $imageHistoryList, $file, &$line, &$css)
This hook is called when a file history line is constructed.1.35bool|void True or no return value to ...
onParserBeforePreprocess( $parser, &$text, $stripState)
Called at the beginning of Parser\preprocess().1.35bool|void True or no return value to continue or f...
onImportLogInterwikiLink(&$fullInterwikiPrefix, &$pageTitle)
Use this hook to change interwiki links in log entries and edit summaries for transwiki imports....
onParserOutputPostCacheTransform( $parserOutput, &$text, &$options)
This hook is called from during the post-processing output transform pipeline to do post-cache transf...
onSpreadAnyEditBlock( $user, bool &$blockWasSpread)
Use this hook to spread any blocks that are not provided by core when User\spreadAnyEditBlock is call...
onUserGetEmailAuthenticationTimestamp( $user, &$timestamp)
This hook is called when getting the timestamp of email authentication.1.35bool|void True or no retur...
onSelfLinkBegin( $nt, &$html, &$trail, &$prefix, &$ret)
This hook is called before a link to the current article is displayed to allow the display of the lin...
onCollation__factory( $collationName, &$collationObject)
This hook is called if $wgCategoryCollation is an unknown collation.1.35bool|void True or no return v...
onSearchResultsAugment(&$setAugmentors, &$rowAugmentors)
Use this hook to add code to the list of search result augmenters.1.35bool|void True or no return val...
onArticleFromTitle( $title, &$article, $context)
This hook is called when creating an article object from a title object using Wiki\articleFromTitle()...
onGetDifferenceEngine( $context, $old, $new, $refreshCache, $unhide, &$differenceEngine)
This hook is called when getting a new difference engine interface object.Use this hook to decorate o...
onFormatAutocomments(&$comment, $pre, $extractedText, $post, $title, $local, $wikiId)
This hook is called when an autocomment is formatted by the Linker.1.35bool|void True or no return va...
onLinksUpdate( $linksUpdate)
This hook is called at the beginning of LinksUpdate\doUpdate() just before the actual update....
onLogEventsListGetExtraInputs( $type, $logEventsList, &$input, &$formDescriptor)
This hook is called when getting extra inputs to display on Special:Log for a specific log type....
onUnitTestsAfterDatabaseSetup( $database, $prefix)
This hook is called right after MediaWiki's test infrastructure has finished creating/duplicating cor...
onContribsPager__reallyDoQuery(&$data, $pager, $offset, $limit, $descending)
This hook is called before really executing the query for My Contributions.1.35bool|void True or no r...
onExemptFromAccountCreationThrottle( $ip)
Use this hook to add an exemption from the account creation throttle.1.35bool|void True or no return ...
onUndeleteForm__showRevision(&$archive, $title)
This hook is called in UndeleteForm\showRevision, after creating a PageArchive object....
onActionBeforeFormDisplay( $name, $form, $article)
This hook is called before executing the HTMLForm object.1.35bool|void True or no return value to con...
onArticleViewRedirect( $article)
This hook is called before setting "Redirected from ..." subtitle when a redirect was followed....
onGetContentModels(&$models)
Use this hook to add content models to the list of available models.1.35bool|void True or no return v...
onChangesListInitRows( $changesList, $rows)
Use this hook to batch process change list rows prior to rendering.1.35bool|void True or no return va...
onUserGetRights( $user, &$rights)
This hook is called in PermissionManager\getUserPermissions().1.35bool|void True or no return value t...
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....
onImageOpenShowImageInlineBefore( $imagePage, $output)
This hook is called just before showing the image on an image page.1.35bool|void True or no return va...
onProtectionForm__save( $article, &$errorMsg, $reasonstr)
This hook is called when a protection form is submitted.1.35bool|void True or no return value to cont...
onUploadFormInitDescriptor(&$descriptor)
This hook is called after the descriptor for the upload form as been assembled.1.35bool|void True or ...
onUploadComplete( $uploadBase)
This hook is called upon completion of a file upload.1.35bool|void True or no return value to continu...
onUserMailerSplitTo(&$to)
This hook is called in UserMailer\send() to give extensions a chance to split up an email with multip...
onImportHandleUploadXMLTag( $reader, $revisionInfo)
This hook is called when parsing an XML tag in a file upload.1.35bool|void True or no return value to...
onSetupAfterCache()
This hook is called in Setup.php, after cache objects are set.1.35bool|void True or no return value t...
onDifferenceEngineShowDiff( $differenceEngine)
Use this hook to affect the diff text which eventually gets sent to the OutputPage object....
onEmailUserPermissionsErrors( $user, $editToken, &$hookErr)
Use this hook to retrieve permissions errors for emailing a user.1.35bool|void True or no return valu...
onBeforeDisplayNoArticleText( $article)
This hook is called before displaying message key "noarticletext" or "noarticletext-nopermission" at ...
onNewPagesLineEnding( $page, &$ret, $row, &$classes, &$attribs)
This hook is called before a NewPages line is finished.1.35bool|void True or no return value to conti...
onDifferenceEngineShowDiffPage( $out)
Use this hook to add additional output via the available OutputPage object into the diff view....
onOutputPageRenderCategoryLink(OutputPage $outputPage, ProperPageIdentity $categoryTitle, string $text, ?string &$link)
This hook is called when a category link is rendered.1.43void This hook must not abort,...
onImagePageShowTOC( $page, &$toc)
This hook is called when the file toc on an image page is generated.1.35bool|void True or no return v...
onPageViewUpdates( $wikipage, $user)
Use this hook to make database (or other) changes after a page view is seen by MediaWiki....
onDeletedContributionsLineEnding( $page, &$ret, $row, &$classes, &$attribs)
This hook is called before a DeletedContributions HTML line is finished.ContributionsLineEndingHook1....
onWikiPageFactory( $title, &$page)
Use this hook to override WikiPage class used for a title.1.35bool|void True or no return value to co...
onSpecialLogAddLogSearchRelations( $type, $request, &$qc)
Use this hook to add log relations to the current log.1.35bool|void True or no return value to contin...
onSearchGetNearMatchComplete( $term, &$title)
Use this hook to modify exact-title-matches in "go" searches.1.35bool|void True or no return value to...
onMimeMagicGuessFromContent( $mimeMagic, &$head, &$tail, $file, &$mime)
Use this hook to guess the MIME by content.1.35bool|void True or no return value to continue or false...
onDifferenceEngineAfterLoadNewText( $differenceEngine)
This hook is called in DifferenceEngine\loadNewText() after the new revision's content has been loade...
onUserLoadAfterLoadFromSession( $user)
This hook is called to authenticate users on external or environmental means.This hook is called afte...
onUserLinkRendererUserLinkPostRender(UserIdentity $targetUser, IContextSource $context, &$html, &$prefix, &$postfix)
onSpecialMovepageAfterMove( $movePage, $oldTitle, $newTitle)
This hook is called after moving a page.1.35bool|void True or no return value to continue or false to...
onEditFilterMergedContent( $context, $content, $status, $summary, $user, $minoredit)
onUserRequirementsCondition(string|int $type, array $args, UserIdentity $user, bool $isPerformingRequest, ?bool &$result)
Use this hook to check user requirements condition for a user.1.46
onParserOptionsDefaults(&$defaults, &$inCacheKey, &$lazyLoad, &$postprocOpts=[])
onOutputPageAfterGetHeadLinksArray(&$tags, $out)
This hook is called in OutputPage\getHeadLinksArray right before returning the result....
onSpecialVersionVersionUrl( $version, &$versionUrl)
This hook is called when building the URL for Special:Version.1.35bool|void True or no return value t...
onSpecialSearchProfiles(&$profiles)
Use this hook to modify search profiles.1.35bool|void True or no return value to continue or false to...
onSpecialSearchResultsAppend( $specialSearch, $output, $term)
This hook is called immediately before returning HTML on the search results page.Useful for including...
onGetDoubleUnderscoreIDs(&$doubleUnderscoreIDs)
Use this hook to modify the list of behavior switches (double underscore variables in wikitext)....
onTempUserCreatedRedirect(Session $session, UserIdentity $user, string $returnTo, string $returnToQuery, string $returnToAnchor, &$redirectUrl)
This hook is called after an action causes a temporary user to be created or after the first successf...
onModifyExportQuery( $db, &$tables, $cond, &$opts, &$join_conds, &$conds)
Use this hook to modify the query used by the exporter.1.35bool|void True or no return value to conti...
onLoadUserOptions(UserIdentity $user, array &$options)
This hook is called when user options/preferences are being loaded from the database....
onUserGetLanguageObject( $user, &$code, $context)
This hook is called when getting a user's interface language object.1.35bool|void True or no return v...
onLanguageGetNamespaces(&$namespaces)
Use this hook to provide custom ordering for namespaces or remove namespaces.Do not use this hook to ...
onPageContentLanguage( $title, &$pageLang, $userLang)
Use this hook to change the language in which the content of a page is written.Defaults to the wiki c...
onAuthPreserveQueryParams(&$params, $options)
onLonelyPagesQuery(&$tables, &$conds, &$joinConds)
Use this hook to modify the query used by Special:LonelyPages.1.35bool|void True or no return value t...
onSkinAfterPortlet( $skin, $portlet, &$html)
This hook is called when generating portlets.It allows injecting custom HTML after the portlet....
onFileUpload( $file, $reupload, $hasDescription)
This hook is called when a file upload occurs.1.35bool|void True or no return value to continue or fa...
onShowSearchHit( $searchPage, $result, $terms, &$link, &$redirect, &$section, &$extract, &$score, &$size, &$date, &$related, &$html)
Use this hook to customize display of search hit.1.35bool|void True or no return value to continue or...
onSearchAfterNoDirectMatch( $term, &$title)
This hook is called if there was no match for the exact result.This runs before lettercase variants a...
onSpecialPage_initList(&$list)
This hook is called when setting up SpecialPageFactory\$list.Use this hook to remove a core special p...
onChangesListInsertLogEntry( $entry, $context, &$html, &$classes, &$attribs)
onOpportunisticLinksUpdate( $page, $title, $parserOutput)
This hook is called by WikiPage\triggerOpportunisticLinksUpdate when a page view triggers a re-render...
onSpecialTrackingCategories__generateCatLink( $specialPage, $catTitle, &$html)
This hook is called for each category link on Special:TrackingCategories.1.35bool|void True or no ret...
onWatchedItemQueryServiceExtensions(&$extensions, $watchedItemQueryService)
Use this hook to create a WatchedItemQueryServiceExtension.1.35since 1.46 and no longer called....
onSpecialNewPagesFilters( $special, &$filters)
This hook is called after building form options at NewPages.1.35bool|void True or no return value to ...
onMimeMagicImproveFromExtension( $mimeMagic, $ext, &$mime)
Use this hook to further improve the MIME type detected by considering the file extension....
onGetUserPermissionsErrorsExpensive( $title, $user, $action, &$result)
This hook is equal to getUserPermissionsErrors, but it is called only if expensive checks are enabled...
onImgAuthBeforeStream(&$title, &$path, &$name, &$result)
This hook is called before a file is streamed to a user, but only when using img_auth....
onEnhancedChangesListModifyLineData( $changesList, &$data, $block, $rc, &$classes, &$attribs)
Use this hook to alter data used to build a grouped recent change inner line in EnhancedChangesList....
onArticleContentOnDiff( $diffEngine, $output)
This hook is called before showing the article content below a diff.Use this hook to change the conte...
onArticleUndelete( $title, $create, $comment, $oldPageId, $restoredPages)
This hook is called when one or more revisions of an article are restored.1.35bool|void True or no re...
onChangeTagsAfterUpdateTags( $addedTags, $removedTags, $prevTags, $rc_id, $rev_id, $log_id, $params, $rc, $user)
This hook is called after tags have been updated with the ChangeTagsStore->updateTags function....
onRecentChangesPurgeQuery( $query, &$callbacks)
This hook is called by RecentChangesUpdateJob before recentchanges rows are deleted....
onRecentChangesPurgeRows( $rows)
This hook is called by RecentChangesUpdateJob when expired recentchanges rows are deleted,...
onAlternateEdit( $editPage)
This hook is called before checking if a user can edit a page and before showing the edit form ( Edit...
onUserToolLinksEdit( $userId, $userText, &$items)
This hook is called when generating a list of user tool links, e.g."Foobar (Talk | Contribs | Block)"...
onSpecialPrefixIndexQuery(array $fieldData, SelectQueryBuilder $queryBuilder)
Use this hook to modify the query used by Special:PrefixIndex.1.42void Un-abortable hook
onUserIsBot( $user, &$isBot)
Use this hook to establish whether a user is a bot account.1.35bool|void True or no return value to c...
onDifferenceEngineRenderRevisionAddParserOutput( $differenceEngine, $out, $parserOutput, $wikiPage)
Use this hook to change the parser output.1.35bool|void True or no return value to continue,...
onShowMissingArticle( $article)
This hook is called when generating the output for a non-existent page.1.35bool|void True or no retur...
onEmailUserCC(&$to, &$from, &$subject, &$text)
This hook is called before sending the copy of the email to the author.1.35bool|void True or no retur...
onPostLoginRedirect(&$returnTo, &$returnToQuery, &$type)
Use this hook to modify the post login redirect behavior.Occurs after signing up or logging in,...
onEmailUserSendEmail(Authority $from, MailAddress $fromAddress, UserEmailContact $to, MailAddress $toAddress, string $subject, string $text, StatusValue $status)
This hook is called before sending an email, when all other checks have succeeded....
onSpecialSearchResults( $term, &$titleMatches, &$textMatches)
This hook is called before search result display.1.35bool|void True or no return value to continue or...
onDisplayOldSubtitle( $article, &$oldid)
This hook is called before creating subtitle when browsing old versions of an article....
onBitmapHandlerCheckImageArea( $image, &$params, &$checkImageAreaHookResult)
This hook is called by BitmapHandler\normaliseParams, after all normalizations have been performed,...
onOutputPageBodyAttributes( $out, $sk, &$bodyAttrs)
Add classes or other attributes to the body element.The body classes and attributes MUST NOT vary by ...
onMessagesPreLoad( $title, &$message, $code)
This hook is called when loading a message from the database.1.35bool|void True or no return value to...
onGetUserPermissionsErrors( $title, $user, $action, &$result)
Use this hook to add a permissions error when permissions errors are checked for.Use instead of userC...
onValidateExtendedMetadataCache( $timestamp, $file)
Use this hook to validate the cached metadata in FormatMetadata\getExtendedMeta.1....
onGalleryGetModes(&$modeArray)
Use this hook to get a list of classes that can render different modes of a gallery....
onSearchableNamespaces(&$arr)
Use this hook to modify which namespaces are searchable.1.35bool|void True or no return value to cont...
onAfterParserFetchFileAndTitle( $parser, $ig, &$html)
This hook is called after an image gallery is formed by Parser, just before adding its HTML to parser...
onSpecialListusersDefaultQuery( $pager, &$query)
This hook is called right before the end of UsersPager\getDefaultQuery().1.35bool|void True or no ret...
onUserLogoutComplete( $user, &$inject_html, $oldName)
This hook is called after a user has logged out.1.35bool|void True or no return value to continue or ...
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...
onWikiExporter__dumpStableQuery(&$tables, &$opts, &$join)
Use this hook to get the SELECT query for "stable" revisions dumps.One, and only one hook should set ...
onEditPageGetDiffContent( $editPage, &$newtext)
Use this hook to modify the wikitext that will be used in "Show changes".Note that it is preferable t...
onBookInformation( $isbn, $output)
This hook is called before information output on Special:Booksources.1.35bool|void True or no return ...
onOutputPageBeforeHTML( $out, &$text)
This hook is called when a page has been processed by the parser and the resulting HTML is about to b...
onBitmapHandlerTransform( $handler, $image, &$scalerParams, &$mto)
This hook is called before a file is transformed, giving extensions the possibility to transform it t...
onCategoryViewerGenerateLink(IContextSource $context, string $type, PageReference $page, ?string $html, ?string &$link,)
This hook is called before generating an output link allow extensions opportunity to generate a more ...
onUserSaveSettings( $user)
This hook is called directly after user settings have been saved to the database.Compare to the SaveU...
onContentSecurityPolicyScriptSource(&$scriptSrc, $policyConfig, $mode)
Use this hook to modify the allowed CSP script sources.Note that you also have to use ContentSecurity...
onUploadVerifyUpload( $upload, $user, $props, $comment, $pageText, &$error)
onGetAllBlockActions(&$actions)
Use this hook to add an action or actions that may be blocked by a partial block.Add an item to the $...
onParserGetVariableValueSwitch( $parser, &$variableCache, $magicWordId, &$ret, $frame)
This hook is called when the parser needs the value of a custom magic word.1.35true|void True or no r...
onUserIsLocked( $user, &$locked)
Use this hook to establish that a user is locked.See User\isLocked().1.35bool|void True or no return ...
onRenameUserPreRename(int $uid, string $old, string $new)
Called before a user is renamed.
onHtmlPageLinkRendererBegin( $linkRenderer, $target, &$text, &$customAttribs, &$query, &$ret)
This hook is called when generating internal and interwiki links in LinkRenderer, before processing s...
onPrefixSearchExtractNamespace(&$namespaces, &$search)
This hook is called if core was not able to extract a namespace from the search string so that extens...
onContentAlterParserOutput( $content, $title, $parserOutput)
Use this hook to modify parser output for a given content object.This hook is called by Content\getPa...
onEditPage__showEditForm_fields( $editor, $out)
Use this hook to inject form field into edit form.1.35bool|void Return value is ignored; this hook sh...
onEditPage__showEditForm_initial( $editor, $out)
This hook is called before showing the edit form.1.35bool|void True or no return value to continue or...
onLocalFile__getHistory( $file, &$tables, &$fields, &$conds, &$opts, &$join_conds)
This hook is called before a file history query is performed.1.35bool|void True or no return value to...
onUserMailerChangeReturnPath( $to, &$returnPath)
This hook is called to generate a VERP return address when UserMailer sends an email,...
onUnwatchArticleComplete( $user, $page)
This hook is called after a watch is removed from an article.1.35bool|void True or no return value to...
onRawPageViewBeforeOutput( $obj, &$text)
This hook is called right before the text is blown out in action=raw.1.35bool|void True or no return ...
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 ...
onSkinAfterContent(&$data, $skin)
Use this hook to add text after the page content and article metadata.This hook should work in all sk...
onGetFullURL( $title, &$url, $query)
Use this hook to modify fully-qualified URLs used in redirects/export/offsite data....
onRevisionRecordInserted( $revisionRecord)
This hook is called after a revision is inserted into the database.1.35bool|void True or no return va...
onTitleIsAlwaysKnown( $title, &$isKnown)
This hook is called when determining if a page exists.Use this hook to override default behavior for ...
onSpecialPageBeforeExecute( $special, $subPage)
This hook is called before SpecialPage\execute.1.35bool|void True or no return value to continue or f...
onRequestContextCreateSkin( $context, &$skin)
This hook is called when RequestContext\getSkin creates a skin instance.Use this hook to override wha...
onTitleMoveStarting( $old, $nt, $user)
This hook is called before moving an article (title), but just after the atomic DB section starts....
onGetDefaultSortkey( $title, &$sortkey)
Use this hook to override the default sortkey for a page.1.35bool|void True or no return value to con...
onEditPage__attemptSave( $editpage_Obj)
This hook is called before an article is saved, before WikiPage\doUserEditContent() is called....
onGetLocalURL( $title, &$url, $query)
Use this hook to modify local URLs as output into page links.Note that if you are working with intern...
onSoftwareInfo(&$software)
This hook is called by Special:Version for returning information about the software....
onEditPageGetPreviewContent( $editPage, &$content)
Use this hook to modify the wikitext that will be previewed.Note that it is preferable to implement p...
onArticleMergeComplete( $targetTitle, $destTitle)
This hook is called after merging to article using Special:Mergehistory.1.35bool|void True or no retu...
onSpecialMuteModifyFormFields( $target, $user, &$fields)
Use this hook to add more fields to Special:Mute.1.35bool|void True or no return value to continue or...
onCustomEditor( $article, $user)
This hook is called when invoking the page editor.1.35bool|void True or no return value to allow the ...
onOpenSearchUrls(&$urls)
This hook is called when constructing the OpenSearch description XML.Hooks can alter or append to the...
onFileTransformed( $file, $thumb, $tmpThumbPath, $thumbPath)
This hook is called when a file is transformed and moved into storage.1.35bool|void True or no return...
onSkinBuildSidebar( $skin, &$bar)
This hook is called at the end of Skin\buildSidebar().1.35bool|void True or no return value to contin...
onChangesListSpecialPageStructuredFilters( $special)
Use this hook to register filters for pages inheriting from ChangesListSpecialPage (in core: RecentCh...
onPrefsEmailAudit( $user, $oldaddr, $newaddr)
This hook is called when user changes their email address.1.35bool|void True or no return value to co...
onWikiPageDeletionUpdates( $page, $content, &$updates)
Use this hook to manipulate the list of DeferrableUpdates to be applied when a page is deleted....
onWantedPages__getQueryInfo( $wantedPages, &$query)
This hook is called in SpecialWantedPages\getQueryInfo().Can be used to alter the SQL query....
onArticlePageDataBefore( $wikiPage, &$fields, &$tables, &$joinConds)
This hook is called before loading data of an article from the database.1.35bool|void True or no retu...
onParserTestGlobals(&$globals)
Use this hook to define globals for parser tests.1.35bool|void True or no return value to continue or...
onEmailUser(&$to, &$from, &$subject, &$text, &$error)
This hook is called before sending email from one user to another.1.35bool|void True or no return val...
onSpecialListusersHeaderForm( $pager, &$out)
This hook is called before adding the submit button in UsersPager\getPageHeader()....
onAncientPagesQuery(&$tables, &$conds, &$joinConds)
Use this hook to modify the query used by Special:AncientPages.1.35bool|void True or no return value ...
onChangesListInsertArticleLink( $changesList, &$articlelink, &$s, $rc, $unpatrolled, $watched)
Use this hook to override or augment link to article in RC list.1.35bool|void True or no return value...
onSpecialSearchResultsPrepend( $specialSearch, $output, $term)
This hook is called immediately before returning HTML on the search results page.Useful for including...
onApiBeforeMain(&$main)
This hook is called before calling ApiMain's execute() method in api.php.1.35bool|void True or no ret...
onUserClearNewTalkNotification( $userIdentity, $oldid)
This hook is called post-send when viewing a user talk page.The hook may be aborted,...
onChangeTagsAllowedAdd(&$allowedTags, $addTags, $user)
This hook is called when checking if a user can add tags to a change.1.35bool|void True or no return ...
onEditPageNoSuchSection( $editpage, &$res)
This hook is called when a section edit request is given for a non-existent section....
onPlaceNewSection( $content, $oldtext, $subject, &$text)
Use this hook to override placement of new sections.1.35bool|void True or no return value to continue...
onArticleParserOptions(Article $article, ParserOptions $popts)
This hook is called before parsing wikitext for an article, and allows setting particular parser opti...
onLinksUpdateComplete( $linksUpdate, $ticket)
This hook is called at the end of LinksUpdate\doUpdate() when updating, including delete and insert,...
onGetActionName(IContextSource $context, string &$action)
Use this hook to override the action name depending on request parameters.1.37void This hook must not...
onMaintenanceShellStart()
This hook is called before maintenance script shells start, such as eval.php and shell....
onGetExtendedMetadata(&$combinedMeta, $file, $context, $single, &$maxCacheTime)
Use this hook to get extended file metadata for the API.1.35bool|void True or no return value to cont...
onLogLine( $log_type, $log_action, $title, $paramArray, &$comment, &$revert, $time)
Use this hook to process a single log entry on Special:Log.1.35bool|void True or no return value to c...
onBlockIp( $block, $user, &$reason)
This hook is called before an IP address or user is blocked.1.35bool|void True or no return value to ...
onIsTrustedProxy( $ip, &$result)
Use this hook to override the result of ProxyLookup\isTrustedProxy().1.35bool|void True or no return ...
onUserCanSendEmail( $user, &$hookErr)
Use this hook to override User\canSendEmail() permission check.1.35bool|void True or no return value ...
onRevisionDataUpdates( $title, $renderedRevision, &$updates)
This hook is called when constructing a list of DeferrableUpdate to be executed to record secondary d...
onImportHandleUnknownUser( $name)
When a user doesn't exist locally, use this hook to auto-create it.1.35bool|void True or no return va...
onAfterImportPage( $title, $foreignTitle, $revCount, $sRevCount, $pageInfo)
This hook is called when a page import is completed.1.35bool|void True or no return value to continue...
onArticleUpdateBeforeRedirect( $article, &$sectionanchor, &$extraq)
This hook is called after a page is updated (usually on save), before the user is redirected back to ...
onCategoryAfterPageRemoved( $category, $wikiPage, $id)
This hook is called after a page is removed from a category.1.35bool|void True or no return value to ...
onPreferencesFormPreSave( $formData, $form, $user, &$result, $oldUserOptions)
Use this hook to override preferences being saved.1.35bool|void True or no return value to continue o...
onMessageCacheReplace( $title, $text)
This hook is called when a message page is changed.Use this hook to update caches....
onMarkPatrolledAudit( $recentChange, $userIdentity, int $logId)
onTitleIsMovable( $title, &$result)
This hook is called when determining if it is possible to move a page.Note that this hook is not call...
onMaintenanceUpdateAddParams(&$params)
Use this hook to add params to the update.php maintenance script.1.35bool|void True or no return valu...
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...
onBeforeInitialize( $title, $unused, $output, $user, $request, $mediaWiki)
This hook is called before anything is initialized in ActionEntryPoint\performRequest()....
onUserCanChangeEmail( $user, $oldaddr, $newaddr, &$status)
This hook is called when user changes their email address.1.45bool|void True or no return value to co...
onParserBeforeInternalParse( $parser, &$text, $stripState)
This hook is called at the beginning of Parser\internalParse().1.35bool|void True or no return value ...
onEmailUserForm(&$form)
This hook is called after building the email user form object.1.35bool|void True or no return value t...
onPageDeleteComplete(ProperPageIdentity $page, Authority $deleter, string $reason, int $pageID, RevisionRecord $deletedRev, ManualLogEntry $logEntry, int $archivedRevisionCount)
This hook is called after a page is deleted.1.37true|void
onLanguageGetTranslatedLanguageNames(&$names, $code)
Use this hook to provide translated language names.1.35bool|void True or no return value to continue ...
onRandomPageQuery(&$tables, &$conds, &$joinConds)
Use this hook to modify the query used by Special:Random to select random pages.1....
onArticlePrepareTextForEdit( $wikiPage, $popts)
This hook is called when preparing text to be saved.1.35bool|void True or no return value to continue...
onOutputTransformLastStage(ParserOutput &$parserOutput, ParserOptions $parserOptions)
This hook is called from the post-processing output transform pipeline at the very end of processing ...
onTitleGetEditNotices( $title, $oldid, &$notices)
Use this hook to add edit notices.1.35bool|void True or no return value to continue or false to abort
onDeleteUnknownPreferences(&$where, $db)
This hook is called by the cleanupPreferences.php maintenance script to build a WHERE clause with whi...
onUserCan( $title, $user, $action, &$result)
Use this hook to interrupt or advise the "user can do X to Y article" check.If you want to display an...
onGetSecurityLogContext(array $info, array &$context)
This hook is called from WebRequest\getSecurityLogContext() to collect information about the request ...
onBadImage( $name, &$bad)
This hook is called when checking against the bad image list.If an image is "bad",...
onChangeAuthenticationDataAudit( $req, $status)
This hook is called when a user changes their password.No return data is accepted; this hook is for a...
onUserLoadDefaults( $user, $name)
This hook is called when loading a default user.1.35bool|void True or no return value to continue or ...
onUploadVerifyFile( $upload, $mime, &$error)
Use this hook to perform extra file verification, based on MIME type, etc.1.35bool|void True or no re...
onDifferenceEngineOldHeaderNoOldRev(&$oldHeader)
Use this hook to change the $oldHeader variable in cases when there is no old revision....
onUserPrivilegedGroups( $userIdentity, &$groups)
onUserGetRightsRemove( $user, &$rights)
This hook is called in PermissionManager\getUserPermissions().This hook overrides the UserGetRights h...
onHTMLFileCache__useFileCache( $context)
Use this hook to override whether a page should be cached in file cache.1.35bool|void True or no retu...
onUserAddGroup( $user, &$group, &$expiry)
This hook is called when adding a group or changing a group's expiry.1.35bool|void True or no return ...
onEditFormPreloadText(&$text, $title)
Use this hook to populate the edit form when creating pages.1.35bool|void True or no return value to ...
onSpecialSearchNogomatch(&$title)
This hook is called when the 'Go' feature is triggered and the target doesn't exist....
onGetRelativeTimestamp(&$output, &$diff, $timestamp, $relativeTo, $user, $lang)
Use this hook to pre-emptively override the relative timestamp generated by MWTimestamp\getRelativeTi...
onAuthManagerVerifyAuthentication(?UserIdentity $user, AuthenticationResponse &$response, AuthManager $authManager, array $info)
This hook is called before the end of a successful login or account creation attempt....
onActionModifyFormFields( $name, &$fields, $article)
This hook is called before creating an HTMLForm object for a page action.Use this hook to change the ...
onInvalidateEmailComplete( $user)
This hook is called after a user's email has been invalidated successfully.1.35bool|void True or no r...
onConfirmEmailComplete( $user)
This hook is called after a user's email has been confirmed successfully.1.35bool|void True or no ret...
onMakeGlobalVariablesScript(&$vars, $out)
Export user- or page-specific mw.config variables to JavaScript.When using this hook,...
onArticlePageDataAfter( $wikiPage, &$row)
This hook is called after loading data of an article from the database.1.35bool|void True or no retur...
onResetPasswordExpiration( $user, &$newExpire)
Use this hook to allow extensions to set a default password expiration.1.35bool|void True or no retur...
onSpecialUploadComplete( $form)
This hook is called after successfully uploading a file from Special:Upload.1.35bool|void True or no ...
onArticleViewFooter( $article, $patrolFooterShown)
This hook is called after showing the footer section of an ordinary page view.1.35bool|void True or n...
onParserOutputStashForEdit( $page, $content, $output, $summary, $user)
This hook is called when an edit stash parse finishes, before the output is cached....
onXmlDumpWriterOpenPage( $obj, &$out, $row, $title)
This hook is called at the end of XmlDumpWriter\openPage, to allow extra metadata to be added....
onUploadStashFile( $upload, $user, $props, &$error)
onMessagePostProcessText(&$value, $format, $key)
This hook is called after a message is formatted as a text format.Use this hook if you wish to post p...
onSpecialBlockModifyFormFields( $sp, &$fields)
Use this hook to add more fields to Special:Block.1.35bool|void True or no return value to continue o...
onUserEditCountUpdate( $infos)
This is called from a deferred update on edit or move and provides collected user edit count informat...
onArticleDeleteComplete( $wikiPage, $user, $reason, $id, $content, $logEntry, $archivedRevisionCount)
This hook is called after an article is deleted.1.35bool|void True or no return value to continue or ...
onUndeletePageToolLinks(IContextSource $context, LinkRenderer $linkRenderer, array &$links)
Use this hook to add one or more links to edit page subtitle when a page has been previously deleted....
onUploadForm_initial( $upload)
This hook is called before the upload form is generated.Extensions might set the member-variables $up...
onAutopromoteCondition( $type, $args, $user, &$result)
Use this hook to check autopromote condition for user.1.35bool|void True or no return value to contin...
onGitViewers(&$extTypes)
This hook is called when generating the list of git viewers for Special:Version, allowing you to modi...
onSpecialSearchSetupEngine( $search, $profile, $engine)
Use this hook for passing custom data to the search engine.1.35bool|void True or no return value to c...
onDeletedContribsPager__reallyDoQuery(&$data, $pager, $offset, $limit, $descending)
This hook is called before really executing the query for Special:DeletedContributions....
onGetHumanTimestamp(&$output, $timestamp, $relativeTo, $user, $lang)
Use this hook to preemptively override the human-readable timestamp generated by Language\getHumanTim...
onUserIsEveryoneAllowed( $right)
Use this hook to check if all users are allowed some user right; return false if a UserGetRights hook...
onEmailUserComplete( $to, $from, $subject, $text)
This hook is called after sending email from one user to another.1.35bool|void True or no return valu...
onSpecialListusersFormatRow(&$item, $row)
This hook is called right before the end of UsersPager\formatRow().1.35bool|void True or no return va...
onShowSearchHitTitle(&$title, &$titleSnippet, $result, $terms, $specialSearch, &$query, &$attributes)
Use this hook to customise display of search hit title/link.1.35bool|void True or no return value to ...
onUploadForm_getInitialPageText(&$pageText, $msg, $config)
This hook is called after the initial page text for file uploads is generated.It allows extensions to...
onEmailConfirmed( $user, &$confirmed)
This hook is called when checking that the user's email address is "confirmed".This runs before the o...
onLocalisationCacheRecache( $cache, $code, &$alldata, $unused)
Called when loading the localisation data into cache.1.35bool|void True or no return value to continu...
onChangeTagsListActive(&$tags)
Use this hook to nominate which of the tags your extension uses are in active use....
onNewDifferenceEngine( $title, &$oldId, &$newId, $old, $new)
This hook is called when a new DifferenceEngine object is made.1.35bool|void True or no return value ...
onUploadCreateFromRequest( $type, &$className)
This hook is called when UploadBase\createFromRequest has been called.1.35bool|void True or no return...
onLinkerGenerateRollbackLink( $revRecord, $context, $options, &$inner)
This hook is called before a rollback link is displayed to allow for customizing the appearance of th...
onBacklinkCacheGetConditions( $table, $title, &$conds)
Use this hook to set conditions for query when links to certain title are fetched....
onArticleRevisionVisibilitySet( $title, $ids, $visibilityChangeMap)
This hook is called when changing visibility of one or more revisions of an article....
onGetMetadataVersion(&$version)
Use this hook to modify the image metadata version currently in use.This is used when requesting imag...
onExtensionTypes(&$extTypes)
This hook is called when generating the extensions credits.Use this to change the tables headers....
onUserSetEmailAuthenticationTimestamp( $user, &$timestamp)
This hook is called when setting the timestamp of a User's email authentication.1....
onLocalisationCacheRecacheFallback( $cache, $code, &$alldata)
Called for each language when merging fallback data into the cache.1.35bool|void True or no return va...
onUnitTestsBeforeDatabaseTeardown()
This hook is called right before MediaWiki tears down its database infrastructure used for unit tests...
onLocalUserOptionsStoreSave(UserIdentity $user, array $oldOptions, array $newOptions)
This hook is called just after saving preferences in LocalUserOptionsStore.Hook handlers cannot modif...
onRenameUserWarning(string $oldUsername, string $newUsername, array &$warnings)
Called on Special:Renameuser before a user is renamed.Will show the given warnings to the user and as...
onSpecialStatsAddExtra(&$extraStats, $context)
Use this hook to add extra statistics at the end of Special:Statistics.1.35; can be an array with the...
onUserMailerTransformContent( $to, $from, &$body, &$error)
This hook is called in UserMailer\send() to change email contents.1.35bool|void True or no return val...
onTitleExists( $title, &$exists)
This hook is called when determining whether a page exists at a given title.1.35bool|void True or no ...
onUserGroupsChanged( $user, $added, $removed, $performer, $reason, $oldUGMs, $newUGMs)
This hook is called after user groups are changed.1.35bool|void True or no return value to continue o...
onLinkTargetIsAlwaysKnownBatch(array $links, array &$isAlwaysKnown)
This hook is called when determining if a page exist in batched.Use this hook to override default beh...
onSearchDataForIndex2(array &$fields, ContentHandler $handler, WikiPage $page, ParserOutput $output, SearchEngine $engine, RevisionRecord $revision)
Use this hook to add data to search document.Allows you to add any data to the field map used to inde...
onPageHistoryLineEnding( $historyAction, &$row, &$s, &$classes, &$attribs)
This hook is called right before the <li> is generated for a history line.1.35bool|void True or no re...
onEditPageGetCheckboxesDefinition( $editpage, &$checkboxes)
Use this hook to modify the edit checkboxes and other form fields below the textarea in the edit form...
onHistoryPageToolLinks(IContextSource $context, LinkRenderer $linkRenderer, array &$links)
Use this hook to add one or more links to revision history page subtitle.1.35bool|void True or no ret...
onSpecialWhatLinksHereBacklinkQuery(SpecialWhatLinksHereBacklinkQueryData $data, SelectQueryBuilder $queryBuilder)
Use this hook to filter the backlink query used by Special:WhatLinksHere.Implement the SpecialPageBef...
onContentGetParserOutput( $content, $title, $revId, $options, $generateHtml, &$parserOutput)
Use this hook to customize parser output for a given content object.This hook is called by AbstractCo...
onContributionsLineEnding( $page, &$ret, $row, &$classes, &$attribs)
This hook is called before a contributions HTML line is finished.1.35bool|void True or no return valu...
onUserMailerTransformMessage( $to, $from, &$subject, &$headers, &$body, &$error)
This hook is called in UserMailer\send() to change email after it has gone through the MIME transform...
onCategoryViewer__doCategoryQuery( $type, $res)
This hook is called after querying for pages to be displayed in a Category page.Use this hook to batc...
onSpecialPageBeforeFormDisplay( $name, $form)
This hook is called before executing the HTMLForm object.1.35bool|void True or no return value to con...
onEditPage__attemptSave_after( $editpage_Obj, $status, $resultDetails)
This hook is called after an article save attempt.1.35bool|void True or no return value to continue o...
onThumbnailBeforeProduceHTML( $thumbnail, &$attribs, &$linkAttribs)
This hook is called before an image HTML is about to be rendered (by ThumbnailImage:toHtml method)....
onSaveUserOptions(UserIdentity $user, array &$modifiedOptions, array $originalOptions)
This hook is called just before saving user preferences.Hook handlers can either add or manipulate op...
onSessionMetadata( $backend, &$metadata, $requests)
Use this hook to add metadata to a session being saved.1.35bool|void True or no return value to conti...
onArticleViewHeader( $article, &$outputDone, &$pcache)
Use this hook to control article output.This hook is called before the parser cache is about to be tr...
onFileDeleteComplete( $file, $oldimage, $article, $user, $reason)
This hook is called when a file is deleted.1.35bool|void True or no return value to continue or false...
onUnblockUserComplete( $block, $user)
This hook is called after an IP address or user has been unblocked.1.35bool|void True or no return va...
onChangeUserGroups( $performer, $user, &$add, &$remove)
This hook is called before user groups are changed.1.35bool|void True or no return value to continue ...
onOldChangesListRecentChangesLine( $changeslist, &$s, $rc, &$classes, &$attribs)
Use this hook to customize a recent changes line.1.35bool|void True or no return value to continue,...
onRollbackComplete( $wikiPage, $user, $revision, $current)
After an article rollback is completed.1.35bool|void True or no return value to continue or false to ...
onLoginFormValidErrorMessages(array &$messages)
This hook is called in LoginHelper::getValidErrorMessages before returning the list of message keys t...
onJsonValidateSave(JsonContent $content, PageIdentity $pageIdentity, StatusValue $status)
Use this hook to add additional validations for JSON content pages.This hook is only called if JSON s...
onSpecialSearchGoResult( $term, $title, &$url)
Use this hook to alter the behaviour of the 'go' feature when searching.If a hook returns false the '...
onPageHistoryBeforeList( $article, $context)
This hook is called when a history page list is about to be constructed.1.35bool|void True or no retu...
onUserArrayFromResult(&$userArray, $res)
This hook is called when creating an UserArray object from a database result.1.35bool|void True or no...
onAuthenticationAttemptThrottled(string $type, ?string $username, ?string $ip)
This hook is called when a Throttler has throttled an authentication attempt.An authentication attemp...
onSpecialLogGetSubpagesForPrefixSearch(IContextSource $context, array &$subpages)
Hook for intercepting and changing the list of suggested log types when typing "Special:Log" in the s...
onGetLocalURL__Internal( $title, &$url, $query)
Use this hook to modify local URLs to internal pages.1.35bool|void True or no return value to continu...
onBacklinkCacheGetPrefix( $table, &$prefix)
Use this hook to set a prefix for a specific link table.1.35bool|void True or no return value to cont...
onConvertContent( $content, $toModel, $lossy, &$result)
This hook is called by AbstractContent\convert when a conversion to another content model is requeste...
onBeforePageRedirect( $out, &$redirect, &$code)
This hook is called prior to sending an HTTP redirect.Gives a chance to override how the redirect is ...
onArticleShowPatrolFooter( $article)
This hook is called at the beginning of Article\showPatrolFooter.Use this hook to not show the [mark ...
onParserLimitReportPrepare( $parser, $output)
This hook is called at the end of Parser:parse() when the parser will include comments about size of ...
onGetCacheVaryCookies( $out, &$cookies)
Use this hook to get cookies that should vary cache options.1.35bool|void True or no return value to ...
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...
onLocalUserCreated( $user, $autocreated)
This hook is called when a local user has been created.After this hook User\saveSettings is called to...
onPageHistoryPager__getQueryInfo( $pager, &$queryInfo)
This hook is called when a history pager query parameter set is constructed.1.35bool|void True or no ...
onArticlePurge( $wikiPage)
This hook is called before executing "&action=purge".1.35bool|void True or no return value to continu...
onArticleProtect( $wikiPage, $user, $protect, $reason)
This hook is called before an article is protected.1.35bool|void True or no return value to continue ...
onMarkPatrolledComplete( $rcid, $user, $wcOnlySysopsCanPatrol, $auto)
This hook is called after an edit is marked patrolled.1.35Since 1.47 - Use MarkPatrolledAuditHook ins...
onFetchChangesList( $user, $skin, &$list, $groups)
This hook is called when fetching the ChangesList derivative for a particular user....
onPageRenderingHash(&$confstr, $user, &$forOptions)
NOTE: Consider using ParserOptionsRegister instead.Use this hook to alter the parser cache option has...
onImagePageFindFile( $page, &$file, &$displayFile)
This hook is called when fetching the file associated with an image page.1.35bool|void True or no ret...
onInterwikiLoadPrefix( $prefix, &$iwData)
This hook is called when resolving whether a given prefix is an interwiki or not.1....
onSearchDataForIndex(&$fields, $handler, $page, $output, $engine)
Use this hook to add data to search document.Allows you to add any data to the field map used to inde...
onDifferenceEngineOldHeader( $differenceEngine, &$oldHeader, $prevlink, $oldminor, $diffOnly, $ldel, $unhide)
Use this hook to change the $oldHeader variable, which contains information about the old revision,...
onMessageCacheFetchOverrides(array &$messages)
This hook is called to fetch overrides.Use this hook to override message keys for customisations....
onPageMoveComplete( $old, $new, $user, $pageid, $redirid, $reason, $revision)
This hook is called after moving an article (title), post-commit.1.35bool|void True or no return valu...
onParserModifyImageHTML(Parser $parser, File $file, array $params, string &$html)
This hook is called for each image added to parser output, with its associated HTML as returned from ...
onWebRequestPathInfoRouter( $router)
This hook is called while building the MediaWiki\Request\PathRouter to parse the REQUEST_URI....
onOutputPageCheckLastModified(&$modifiedTimes, $out)
This hook is called when checking if the page has been modified since the last visit....
onUserGetEmail( $user, &$email)
This hook is called when getting an user email address.1.35bool|void True or no return value to conti...
onNamespaceIsMovable( $index, &$result)
This hook is called when determining if it is possible to move pages in a namespace....
onSkinPreloadExistence(&$titles, $skin)
Use this hook to supply titles that should be added to link existence cache before the page is render...
onRenameUserComplete(int $uid, string $old, string $new)
Called after a user was renamed.
onSpecialListusersHeader( $pager, &$out)
This hook is called after adding the submit button in UsersPager\getPageHeader().1....
onListDefinedTags(&$tags)
This hook is called when trying to find all defined tags.1.35bool|void True or no return value to con...
onAuthChangeFormFields( $requests, $fieldInfo, &$formDescriptor, $action)
This hook is called after converting a field information array obtained from a set of AuthenticationR...
onCategoryAfterPageAdded( $category, $wikiPage)
This hook is called after a page is added to a category.1.35bool|void True or no return value to cont...
onMessageCache__get(&$key)
This hook is called when fetching a message.Use this hook to override the key for customisations....
onUserRemoveGroup( $user, &$group)
This hook is called when removing a group.1.35bool|void True or no return value to continue or false ...
onImagePageAfterImageLinks( $imagePage, &$html)
This hook is called after the image links section on an image page is built.1.35bool|void True or no ...
onCanonicalNamespaces(&$namespaces)
Use this hook to add namespaces or alter the defaults.Note that if you need to specify namespace prot...
onIsValidPassword( $password, &$result, $user)
Use this hook to override the result of User\isValidPassword().1.35bool|void True or no return value ...
onUploadForm_BeforeProcessing( $upload)
This hook is called at the beginning of processUpload().Lets you poke at member variables like $mUplo...
onArticleDeleteAfterSuccess( $title, $outputPage)
Use this hook to modify the output after an article has been deleted.1.35bool|void True or no return ...
onHtmlPageLinkRendererEnd( $linkRenderer, $target, $isKnown, &$text, &$attribs, &$ret)
This hook is called when generating internal and interwiki links in LinkRenderer, just before the fun...
onUserGetDefaultOptions(&$defaultOptions)
This hook is called after fetching core default user options but before returning the options....
onContentHandlerDefaultModelFor( $title, &$model)
This hook is called when the default content model is determined for a given title....
onGetInternalURL( $title, &$url, $query)
Use this hook to modify fully-qualified URLs used for squid cache purging.1.35bool|void True or no re...
onSkinTemplateGetLanguageLink(&$languageLink, $languageLinkTitle, $title, $outputPage)
This hook is called after building the data for a language link from which the actual html is constru...
onWfShellWikiCmd(&$script, &$parameters, &$options)
This hook is called when generating a shell-escaped command line string to run a MediaWiki CLI script...
onRenameUserAbort(int $uid, string $old, string $new)
Allows the renaming to be aborted.bool|void
onSpecialRandomGetRandomTitle(&$randstr, &$isRedir, &$namespaces, &$extra, &$title)
This hook is called during the execution of Special:Random,.Use this to change some selection criteri...
onCategoryPageView( $catpage)
This hook is called before viewing a categorypage in CategoryPage\view.1.35bool|void True or no retur...
onSearchResultInitFromTitle( $title, &$id)
Use this hook to set the revision used when displaying a page in search results.1....
onLinkerMakeExternalImage(&$url, &$alt, &$img)
This hook is called at the end of Linker\makeExternalImage() just before the return....
onSpecialWhatLinksHereQuery( $table, $data, $queryBuilder)
Use this hook to modify the query used by Special:WhatLinksHere.Implement the SpecialPageBeforeFormDi...
onGetNewMessagesAlert(&$newMessagesAlert, $newtalks, $user, $out)
Use this hook to disable or modify the new messages alert.1.35bool|void True or no return value to co...
onUserLoggedIn( $user)
This hook is called after a user is logged in or reauthenticated for elevated security....
onGetLinkColours( $linkcolour_ids, &$colours, $title)
Use this hook to modify the CSS class of an array of page links.1.35bool|void True or no return value...
onParserCloned( $parser)
This hook is called when the parser is cloned.1.35bool|void True or no return value to continue or fa...
onEnhancedChangesListModifyBlockLineData( $changesList, &$data, $rc)
Use this hook to alter data used to build a non-grouped recent change line in EnhancedChangesList....
onWgQueryPages(&$qp)
This hook is called when initialising list of QueryPage subclasses.Use this hook to add new query pag...
Class that generates HTML for internal links.
Class for creating new log entries and inserting them into the database.
Represent and format a single name and email address pair for SMTP.
The Message class deals with fetching and processing of interface message into a variety of formats.
Definition Message.php:144
This is one of the Core classes and should be read at least once by any new developers.
Legacy class representing an editable page and handling UI for some page actions.
Definition Article.php:65
Base representation for an editable wiki page.
Definition WikiPage.php:83
Set options of the Parser.
ParserOutput is a rendering of a Content object or a message.
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition Parser.php:139
A StatusValue for permission errors.
Class which performs the actual renaming of users.
Page revision base class.
Manages data for an authenticated session.
Definition Session.php:38
The base class for all skins.
Definition Skin.php:54
Parent class for all special pages.
Context for filtering the backlink query used by Special:WhatLinksHere.
Represents a title within MediaWiki.
Definition Title.php:69
User class for the MediaWiki software.
Definition User.php:129
Build SELECT queries with a fluent interface.
return[ 'config-schema-inverse'=>['default'=>['ConfigRegistry'=>['main'=> 'MediaWiki\\Config\\GlobalVarConfig::newInstance',], 'Sitename'=> 'MediaWiki', 'Server'=> false, 'CanonicalServer'=> false, 'ServerName'=> false, 'AssumeProxiesUseDefaultProtocolPorts'=> true, 'HttpsPort'=> 443, 'ForceHTTPS'=> false, 'ScriptPath'=> '/wiki', 'UsePathInfo'=> null, 'Script'=> false, 'LoadScript'=> false, 'RestPath'=> false, 'StylePath'=> false, 'LocalStylePath'=> false, 'ExtensionAssetsPath'=> false, 'ExtensionDirectory'=> null, 'StyleDirectory'=> null, 'ArticlePath'=> false, 'UploadPath'=> false, 'ImgAuthPath'=> false, 'ThumbPath'=> false, 'UploadDirectory'=> false, 'FileCacheDirectory'=> false, 'Logo'=> false, 'Logos'=> false, 'Favicon'=> '/favicon.ico', 'AppleTouchIcon'=> false, 'ReferrerPolicy'=> false, 'TmpDirectory'=> false, 'UploadBaseUrl'=> '', 'UploadStashScalerBaseUrl'=> false, 'ActionPaths'=>[], 'MainPageIsDomainRoot'=> false, 'EnableUploads'=> false, 'UploadStashMaxAge'=> 21600, 'EnableAsyncUploads'=> false, 'EnableAsyncUploadsByURL'=> false, 'EnableChunkedUploads'=> false, 'UploadMaintenance'=> false, 'IllegalFileChars'=> ':\\/\\\\', 'DeletedDirectory'=> false, 'ImgAuthDetails'=> false, 'ImgAuthUrlPathMap'=>[], 'LocalFileRepo'=>['class'=> 'MediaWiki\\FileRepo\\LocalRepo', 'name'=> 'local', 'directory'=> null, 'scriptDirUrl'=> null, 'favicon'=> null, 'url'=> null, 'hashLevels'=> null, 'thumbScriptUrl'=> null, 'transformVia404'=> null, 'deletedDir'=> null, 'deletedHashLevels'=> null, 'updateCompatibleMetadata'=> null, 'reserializeMetadata'=> null,], 'ForeignFileRepos'=>[], 'UseInstantCommons'=> false, 'UseSharedUploads'=> false, 'SharedUploadDirectory'=> null, 'SharedUploadPath'=> null, 'HashedSharedUploadDirectory'=> true, 'RepositoryBaseUrl'=> 'https:'FetchCommonsDescriptions'=> false, 'SharedUploadDBname'=> false, 'SharedUploadDBprefix'=> '', 'SharedUploadDBschema'=> null, 'CacheSharedUploads'=> true, 'ForeignUploadTargets'=>['local',], 'UploadDialog'=>['fields'=>['description'=> true, 'date'=> false, 'categories'=> false,], 'licensemessages'=>['local'=> 'generic-local', 'foreign'=> 'generic-foreign',], 'comment'=>['local'=> '', 'foreign'=> '',], 'format'=>['filepage'=> ' $DESCRIPTION', 'description'=> ' $TEXT', 'ownwork'=> '', 'license'=> '', 'uncategorized'=> '',],], 'FileBackends'=>[], 'LockManagers'=>[], 'DefaultLockManager'=> null, 'ShowEXIF'=> null, 'UpdateCompatibleMetadata'=> false, 'AllowCopyUploads'=> false, 'CopyUploadsDomains'=>[], 'CopyUploadsFromSpecialUpload'=> false, 'CopyUploadProxy'=> false, 'CopyUploadTimeout'=> false, 'CopyUploadAllowOnWikiDomainConfig'=> false, 'MaxUploadSize'=> 104857600, 'MinUploadChunkSize'=> 1024, 'UploadNavigationUrl'=> false, 'UploadMissingFileUrl'=> false, 'ThumbnailScriptPath'=> false, 'SharedThumbnailScriptPath'=> false, 'HashedUploadDirectory'=> true, 'CSPUploadEntryPoint'=> true, 'FileExtensions'=>['png', 'gif', 'jpg', 'jpeg', 'webp',], 'ProhibitedFileExtensions'=>['html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht', 'php', 'phtml', 'php3', 'php4', 'php5', 'phps', 'phar', 'shtml', 'jhtml', 'pl', 'py', 'cgi', 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl', 'xml',], 'MimeTypeExclusions'=>['text/html', 'application/javascript', 'text/javascript', 'text/x-javascript', 'application/x-shellscript', 'application/x-php', 'text/x-php', 'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh', 'text/scriptlet', 'application/x-msdownload', 'application/x-msmetafile', 'application/java', 'application/xml', 'text/xml',], 'CheckFileExtensions'=> true, 'StrictFileExtensions'=> true, 'DisableUploadScriptChecks'=> false, 'UploadSizeWarning'=> false, 'TrustedMediaFormats'=>['BITMAP', 'AUDIO', 'VIDEO', 'image/svg+xml', 'application/pdf',], 'MediaHandlers'=>[], 'NativeImageLazyLoading'=> true, 'ParserTestMediaHandlers'=>['image/jpeg'=> 'MockBitmapHandler', 'image/png'=> 'MockBitmapHandler', 'image/gif'=> 'MockBitmapHandler', 'image/tiff'=> 'MockBitmapHandler', 'image/webp'=> 'MockBitmapHandler', 'image/x-ms-bmp'=> 'MockBitmapHandler', 'image/x-bmp'=> 'MockBitmapHandler', 'image/x-xcf'=> 'MockBitmapHandler', 'image/svg+xml'=> 'MockSvgHandler', 'image/vnd.djvu'=> 'MockDjVuHandler',], 'UseImageResize'=> true, 'UseImageMagick'=> false, 'ImageMagickConvertCommand'=> '/usr/bin/convert', 'MaxInterlacingAreas'=>[], 'SharpenParameter'=> '0x0.4', 'SharpenReductionThreshold'=> 0.85, 'ImageMagickTempDir'=> false, 'CustomConvertCommand'=> false, 'JpegTran'=> '/usr/bin/jpegtran', 'JpegPixelFormat'=> 'yuv420', 'JpegQuality'=> 80, 'Exiv2Command'=> '/usr/bin/exiv2', 'Exiftool'=> '/usr/bin/exiftool', 'SVGConverters'=>['ImageMagick'=> ' $path/convert -background "#ffffff00" -thumbnail $widthx$height\\! $input PNG:$output', 'inkscape'=> ' $path/inkscape -w $width -o $output $input', 'batik'=> 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input', 'rsvg'=> ' $path/rsvg-convert -w $width -h $height -l $lang -o $output $input', 'ImagickExt'=>['SvgHandler::rasterizeImagickExt',],], 'SVGConverter'=> 'ImageMagick', 'SVGConverterPath'=> '', 'SVGMaxSize'=> 5120, 'SVGMetadataCutoff'=> 5242880, 'SVGNativeRendering'=> true, 'SVGNativeRenderingSizeLimit'=> 51200, 'MediaInTargetLanguage'=> true, 'MaxImageArea'=> 12500000, 'MaxAnimatedGifArea'=> 12500000, 'MaxAnimatedWebPArea'=> 12500000, 'TiffThumbnailType'=>[], 'ThumbnailEpoch'=> '20030516000000', 'AttemptFailureEpoch'=> 1, 'IgnoreImageErrors'=> false, 'GenerateThumbnailOnParse'=> true, 'ShowArchiveThumbnails'=> true, 'EnableAutoRotation'=> null, 'Antivirus'=> null, 'AntivirusSetup'=>['clamav'=>['command'=> 'clamscan --no-summary ', 'codemap'=>[0=> 0, 1=> 1, 52=> -1, ' *'=> false,], 'messagepattern'=> '/.*?:(.*)/sim',],], 'AntivirusRequired'=> true, 'VerifyMimeType'=> true, 'MimeTypeFile'=> 'internal', 'MimeInfoFile'=> 'internal', 'MimeDetectorCommand'=> null, 'TrivialMimeDetection'=> false, 'XMLMimeTypes'=>['http:'svg'=> 'image/svg+xml', 'http:'http:'html'=> 'text/html',], 'ImageLimits'=>[[320, 240,], [640, 480,], [800, 600,], [1024, 768,], [1280, 1024,], [2560, 2048,],], 'ThumbLimits'=>[120, 150, 180, 200, 220, 250, 300, 400,], 'ThumbnailNamespaces'=>[6,], 'ThumbnailSteps'=> null, 'ThumbnailBuckets'=> null, 'ThumbnailMinimumBucketDistance'=> 50, 'UploadThumbnailRenderMap'=>[], 'UploadThumbnailRenderMethod'=> 'jobqueue', 'UploadThumbnailRenderHttpCustomHost'=> false, 'UploadThumbnailRenderHttpCustomDomain'=> false, 'UseTinyRGBForJPGThumbnails'=> false, 'GalleryOptions'=>[], 'ThumbUpright'=> 0.75, 'DirectoryMode'=> 511, 'ResponsiveImages'=> true, 'ImagePreconnect'=> false, 'TrackMediaRequestProvenance'=> false, 'DjvuUseBoxedCommand'=> false, 'DjvuDump'=> null, 'DjvuRenderer'=> null, 'DjvuTxt'=> null, 'DjvuPostProcessor'=> 'pnmtojpeg', 'DjvuOutputExtension'=> 'jpg', 'EmergencyContact'=> false, 'PasswordSender'=> false, 'NoReplyAddress'=> false, 'EnableEmail'=> true, 'EnableUserEmail'=> true, 'UserEmailUseReplyTo'=> true, 'PasswordReminderResendTime'=> 24, 'NewPasswordExpiry'=> 604800, 'UserEmailConfirmationTokenExpiry'=> 604800, 'PasswordExpirationDays'=> false, 'PasswordExpireGrace'=> 604800, 'SMTP'=> false, 'AdditionalMailParams'=> null, 'AllowHTMLEmail'=> false, 'EnotifFromEditor'=> false, 'EmailAuthentication'=> true, 'EmailConfirmationBanner'=> false, 'EnotifWatchlist'=> false, 'EnotifUserTalk'=> false, 'EnotifRevealEditorAddress'=> false, 'EnotifMinorEdits'=> true, 'EnotifUseRealName'=> false, 'UsersNotifiedOnAllChanges'=>[], 'DBname'=> 'my_wiki', 'DBmwschema'=> null, 'DBprefix'=> '', 'DBserver'=> 'localhost', 'DBport'=> 5432, 'DBuser'=> 'wikiuser', 'DBpassword'=> '', 'DBtype'=> 'mysql', 'DBssl'=> false, 'DBcompress'=> false, 'DBStrictWarnings'=> false, 'DBadminuser'=> null, 'DBadminpassword'=> null, 'SearchType'=> null, 'SearchTypeAlternatives'=> null, 'DBTableOptions'=> 'ENGINE=InnoDB, DEFAULT CHARSET=binary', 'SQLMode'=> '', 'SQLiteDataDir'=> '', 'SharedDB'=> null, 'SharedPrefix'=> false, 'SharedTables'=>['user', 'user_properties', 'user_autocreate_serial',], 'SharedSchema'=> false, 'DBservers'=> false, 'LBFactoryConf'=>['class'=> 'Wikimedia\\Rdbms\\LBFactorySimple',], 'DataCenterUpdateStickTTL'=> 10, 'DBerrorLog'=> false, 'DBerrorLogTZ'=> false, 'LocalDatabases'=>[], 'DatabaseReplicaLagWarning'=> 10, 'DatabaseReplicaLagCritical'=> 30, 'MaxExecutionTimeForExpensiveQueries'=> 0, 'VirtualDomainsMapping'=>[], 'RemoteVirtualDomainsMapping'=>[], 'FileSchemaMigrationStage'=> 3, 'ExternalLinksDomainGaps'=>[], 'ContentHandlers'=>['wikitext'=>['class'=> 'MediaWiki\\Content\\WikitextContentHandler', 'services'=>['TitleFactory', 'ParserFactory', 'GlobalIdGenerator', 'LanguageNameUtils', 'LinkRenderer', 'MagicWordFactory', 'ParsoidParserFactory',],], 'javascript'=>['class'=> 'MediaWiki\\Content\\JavaScriptContentHandler', 'services'=>['MainConfig', 'ParserFactory', 'UserOptionsLookup', 'CodeHighlighter',],], 'json'=>['class'=> 'MediaWiki\\Content\\JsonContentHandler', 'services'=>['ParsoidParserFactory', 'TitleFactory',],], 'css'=>['class'=> 'MediaWiki\\Content\\CssContentHandler', 'services'=>['MainConfig', 'ParserFactory', 'UserOptionsLookup', 'CodeHighlighter',],], 'vue'=>['class'=> 'MediaWiki\\Content\\VueContentHandler', 'services'=>['MainConfig', 'ParserFactory', 'CodeHighlighter',],], 'text'=> 'MediaWiki\\Content\\TextContentHandler', 'unknown'=> 'MediaWiki\\Content\\FallbackContentHandler',], 'NamespaceContentModels'=>[], 'TextModelsToParse'=>['wikitext', 'javascript', 'css',], 'CompressRevisions'=> false, 'ExternalStores'=>[], 'ExternalServers'=>[], 'DefaultExternalStore'=> false, 'RevisionCacheExpiry'=> 604800, 'PageLanguageUseDB'=> false, 'DiffEngine'=> null, 'ExternalDiffEngine'=> false, 'Wikidiff2Options'=>[], 'RequestTimeLimit'=> null, 'TransactionalTimeLimit'=> 120, 'CriticalSectionTimeLimit'=> 180.0, 'MiserMode'=> false, 'DisableQueryPages'=> false, 'QueryCacheLimit'=> 1000, 'WantedPagesThreshold'=> 1, 'AllowSlowParserFunctions'=> false, 'AllowSchemaUpdates'=> true, 'MaxArticleSize'=> 2048, 'MemoryLimit'=> '50M', 'PoolCounterConf'=> null, 'PoolCountClientConf'=>['servers'=>['127.0.0.1',], 'timeout'=> 0.1,], 'MaxUserDBWriteDuration'=> false, 'MaxJobDBWriteDuration'=> false, 'LinkHolderBatchSize'=> 1000, 'MaximumMovedPages'=> 100, 'ForceDeferredUpdatesPreSend'=> false, 'MultiShardSiteStats'=> false, 'CacheDirectory'=> false, 'MainCacheType'=> 0, 'MessageCacheType'=> -1, 'ParserCacheType'=> -1, 'SessionCacheType'=> -1, 'AnonSessionCacheType'=> false, 'LanguageConverterCacheType'=> -1, 'ObjectCaches'=>[0=>['class'=> 'Wikimedia\\ObjectCache\\EmptyBagOStuff', 'reportDupes'=> false,], 1=>['class'=> 'MediaWiki\\ObjectCache\\SqlBagOStuff', 'loggroup'=> 'SQLBagOStuff',], 'memcached-php'=>['class'=> 'Wikimedia\\ObjectCache\\MemcachedPhpBagOStuff', 'loggroup'=> 'memcached',], 'memcached-pecl'=>['class'=> 'Wikimedia\\ObjectCache\\MemcachedPeclBagOStuff', 'loggroup'=> 'memcached',], 'hash'=>['class'=> 'Wikimedia\\ObjectCache\\HashBagOStuff', 'reportDupes'=> false,], 'apc'=>['class'=> 'Wikimedia\\ObjectCache\\APCUBagOStuff', 'reportDupes'=> false,], 'apcu'=>['class'=> 'Wikimedia\\ObjectCache\\APCUBagOStuff', 'reportDupes'=> false,],], 'WANObjectCache'=>[], 'MicroStashType'=> -1, 'MainStash'=> 1, 'ParsoidCacheConfig'=>['StashType'=> null, 'StashDuration'=> 86400,], 'ParsoidSelectiveUpdateSampleRate'=> 0, 'SplitParsoidParserCache'=> false, 'ParserCacheFilterConfig'=>['pcache'=>['default'=>['minCpuTime'=> 0,],], 'postproc-pcache'=>['default'=>['minCpuTime'=> 9223372036854775807,],], 'parsoid-pcache'=>['default'=>['minCpuTime'=> 0,],], 'postproc-parsoid-pcache'=>['default'=>['minCpuTime'=> 0,],],], 'ChronologyProtectorSecret'=> '', 'ParserCacheExpireTime'=> 86400, 'ParserCacheAsyncExpireTime'=> 60, 'ParserCacheAsyncRefreshJobs'=> true, 'OldRevisionParserCacheExpireTime'=> 3600, 'ObjectCacheSessionExpiry'=> 3600, 'SuspiciousIpExpiry'=> false, 'SessionPbkdf2Iterations'=> 10001, 'UseSessionCookieJwt'=> false, 'JwtSessionCookieIssuer'=> null, 'MemCachedServers'=>['127.0.0.1:11211',], 'MemCachedPersistent'=> false, 'MemCachedTimeout'=> 500000, 'UseLocalMessageCache'=> false, 'AdaptiveMessageCache'=> false, 'LocalisationCacheConf'=>['class'=> 'MediaWiki\\Language\\LocalisationCache', 'store'=> 'detect', 'storeClass'=> false, 'storeDirectory'=> false, 'storeServer'=>[], 'forceRecache'=> false, 'manualRecache'=> false,], 'CachePages'=> true, 'CacheEpoch'=> '20030516000000', 'GitInfoCacheDirectory'=> false, 'UseFileCache'=> false, 'FileCacheDepth'=> 2, 'RenderHashAppend'=> '', 'EnableSidebarCache'=> false, 'SidebarCacheExpiry'=> 86400, 'UseGzip'=> false, 'InvalidateCacheOnLocalSettingsChange'=> true, 'ExtensionInfoMTime'=> false, 'EnableRemoteBagOStuffTests'=> false, 'UseCdn'=> false, 'VaryOnXFP'=> false, 'InternalServer'=> false, 'CdnMaxAge'=> 18000, 'CdnMaxageLagged'=> 30, 'CdnMaxageStale'=> 10, 'CdnReboundPurgeDelay'=> 0, 'CdnMaxageSubstitute'=> 60, 'CdnServers'=>[], 'CdnServersNoPurge'=>[], 'HTCPRouting'=>[], 'HTCPMulticastTTL'=> 1, 'UsePrivateIPs'=> false, 'CdnMatchParameterOrder'=> true, 'LanguageCode'=> 'en', 'GrammarForms'=>[], 'InterwikiMagic'=> true, 'HideInterlanguageLinks'=> false, 'ExtraInterlanguageLinkPrefixes'=>[], 'InterlanguageLinkCodeMap'=>[], 'ExtraLanguageNames'=>[], 'ExtraLanguageCodes'=>['bh'=> 'bho', 'no'=> 'nb', 'simple'=> 'en',], 'DummyLanguageCodes'=>[], 'AllUnicodeFixes'=> false, 'LegacyEncoding'=> false, 'AmericanDates'=> false, 'TranslateNumerals'=> true, 'UseDatabaseMessages'=> true, 'MaxMsgCacheEntrySize'=> 10000, 'DisableLangConversion'=> false, 'DisableTitleConversion'=> false, 'DefaultLanguageVariant'=> false, 'UsePigLatinVariant'=> false, 'DisabledVariants'=>[], 'VariantArticlePath'=> false, 'UseXssLanguage'=> false, 'LoginLanguageSelector'=> false, 'ForceUIMsgAsContentMsg'=>[], 'RawHtmlMessages'=>[], 'Localtimezone'=> null, 'LocalTZoffset'=> null, 'OverrideUcfirstCharacters'=>[], 'MimeType'=> 'text/html', 'Html5Version'=> null, 'EditSubmitButtonLabelPublish'=> false, 'XhtmlNamespaces'=>[], 'SiteNotice'=> '', 'BrowserFormatDetection'=> 'telephone=no', 'SkinMetaTags'=>[], 'DefaultSkin'=> 'vector-2022', 'FallbackSkin'=> 'fallback', 'SkipSkins'=>[], 'DisableOutputCompression'=> false, 'FragmentMode'=>['html5', 'legacy',], 'ExternalInterwikiFragmentMode'=> 'legacy', 'FooterIcons'=>['copyright'=>['copyright'=>[],], 'poweredby'=>['mediawiki'=>['src'=> null, 'url'=> 'https:'alt'=> 'Powered by MediaWiki', 'lang'=> 'en',],],], 'EnableSectionShare'=> false, 'PageShareSkinsEnabled'=>[], 'UseCombinedLoginLink'=> false, 'Edititis'=> false, 'Send404Code'=> true, 'ShowRollbackEditCount'=> 10, 'EnableCanonicalServerLink'=> false, 'InterwikiLogoOverride'=>[], 'ResourceModules'=>[], 'ResourceModuleSkinStyles'=>[], 'ResourceLoaderSources'=>[], 'ResourceBasePath'=> null, 'ResourceLoaderMaxage'=>[], 'ResourceLoaderDebug'=> false, 'ResourceLoaderMaxQueryLength'=> false, 'ResourceLoaderValidateJS'=> true, 'ResourceLoaderEnableJSProfiler'=> false, 'ResourceLoaderStorageEnabled'=> true, 'ResourceLoaderStorageVersion'=> 1, 'ResourceLoaderEnableSourceMapLinks'=> true, 'AllowSiteCSSOnRestrictedPages'=> false, 'VueDevelopmentMode'=> false, 'CodexDevelopmentDir'=> null, 'MetaNamespace'=> false, 'MetaNamespaceTalk'=> false, 'CanonicalNamespaceNames'=>[-2=> 'Media', -1=> 'Special', 0=> '', 1=> 'Talk', 2=> 'User', 3=> 'User_talk', 4=> 'Project', 5=> 'Project_talk', 6=> 'File', 7=> 'File_talk', 8=> 'MediaWiki', 9=> 'MediaWiki_talk', 10=> 'Template', 11=> 'Template_talk', 12=> 'Help', 13=> 'Help_talk', 14=> 'Category', 15=> 'Category_talk',], 'ExtraNamespaces'=>[], 'ExtraGenderNamespaces'=>[], 'NamespaceAliases'=>[], 'LegalTitleChars'=> ' %!"$&\'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+', 'CapitalLinks' => true, 'CapitalLinkOverrides' => [ ], 'NamespacesWithSubpages' => [ 1 => true, 2 => true, 3 => true, 4 => true, 5 => true, 7 => true, 8 => true, 9 => true, 10 => true, 11 => true, 12 => true, 13 => true, 15 => true, ], 'NamespacesWithoutAutoSummaries' => [ ], 'ContentNamespaces' => [ 0, ], 'ShortPagesNamespaceExclusions' => [ ], 'ExtraSignatureNamespaces' => [ ], 'InvalidRedirectTargets' => [ 'Filepath', 'Mypage', 'Mytalk', 'Redirect', 'Mylog', ], 'DisableHardRedirects' => false, 'FixDoubleRedirects' => false, 'LocalInterwikis' => [ ], 'InterwikiExpiry' => 10800, 'InterwikiCache' => false, 'InterwikiScopes' => 3, 'InterwikiFallbackSite' => 'wiki', 'RedirectSources' => false, 'SiteTypes' => [ 'mediawiki' => 'MediaWiki\\Site\\MediaWikiSite', ], 'MaxTocLevel' => 999, 'MaxPPNodeCount' => 1000000, 'MaxTemplateDepth' => 100, 'MaxPPExpandDepth' => 100, 'UrlProtocols' => [ 'bitcoin:', 'ftp: 'ftps: 'geo:', 'git: 'gopher: 'http: 'https: 'irc: 'ircs: 'magnet:', 'mailto:', 'matrix:', 'mms: 'news:', 'nntp: 'redis: 'sftp: 'sip:', 'sips:', 'sms:', 'ssh: 'svn: 'tel:', 'telnet: 'urn:', 'wikipedia: 'worldwind: 'xmpp:', ' ], 'CleanSignatures' => true, 'AllowExternalImages' => false, 'AllowExternalImagesFrom' => '', 'EnableImageWhitelist' => false, 'TidyConfig' => [ ], 'ParsoidSettings' => [ 'useSelser' => true, ], 'ParsoidExperimentalParserFunctionOutput' => false, 'RawHtml' => false, 'ExternalLinkTarget' => false, 'NoFollowLinks' => true, 'NoFollowNsExceptions' => [ ], 'NoFollowDomainExceptions' => [ 'mediawiki.org', ], 'RegisterInternalExternals' => false, 'ExternalLinksIgnoreDomains' => [ ], 'AllowDisplayTitle' => true, 'RestrictDisplayTitle' => true, 'ExpensiveParserFunctionLimit' => 100, 'PreprocessorCacheThreshold' => 1000, 'EnableScaryTranscluding' => false, 'TranscludeCacheExpiry' => 3600, 'EnableMagicLinks' => [ 'ISBN' => false, 'PMID' => false, 'RFC' => false, ], 'ParserEnableUserLanguage' => false, 'ArticleCountMethod' => 'link', 'ActiveUserDays' => 30, 'LearnerEdits' => 10, 'LearnerMemberSince' => 4, 'ExperiencedUserEdits' => 500, 'ExperiencedUserMemberSince' => 30, 'ManualRevertSearchRadius' => 15, 'RevertedTagMaxDepth' => 15, 'CentralIdLookupProviders' => [ 'local' => [ 'class' => 'MediaWiki\\User\\CentralId\\LocalIdLookup', 'services' => [ 'MainConfig', 'DBLoadBalancerFactory', 'HideUserUtils', ], ], ], 'CentralIdLookupProvider' => 'local', 'UserRegistrationProviders' => [ 'local' => [ 'class' => 'MediaWiki\\User\\Registration\\LocalUserRegistrationProvider', 'services' => [ 'ConnectionProvider', ], ], ], 'PasswordPolicy' => [ 'policies' => [ 'bureaucrat' => [ 'MinimalPasswordLength' => 10, 'MinimumPasswordLengthToLogin' => 1, ], 'sysop' => [ 'MinimalPasswordLength' => 10, 'MinimumPasswordLengthToLogin' => 1, ], 'interface-admin' => [ 'MinimalPasswordLength' => 10, 'MinimumPasswordLengthToLogin' => 1, ], 'bot' => [ 'MinimalPasswordLength' => 10, 'MinimumPasswordLengthToLogin' => 1, ], 'default' => [ 'MinimalPasswordLength' => [ 'value' => 8, 'suggestChangeOnLogin' => true, ], 'PasswordCannotBeSubstringInUsername' => [ 'value' => true, 'suggestChangeOnLogin' => true, ], 'PasswordCannotMatchDefaults' => [ 'value' => true, 'suggestChangeOnLogin' => true, ], 'MaximalPasswordLength' => [ 'value' => 4096, 'suggestChangeOnLogin' => true, ], 'PasswordNotInCommonList' => [ 'value' => true, 'suggestChangeOnLogin' => true, ], ], ], 'checks' => [ 'MinimalPasswordLength' => [ 'MediaWiki\\Password\\PasswordPolicyChecks', 'checkMinimalPasswordLength', ], 'MinimumPasswordLengthToLogin' => [ 'MediaWiki\\Password\\PasswordPolicyChecks', 'checkMinimumPasswordLengthToLogin', ], 'PasswordCannotBeSubstringInUsername' => [ 'MediaWiki\\Password\\PasswordPolicyChecks', 'checkPasswordCannotBeSubstringInUsername', ], 'PasswordCannotMatchDefaults' => [ 'MediaWiki\\Password\\PasswordPolicyChecks', 'checkPasswordCannotMatchDefaults', ], 'MaximalPasswordLength' => [ 'MediaWiki\\Password\\PasswordPolicyChecks', 'checkMaximalPasswordLength', ], 'PasswordNotInCommonList' => [ 'MediaWiki\\Password\\PasswordPolicyChecks', 'checkPasswordNotInCommonList', ], ], ], 'AuthManagerConfig' => null, 'AuthManagerAutoConfig' => [ 'preauth' => [ 'MediaWiki\\Auth\\ThrottlePreAuthenticationProvider' => [ 'class' => 'MediaWiki\\Auth\\ThrottlePreAuthenticationProvider', 'sort' => 0, ], 'MediaWiki\\Auth\\PreviouslyRenamedAccountPreAuthenticationProvider' => [ 'class' => 'MediaWiki\\Auth\\PreviouslyRenamedAccountPreAuthenticationProvider', 'services' => [ 'ConnectionProvider', 'UserFactory', ], 'sort' => 0, ], ], 'primaryauth' => [ 'MediaWiki\\Auth\\TemporaryPasswordPrimaryAuthenticationProvider' => [ 'class' => 'MediaWiki\\Auth\\TemporaryPasswordPrimaryAuthenticationProvider', 'services' => [ 'DBLoadBalancerFactory', 'UserOptionsLookup', ], 'args' => [ [ 'authoritative' => false, ], ], 'sort' => 0, ], 'MediaWiki\\Auth\\LocalPasswordPrimaryAuthenticationProvider' => [ 'class' => 'MediaWiki\\Auth\\LocalPasswordPrimaryAuthenticationProvider', 'services' => [ 'DBLoadBalancerFactory', ], 'args' => [ [ 'authoritative' => true, ], ], 'sort' => 100, ], ], 'secondaryauth' => [ 'MediaWiki\\Auth\\CheckBlocksSecondaryAuthenticationProvider' => [ 'class' => 'MediaWiki\\Auth\\CheckBlocksSecondaryAuthenticationProvider', 'sort' => 0, ], 'MediaWiki\\Auth\\ResetPasswordSecondaryAuthenticationProvider' => [ 'class' => 'MediaWiki\\Auth\\ResetPasswordSecondaryAuthenticationProvider', 'sort' => 100, ], 'MediaWiki\\Auth\\EmailNotificationSecondaryAuthenticationProvider' => [ 'class' => 'MediaWiki\\Auth\\EmailNotificationSecondaryAuthenticationProvider', 'services' => [ 'DBLoadBalancerFactory', ], 'sort' => 200, ], ], ], 'RememberMe' => 'choose', 'ReauthenticateTime' => [ 'default' => 3600, ], 'ChangeCredentialsBlacklist' => [ 'MediaWiki\\Auth\\TemporaryPasswordAuthenticationRequest', ], 'RemoveCredentialsBlacklist' => [ 'MediaWiki\\Auth\\PasswordAuthenticationRequest', ], 'InvalidPasswordReset' => true, 'PasswordDefault' => 'pbkdf2', 'PasswordConfig' => [ 'A' => [ 'class' => 'MediaWiki\\Password\\MWOldPassword', ], 'B' => [ 'class' => 'MediaWiki\\Password\\MWSaltedPassword', ], 'pbkdf2-legacyA' => [ 'class' => 'MediaWiki\\Password\\LayeredParameterizedPassword', 'types' => [ 'A', 'pbkdf2', ], ], 'pbkdf2-legacyB' => [ 'class' => 'MediaWiki\\Password\\LayeredParameterizedPassword', 'types' => [ 'B', 'pbkdf2', ], ], 'bcrypt' => [ 'class' => 'MediaWiki\\Password\\BcryptPassword', 'cost' => 9, ], 'pbkdf2' => [ 'class' => 'MediaWiki\\Password\\Pbkdf2PasswordUsingOpenSSL', 'algo' => 'sha512', 'cost' => '30000', 'length' => '64', ], 'argon2' => [ 'class' => 'MediaWiki\\Password\\Argon2Password', 'algo' => 'auto', ], ], 'PasswordResetRoutes' => [ 'username' => true, 'email' => true, ], 'MaxSigChars' => 255, 'SignatureValidation' => 'warning', 'SignatureAllowedLintErrors' => [ 'obsolete-tag', ], 'MaxNameChars' => 255, 'ReservedUsernames' => [ 'MediaWiki default', 'Conversion script', 'Maintenance script', 'Template namespace initialisation script', 'ScriptImporter', 'Delete page script', 'Move page script', 'Command line script', 'Unknown user', 'msg:double-redirect-fixer', 'msg:usermessage-editor', 'msg:proxyblocker', 'msg:sorbs', 'msg:spambot_username', 'msg:autochange-username', ], 'DefaultUserOptions' => [ 'ccmeonemails' => 0, 'date' => 'default', 'diffonly' => 0, 'diff-type' => 'table', 'disablemail' => 0, 'editfont' => 'monospace', 'editondblclick' => 0, 'editrecovery' => 0, 'editsectiononrightclick' => 0, 'email-allow-new-users' => 1, 'enotifminoredits' => 0, 'enotifrevealaddr' => 0, 'enotifusertalkpages' => 1, 'enotifwatchlistpages' => 1, 'extendwatchlist' => 1, 'fancysig' => 0, 'forceeditsummary' => 0, 'forcesafemode' => 0, 'gender' => 'unknown', 'hidecategorization' => 1, 'hideminor' => 0, 'hidepatrolled' => 0, 'imagesize' => 2, 'minordefault' => 0, 'newpageshidepatrolled' => 0, 'nickname' => '', 'norollbackdiff' => 0, 'prefershttps' => 1, 'previewonfirst' => 0, 'previewontop' => 1, 'pst-cssjs' => 1, 'rcdays' => 7, 'rcenhancedfilters-disable' => 0, 'rclimit' => 50, 'requireemail' => 0, 'search-match-redirect' => true, 'search-special-page' => 'Search', 'search-thumbnail-extra-namespaces' => true, 'searchlimit' => 20, 'showhiddencats' => 0, 'shownumberswatching' => 1, 'showrollbackconfirmation' => 0, 'skin' => false, 'skin-responsive' => 1, 'thumbsize' => 5, 'underline' => 2, 'useeditwarning' => 1, 'uselivepreview' => 0, 'usenewrc' => 1, 'watchcreations' => 1, 'watchcreations-expiry' => 'infinite', 'watchdefault' => 1, 'watchdefault-expiry' => 'infinite', 'watchdeletion' => 0, 'watchlistdays' => 7, 'watchlisthideanons' => 0, 'watchlisthidebots' => 0, 'watchlisthidecategorization' => 1, 'watchlisthideliu' => 0, 'watchlisthideminor' => 0, 'watchlisthideown' => 0, 'watchlisthidepatrolled' => 0, 'watchlistreloadautomatically' => 0, 'watchlistunwatchlinks' => 0, 'watchmoves' => 0, 'watchrollback' => 0, 'watchuploads' => 1, 'watchrollback-expiry' => 'infinite', 'watchstar-expiry' => 'infinite', 'wlenhancedfilters-disable' => 0, 'wllimit' => 250, ], 'ConditionalUserOptions' => [ ], 'HiddenPrefs' => [ ], 'UserJsPrefLimit' => 100, 'InvalidUsernameCharacters' => '@:>=', 'UserrightsInterwikiDelimiter' => '@', 'SecureLogin' => false, 'AuthenticationTokenVersion' => null, 'SessionProviders' => [ 'MediaWiki\\Session\\CookieSessionProvider' => [ 'class' => 'MediaWiki\\Session\\CookieSessionProvider', 'args' => [ [ 'priority' => 30, ], ], 'services' => [ 'JwtCodec', 'UrlUtils', ], ], 'MediaWiki\\Session\\BotPasswordSessionProvider' => [ 'class' => 'MediaWiki\\Session\\BotPasswordSessionProvider', 'args' => [ [ 'priority' => 75, ], ], 'services' => [ 'GrantsInfo', ], ], ], 'AutoCreateTempUser' => [ 'known' => false, 'enabled' => false, 'actions' => [ 'edit', ], 'genPattern' => '~$1', 'matchPattern' => null, 'reservedPattern' => '~$1', 'serialProvider' => [ 'type' => 'local', 'useYear' => true, ], 'serialMapping' => [ 'type' => 'readable-numeric', ], 'expireAfterDays' => 90, 'notifyBeforeExpirationDays' => 10, ], 'AutoblockExemptions' => [ ], 'AutoblockExpiry' => 86400, 'BlockAllowsUTEdit' => true, 'BlockCIDRLimit' => [ 'IPv4' => 16, 'IPv6' => 19, ], 'BlockDisablesLogin' => false, 'EnableMultiBlocks' => false, 'WhitelistRead' => false, 'WhitelistReadRegexp' => false, 'EmailConfirmToEdit' => false, 'HideIdentifiableRedirects' => true, 'GroupPermissions' => [ '*' => [ 'createaccount' => true, 'autocreateaccount' => true, 'read' => true, 'edit' => true, 'createpage' => true, 'createtalk' => true, 'viewmyprivateinfo' => true, 'editmyprivateinfo' => true, 'editmyoptions' => true, ], 'user' => [ 'move' => true, 'move-subpages' => true, 'move-rootuserpages' => true, 'move-categorypages' => true, 'movefile' => true, 'read' => true, 'edit' => true, 'createpage' => true, 'createtalk' => true, 'upload' => true, 'reupload' => true, 'reupload-shared' => true, 'minoredit' => true, 'editmyusercss' => true, 'editmyuserjson' => true, 'editmyuserjs' => true, 'editmyuserjsredirect' => true, 'sendemail' => true, 'applychangetags' => true, 'changetags' => true, 'viewmywatchlist' => true, 'editmywatchlist' => true, 'createwithcontentmodel' => true, 'logout' => true, ], 'autoconfirmed' => [ 'autoconfirmed' => true, 'editsemiprotected' => true, ], 'bot' => [ 'bot' => true, 'autoconfirmed' => true, 'editsemiprotected' => true, 'nominornewtalk' => true, 'autopatrol' => true, 'suppressredirect' => true, 'apihighlimits' => true, ], 'sysop' => [ 'block' => true, 'createaccount' => true, 'createpreviouslyrenamedaccount' => true, 'delete' => true, 'bigdelete' => true, 'deletedhistory' => true, 'deletedtext' => true, 'undelete' => true, 'editcontentmodel' => true, 'editinterface' => true, 'editsitejson' => true, 'edituserjson' => true, 'import' => true, 'importupload' => true, 'move' => true, 'move-subpages' => true, 'move-rootuserpages' => true, 'move-categorypages' => true, 'patrol' => true, 'autopatrol' => true, 'protect' => true, 'editprotected' => true, 'rollback' => true, 'upload' => true, 'reupload' => true, 'reupload-shared' => true, 'unwatchedpages' => true, 'autoconfirmed' => true, 'editsemiprotected' => true, 'ipblock-exempt' => true, 'blockemail' => true, 'markbotedits' => true, 'apihighlimits' => true, 'browsearchive' => true, 'noratelimit' => true, 'movefile' => true, 'unblockself' => true, 'suppressredirect' => true, 'mergehistory' => true, 'managechangetags' => true, 'deletechangetags' => true, ], 'interface-admin' => [ 'editinterface' => true, 'editsitecss' => true, 'editsitejson' => true, 'editsitejs' => true, 'editusercss' => true, 'edituserjson' => true, 'edituserjs' => true, ], 'bureaucrat' => [ 'userrights' => true, 'noratelimit' => true, 'renameuser' => true, ], 'suppress' => [ 'hideuser' => true, 'suppressrevision' => true, 'viewsuppressed' => true, 'suppressionlog' => true, 'deleterevision' => true, 'deletelogentry' => true, ], ], 'PrivilegedGroups' => [ 'bureaucrat', 'interface-admin', 'suppress', 'sysop', ], 'RevokePermissions' => [ ], 'GroupInheritsPermissions' => [ ], 'ImplicitGroups' => [ '*', 'user', 'autoconfirmed', ], 'GroupsAddToSelf' => [ ], 'GroupsRemoveFromSelf' => [ ], 'RestrictedGroups' => [ ], 'UserRequirementsPrivateConditions' => [ ], 'RestrictionTypes' => [ 'create', 'edit', 'move', 'upload', ], 'RestrictionLevels' => [ '', 'autoconfirmed', 'sysop', ], 'CascadingRestrictionLevels' => [ 'sysop', ], 'SemiprotectedRestrictionLevels' => [ 'autoconfirmed', ], 'NamespaceProtection' => [ ], 'RestrictUserPageEditing' => false, 'NonincludableNamespaces' => [ ], 'AutoConfirmAge' => 0, 'AutoConfirmCount' => 0, 'Autopromote' => [ 'autoconfirmed' => [ '&', [ 1, null, ], [ 2, null, ], ], ], 'AutopromoteOnce' => [ 'onEdit' => [ ], ], 'AutopromoteOnceLogInRC' => true, 'AutopromoteOnceRCExcludedGroups' => [ ], 'AddGroups' => [ ], 'RemoveGroups' => [ ], 'AvailableRights' => [ ], 'ImplicitRights' => [ ], 'DeleteRevisionsLimit' => 0, 'DeleteRevisionsBatchSize' => 1000, 'HideUserContribLimit' => 1000, 'AccountCreationThrottle' => [ [ 'count' => 0, 'seconds' => 86400, ], ], 'TempAccountCreationThrottle' => [ [ 'count' => 1, 'seconds' => 600, ], [ 'count' => 6, 'seconds' => 86400, ], ], 'TempAccountNameAcquisitionThrottle' => [ [ 'count' => 60, 'seconds' => 86400, ], ], 'SpamRegex' => [ ], 'SummarySpamRegex' => [ ], 'EnableDnsBlacklist' => false, 'DnsBlacklistUrls' => [ ], 'ProxyList' => [ ], 'ProxyWhitelist' => [ ], 'SoftBlockRanges' => [ ], 'ApplyIpBlocksToXff' => false, 'RateLimits' => [ 'edit' => [ 'ip' => [ 8, 60, ], 'newbie' => [ 8, 60, ], 'user' => [ 90, 60, ], ], 'move' => [ 'newbie' => [ 2, 120, ], 'user' => [ 8, 60, ], ], 'upload' => [ 'ip' => [ 8, 60, ], 'newbie' => [ 8, 60, ], ], 'rollback' => [ 'user' => [ 10, 60, ], 'newbie' => [ 5, 120, ], ], 'mailpassword' => [ 'ip' => [ 5, 3600, ], ], 'sendemail' => [ 'ip' => [ 5, 86400, ], 'newbie' => [ 5, 86400, ], 'user' => [ 20, 86400, ], ], 'changeemail' => [ 'ip-all' => [ 10, 3600, ], 'user' => [ 4, 86400, ], ], 'confirmemail' => [ 'ip-all' => [ 10, 3600, ], 'user' => [ 4, 86400, ], ], 'purge' => [ 'ip' => [ 30, 60, ], 'user' => [ 30, 60, ], ], 'linkpurge' => [ 'ip' => [ 30, 60, ], 'user' => [ 30, 60, ], ], 'renderfile' => [ 'ip' => [ 700, 30, ], 'user' => [ 700, 30, ], ], 'renderfile-nonstandard' => [ 'ip' => [ 70, 30, ], 'user' => [ 70, 30, ], ], 'stashedit' => [ 'ip' => [ 30, 60, ], 'newbie' => [ 30, 60, ], ], 'stashbasehtml' => [ 'ip' => [ 5, 60, ], 'newbie' => [ 5, 60, ], ], 'changetags' => [ 'ip' => [ 8, 60, ], 'newbie' => [ 8, 60, ], ], 'editcontentmodel' => [ 'newbie' => [ 2, 120, ], 'user' => [ 8, 60, ], ], ], 'RateLimitsExcludedIPs' => [ ], 'PutIPinRC' => true, 'QueryPageDefaultLimit' => 50, 'ExternalQuerySources' => [ ], 'PasswordAttemptThrottle' => [ [ 'count' => 5, 'seconds' => 300, ], [ 'count' => 150, 'seconds' => 172800, ], ], 'GrantPermissions' => [ 'basic' => [ 'autocreateaccount' => true, 'autoconfirmed' => true, 'autopatrol' => true, 'editsemiprotected' => true, 'ipblock-exempt' => true, 'nominornewtalk' => true, 'patrolmarks' => true, 'read' => true, 'unwatchedpages' => true, ], 'highvolume' => [ 'bot' => true, 'apihighlimits' => true, 'noratelimit' => true, 'markbotedits' => true, ], 'import' => [ 'import' => true, 'importupload' => true, ], 'editpage' => [ 'edit' => true, 'minoredit' => true, 'applychangetags' => true, 'changetags' => true, 'editcontentmodel' => true, 'createwithcontentmodel' => true, 'pagelang' => true, ], 'editprotected' => [ 'edit' => true, 'minoredit' => true, 'applychangetags' => true, 'changetags' => true, 'editcontentmodel' => true, 'createwithcontentmodel' => true, 'editprotected' => true, ], 'editmycssjs' => [ 'edit' => true, 'minoredit' => true, 'applychangetags' => true, 'changetags' => true, 'editcontentmodel' => true, 'createwithcontentmodel' => true, 'editmyusercss' => true, 'editmyuserjson' => true, 'editmyuserjs' => true, ], 'editmyoptions' => [ 'editmyoptions' => true, 'editmyuserjson' => true, ], 'editinterface' => [ 'edit' => true, 'minoredit' => true, 'applychangetags' => true, 'changetags' => true, 'editcontentmodel' => true, 'createwithcontentmodel' => true, 'editinterface' => true, 'edituserjson' => true, 'editsitejson' => true, ], 'editsiteconfig' => [ 'edit' => true, 'minoredit' => true, 'applychangetags' => true, 'changetags' => true, 'editcontentmodel' => true, 'createwithcontentmodel' => true, 'editinterface' => true, 'edituserjson' => true, 'editsitejson' => true, 'editusercss' => true, 'edituserjs' => true, 'editsitecss' => true, 'editsitejs' => true, ], 'createeditmovepage' => [ 'edit' => true, 'minoredit' => true, 'applychangetags' => true, 'changetags' => true, 'editcontentmodel' => true, 'createwithcontentmodel' => true, 'createpage' => true, 'createtalk' => true, 'delete-redirect' => true, 'move' => true, 'move-rootuserpages' => true, 'move-subpages' => true, 'move-categorypages' => true, 'suppressredirect' => true, ], 'uploadfile' => [ 'upload' => true, 'reupload-own' => true, ], 'uploadeditmovefile' => [ 'upload' => true, 'reupload-own' => true, 'reupload' => true, 'reupload-shared' => true, 'upload_by_url' => true, 'movefile' => true, 'suppressredirect' => true, ], 'patrol' => [ 'patrol' => true, ], 'rollback' => [ 'rollback' => true, ], 'blockusers' => [ 'block' => true, 'blockemail' => true, ], 'viewdeleted' => [ 'browsearchive' => true, 'deletedhistory' => true, 'deletedtext' => true, ], 'viewrestrictedlogs' => [ 'suppressionlog' => true, ], 'delete' => [ 'edit' => true, 'minoredit' => true, 'applychangetags' => true, 'changetags' => true, 'editcontentmodel' => true, 'createwithcontentmodel' => true, 'browsearchive' => true, 'deletedhistory' => true, 'deletedtext' => true, 'delete' => true, 'bigdelete' => true, 'deletelogentry' => true, 'deleterevision' => true, 'undelete' => true, ], 'oversight' => [ 'suppressrevision' => true, 'viewsuppressed' => true, ], 'protect' => [ 'edit' => true, 'minoredit' => true, 'applychangetags' => true, 'changetags' => true, 'editcontentmodel' => true, 'createwithcontentmodel' => true, 'editprotected' => true, 'protect' => true, ], 'viewmywatchlist' => [ 'viewmywatchlist' => true, ], 'editmywatchlist' => [ 'editmywatchlist' => true, ], 'sendemail' => [ 'sendemail' => true, ], 'createaccount' => [ 'createaccount' => true, ], 'privateinfo' => [ 'viewmyprivateinfo' => true, ], 'mergehistory' => [ 'mergehistory' => true, ], 'managesessions' => [ 'logout' => true, ], ], 'GrantPermissionGroups' => [ 'basic' => 'hidden', 'editpage' => 'page-interaction', 'createeditmovepage' => 'page-interaction', 'editprotected' => 'page-interaction', 'patrol' => 'page-interaction', 'uploadfile' => 'file-interaction', 'uploadeditmovefile' => 'file-interaction', 'sendemail' => 'email', 'viewmywatchlist' => 'watchlist-interaction', 'editmywatchlist' => 'watchlist-interaction', 'editmycssjs' => 'customization', 'editmyoptions' => 'customization', 'editinterface' => 'administration', 'editsiteconfig' => 'administration', 'rollback' => 'administration', 'blockusers' => 'administration', 'delete' => 'administration', 'viewdeleted' => 'administration', 'viewrestrictedlogs' => 'administration', 'protect' => 'administration', 'oversight' => 'administration', 'createaccount' => 'administration', 'mergehistory' => 'administration', 'import' => 'administration', 'highvolume' => 'high-volume', 'privateinfo' => 'private-information', 'managesessions' => 'private-information', ], 'GrantRiskGroups' => [ 'basic' => 'low', 'editpage' => 'low', 'createeditmovepage' => 'low', 'editprotected' => 'vandalism', 'patrol' => 'low', 'uploadfile' => 'low', 'uploadeditmovefile' => 'low', 'sendemail' => 'security', 'viewmywatchlist' => 'low', 'editmywatchlist' => 'low', 'editmycssjs' => 'security', 'editmyoptions' => 'security', 'editinterface' => 'vandalism', 'editsiteconfig' => 'security', 'rollback' => 'low', 'blockusers' => 'vandalism', 'delete' => 'vandalism', 'viewdeleted' => 'vandalism', 'viewrestrictedlogs' => 'security', 'protect' => 'vandalism', 'oversight' => 'security', 'createaccount' => 'low', 'mergehistory' => 'vandalism', 'import' => 'security', 'highvolume' => 'low', 'privateinfo' => 'low', 'managesessions' => 'low', ], 'EnableBotPasswords' => true, 'BotPasswordsCluster' => false, 'BotPasswordsDatabase' => false, 'BotPasswordsLimit' => 100, 'SecretKey' => false, 'JwtPrivateKey' => false, 'JwtPublicKey' => false, 'AllowUserJs' => false, 'ReauthenticateForActions' => [ 'edituserjs' => 'edituserjscss', 'editusercss' => 'edituserjscss', 'editsitejs' => 'editsitejscss', 'editsitecss' => 'editsitejscss', ], 'AllowUserCss' => false, 'AllowUserCssPrefs' => true, 'UseSiteJs' => true, 'UseSiteCss' => true, 'BreakFrames' => false, 'EditPageFrameOptions' => 'DENY', 'ApiFrameOptions' => 'DENY', 'CSPHeader' => false, 'CSPReportOnlyHeader' => false, 'CSPUseReportURIDirective' => false, 'CSPFalsePositiveUrls' => [ 'https: 'https: 'https: 'https: 'https: 'https: 'https: 'https: 'https: 'https: 'https: 'https: 'https: 'https: 'chrome-extension' => true, ], 'AllowCrossOrigin' => false, 'RestAllowCrossOriginCookieAuth' => false, 'SessionSecret' => false, 'CookieExpiration' => 2592000, 'ExtendedLoginCookieExpiration' => 15552000, 'SessionCookieJwtExpiration' => 14400, 'CookieDomain' => '', 'CookiePath' => '/', 'CookieSecure' => 'detect', 'CookiePrefix' => false, 'CookieHttpOnly' => true, 'CookieSameSite' => null, 'CacheVaryCookies' => [ ], 'SessionName' => false, 'CookieSetOnAutoblock' => true, 'CookieSetOnIpBlock' => true, 'DeviceBoundSessions' => false, 'DeviceBoundSessionsReportOnly' => true, 'DeviceBoundSessionCookieName' => '__Host-dbsc', 'DeviceBoundSessionCredentialTTL' => 600, 'DeviceBoundSessionChallengeTTL' => 900, 'DeviceBoundSessionBindingTTL' => 2592000, 'DeviceBoundSessionScopeExcludes' => [ ], 'DebugLogFile' => '', 'DebugLogPrefix' => '', 'DebugRedirects' => false, 'DebugRawPage' => false, 'DebugComments' => false, 'DebugDumpSql' => false, 'TrxProfilerLimits' => [ 'GET' => [ 'masterConns' => 0, 'writes' => 0, 'readQueryTime' => 5, 'readQueryRows' => 10000, ], 'POST' => [ 'readQueryTime' => 5, 'writeQueryTime' => 1, 'readQueryRows' => 100000, 'maxAffected' => 1000, ], 'POST-nonwrite' => [ 'writes' => 0, 'readQueryTime' => 5, 'readQueryRows' => 10000, ], 'PostSend-GET' => [ 'readQueryTime' => 5, 'writeQueryTime' => 1, 'readQueryRows' => 10000, 'maxAffected' => 1000, 'masterConns' => 0, 'writes' => 0, ], 'PostSend-POST' => [ 'readQueryTime' => 5, 'writeQueryTime' => 1, 'readQueryRows' => 100000, 'maxAffected' => 1000, ], 'JobRunner' => [ 'readQueryTime' => 30, 'writeQueryTime' => 5, 'readQueryRows' => 100000, 'maxAffected' => 500, ], 'Maintenance' => [ 'writeQueryTime' => 5, 'maxAffected' => 1000, ], ], 'DebugLogGroups' => [ ], 'MWLoggerDefaultSpi' => [ 'class' => 'MediaWiki\\Logger\\LegacySpi', ], 'ShowDebug' => false, 'SpecialVersionShowHooks' => false, 'ShowExceptionDetails' => false, 'LogExceptionBacktrace' => true, 'PropagateErrors' => true, 'ShowHostnames' => false, 'OverrideHostname' => false, 'DevelopmentWarnings' => false, 'DeprecationReleaseLimit' => false, 'Profiler' => [ ], 'StatsTarget' => null, 'StatsFormat' => null, 'StatsPrefix' => 'mediawiki', 'OpenTelemetryConfig' => null, 'PageInfoTransclusionLimit' => 50, 'EnableJavaScriptTest' => false, 'DebugToolbar' => false, 'ApiClientErrorSampleRate' => 1.0, 'DisableTextSearch' => false, 'AdvancedSearchHighlighting' => false, 'SearchHighlightBoundaries' => '[\\p{Z}\\p{P}\\p{C}]', 'OpenSearchTemplates' => [ 'application/x-suggestions+json' => false, 'application/x-suggestions+xml' => false, ], 'OpenSearchDefaultLimit' => 10, 'OpenSearchDescriptionLength' => 100, 'SearchSuggestCacheExpiry' => 1200, 'DisableSearchUpdate' => false, 'NamespacesToBeSearchedDefault' => [ true, ], 'DisableInternalSearch' => false, 'SearchForwardUrl' => null, 'SitemapNamespaces' => false, 'SitemapNamespacesPriorities' => false, 'SitemapApiConfig' => [ ], 'SpecialSearchFormOptions' => [ ], 'SearchMatchRedirectPreference' => false, 'SearchRunSuggestedQuery' => true, 'Diff3' => '/usr/bin/diff3', 'Diff' => '/usr/bin/diff', 'PreviewOnOpenNamespaces' => [ 14 => true, ], 'UniversalEditButton' => true, 'UseAutomaticEditSummaries' => true, 'CommandLineDarkBg' => false, 'ReadOnly' => null, 'ReadOnlyWatchedItemStore' => false, 'ReadOnlyFile' => false, 'UpgradeKey' => false, 'GitBin' => '/usr/bin/git', 'GitRepositoryViewers' => [ 'https: 'ssh: 'https: 'git@github\\.com:(.*?)(\\.git)?' => 'https: ], 'InstallerInitialPages' => [ [ 'titlemsg' => 'mainpage', 'text' => '{{subst:int:mainpagetext}}{{subst:int:mainpagedocfooter}}', ], ], 'RCMaxAge' => 7776000, 'WatchersMaxAge' => 15552000, 'UnwatchedPageSecret' => 1, 'RCFilterByAge' => false, 'RCLinkLimits' => [ 50, 100, 250, 500, ], 'RCLinkDays' => [ 1, 3, 7, 14, 30, ], 'RCFeeds' => [ ], 'RCWatchCategoryMembership' => false, 'UseRCPatrol' => true, 'StructuredChangeFiltersLiveUpdatePollingRate' => 3, 'UseNPPatrol' => true, 'UseFilePatrol' => true, 'Feed' => true, 'FeedLimit' => 50, 'FeedCacheTimeout' => 60, 'FeedDiffCutoff' => 32768, 'OverrideSiteFeed' => [ ], 'FeedClasses' => [ 'rss' => 'MediaWiki\\Feed\\RSSFeed', 'atom' => 'MediaWiki\\Feed\\AtomFeed', ], 'AdvertisedFeedTypes' => [ 'atom', ], 'RCShowWatchingUsers' => false, 'RCShowChangedSize' => true, 'RCChangedSizeThreshold' => 500, 'ShowUpdatedMarker' => true, 'DisableAnonTalk' => false, 'UseTagFilter' => true, 'SoftwareTags' => [ 'mw-contentmodelchange' => true, 'mw-new-redirect' => true, 'mw-removed-redirect' => true, 'mw-changed-redirect-target' => true, 'mw-blank' => true, 'mw-replace' => true, 'mw-recreated' => true, 'mw-rollback' => true, 'mw-undo' => true, 'mw-manual-revert' => true, 'mw-reverted' => true, 'mw-server-side-upload' => true, 'mw-ipblock-appeal' => true, 'mw-edited-other-users-js' => true, 'mw-edited-other-users-css' => true, ], 'RestrictedTagViewRights' => [ ], 'UnwatchedPageThreshold' => false, 'RecentChangesFlags' => [ 'newpage' => [ 'letter' => 'newpageletter', 'title' => 'recentchanges-label-newpage', 'legend' => 'recentchanges-legend-newpage', 'grouping' => 'any', ], 'minor' => [ 'letter' => 'minoreditletter', 'title' => 'recentchanges-label-minor', 'legend' => 'recentchanges-legend-minor', 'class' => 'minoredit', 'grouping' => 'all', ], 'bot' => [ 'letter' => 'boteditletter', 'title' => 'recentchanges-label-bot', 'legend' => 'recentchanges-legend-bot', 'class' => 'botedit', 'grouping' => 'all', ], 'unpatrolled' => [ 'letter' => 'unpatrolledletter', 'title' => 'recentchanges-label-unpatrolled', 'legend' => 'recentchanges-legend-unpatrolled', 'grouping' => 'any', ], ], 'WatchlistExpiry' => false, 'EnableWatchstarPopover' => false, 'EnableWatchlistLabels' => false, 'WatchlistLabelsMaxPerUser' => 100, 'WatchlistPurgeRate' => 0.1, 'WatchlistExpiryMaxDuration' => '1 year', 'EnableChangesListQueryPartitioning' => false, 'RightsPage' => null, 'RightsUrl' => null, 'RightsText' => null, 'RightsIcon' => null, 'UseCopyrightUpload' => false, 'MaxCredits' => 0, 'ShowCreditsIfMax' => true, 'ImportSources' => [ ], 'ImportTargetNamespace' => null, 'ExportAllowHistory' => true, 'ExportMaxHistory' => 0, 'ExportAllowListContributors' => false, 'ExportMaxLinkDepth' => 0, 'ExportFromNamespaces' => false, 'ExportAllowAll' => false, 'ExportPagelistLimit' => 5000, 'XmlDumpSchemaVersion' => '0.11', 'WikiFarmSettingsDirectory' => null, 'WikiFarmSettingsExtension' => 'yaml', 'ExtensionFunctions' => [ ], 'ExtensionMessagesFiles' => [ ], 'MessagesDirs' => [ ], 'TranslationAliasesDirs' => [ ], 'ExtensionEntryPointListFiles' => [ ], 'EnableParserLimitReporting' => true, 'ValidSkinNames' => [ ], 'SpecialPages' => [ ], 'ExtensionCredits' => [ ], 'Hooks' => [ ], 'ServiceWiringFiles' => [ ], 'JobClasses' => [ 'deletePage' => 'MediaWiki\\Page\\DeletePageJob', 'refreshLinks' => 'MediaWiki\\JobQueue\\Jobs\\RefreshLinksJob', 'deleteLinks' => 'MediaWiki\\Page\\DeleteLinksJob', 'htmlCacheUpdate' => 'MediaWiki\\JobQueue\\Jobs\\HTMLCacheUpdateJob', 'sendMail' => [ 'class' => 'MediaWiki\\Mail\\EmaillingJob', 'services' => [ 'Emailer', ], ], 'enotifNotify' => [ 'class' => 'MediaWiki\\RecentChanges\\RecentChangeNotifyJob', 'services' => [ 'RecentChangeLookup', ], ], 'fixDoubleRedirect' => [ 'class' => 'MediaWiki\\JobQueue\\Jobs\\DoubleRedirectJob', 'services' => [ 'RevisionLookup', 'MagicWordFactory', 'WikiPageFactory', ], 'needsPage' => true, ], 'AssembleUploadChunks' => 'MediaWiki\\JobQueue\\Jobs\\AssembleUploadChunksJob', 'PublishStashedFile' => 'MediaWiki\\JobQueue\\Jobs\\PublishStashedFileJob', 'ThumbnailRender' => 'MediaWiki\\JobQueue\\Jobs\\ThumbnailRenderJob', 'UploadFromUrl' => 'MediaWiki\\JobQueue\\Jobs\\UploadFromUrlJob', 'recentChangesUpdate' => 'MediaWiki\\RecentChanges\\RecentChangesUpdateJob', 'refreshLinksPrioritized' => 'MediaWiki\\JobQueue\\Jobs\\RefreshLinksJob', 'refreshLinksDynamic' => 'MediaWiki\\JobQueue\\Jobs\\RefreshLinksJob', 'activityUpdateJob' => 'MediaWiki\\Watchlist\\ActivityUpdateJob', 'categoryMembershipChange' => [ 'class' => 'MediaWiki\\RecentChanges\\CategoryMembershipChangeJob', 'services' => [ 'RecentChangeFactory', ], ], 'CategoryCountUpdateJob' => [ 'class' => 'MediaWiki\\JobQueue\\Jobs\\CategoryCountUpdateJob', 'services' => [ 'ConnectionProvider', 'NamespaceInfo', ], ], 'clearUserWatchlist' => 'MediaWiki\\Watchlist\\ClearUserWatchlistJob', 'watchlistExpiry' => [ 'class' => 'MediaWiki\\Watchlist\\WatchlistExpiryJob', 'needsPage' => false, ], 'cdnPurge' => 'MediaWiki\\JobQueue\\Jobs\\CdnPurgeJob', 'userGroupExpiry' => 'MediaWiki\\User\\UserGroupExpiryJob', 'clearWatchlistNotifications' => 'MediaWiki\\Watchlist\\ClearWatchlistNotificationsJob', 'userOptionsUpdate' => 'MediaWiki\\User\\Options\\UserOptionsUpdateJob', 'revertedTagUpdate' => 'MediaWiki\\JobQueue\\Jobs\\RevertedTagUpdateJob', 'null' => 'MediaWiki\\JobQueue\\Jobs\\NullJob', 'userEditCountInit' => 'MediaWiki\\User\\UserEditCountInitJob', 'renameUserTable' => [ 'class' => 'MediaWiki\\RenameUser\\Job\\RenameUserTableJob', 'services' => [ 'MainConfig', 'DBLoadBalancerFactory', ], ], 'renameUserDerived' => [ 'class' => 'MediaWiki\\RenameUser\\Job\\RenameUserDerivedJob', 'services' => [ 'RenameUserFactory', 'UserFactory', ], ], 'renameUser' => [ 'class' => 'MediaWiki\\RenameUser\\Job\\RenameUserTableJob', 'services' => [ 'MainConfig', 'DBLoadBalancerFactory', ], ], ], 'JobTypesExcludedFromDefaultQueue' => [ 'AssembleUploadChunks', 'PublishStashedFile', 'UploadFromUrl', ], 'JobBackoffThrottling' => [ ], 'JobTypeConf' => [ 'default' => [ 'class' => 'MediaWiki\\JobQueue\\JobQueueDB', 'order' => 'random', 'claimTTL' => 3600, ], ], 'JobQueueIncludeInMaxLagFactor' => false, 'SpecialPageCacheUpdates' => [ 'Statistics' => [ 'MediaWiki\\Deferred\\SiteStatsUpdate', 'cacheUpdate', ], ], 'PagePropLinkInvalidations' => [ 'hiddencat' => 'categorylinks', ], 'CategoryMagicGallery' => true, 'CategoryPagingLimit' => 200, 'CategoryCollation' => 'uppercase', 'TempCategoryCollations' => [ ], 'SortedCategories' => false, 'TrackingCategories' => [ ], 'LogTypes' => [ '', 'block', 'protect', 'rights', 'delete', 'upload', 'move', 'import', 'interwiki', 'patrol', 'merge', 'suppress', 'tag', 'managetags', 'contentmodel', 'renameuser', ], 'LogRestrictions' => [ 'suppress' => 'suppressionlog', ], 'FilterLogTypes' => [ 'patrol' => true, 'tag' => true, 'newusers' => false, ], 'LogNames' => [ '' => 'all-logs-page', 'block' => 'blocklogpage', 'protect' => 'protectlogpage', 'rights' => 'rightslog', 'delete' => 'dellogpage', 'upload' => 'uploadlogpage', 'move' => 'movelogpage', 'import' => 'importlogpage', 'patrol' => 'patrol-log-page', 'merge' => 'mergelog', 'suppress' => 'suppressionlog', ], 'LogHeaders' => [ '' => 'alllogstext', 'block' => 'blocklogtext', 'delete' => 'dellogpagetext', 'import' => 'importlogpagetext', 'merge' => 'mergelogpagetext', 'move' => 'movelogpagetext', 'patrol' => 'patrol-log-header', 'protect' => 'protectlogtext', 'rights' => 'rightslogtext', 'suppress' => 'suppressionlogtext', 'upload' => 'uploadlogpagetext', ], 'LogActions' => [ ], 'LogActionsHandlers' => [ 'block/block' => [ 'class' => 'MediaWiki\\Logging\\BlockLogFormatter', 'services' => [ 'TitleParser', 'NamespaceInfo', ], ], 'block/reblock' => [ 'class' => 'MediaWiki\\Logging\\BlockLogFormatter', 'services' => [ 'TitleParser', 'NamespaceInfo', ], ], 'block/unblock' => [ 'class' => 'MediaWiki\\Logging\\BlockLogFormatter', 'services' => [ 'TitleParser', 'NamespaceInfo', ], ], 'contentmodel/change' => 'MediaWiki\\Logging\\ContentModelLogFormatter', 'contentmodel/new' => 'MediaWiki\\Logging\\ContentModelLogFormatter', 'delete/delete' => 'MediaWiki\\Logging\\DeleteLogFormatter', 'delete/delete_redir' => 'MediaWiki\\Logging\\DeleteLogFormatter', 'delete/delete_redir2' => 'MediaWiki\\Logging\\DeleteLogFormatter', 'delete/event' => 'MediaWiki\\Logging\\DeleteLogFormatter', 'delete/restore' => 'MediaWiki\\Logging\\DeleteLogFormatter', 'delete/revision' => 'MediaWiki\\Logging\\DeleteLogFormatter', 'import/interwiki' => 'MediaWiki\\Logging\\ImportLogFormatter', 'import/upload' => 'MediaWiki\\Logging\\ImportLogFormatter', 'interwiki/iw_add' => 'MediaWiki\\Logging\\InterwikiLogFormatter', 'interwiki/iw_delete' => 'MediaWiki\\Logging\\InterwikiLogFormatter', 'interwiki/iw_edit' => 'MediaWiki\\Logging\\InterwikiLogFormatter', 'managetags/activate' => 'MediaWiki\\Logging\\LogFormatter', 'managetags/create' => 'MediaWiki\\Logging\\LogFormatter', 'managetags/deactivate' => 'MediaWiki\\Logging\\LogFormatter', 'managetags/delete' => 'MediaWiki\\Logging\\LogFormatter', 'merge/merge' => [ 'class' => 'MediaWiki\\Logging\\MergeLogFormatter', 'services' => [ 'TitleParser', ], ], 'merge/merge-into' => [ 'class' => 'MediaWiki\\Logging\\MergeLogFormatter', 'services' => [ 'TitleParser', ], ], 'move/move' => [ 'class' => 'MediaWiki\\Logging\\MoveLogFormatter', 'services' => [ 'TitleParser', ], ], 'move/move_redir' => [ 'class' => 'MediaWiki\\Logging\\MoveLogFormatter', 'services' => [ 'TitleParser', ], ], 'patrol/patrol' => 'MediaWiki\\Logging\\PatrolLogFormatter', 'patrol/autopatrol' => 'MediaWiki\\Logging\\PatrolLogFormatter', 'protect/modify' => [ 'class' => 'MediaWiki\\Logging\\ProtectLogFormatter', 'services' => [ 'TitleParser', ], ], 'protect/move_prot' => [ 'class' => 'MediaWiki\\Logging\\ProtectLogFormatter', 'services' => [ 'TitleParser', ], ], 'protect/protect' => [ 'class' => 'MediaWiki\\Logging\\ProtectLogFormatter', 'services' => [ 'TitleParser', ], ], 'protect/unprotect' => [ 'class' => 'MediaWiki\\Logging\\ProtectLogFormatter', 'services' => [ 'TitleParser', ], ], 'renameuser/renameuser' => [ 'class' => 'MediaWiki\\Logging\\RenameuserLogFormatter', 'services' => [ 'TitleParser', ], ], 'rights/autopromote' => 'MediaWiki\\Logging\\RightsLogFormatter', 'rights/rights' => 'MediaWiki\\Logging\\RightsLogFormatter', 'suppress/block' => [ 'class' => 'MediaWiki\\Logging\\BlockLogFormatter', 'services' => [ 'TitleParser', 'NamespaceInfo', ], ], 'suppress/delete' => 'MediaWiki\\Logging\\DeleteLogFormatter', 'suppress/event' => 'MediaWiki\\Logging\\DeleteLogFormatter', 'suppress/reblock' => [ 'class' => 'MediaWiki\\Logging\\BlockLogFormatter', 'services' => [ 'TitleParser', 'NamespaceInfo', ], ], 'suppress/revision' => 'MediaWiki\\Logging\\DeleteLogFormatter', 'tag/update' => 'MediaWiki\\Logging\\TagLogFormatter', 'upload/overwrite' => 'MediaWiki\\Logging\\UploadLogFormatter', 'upload/revert' => 'MediaWiki\\Logging\\UploadLogFormatter', 'upload/upload' => 'MediaWiki\\Logging\\UploadLogFormatter', ], 'ActionFilteredLogs' => [ 'block' => [ 'block' => [ 'block', ], 'reblock' => [ 'reblock', ], 'unblock' => [ 'unblock', ], ], 'contentmodel' => [ 'change' => [ 'change', ], 'new' => [ 'new', ], ], 'delete' => [ 'delete' => [ 'delete', ], 'delete_redir' => [ 'delete_redir', 'delete_redir2', ], 'restore' => [ 'restore', ], 'event' => [ 'event', ], 'revision' => [ 'revision', ], ], 'import' => [ 'interwiki' => [ 'interwiki', ], 'upload' => [ 'upload', ], ], 'managetags' => [ 'create' => [ 'create', ], 'delete' => [ 'delete', ], 'activate' => [ 'activate', ], 'deactivate' => [ 'deactivate', ], ], 'move' => [ 'move' => [ 'move', ], 'move_redir' => [ 'move_redir', ], ], 'newusers' => [ 'create' => [ 'create', 'newusers', ], 'create2' => [ 'create2', ], 'autocreate' => [ 'autocreate', ], 'byemail' => [ 'byemail', ], ], 'protect' => [ 'protect' => [ 'protect', ], 'modify' => [ 'modify', ], 'unprotect' => [ 'unprotect', ], 'move_prot' => [ 'move_prot', ], ], 'rights' => [ 'rights' => [ 'rights', ], 'autopromote' => [ 'autopromote', ], ], 'suppress' => [ 'event' => [ 'event', ], 'revision' => [ 'revision', ], 'delete' => [ 'delete', ], 'block' => [ 'block', ], 'reblock' => [ 'reblock', ], ], 'upload' => [ 'upload' => [ 'upload', ], 'overwrite' => [ 'overwrite', ], 'revert' => [ 'revert', ], ], ], 'NewUserLog' => true, 'WatchUserPageOnAccountCreation' => true, 'PageCreationLog' => true, 'AllowSpecialInclusion' => true, 'DisableQueryPageUpdate' => false, 'CountCategorizedImagesAsUsed' => false, 'MaxRedirectLinksRetrieved' => 500, 'RangeContributionsCIDRLimit' => [ 'IPv4' => 16, 'IPv6' => 32, ], 'Actions' => [ ], 'DefaultRobotPolicy' => 'index,follow', 'NamespaceRobotPolicies' => [ ], 'ArticleRobotPolicies' => [ ], 'ExemptFromUserRobotsControl' => null, 'DebugAPI' => false, 'APIModules' => [ ], 'APIFormatModules' => [ ], 'APIMetaModules' => [ ], 'APIPropModules' => [ ], 'APIListModules' => [ ], 'APIMaxDBRows' => 5000, 'APIMaxResultSize' => 8388608, 'APIMaxUncachedDiffs' => 1, 'APIMaxLagThreshold' => 7, 'APICacheHelpTimeout' => 3600, 'APIUselessQueryPages' => [ 'MIMEsearch', 'LinkSearch', ], 'AjaxLicensePreview' => true, 'CrossSiteAJAXdomains' => [ ], 'CrossSiteAJAXdomainExceptions' => [ ], 'AllowedCorsHeaders' => [ 'Accept', 'Accept-Language', 'Content-Language', 'Content-Type', 'Accept-Encoding', 'DNT', 'Origin', 'User-Agent', 'Api-User-Agent', 'Promise-Non-Write-API-Action', 'Access-Control-Max-Age', 'Authorization', ], 'RestAPIAdditionalRouteFiles' => [ ], 'RestLocalModuleTestBaseUrl' => null, 'RestModuleOverrides' => [ ], 'RestExternalModules' => [ ], 'RestTermsOfServiceUrl' => null, 'MaxShellMemory' => 307200, 'MaxShellFileSize' => 102400, 'MaxShellTime' => 180, 'MaxShellWallClockTime' => 180, 'ShellCgroup' => false, 'PhpCli' => '/usr/bin/php', 'ShellRestrictionMethod' => 'autodetect', 'ShellboxUrls' => [ 'default' => null, ], 'ShellboxSecretKey' => null, 'ShellboxShell' => '/bin/sh', 'HTTPTimeout' => 25, 'HTTPConnectTimeout' => 5.0, 'HTTPMaxTimeout' => 0, 'HTTPMaxConnectTimeout' => 0, 'HTTPImportTimeout' => 25, 'HTTPUserAgentContact' => false, 'AsyncHTTPTimeout' => 25, 'HTTPProxy' => '', 'LocalVirtualHosts' => [ ], 'LocalHTTPProxy' => false, 'AllowExternalReqID' => false, 'GenerateReqIDFormat' => 'rand24', 'JobRunRate' => 1, 'RunJobsAsync' => false, 'UpdateRowsPerJob' => 300, 'UpdateRowsPerQuery' => 100, 'RedirectOnLogin' => null, 'EventRelayerConfig' => [ 'default' => [ 'class' => 'Wikimedia\\EventRelayer\\EventRelayerNull', ], ], 'Pingback' => false, 'OriginTrials' => [ ], 'ReportToExpiry' => 86400, 'ReportToEndpoints' => [ ], 'FeaturePolicyReportOnly' => [ ], 'SkinsPreferred' => [ 'vector-2022', 'vector', ], 'SpecialContributeSkinsEnabled' => [ ], 'SpecialContributeNewPageTarget' => null, 'EnableEditRecovery' => false, 'EditRecoveryExpiry' => 2592000, 'UseCodexSpecialBlock' => false, 'ShowLogoutConfirmation' => false, 'EnableProtectionIndicators' => true, 'OutputPipelineStages' => [ ], 'FeatureShutdown' => [ ], 'UseLeximorph' => false, 'UsePostprocCacheLegacy' => false, 'UsePostprocCacheParsoid' => true, 'ParserOptionsLogUnsafeSampleRate' => 0, 'ReturnExperimentalPFragmentTypes' => [ ], 'UseParsoidLinksUpdate' => null, 'UseParsoidMessages' => false, 'UseParsoidParser' => true, 'SiteLookup' => [ ], ], 'type' => [ 'ConfigRegistry' => 'object', 'AssumeProxiesUseDefaultProtocolPorts' => 'boolean', 'ForceHTTPS' => 'boolean', 'ExtensionDirectory' => [ 'string', 'null', ], 'StyleDirectory' => [ 'string', 'null', ], 'UploadDirectory' => [ 'string', 'boolean', 'null', ], 'Logos' => [ 'object', 'boolean', ], 'ReferrerPolicy' => [ 'array', 'string', 'boolean', ], 'ActionPaths' => 'object', 'MainPageIsDomainRoot' => 'boolean', 'ImgAuthUrlPathMap' => 'object', 'LocalFileRepo' => 'object', 'ForeignFileRepos' => 'array', 'UseSharedUploads' => 'boolean', 'SharedUploadDirectory' => [ 'string', 'null', ], 'SharedUploadPath' => [ 'string', 'null', ], 'HashedSharedUploadDirectory' => 'boolean', 'FetchCommonsDescriptions' => 'boolean', 'SharedUploadDBname' => [ 'boolean', 'string', ], 'SharedUploadDBprefix' => 'string', 'SharedUploadDBschema' => [ 'string', 'null', ], 'CacheSharedUploads' => 'boolean', 'ForeignUploadTargets' => 'array', 'UploadDialog' => 'object', 'FileBackends' => 'object', 'LockManagers' => 'array', 'DefaultLockManager' => [ 'string', 'null', ], 'CopyUploadsDomains' => 'array', 'CopyUploadTimeout' => [ 'boolean', 'integer', ], 'SharedThumbnailScriptPath' => [ 'string', 'boolean', ], 'HashedUploadDirectory' => 'boolean', 'CSPUploadEntryPoint' => 'boolean', 'FileExtensions' => 'array', 'ProhibitedFileExtensions' => 'array', 'MimeTypeExclusions' => 'array', 'TrustedMediaFormats' => 'array', 'MediaHandlers' => 'object', 'NativeImageLazyLoading' => 'boolean', 'ParserTestMediaHandlers' => 'object', 'MaxInterlacingAreas' => 'object', 'SVGConverters' => 'object', 'SVGNativeRendering' => [ 'string', 'boolean', ], 'MaxImageArea' => [ 'string', 'integer', 'boolean', ], 'TiffThumbnailType' => 'array', 'GenerateThumbnailOnParse' => 'boolean', 'EnableAutoRotation' => [ 'boolean', 'null', ], 'Antivirus' => [ 'string', 'null', ], 'AntivirusSetup' => 'object', 'MimeDetectorCommand' => [ 'string', 'null', ], 'XMLMimeTypes' => 'object', 'ImageLimits' => 'array', 'ThumbLimits' => 'array', 'ThumbnailNamespaces' => 'array', 'ThumbnailSteps' => [ 'array', 'null', ], 'ThumbnailBuckets' => [ 'array', 'null', ], 'UploadThumbnailRenderMap' => 'object', 'GalleryOptions' => 'object', 'DjvuDump' => [ 'string', 'null', ], 'DjvuRenderer' => [ 'string', 'null', ], 'DjvuTxt' => [ 'string', 'null', ], 'DjvuPostProcessor' => [ 'string', 'null', ], 'SMTP' => [ 'boolean', 'object', ], 'EnotifFromEditor' => 'boolean', 'EmailConfirmationBanner' => 'boolean', 'EnotifRevealEditorAddress' => 'boolean', 'UsersNotifiedOnAllChanges' => 'object', 'DBmwschema' => [ 'string', 'null', ], 'SharedTables' => 'array', 'DBservers' => [ 'boolean', 'array', ], 'LBFactoryConf' => 'object', 'LocalDatabases' => 'array', 'VirtualDomainsMapping' => 'object', 'RemoteVirtualDomainsMapping' => 'object', 'FileSchemaMigrationStage' => 'integer', 'ExternalLinksDomainGaps' => 'object', 'ContentHandlers' => 'object', 'NamespaceContentModels' => 'object', 'TextModelsToParse' => 'array', 'ExternalStores' => 'array', 'ExternalServers' => 'object', 'DefaultExternalStore' => [ 'array', 'boolean', ], 'RevisionCacheExpiry' => 'integer', 'PageLanguageUseDB' => 'boolean', 'DiffEngine' => [ 'string', 'null', ], 'ExternalDiffEngine' => [ 'string', 'boolean', ], 'Wikidiff2Options' => 'object', 'RequestTimeLimit' => [ 'integer', 'null', ], 'CriticalSectionTimeLimit' => 'number', 'PoolCounterConf' => [ 'object', 'null', ], 'PoolCountClientConf' => 'object', 'MaxUserDBWriteDuration' => [ 'integer', 'boolean', ], 'MaxJobDBWriteDuration' => [ 'integer', 'boolean', ], 'MultiShardSiteStats' => 'boolean', 'ObjectCaches' => 'object', 'WANObjectCache' => 'object', 'MicroStashType' => [ 'string', 'integer', ], 'ParsoidCacheConfig' => 'object', 'ParsoidSelectiveUpdateSampleRate' => 'integer', 'SplitParsoidParserCache' => 'boolean', 'ParserCacheFilterConfig' => 'object', 'ChronologyProtectorSecret' => 'string', 'SuspiciousIpExpiry' => [ 'integer', 'boolean', ], 'MemCachedServers' => 'array', 'LocalisationCacheConf' => 'object', 'ExtensionInfoMTime' => [ 'integer', 'boolean', ], 'CdnServers' => 'object', 'CdnServersNoPurge' => 'object', 'HTCPRouting' => 'object', 'GrammarForms' => 'object', 'ExtraInterlanguageLinkPrefixes' => 'array', 'InterlanguageLinkCodeMap' => 'object', 'ExtraLanguageNames' => 'object', 'ExtraLanguageCodes' => 'object', 'DummyLanguageCodes' => 'object', 'DisabledVariants' => 'object', 'ForceUIMsgAsContentMsg' => 'object', 'RawHtmlMessages' => 'array', 'OverrideUcfirstCharacters' => 'object', 'XhtmlNamespaces' => 'object', 'BrowserFormatDetection' => 'string', 'SkinMetaTags' => 'object', 'SkipSkins' => 'object', 'FragmentMode' => 'array', 'FooterIcons' => 'object', 'PageShareSkinsEnabled' => 'array', 'InterwikiLogoOverride' => 'array', 'ResourceModules' => 'object', 'ResourceModuleSkinStyles' => 'object', 'ResourceLoaderSources' => 'object', 'ResourceLoaderMaxage' => 'object', 'ResourceLoaderMaxQueryLength' => [ 'integer', 'boolean', ], 'CanonicalNamespaceNames' => 'object', 'ExtraNamespaces' => 'object', 'ExtraGenderNamespaces' => 'object', 'NamespaceAliases' => 'object', 'CapitalLinkOverrides' => 'object', 'NamespacesWithSubpages' => 'object', 'NamespacesWithoutAutoSummaries' => 'array', 'ContentNamespaces' => 'array', 'ShortPagesNamespaceExclusions' => 'array', 'ExtraSignatureNamespaces' => 'array', 'InvalidRedirectTargets' => 'array', 'LocalInterwikis' => 'array', 'InterwikiCache' => [ 'boolean', 'object', ], 'SiteTypes' => 'object', 'UrlProtocols' => 'array', 'TidyConfig' => 'object', 'ParsoidSettings' => 'object', 'ParsoidExperimentalParserFunctionOutput' => 'boolean', 'NoFollowNsExceptions' => 'array', 'NoFollowDomainExceptions' => 'array', 'ExternalLinksIgnoreDomains' => 'array', 'EnableMagicLinks' => 'object', 'ManualRevertSearchRadius' => 'integer', 'RevertedTagMaxDepth' => 'integer', 'CentralIdLookupProviders' => 'object', 'CentralIdLookupProvider' => 'string', 'UserRegistrationProviders' => 'object', 'PasswordPolicy' => 'object', 'AuthManagerConfig' => [ 'object', 'null', ], 'AuthManagerAutoConfig' => 'object', 'RememberMe' => 'string', 'ReauthenticateTime' => 'object', 'ChangeCredentialsBlacklist' => 'array', 'RemoveCredentialsBlacklist' => 'array', 'PasswordConfig' => 'object', 'PasswordResetRoutes' => 'object', 'SignatureAllowedLintErrors' => 'array', 'ReservedUsernames' => 'array', 'DefaultUserOptions' => 'object', 'ConditionalUserOptions' => 'object', 'HiddenPrefs' => 'array', 'UserJsPrefLimit' => 'integer', 'AuthenticationTokenVersion' => [ 'string', 'null', ], 'SessionProviders' => 'object', 'AutoCreateTempUser' => 'object', 'AutoblockExemptions' => 'array', 'BlockCIDRLimit' => 'object', 'EnableMultiBlocks' => 'boolean', 'GroupPermissions' => 'object', 'PrivilegedGroups' => 'array', 'RevokePermissions' => 'object', 'GroupInheritsPermissions' => 'object', 'ImplicitGroups' => 'array', 'GroupsAddToSelf' => 'object', 'GroupsRemoveFromSelf' => 'object', 'RestrictedGroups' => 'object', 'UserRequirementsPrivateConditions' => 'array', 'RestrictionTypes' => 'array', 'RestrictionLevels' => 'array', 'CascadingRestrictionLevels' => 'array', 'SemiprotectedRestrictionLevels' => 'array', 'NamespaceProtection' => 'object', 'RestrictUserPageEditing' => 'boolean', 'NonincludableNamespaces' => 'object', 'Autopromote' => 'object', 'AutopromoteOnce' => 'object', 'AutopromoteOnceRCExcludedGroups' => 'array', 'AddGroups' => 'object', 'RemoveGroups' => 'object', 'AvailableRights' => 'array', 'ImplicitRights' => 'array', 'AccountCreationThrottle' => [ 'integer', 'array', ], 'TempAccountCreationThrottle' => 'array', 'TempAccountNameAcquisitionThrottle' => 'array', 'SpamRegex' => 'array', 'SummarySpamRegex' => 'array', 'DnsBlacklistUrls' => 'array', 'ProxyList' => [ 'string', 'array', ], 'ProxyWhitelist' => 'array', 'SoftBlockRanges' => 'array', 'RateLimits' => 'object', 'RateLimitsExcludedIPs' => 'array', 'ExternalQuerySources' => 'object', 'PasswordAttemptThrottle' => 'array', 'GrantPermissions' => 'object', 'GrantPermissionGroups' => 'object', 'GrantRiskGroups' => 'object', 'EnableBotPasswords' => 'boolean', 'BotPasswordsCluster' => [ 'string', 'boolean', ], 'BotPasswordsDatabase' => [ 'string', 'boolean', ], 'BotPasswordsLimit' => 'integer', 'ReauthenticateForActions' => 'object', 'CSPHeader' => [ 'boolean', 'object', ], 'CSPReportOnlyHeader' => [ 'boolean', 'object', ], 'CSPUseReportURIDirective' => [ 'boolean', 'object', ], 'CSPFalsePositiveUrls' => 'object', 'AllowCrossOrigin' => 'boolean', 'RestAllowCrossOriginCookieAuth' => 'boolean', 'CookieSameSite' => [ 'string', 'null', ], 'CacheVaryCookies' => 'array', 'DeviceBoundSessions' => 'boolean', 'DeviceBoundSessionsReportOnly' => 'boolean', 'DeviceBoundSessionCookieName' => 'string', 'DeviceBoundSessionCredentialTTL' => 'integer', 'DeviceBoundSessionChallengeTTL' => 'integer', 'DeviceBoundSessionBindingTTL' => 'integer', 'DeviceBoundSessionScopeExcludes' => 'array', 'TrxProfilerLimits' => 'object', 'DebugLogGroups' => 'object', 'MWLoggerDefaultSpi' => 'object', 'Profiler' => 'object', 'StatsTarget' => [ 'string', 'null', ], 'StatsFormat' => [ 'string', 'null', ], 'StatsPrefix' => 'string', 'OpenTelemetryConfig' => [ 'object', 'null', ], 'OpenSearchTemplates' => 'object', 'NamespacesToBeSearchedDefault' => 'object', 'SitemapNamespaces' => [ 'boolean', 'array', ], 'SitemapNamespacesPriorities' => [ 'boolean', 'object', ], 'SitemapApiConfig' => 'object', 'SpecialSearchFormOptions' => 'object', 'SearchMatchRedirectPreference' => 'boolean', 'SearchRunSuggestedQuery' => 'boolean', 'PreviewOnOpenNamespaces' => 'object', 'ReadOnlyWatchedItemStore' => 'boolean', 'GitRepositoryViewers' => 'object', 'InstallerInitialPages' => 'array', 'RCLinkLimits' => 'array', 'RCLinkDays' => 'array', 'RCFeeds' => 'object', 'OverrideSiteFeed' => 'object', 'FeedClasses' => 'object', 'AdvertisedFeedTypes' => 'array', 'SoftwareTags' => 'object', 'RestrictedTagViewRights' => 'object', 'RecentChangesFlags' => 'object', 'WatchlistExpiry' => 'boolean', 'EnableWatchstarPopover' => 'boolean', 'EnableWatchlistLabels' => 'boolean', 'WatchlistLabelsMaxPerUser' => 'integer', 'WatchlistPurgeRate' => 'number', 'WatchlistExpiryMaxDuration' => [ 'string', 'null', ], 'EnableChangesListQueryPartitioning' => 'boolean', 'ImportSources' => 'object', 'ExtensionFunctions' => 'array', 'ExtensionMessagesFiles' => 'object', 'MessagesDirs' => 'object', 'TranslationAliasesDirs' => 'object', 'ExtensionEntryPointListFiles' => 'object', 'ValidSkinNames' => 'object', 'SpecialPages' => 'object', 'ExtensionCredits' => 'object', 'Hooks' => 'object', 'ServiceWiringFiles' => 'array', 'JobClasses' => 'object', 'JobTypesExcludedFromDefaultQueue' => 'array', 'JobBackoffThrottling' => 'object', 'JobTypeConf' => 'object', 'SpecialPageCacheUpdates' => 'object', 'PagePropLinkInvalidations' => 'object', 'TempCategoryCollations' => 'array', 'SortedCategories' => 'boolean', 'TrackingCategories' => 'array', 'LogTypes' => 'array', 'LogRestrictions' => 'object', 'FilterLogTypes' => 'object', 'LogNames' => 'object', 'LogHeaders' => 'object', 'LogActions' => 'object', 'LogActionsHandlers' => 'object', 'ActionFilteredLogs' => 'object', 'WatchUserPageOnAccountCreation' => 'boolean', 'RangeContributionsCIDRLimit' => 'object', 'Actions' => 'object', 'NamespaceRobotPolicies' => 'object', 'ArticleRobotPolicies' => 'object', 'ExemptFromUserRobotsControl' => [ 'array', 'null', ], 'APIModules' => 'object', 'APIFormatModules' => 'object', 'APIMetaModules' => 'object', 'APIPropModules' => 'object', 'APIListModules' => 'object', 'APIUselessQueryPages' => 'array', 'CrossSiteAJAXdomains' => 'object', 'CrossSiteAJAXdomainExceptions' => 'object', 'AllowedCorsHeaders' => 'array', 'RestAPIAdditionalRouteFiles' => 'array', 'RestLocalModuleTestBaseUrl' => [ 'string', 'null', ], 'RestModuleOverrides' => 'object', 'RestExternalModules' => 'object', 'RestTermsOfServiceUrl' => [ 'string', 'null', ], 'ShellRestrictionMethod' => [ 'string', 'boolean', ], 'ShellboxUrls' => 'object', 'ShellboxSecretKey' => [ 'string', 'null', ], 'ShellboxShell' => [ 'string', 'null', ], 'HTTPTimeout' => 'number', 'HTTPConnectTimeout' => 'number', 'HTTPMaxTimeout' => 'number', 'HTTPMaxConnectTimeout' => 'number', 'HTTPUserAgentContact' => [ 'string', 'boolean', ], 'LocalVirtualHosts' => 'object', 'LocalHTTPProxy' => [ 'string', 'boolean', ], 'GenerateReqIDFormat' => 'string', 'EventRelayerConfig' => 'object', 'Pingback' => 'boolean', 'OriginTrials' => 'array', 'ReportToExpiry' => 'integer', 'ReportToEndpoints' => 'array', 'FeaturePolicyReportOnly' => 'array', 'SkinsPreferred' => 'array', 'SpecialContributeSkinsEnabled' => 'array', 'SpecialContributeNewPageTarget' => [ 'string', 'null', ], 'EnableEditRecovery' => 'boolean', 'EditRecoveryExpiry' => 'integer', 'UseCodexSpecialBlock' => 'boolean', 'ShowLogoutConfirmation' => 'boolean', 'EnableProtectionIndicators' => 'boolean', 'OutputPipelineStages' => 'object', 'FeatureShutdown' => 'array', 'UseLeximorph' => 'boolean', 'UsePostprocCacheLegacy' => 'boolean', 'UsePostprocCacheParsoid' => 'boolean', 'ParserOptionsLogUnsafeSampleRate' => 'integer', 'ReturnExperimentalPFragmentTypes' => 'array', 'UseParsoidLinksUpdate' => [ 'boolean', 'null', ], 'UseParsoidMessages' => [ 'boolean', 'null', ], 'UseParsoidParser' => 'boolean', 'SiteLookup' => 'object', ], 'mergeStrategy' => [ 'TiffThumbnailType' => 'replace', 'LBFactoryConf' => 'replace', 'InterwikiCache' => 'replace', 'PasswordPolicy' => 'array_replace_recursive', 'AuthManagerAutoConfig' => 'array_plus_2d', 'GroupPermissions' => 'array_plus_2d', 'RevokePermissions' => 'array_plus_2d', 'AddGroups' => 'array_merge_recursive', 'RemoveGroups' => 'array_merge_recursive', 'RateLimits' => 'array_plus_2d', 'GrantPermissions' => 'array_plus_2d', 'MWLoggerDefaultSpi' => 'replace', 'Profiler' => 'replace', 'Hooks' => 'array_merge_recursive', 'RestModuleOverrides' => 'array_replace_recursive', 'RestExternalModules' => 'array_replace_recursive', ], 'dynamicDefault' => [ 'UsePathInfo' => [ 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultUsePathInfo', ], ], 'Script' => [ 'use' => [ 'ScriptPath', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultScript', ], ], 'LoadScript' => [ 'use' => [ 'ScriptPath', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultLoadScript', ], ], 'RestPath' => [ 'use' => [ 'ScriptPath', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultRestPath', ], ], 'StylePath' => [ 'use' => [ 'ResourceBasePath', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultStylePath', ], ], 'LocalStylePath' => [ 'use' => [ 'ScriptPath', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultLocalStylePath', ], ], 'ExtensionAssetsPath' => [ 'use' => [ 'ResourceBasePath', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultExtensionAssetsPath', ], ], 'ArticlePath' => [ 'use' => [ 'Script', 'UsePathInfo', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultArticlePath', ], ], 'UploadPath' => [ 'use' => [ 'ScriptPath', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultUploadPath', ], ], 'FileCacheDirectory' => [ 'use' => [ 'UploadDirectory', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultFileCacheDirectory', ], ], 'Logo' => [ 'use' => [ 'ResourceBasePath', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultLogo', ], ], 'DeletedDirectory' => [ 'use' => [ 'UploadDirectory', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultDeletedDirectory', ], ], 'ShowEXIF' => [ 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultShowEXIF', ], ], 'SharedPrefix' => [ 'use' => [ 'DBprefix', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultSharedPrefix', ], ], 'SharedSchema' => [ 'use' => [ 'DBmwschema', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultSharedSchema', ], ], 'DBerrorLogTZ' => [ 'use' => [ 'Localtimezone', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultDBerrorLogTZ', ], ], 'Localtimezone' => [ 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultLocaltimezone', ], ], 'LocalTZoffset' => [ 'use' => [ 'Localtimezone', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultLocalTZoffset', ], ], 'ResourceBasePath' => [ 'use' => [ 'ScriptPath', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultResourceBasePath', ], ], 'MetaNamespace' => [ 'use' => [ 'Sitename', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultMetaNamespace', ], ], 'CookieSecure' => [ 'use' => [ 'ForceHTTPS', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultCookieSecure', ], ], 'CookiePrefix' => [ 'use' => [ 'SharedDB', 'SharedPrefix', 'SharedTables', 'DBname', 'DBprefix', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultCookiePrefix', ], ], 'ReadOnlyFile' => [ 'use' => [ 'UploadDirectory', ], 'callback' => [ 'MediaWiki\\MainConfigSchema', 'getDefaultReadOnlyFile', ], ], ], ], 'config-schema' => [ 'UploadStashScalerBaseUrl' => [ 'deprecated' => 'since 1.36 Use thumbProxyUrl in $wgLocalFileRepo', ], 'IllegalFileChars' => [ 'deprecated' => 'since 1.41; no longer customizable', ], 'ThumbnailNamespaces' => [ 'items' => [ 'type' => 'integer', ], ], 'LocalDatabases' => [ 'items' => [ 'type' => 'string', ], ], 'ParserCacheFilterConfig' => [ 'additionalProperties' => [ 'type' => 'object', 'description' => 'A map of namespace IDs to filter definitions.', 'additionalProperties' => [ 'type' => 'object', 'description' => 'A map of filter names to values.', 'properties' => [ 'minCpuTime' => [ 'type' => 'number', ], ], ], ], ], 'RawHtmlMessages' => [ 'items' => [ 'type' => 'string', ], ], 'InterwikiLogoOverride' => [ 'items' => [ 'type' => 'string', ], ], 'LegalTitleChars' => [ 'deprecated' => 'since 1.41; use Extension:TitleBlacklist to customize', ], 'ReauthenticateTime' => [ 'additionalProperties' => [ 'type' => [ 'integer', 'array', ], ], ], 'ChangeCredentialsBlacklist' => [ 'items' => [ 'type' => 'string', ], ], 'RemoveCredentialsBlacklist' => [ 'items' => [ 'type' => 'string', ], ], 'GroupPermissions' => [ 'additionalProperties' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'boolean', ], ], ], 'GroupInheritsPermissions' => [ 'additionalProperties' => [ 'type' => 'string', ], ], 'AvailableRights' => [ 'items' => [ 'type' => 'string', ], ], 'ImplicitRights' => [ 'items' => [ 'type' => 'string', ], ], 'SoftBlockRanges' => [ 'items' => [ 'type' => 'string', ], ], 'ExternalQuerySources' => [ 'additionalProperties' => [ 'type' => 'object', 'properties' => [ 'enabled' => [ 'type' => 'boolean', 'default' => false, ], 'url' => [ 'type' => 'string', 'format' => 'uri', ], 'timeout' => [ 'type' => 'integer', 'default' => 10, ], ], 'required' => [ 'enabled', 'url', ], 'additionalProperties' => false, ], ], 'GrantPermissions' => [ 'additionalProperties' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'boolean', ], ], ], 'GrantPermissionGroups' => [ 'additionalProperties' => [ 'type' => 'string', ], ], 'SitemapNamespacesPriorities' => [ 'deprecated' => 'since 1.45 and ignored', ], 'SitemapApiConfig' => [ 'additionalProperties' => [ 'enabled' => [ 'type' => 'bool', ], 'sitemapsPerIndex' => [ 'type' => 'int', ], 'pagesPerSitemap' => [ 'type' => 'int', ], 'expiry' => [ 'type' => 'int', ], 'skipRedirects' => [ 'type' => 'bool', ], ], ], 'SoftwareTags' => [ 'additionalProperties' => [ 'type' => 'boolean', ], ], 'UseCopyrightUpload' => [ 'deprecated' => 'since 1.47 This feature is being removed.', ], 'JobBackoffThrottling' => [ 'additionalProperties' => [ 'type' => 'number', ], ], 'JobTypeConf' => [ 'additionalProperties' => [ 'type' => 'object', 'properties' => [ 'class' => [ 'type' => 'string', ], 'order' => [ 'type' => 'string', ], 'claimTTL' => [ 'type' => 'integer', ], ], ], ], 'TrackingCategories' => [ 'deprecated' => 'since 1.25 Extensions should now register tracking categories using the new extension registration system.', ], 'RangeContributionsCIDRLimit' => [ 'additionalProperties' => [ 'type' => 'integer', ], ], 'RestModuleOverrides' => [ 'additionalProperties' => [ 'type' => 'object', 'properties' => [ 'availability' => [ 'type' => 'string', ], 'groups' => [ 'type' => 'array', ], ], ], ], 'RestExternalModules' => [ 'additionalProperties' => [ 'type' => 'object', 'properties' => [ 'info' => [ 'type' => 'object', 'properties' => [ 'version' => [ 'type' => 'string', ], 'title' => [ 'type' => 'string', ], 'x-i18n-title' => [ 'type' => 'string', ], 'description' => [ 'type' => 'string', ], 'x-i18n-description' => [ 'type' => 'string', ], ], 'required' => [ 'version', ], ], 'base' => [ 'type' => 'string', 'format' => 'uri', ], 'spec' => [ 'type' => 'string', 'format' => 'uri', ], ], 'required' => [ 'info', 'base', 'spec', ], ], ], 'ShellboxUrls' => [ 'additionalProperties' => [ 'type' => [ 'string', 'boolean', 'null', ], ], ], ], 'obsolete-config' => [ 'MangleFlashPolicy' => 'Since 1.39; no longer has any effect.', 'EnableOpenSearchSuggest' => 'Since 1.35, no longer used', 'AutoloadAttemptLowercase' => 'Since 1.40; no longer has any effect.', ],]
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
Interface for objects which can provide a MediaWiki context on request.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
Definition GetIPHook.php:12
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
Represents the target of a wiki link.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
Interface for objects (potentially) representing an editable wiki page.
Interface for objects (potentially) representing a page that can be viewable and linked to on a wiki.
Interface for a page that is (or could be, or used to be) an editable wiki page.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This interface represents the authority associated with the current execution context,...
Definition Authority.php:23
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md Use the hook name "PermissionStatusAudit" to regi...
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
This is a hook handler interface, see docs/Hooks.md.
Interface for objects representing user identity.