MediaWiki REL1_31
|
Typedefs | |
using | $status |
using | name |
Functions | |
for adding new MIME info to the list Use $mimeMagic | addExtraTypes ( $stringOfTypes) |
the | array () calling protocol came about after MediaWiki 1.4rc1. |
the value of this variable comes from LanguageConverter indexed by page_id indexed by prefixed DB keys can modify can modify can modify this should be populated with an alert message to that effect to be fed to an HTMLForm object and populate $result with the reason in the form of | array (messagename, param1, param2,...) or a MessageSpecifier instance(you might want to use ApiMessage to provide machine-readable details for the API). For consistency |
the other converts the title to all uppercase letters in MediaWiki we would handle this as | follows (note:not real code, here) |
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist and Watchlist you will want to construct new ChangesListBooleanFilter or ChangesListStringOptionsFilter objects When constructing you specify which group they belong to You can reuse existing | groups (accessed through $special->getFilterGroup) |
if ( $wgReverseTitle) | |
function | ldapLogin ( $username, $password) |
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing | options (say) and put it in one place. Instead of having little title-reversing if-blocks spread all over the codebase in showAnArticle |
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist and Watchlist you will want to construct new ChangesListBooleanFilter or ChangesListStringOptionsFilter objects When constructing you specify which group they belong to You can reuse existing or create your | own (ChangesListBooleanFilterGroup or ChangesListStringOptionsFilterGroup). If you create new groups |
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation default is conds Array Extra conditions for the | query (e.g. "log_action != 'revision'") - showIfEmpty boolean Set to false if you don 't want any output in case the loglist is empty if set to true(default) |
processing should stop and the error should be shown to the user if you wanted to authenticate users to a custom | system (LDAP, another PHP program, whatever) |
Returning false makes less sense for events where the action is and will normally be ignored Note that none of the examples made use of create_function() as a way to attach a function to a hook. This is known to cause problems(notably with Special this is a necessary inconvenience to make it possible to pass reference | values (that can be changed) into the hook code. Also note that earlier versions of wfRunHooks took a variable number of arguments |
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a set this to the key of the message First element is the message additional optional elements are parameters for the key that are processed with | wfMessage () -> params() ->parseAsBlock() - offset Set to overwrite offset parameter in $wgRequest set to '' to unset offset - wrap String Wrap the message in html(usually something like "<div ...>$1</div>"). - flags Integer display flags(NO_ACTION_LINK, NO_EXTRA_USER_LINKS) 'LogException':Called before an exception(or PHP error) is logged. This is meant for integration with external error aggregation services |
Variables | |
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a local account incomplete & | $abortMsg |
Using a hook running we can avoid having all this option specific stuff in our mainline code Using the function array | $article |
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses after processing & | $attribs |
return true to allow those checks to and false if checking is done remove or add to the links of a group of changes in EnhancedChangesList Hook subscribers can return false to omit this line from recentchanges use this to change the tables headers change it to an object instance and return false override the list derivative used the name of the old file when set the default code will be skipped true if there is text before this autocomment | $auto |
return true to allow those checks to and false if checking is done remove or add to the links of a group of changes in EnhancedChangesList Hook subscribers can return false to omit this line from recentchanges | $changesList |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable & | $code |
the value of this variable comes from LanguageConverter indexed by page_id & | $colours |
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on and they can depend only on the ResourceLoaderContext | $context |
null means default & | $customAttribs |
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify as strings Extensions should add to this list prev or next refreshes the diff cache allow viewing deleted revs & | $differenceEngine |
returning false will NOT prevent logging | $e |
passed in as a query string parameter to the various URLs constructed here(i.e. $prevlink) $ldel you ll need to handle error etc yourself modifying $error and returning true will cause the contents of $error to be echoed at the top of the edit form as wikitext Return true without altering $error to allow the edit to proceed & | $editor |
the value to return A Title object or null for latest all implement SearchIndexField | $engine |
return true to allow those checks to and false if checking is done remove or add to the links of a group of changes in EnhancedChangesList Hook subscribers can return false to omit this line from recentchanges use this to change the tables headers & | $extTypes |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check set to true or false to override the $wgMaxImageArea check result gives extension the possibility to transform it themselves | $handler |
see documentation in includes Linker php for Linker::makeImageLink & | $handlerParams |
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses & | $html |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check | $image |
processing should stop and the error should be shown to the user if you wanted to authenticate users to a custom you could | $ldapServer |
usually copyright or history_copyright This message must be in HTML not wikitext & | $link |
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses after processing after in associative array form before processing starts Return false to skip default processing and return $ret | $linkRenderer |
either a unescaped string or a HtmlArmor object after in associative array form externallinks | $linksUpdate |
namespace are movable Hooks may change this value to override the return value of MWNamespace::isMovable(). 'NewDifferenceEngine' if it s text intended for display in a monospaced font | $localize |
static configuration should be added through ResourceLoaderGetConfigVars instead can be used to get the real title after the basic globals have been set but before ordinary actions take place or wrap services the preferred way to define a new service is the $wgServiceWiringFiles array change it to the message you want to define you are encouraged to submit patches to MediaWiki s core to add new MIME types to mime types | $mimeMagic |
Allows to change the fields on the form that will be generated | $name |
namespace and then decline to actually register it & | $namespaces |
also included in $newHeader if any | $newminor |
the value of this variable comes from LanguageConverter indexed by page_id indexed by prefixed DB keys can modify can modify can modify this should be populated with an alert message to that effect | $newtalks |
passed in as a query string parameter to the various URLs constructed here(i.e. $nextlink) $rdel also included in $oldHeader | $oldminor |
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped & | $options |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output | $out |
static configuration should be added through ResourceLoaderGetConfigVars instead can be used to get the real title after the basic globals have been set but before ordinary actions take place | $output |
do that in ParserLimitReportFormat instead | $parser |
return true to allow those checks to and false if checking is done remove or add to the links of a group of changes in EnhancedChangesList Hook subscribers can return false to omit this line from recentchanges use this to change the tables headers change it to an object instance and return false override the list derivative used the name of the old file when set the default code will be skipped | $pre |
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify | $query |
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify as strings Extensions should add to this list prev or next | $refreshCache |
this hook is for auditing only | $req |
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on | $request |
Allows to change the fields on the form that will be generated are created Can be used to omit specific feeds from being outputted You must not use this hook to add use OutputPage::addFeedLink() instead. & $feedLinks hooks can tweak the array to change how login etc forms should look | $requests |
namespace and then decline to actually register it file or subcat | $res |
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on and they can depend only on the ResourceLoaderContext such as when responding to a resource loader request or generating HTML output & | $resourceLoader |
For QUnit the mediawiki tests qunit testrunner dependency will be added to any module & | $ResourceLoader |
this hook is for auditing only | $response |
namespace being checked & | $result |
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses & | $ret |
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a local account incomplete not yet checked for validity & | $retval |
presenting them properly to the user as errors is done by the caller return true use this to change the list i e etc | $rev |
returning false will NOT prevent logging a wrapping ErrorException instead of letting the login form give the generic error message that the account does not exist For when the account has been renamed or deleted or an array to pass a message key and parameters create2 Corresponds to logging log_action database field and which is displayed in the UI & | $revert |
also included in $newHeader | $rollback |
the value to return A Title object or null for latest all implement SearchIndexField must implement ResultSetAugmentor & | $rowAugmentors |
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction | $rows |
usually copyright or history_copyright This message must be in HTML not wikitext if the section is included from a template | $section |
static configuration should be added through ResourceLoaderGetConfigVars instead can be used to get the real title after the basic globals have been set but before ordinary actions take place or wrap services the preferred way to define a new service is the $wgServiceWiringFiles array | $services |
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned | $skin |
this hook is for auditing only RecentChangesLinked and Watchlist | $special |
returning false will NOT prevent logging a wrapping ErrorException | $suppressed |
in this case you re responsible for computing and outputting the entire conflict i the difference between revisions and your text headers and sections and Diff & | $tabindex |
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist & | $tables |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping | $template |
For QUnit the mediawiki tests qunit testrunner dependency will be added to any module whereas SearchGetNearMatch runs after | $term |
see documentation in includes Linker php for Linker::makeImageLink & | $time |
namespace and then decline to actually register it file or subcat img or subcat | $title |
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify as strings Extensions should add to this list prev or next refreshes the diff cache | $unhide |
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a local account | $user |
this hook is for auditing only or null if authentication failed before getting that far | $username |
static configuration should be added through ResourceLoaderGetConfigVars instead & | $vars |
An extension or a local will often add custom code to the function with or without a global variable For someone wanting email notification when an article is shown may | $wgCapitalizeTitle |
$wgHooks ['ArticleShow'][] = 'reverseArticleTitle' | |
An extension or a local will often add custom code to the function with or without a global variable For someone wanting email notification when an article is shown may | $wgNotifyArticle |
please add to it if you re going to add events to the MediaWiki code | AbortAutoAccount |
An extension or a local will often add custom code to the function with or without a global variable For someone wanting email notification when an article is shown may | add |
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In | addition |
An extension or a local | admin |
passed in as a query string parameter to the various URLs constructed here(i.e. $prevlink) $ldel you ll need to handle error etc yourself | Alternatively |
and how to run hooks for an and one after Each event has a preferably in CamelCase For ArticleDelete hook A clump of code and data that should be run when an event happens This can be either a function and a chunk of or an object and a method hook function The function part of a third party developers and local administrators to define code that will be run at certain points in the mainline and to modify the data run by that mainline code Hooks can keep mainline code and make it easier to write extensions Hooks are a principled alternative to local patches for two options in MediaWiki One reverses the order of a title before displaying the | article |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place | ATTENTION |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that | AuthPluginAutoCreate |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub | AutopromoteCondition |
Using a hook running we can avoid having all this option specific stuff in our mainline code Using the function | becomes |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array | BeforeDisplayNoArticleText |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable | BeforeInitialize |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable | BeforeParserFetchFileAndTitle |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check set to true or false to override the $wgMaxImageArea check result | BitmapHandlerTransform |
returning false will NOT prevent logging a wrapping ErrorException instead of letting the login form give the generic error message that the account does not exist For when the account has been renamed or deleted or an array to pass a message key and parameters | block |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check set to true or false to override the $wgMaxImageArea check result gives extension the possibility to transform it themselves set to a MediaTransformOutput | BlockIp |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check set to true or false to override the $wgMaxImageArea check result gives extension the possibility to transform it themselves set to a MediaTransformOutput the error message to be returned in an array | BlockIpComplete |
the value of this variable comes from LanguageConverter indexed by page_id indexed by prefixed DB keys can modify can modify can modify this should be populated with an alert message to that effect to be fed to an HTMLForm object and populate $result with the reason in the form of error messages should be plain text with no special | bolding |
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped | broken |
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid | bugs |
in this case you re responsible for computing and outputting the entire conflict i the difference between revisions and your text headers and sections and Diff or overridable Default is either copyrightwarning or copyrightwarning2 overridable Default is editpage tos summary such as anonymity and the real | check |
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those | classes |
and how to run hooks for an and one after Each event has a preferably in CamelCase For ArticleDelete hook A clump of code and data that should be run when an event happens This can be either a function and a chunk of or an object and a method hook function The function part of a third party developers and local administrators to define code that will be run at certain points in the mainline | code |
the value of this variable comes from LanguageConverter indexed by page_id indexed by prefixed DB keys can modify can modify can modify this should be populated with an alert message to that effect to be fed to an HTMLForm object and populate $result with the reason in the form of error messages should be plain text with no special | coloring |
Returning false makes less sense for events where the action is | complete |
namespace addition is | conditional |
and how to run hooks for an and one after Each event has a preferably in CamelCase For ArticleDelete hook A clump of code and data that should be run when an event happens This can be either a function and a chunk of or an object and a method hook function The function part of a third party developers and local administrators to define code that will be run at certain points in the mainline and to modify the data run by that mainline code Hooks can keep mainline code and make it easier to write extensions Hooks are a principled alternative to local patches | Consider |
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on and they can depend only on the ResourceLoaderContext such as when responding to a resource loader request or generating HTML output included in | core |
the other converts the title to all uppercase letters | Currently |
and how to run hooks for an and one after Each event has a preferably in CamelCase For ArticleDelete hook A clump of code and data that should be run when an event happens This can be either a function and a chunk of | data |
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing | deleteAnArticle |
also included in $newHeader if any indicating whether we should show just the | diff |
processing should stop and the error should be shown to the user if you wanted to authenticate users to a custom you could | do |
in this case you re responsible for computing and outputting the entire conflict i | e |
in this case you re responsible for computing and outputting the entire conflict i the difference between revisions and your text headers and sections and Diff or overridable Default is either copyrightwarning or copyrightwarning2 | EditPageGetCheckboxesDefinition |
in this case you re responsible for computing and outputting the entire conflict i the difference between revisions and your text headers and sections and Diff or overridable Default is either copyrightwarning or copyrightwarning2 overridable Default is editpage tos summary | EmailConfirmed |
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults | error |
the value of this variable comes from LanguageConverter indexed by page_id indexed by prefixed DB keys can modify can modify can modify this should be populated with an alert message to that effect to be fed to an HTMLForm object and populate $result with the reason in the form of error messages should be plain text with no special etc to show that they re | errors |
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing | etc |
how to add hooks for an | event |
and how to run hooks for an and one after Each event has a preferably in CamelCase For | example |
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing | exportArticle |
processing should stop and the error should be shown to the user * | false |
Allows to change the fields on the form that will be generated are created Can be used to omit specific feeds from being outputted You must not use this hook to add | feeds |
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing we can concentrate it all in an extension | file |
return true to allow those checks to and false if checking is done remove or add to the links of a group of changes in EnhancedChangesList Hook subscribers can return false to omit this line from recentchanges use this to change the tables headers change it to an object instance and return false override the list derivative used | FileDeleteComplete |
null means default in associative array | form |
if the prop value should be in the metadata multi language array | format |
For QUnit | framework |
null for the local wiki Added should default to null in handler | functions |
null for the local wiki Added should default to null in handler for backwards compatibility | GalleryGetModes |
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist and Watchlist | Generally |
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options | GetCanonicalURL |
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify as strings Extensions should add to this list | GetDefaultSortkey |
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify as strings Extensions should add to this list prev or next refreshes the diff cache allow viewing deleted revs difference engine object to be used for diff | GetDoubleUnderscoreIDs |
the value of this variable comes from LanguageConverter | GetLinkColours |
the value of this variable comes from LanguageConverter indexed by page_id indexed by prefixed DB keys | GetLocalURL |
the value of this variable comes from LanguageConverter indexed by page_id indexed by prefixed DB keys can modify can modify can modify this should be populated with an alert message to that effect to be fed to an HTMLForm object | GetRelativeTimestamp |
presenting them properly to the user as errors is done by the caller return true | getUserPermissionsErrorsExpensive |
presenting them properly to the user as errors is done by the caller return true | GitViewers |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check set to true or false to override the $wgMaxImageArea check result gives extension the possibility to transform it themselves set to a MediaTransformOutput the error message to be returned in an array you should do so by altering $wgNamespaceProtection and $wgNamespaceContentModels outside the | handler |
they could be provided by a third party developer or written by the admin him | herself |
presenting them properly to the user as errors is done by the caller return true use this to change the list i e etc next in line in page | history |
and how to run hooks for an and one after Each event has a preferably in CamelCase For ArticleDelete hook A clump of code and data that should be run when an event happens This can be either a function and a chunk of or an object and a method hook function The function part of a | hook |
Using a hook running we can avoid having all this option specific stuff in our mainline code Using | hooks |
static configuration should be added through ResourceLoaderGetConfigVars instead can be used to get the real title after the basic globals have been set but before ordinary actions take place or wrap services | However |
either a unescaped string or a HtmlArmor object after in associative array form | imagelinks |
see documentation in includes Linker php for Linker::makeImageLink or false for current used if you return false | ImageOpenShowImageInlineBefore |
null for the local wiki Added | in |
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and | insert |
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure | Instead |
you don t have to do a grep find to see where the $wgReverseTitle variable is say If the code is well enough | isolated |
presenting them properly to the user as errors is done by the caller return true but is called only if expensive checks are enabled Add a permissions error when permissions errors are checked for Return false if the user can t do | it |
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a set this to the key of the message First element is the message | key |
usually copyright or history_copyright This message must be in HTML not wikitext if the section is included from a template to be included in the | link |
in this case you re responsible for computing and outputting the entire conflict i the difference between revisions and your text headers and sections | Live |
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation | LogEventsListGetExtraInputs |
returning false will NOT prevent logging a wrapping ErrorException instead of letting the login form give the generic error message that the account does not exist For when the account has been renamed or deleted or an array to pass a message key and parameters | LogLine |
static configuration should be added through ResourceLoaderGetConfigVars instead can be used to get the real title | MarkPatrolled |
hooks txt This document describes how event hooks work in | MediaWiki |
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a | message |
passed in as a query string parameter to the various URLs constructed here(i.e. $prevlink) $ldel you ll need to handle error | messages |
for adding new MIME types to the list | ModifyExportQuery |
either a unescaped string or a HtmlArmor | object |
return true to allow those checks to | occur |
When an event | occurs |
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going | on |
and how to run hooks for an and one after Each event has a preferably in CamelCase For | PageContentSave |
and how to run hooks for an and one after Each event has a preferably in CamelCase For | PageContentSaveComplete |
either a unescaped string or a HtmlArmor object after in associative array form | pagelinks |
namespace are movable Hooks may change this value to override the return value of MWNamespace::isMovable(). 'NewDifferenceEngine' if it s text intended for display in a monospaced font $report should be output in English | ParserLimitReportPrepare |
in this case you re responsible for computing and outputting the entire conflict | part |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been | performed |
either a | plain |
in this case you re responsible for computing and outputting the entire conflict i the difference between revisions and your text headers and sections | Preview |
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses after processing after | processing |
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist | RecentChangesLinked |
static configuration should be added through ResourceLoaderGetConfigVars instead can be used to get the real title after the basic globals have been set but before ordinary actions take place | replace |
returning false will NOT prevent logging a wrapping ErrorException instead of letting the login form give the generic error message that the account does not exist For when the account has been renamed or deleted or an array to pass a message key and parameters create2 Corresponds to logging log_action database field and which is displayed in the UI similar to $comment this hook should only be used to add variables that depend on the current page | request |
presenting them properly to the user as errors is done by the caller return true use this to change the list i e | rollback |
Allows to change the fields on the form that will be generated | rss |
This code would result in ircNotify being run twice when an article is | saved |
set to $title object and return false for a match | SearchGetNearMatch |
set to $title object and return false for a match | SearchGetNearMatchBefore |
the value to return A Title object or null | SearchGetNearMatchComplete |
the value to return A Title object or null for latest | SearchIndexFields |
and how to run hooks for an and one after Each event has a preferably in CamelCase For ArticleDelete hook A clump of code and data that should be run when an event happens This can be either a function and a chunk of or an object and a method hook function The function part of a third party developers and local administrators to define code that will be run at certain points in the mainline and to modify the data run by that mainline code Hooks can keep mainline code | simple |
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify as strings Extensions should add to this list prev or next refreshes the diff cache allow viewing deleted revs difference engine object to be used for diff | source |
Using a hook running | strategy |
This code would result in ircNotify being run twice when an article is and once for brion Hooks can return three possible true was required This is the default since MediaWiki *some | string |
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that | structure |
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist and Watchlist you will want to construct new ChangesListBooleanFilter or ChangesListStringOptionsFilter objects When constructing | them |
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return | true |
Having all this code related to the title reversion option in one place means that it s easier to read and | understand |
presenting them properly to the user as errors is done by the caller return true use this to change the list i e | undo |
static configuration should be added through ResourceLoaderGetConfigVars instead can be used to get the real title after the basic globals have been set | up |
you don t have to do a grep find to see where the $wgReverseTitle variable is | used |
and how to run hooks for an and one after Each event has a preferably in CamelCase For | UserLogin |
This code would result in ircNotify being run twice when an article is and once for brion Hooks can return three possible | values |
We ve cleaned up the code here by removing clumps of | weird |
An extension | writer |
to move a page</td >< td > &*You are moving the page across *A non empty talk page already exists under the new name |
the array | ( | ) |
Referenced by MemcachedClient::__construct(), MagicWord::__construct(), Message::__construct(), ResourceLoaderImage::__construct(), ResourceLoaderFileModule::__construct(), HOTPResult::__construct(), FSFileBackend::__construct(), IndexPager::__construct(), BatchRowIterator::__construct(), MediaWikiTitleCodec::__construct(), MemcachedClient::_flush_read_buffer(), MemcachedClient::_incrdecr(), MemcachedClient::_load_items(), ApiBase::addDeprecation(), ApiErrorFormatter::addMessagesFromStatus(), ApiQueryBase::addWhereRange(), ApiQuerySiteinfo::appendGeneralInfo(), ApiResult::applyTransformations(), ApiMoveTest::assertMoved(), PHPVersionCheck::checkExtensionExistence(), ApiBase::checkUserRightsAny(), CleanupUsersWithNoId::cleanup(), User::createNew(), CommentStore::decodeMessage(), ExternalStore::defaultStoresAreReadOnly(), MemcachedClient::disconnect_all(), RecompressTracked::dispatchToReplica(), ApiUserrightsTest::doSuccessfulRightsChange(), FileBackendTest::doTestGetFileContents(), FileBackendTest::doTestGetLocalCopy(), FileBackendTest::doTestGetLocalReference(), TextPassDumper::endElement(), Sanitizer::escapeId(), ApiParse::execute(), ApiProtect::execute(), ApiQueryUsers::execute(), ApiUserrights::execute(), JSParser::Expression(), UploadStash::fetchFileMetadata(), TextPassDumper::finalOptionCheck(), MemcachedClient::forget_dead_hosts(), FeedUtils::formatDiff(), JSParser::FunctionDefinition(), HOTP::generateByCounter(), HOTP::generateByTimeWindow(), MemcachedClient::get(), JSTokenizer::get(), MemcachedClient::get_multi(), MemcachedClient::get_sock(), LegacyLogFormatter::getActionMessage(), MediaWiki\Interwiki\ClassicInterwikiLookup::getAllPrefixesDB(), Title::getAuthorsBetween(), HTMLForm::getButtons(), OOUIHTMLForm::getButtons(), VFormHTMLForm::getButtons(), CommentStore::getCommentInternal(), SiteConfiguration::getConfig(), Wikimedia\Rdbms\LoadBalancer::getConnection(), MediaWikiTestCase::getExternalStoreDatabaseConnections(), FileContentsHasher::getFileContentsHash(), Language::getGenderNsText(), TablePager::getHiddenFields(), SpecialUpload::getInitialPageText(), HTMLAutoCompleteSelectField::getInputHTML(), ApiParamInfo::getModuleInfo(), Language::getNamespaceAliases(), PHPVersionCheck::getPHPInfo(), ApiResult::getResultData(), ConverterRule::getTextInBidtable(), JSTokenizer::init(), Wikimedia\Rdbms\Database::insertSelect(), MediaWikiTestCase::isUsingExternalStoreDB(), LogPager::limitType(), Linker::link(), MediaWiki\Interwiki\ClassicInterwikiLookup::load(), ApiAuthManagerHelper::loadAuthenticationRequests(), MediaWiki\Auth\AuthenticationRequest::loadFromSubmission(), PopulateArchiveRevId::makeDummyRevisionRow(), EditPage::matchSpamRegex(), EditPage::matchSummarySpamRegex(), MigrateComments::migrate(), MigrateActors::migrate(), ChangeTags::modifyDisplayQuery(), Wikimedia\Rdbms\Database::nonNativeInsertSelect(), InterwikiHooks::onInterwikiLoadPrefix(), Html::openElement(), ApiResult::path(), TextPassDumper::readDump(), QueryPage::reallyDoQuery(), ShortPagesPage::reallyDoQuery(), ApiFormatXml::recXmlPrint(), ResourceLoader::register(), ApiResult::removeValue(), Wikimedia\Rdbms\Database::replace(), ApiQueryBacklinks::run(), MemcachedClient::run_command(), TableCleanup::runTable(), SiteStats::salvageInsaneRow(), DatabaseTestHelper::setExistingTables(), ApiResult::setPreserveKeysList(), ApiResult::setSubelementsList(), Sanitizer::setupAttributeWhitelist(), SpecialInterwiki::showList(), LogEventsList::showLogExtract(), LogEventsList::showOptions(), OutputPage::showPermissionsErrorPage(), JSParser::Statement(), ApiResult::stripMetadata(), ApiResult::stripMetadataNonRecursive(), UpdateLogging::sync(), Wikimedia\Rdbms\Database::tableNamesWithIndexClauseOrJOIN(), PageArchiveTest::testListPagesByPrefix(), PageArchiveTest::testListPagesBySearch(), PageArchiveTest::testListRevisions(), ExportTest::testPageByTitle(), Linker::titleAttrib(), Linker::tooltipAndAccesskeyAttribs(), Wikimedia\Rdbms\Database::unionConditionPermutations(), LocalFile::unprefixRow(), ApiResult::validateValue(), and wfInstallerMain().
presenting them properly to the user as errors is done by the caller return true but is called only if expensive checks are enabled Add a permissions error when permissions errors are checked for Return false if the user can t do and populate $result with the reason in the form of array | ( | messagename | , |
param1 | , | ||
param2 | , | ||
... ) |
the other converts the title to all uppercase letters in MediaWiki we would handle this as follows | ( | note:not real | code, |
here | ) |
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist and Watchlist you will want to construct new ChangesListBooleanFilter or ChangesListStringOptionsFilter objects When constructing you specify which group they belong to You can reuse existing groups | ( | accessed through $special-> | getFilterGroup | ) |
Referenced by ActiveUsersPager::__construct(), Wikimedia\Rdbms\ConnectionManager::__construct(), GenerateCollationData::generateFirstChars(), Wikimedia\Rdbms\ConnectionManager::getConnection(), Wikimedia\Rdbms\ConnectionManager::getConnectionRef(), ActiveUsersPager::getQueryInfo(), Wikimedia\Rdbms\ConnectionManager::getReadConnection(), and Wikimedia\Rdbms\ConnectionManager::getReadConnectionRef().
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing options | ( | say | ) |
Referenced by CleanupEmptyCategories::__construct(), PopulateCategory::__construct(), MediaWiki\Logger\Monolog\KafkaHandler::__construct(), ResourceLoaderClientHtml::__construct(), FormOptions::add(), MediaWiki\Logger\Monolog\KafkaHandler::addMessages(), XmlSelect::addOption(), ApiQueryBase::addOption(), XmlSelect::addOptions(), BatchRowIterator::addOptions(), ApiQueryBase::addWhereRange(), CompareParsers::checkOptions(), FormOptions::consumeValue(), FormOptions::consumeValues(), FormOptions::delete(), SpecialBlockList::execute(), FormOptions::fetchValuesFromRequest(), FormOptions::getAllValues(), SpecialBlockList::getBlockListPager(), FormOptions::getChangedValues(), ResourceLoaderClientHtml::getHeadHtml(), XmlSelect::getHTML(), ParserOptions::getOption(), FormOptions::getUnconsumedValues(), FormOptions::getValue(), ParserOptions::initialiseFromUser(), ParserOptions::isSafeToCache(), ParserOptions::matches(), BatchRowIterator::next(), FormOptions::offsetExists(), CompareParsers::processRevision(), MediaWiki\Sparql\SparqlClient::query(), FormOptions::reset(), ApiQueryBase::resetQueryParams(), ApiQueryBase::select(), MediaWiki\Sparql\SparqlClient::setClientOptions(), ParserOptions::setOption(), ParserOptions::setOptionLegacy(), ExtraParserTest::setUp(), FormOptions::setValue(), HTMLAutoCompleteSelectFieldTest::testGetAttributes(), ExtraParserTest::testGetPreloadText(), ExtraParserTest::testParse(), ExtraParserTest::testPreprocess(), ExtraParserTest::testPreSaveTransform(), XmlSelectTest::testSetDefaultAfterAddingOptions(), ExtraParserTest::testTrackingCategory(), ExtraParserTest::testTrackingCategorySpecial(), FormOptions::validateBounds(), FormOptions::validateName(), UserOptionsMaintenance::warn(), and MediaWiki\Logger\Monolog\KafkaHandler::warning().
|
new |
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation default is conds Array Extra conditions for the query | ( | ) |
processing should stop and the error should be shown to the user if you wanted to authenticate users to a custom system | ( | LDAP | , |
another PHP | program, | ||
whatever | ) |
Returning false makes less sense for events where the action is and will normally be ignored Note that none of the examples made use of create_function() as a way to attach a function to a hook. This is known to cause problems(notably with Special this is a necessary inconvenience to make it possible to pass reference values | ( | that can be | changed | ) |
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a set this to the key of the message First element is the message additional optional elements are parameters for the key that are processed with wfMessage | ( | ) | -> params() ->parseAsBlock() - offset Set to overwrite offset parameter in $wgRequest set to '' to unset offset - wrap String Wrap the message in html(usually something like "<div ...>$1</div>"). - flags Integer display flags(NO_ACTION_LINK, NO_EXTRA_USER_LINKS) 'LogException':Called before an exception(or PHP error) is logged. This is meant for integration with external error aggregation services |
Referenced by MalformedTitleException::__construct(), ExprError::__construct(), MessageContent::__construct(), MediaTransformError::__construct(), HTMLAutoCompleteSelectField::__construct(), HTMLSelectOrOtherField::__construct(), TransformParameterError::__construct(), TransformTooBigImageAreaError::__construct(), UploadStashFile::__construct(), MediaWiki\Widget\DateInputWidget::__construct(), MediaWiki\Widget\SizeFilterWidget::__construct(), Linker::accesskey(), LogPage::actionText(), Action::addHelpLink(), Article::addHelpLink(), MediaHandler::addMeta(), WikitextContent::addSectionHeader(), ReplaceTextHooks::addToAdminLinks(), Skin::addToSidebar(), ParserOutput::addTrackingCategory(), ApiQuerySiteinfo::appendInterwikiMap(), JsonContent::arrayTable(), SpecialVersion::arrayToString(), MediaWiki\Auth\AuthManager::autoCreateUser(), MediaWiki\Auth\AuthManager::beginAccountCreation(), MediaWiki\Auth\AuthManager::beginAccountLink(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::beginLinkAttempt(), TOTPSecondaryAuthenticationProvider::beginSecondaryAuthentication(), Linker::blockLink(), Parser::braceSubstitution(), OutputPage::buildBacklinkSubtitle(), Xml::buildForm(), ProtectionForm::buildForm(), AllMessagesTablePager::buildForm(), ChangesFeed::buildItems(), SpecialEditWatchlist::buildTools(), MediaWiki\Auth\AuthManager::checkAccountCreatePermissions(), SpecialPage::checkLoginSecurityLevel(), Cite::checkRefsNoReferences(), Title::checkSpecialsAndNSPermissions(), CleanupSpam::cleanupArticle(), UploadStash::clear(), Language::commaList(), Linker::commentBlock(), WikiPage::commitRollback(), EmailNotification::composeCommonMailtext(), Article::confirmDelete(), MediaWiki\Auth\AuthManager::continueAccountCreation(), MediaWiki\Auth\AuthManager::continueAccountLink(), MediaWiki\Auth\AuthManager::continueAuthentication(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::continueLinkAttempt(), TOTPSecondaryAuthenticationProvider::continueSecondaryAuthentication(), LanguageConverter::convertNamespace(), CommentStore::createComment(), Installer::createMainpage(), Xml::dateMenu(), CoreParserFunctions::defaultsort(), Article::delete(), MediaWiki\Session\SessionProvider::describe(), TOTPAuthenticationRequest::describeCredentials(), MediaWiki\Auth\PasswordAuthenticationRequest::describeCredentials(), MediaWiki\Auth\PasswordDomainAuthenticationRequest::describeCredentials(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequest::describeCredentials(), MediaWiki\Session\SessionProvider::describeMessage(), UploadBase::detectVirus(), TitleBlacklistHooks::displayBlacklistOverrideNotice(), CoreParserFunctions::displaytitle(), Block::doAutoblock(), Article::doDelete(), FileDeleteForm::doDelete(), Skin::doEditSectionLink(), PdfHandler::doThumbError(), DjVuHandler::doTransform(), SvgHandler::doTransform(), TransformationalImageHandler::doTransform(), MockDjVuHandler::doTransform(), WikiPage::doUpdateRestrictions(), WebInstaller::downloadLinkHook(), Linker::emailLink(), WebInstallerPage::endForm(), WebInstallerInstall::endStage(), Installer::envCheckDB(), Cite::error(), ImageMap::error(), SpecialLinkAccounts::execute(), SpecialUnlinkAccounts::execute(), ApiQueryTitleBlacklist::execute(), ApiEditPage::execute(), ApiFeedContributions::execute(), ApiFeedWatchlist::execute(), ApiImageRotate::execute(), ApiQueryAllMessages::execute(), FileDeleteForm::execute(), WebInstallerComplete::execute(), WebInstallerDBConnect::execute(), WebInstallerExistingWiki::execute(), WebInstallerInstall::execute(), WebInstallerName::execute(), WebInstallerOptions::execute(), WebInstallerRestart::execute(), WebInstallerUpgrade::execute(), WebInstallerWelcome::execute(), CleanupSpam::execute(), DumpIterator::execute(), DumpMessages::execute(), DumpRenderer::execute(), PasswordReset::execute(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProvider::failResponse(), ApiFeedContributions::feedItemDesc(), MessageBlobStore::fetchMessage(), DeleteEqualMessages::fetchMessageInfo(), Parser::fetchScaryTemplateMaybeFromCache(), SimpleCaptcha::filterLink(), ChangesList::flag(), Linker::formatAutocomments(), BlockLogFormatter::formatBlockFlag(), BlockLogFormatter::formatBlockFlags(), FeedUtils::formatDiff(), FeedUtils::formatDiffRow(), LanguageZh_hans::formatDuration(), Language::formatDuration(), WikiPage::formatExpiry(), Linker::formatHiddenCategories(), Linker::formatRevisionSize(), ApiParse::formatSummary(), Language::formatTimePeriod(), ImageListPager::formatValue(), Cite::genBacklinkLabels(), Cite::genLinkLabels(), LogEventsList::getActionSelector(), SpecialChangeCredentials::getAuthForm(), ContentHandler::getAutoDeleteReason(), ContentHandler::getAutosummary(), TitleBlacklist::getBlacklistText(), User::getBlockedStatus(), ReCaptcha::getCaptchaInfo(), ReCaptchaNoCaptcha::getCaptchaInfo(), Skin::getCategoryLinks(), WebInstallerOptions::getCCDoneBox(), CategoryMembershipChange::getChangeMessageText(), WebInstaller::getCheckBox(), InputBox::getCommentForm(), MssqlInstaller::getConnectForm(), MysqlInstaller::getConnectForm(), OracleInstaller::getConnectForm(), PostgresInstaller::getConnectForm(), SpecialVersion::getCopyrightAndAuthorList(), EditPage::getCopyrightWarning(), InputBox::getCreateForm(), Title::getDefaultMessageText(), Gadget::getDescription(), Interwiki::getDescription(), LogPage::getDescription(), FeedUtils::getDiffLink(), ImageHandler::getDimensionsString(), Title::getEditNotices(), EditPage::getEditToolbar(), Status::getErrorMessage(), SpecialUpload::getExistsWarning(), UploadStash::getExtensionForPath(), SpecialVersion::getExtensionTypes(), LoginSignupSpecialPage::getFieldDefinitions(), CaptchaAuthenticationRequest::getFieldInfo(), ReCaptchaAuthenticationRequest::getFieldInfo(), ReCaptchaNoCaptchaAuthenticationRequest::getFieldInfo(), TOTPAuthenticationRequest::getFieldInfo(), TitleBlacklistAuthenticationRequest::getFieldInfo(), MediaWiki\Auth\ConfirmLinkAuthenticationRequest::getFieldInfo(), MediaWiki\Auth\CreationReasonAuthenticationRequest::getFieldInfo(), MediaWiki\Auth\PasswordAuthenticationRequest::getFieldInfo(), MediaWiki\Auth\PasswordDomainAuthenticationRequest::getFieldInfo(), MediaWiki\Auth\RememberMeAuthenticationRequest::getFieldInfo(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequest::getFieldInfo(), MediaWiki\Auth\UserDataAuthenticationRequest::getFieldInfo(), MediaWiki\Auth\UsernameAuthenticationRequest::getFieldInfo(), WebInstallerPage::getFieldsetStart(), UploadStash::getFile(), WebInstallerDocument::getFileContents(), UploadBase::getFilenamePrefixBlacklist(), IcuCollation::getFirstLetter(), NumericUppercaseCollation::getFirstLetter(), SpecialContributions::getForm(), FancyCaptcha::getFormInformation(), MediaHandler::getGeneralLongDesc(), User::getGrantName(), MWGrants::getGrantsWikiText(), UserGroupMembership::getGroupMemberName(), UserGroupMembership::getGroupName(), UserGroupMembership::getGroupPage(), WebInstaller::getHelpBox(), Language::getHumanTimestampInternal(), WikiTextStructure::getIgnoredHeadings(), WebInstaller::getInfoBox(), SpecialUpload::getInitialPageText(), DatabaseInstaller::getInstallUserBox(), LogFormatter::getIRCActionComment(), LogFormatter::getIRCActionText(), SkinTemplate::getLanguages(), ContentHandler::getLocalizedName(), ImageHandler::getLongDesc(), SvgHandler::getLongDesc(), GIFHandler::getLongDesc(), PNGHandler::getLongDesc(), SpecialVersion::getMediaWikiCredits(), SimpleCaptcha::getMessage(), Status::getMessage(), Licenses::getMessageFromParams(), ErrorPageError::getMessageObject(), MalformedTitleException::getMessageObject(), GenerateJqueryMsgData::getMessagesAndTests(), CliInstaller::getMessageText(), InputBox::getMoveForm(), Interwiki::getName(), LogPage::getName(), WebInstaller::getPageListItem(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::getPasswordResetData(), TimelessTemplate::getPortlet(), GadgetHooks::getPreferences(), EditPage::getPreviewLimitReport(), WebInstaller::getRadioElements(), Gadget::getRawDescription(), LogPage::getRcComment(), LogPage::getRcCommentIRC(), DatabaseInstaller::getReadableName(), Block::getRedactedName(), Article::getRedirectHeaderHtml(), Cite::getReferencesKey(), MWTimestamp::getRelativeTimestamp(), User::getRightDescription(), InputBox::getSearchForm(), InputBox::getSearchForm2(), MssqlInstaller::getSettingsForm(), MysqlInstaller::getSettingsForm(), ImageHandler::getShortDesc(), SpecialBlock::getSuggestedDurations(), ReplaceAll::getSummary(), CategoryTree::getTag(), MediaWiki\Preferences\DefaultPreferencesFactory::getTimeZoneList(), MWTimestamp::getTimezoneMessage(), LogPage::getTitleLink(), TrackingCategories::getTrackingCategories(), CategoryMembershipChange::getUser(), DoubleRedirectJob::getUser(), TimelessTemplate::getUserLinks(), Parser::getUserSig(), Language::getVariantname(), SpecialVersion::getVersion(), FormatMetadata::getVisibleFields(), StripState::getWarning(), DatabaseInstaller::getWebUserBox(), Status::getWikiText(), MWGrants::grantName(), PageDataRequestHandler::handleRequest(), Title::hasSourceText(), QuickTemplate::haveMsg(), CoreTagHooks::html(), PageDataRequestHandler::httpContentNegotiation(), BackupReader::importFromHandle(), CoreTagHooks::indicator(), UploadStash::initFile(), WikiPage::insertProtectNullRevision(), DifferenceEngine::intermediateEditsMsg(), Parser::interwikiTransclude(), CoreParserFunctions::intFunction(), SimpleCaptcha::isIPWhitelisted(), User::isUsableName(), Block::isWhitelistedFromAutoblocks(), WebInstaller::label(), Xml::languageSelector(), Parser::limitationWarn(), Cite::linkRef(), UploadStash::listFiles(), Cite::listToText(), SpecialUpload::loadRequest(), TitleBlacklist::loadWhitelist(), BotPassword::login(), Parser::magicLinkCallback(), MediaWiki\Linker\LinkRenderer::makeBrokenLink(), CaptchaPreAuthenticationProvider::makeError(), Skin::makeI18nUrl(), Parser::makeLimitReport(), BaseTemplate::makeLink(), IndexPager::makeLink(), ApiBase::makeMessage(), WebInstallerOptions::makeScreenshotsLink(), BaseTemplate::makeSearchButton(), BaseTemplate::makeSearchInput(), Linker::makeThumbLink2(), Parser::maybeMakeExternalImage(), MergeHistory::merge(), Xml::monthSelector(), MovePage::move(), MovePage::moveToInternal(), MWException::msg(), MWExceptionRenderer::msg(), Language::msg(), QuickTemplate::msg(), QuickTemplate::msgHtml(), QuickTemplate::msgWiki(), SearchEngineConfig::namespacesAsText(), Html::namespaceSelectorOptions(), TitleBlacklistEntry::newFromString(), Title::newMainPage(), WikiImporter::notice(), Language::numLink(), JsonContent::objectTable(), OATHAuthHooks::onGetPreferences(), SpamBlacklistHooks::onUploadVerifyUpload(), RawAction::onView(), SpecialUploadStash::outputContents(), WebInstallerOutput::outputFooter(), SpecialUploadStash::outputLocalFile(), SpecialUploadStash::outputLocallyScaledThumb(), SpecialUploadStash::outputRemoteScaledThumb(), WebInstallerOutput::outputTitle(), FormatJson::parse(), ConverterRule::parse(), SpecialUploadStash::parseKey(), SearchEngine::parseNamespacePrefixes(), Language::pipeList(), FileDeleteForm::prepareMessage(), WikiPage::protectDescription(), LogFormatterTest::provideApiParamFormatting(), ApiErrorFormatterTest::provideErrorFormatter(), ApiMainTest::provideExceptionErrors(), MediaWiki\Auth\AuthenticationRequestTest::provideLoadFromSubmission(), TextPassDumper::readDump(), AllMessagesTablePager::reallyDoQuery(), LanguageConverter::recursiveConvertRule(), Cite::referencesFormatEntry(), Cite::refKey(), SpamRegexBatch::regexesFromMessage(), ExtParserFunctions::rel2abs(), UploadStash::removeFile(), ImageMap::render(), InputBox::render(), CategoryTree::renderNodeInfo(), CategoryTree::renderParents(), VectorTemplate::renderPortal(), WikitextContent::replaceSection(), SpecialPageTest::requireLoginAnonProvider(), WikiEditorHooks::resourceLoaderGetConfigVars(), CheckStorage::restoreText(), Linker::revComment(), Linker::revDeleteLink(), Linker::revDeleteLinkDisabled(), Linker::revUserLink(), Linker::revUserTools(), DoubleRedirectJob::run(), Language::semicolonList(), User::sendConfirmationMail(), EmailNotification::sendImpersonal(), User::sendMail(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::sendNewAccountEmail(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::sendPasswordResetEmail(), User::setEmailWithConfirmation(), FileDeleteForm::setHeaders(), WikiImporter::setTargetRootPage(), Article::showDiffPage(), WebInstallerUpgrade::showDoneMessage(), WebInstaller::showError(), FileDeleteForm::showForm(), QuestyCaptcha::showHelp(), SimpleCaptcha::showHelp(), WebInstallerExistingWiki::showKeyForm(), WebInstaller::showMessage(), Article::showMissingArticle(), Article::showNamespaceHeader(), Article::showPatrolFooter(), SpecialUpload::showUploadWarning(), SpecialVersion::softwareInformation(), Linker::specialLink(), WebInstaller::startPageWrapper(), WebInstallerInstall::startStage(), UploadStash::stashFile(), Parser::statelessFetchTemplate(), WebInstallerName::submit(), WebInstallerOptions::submit(), SpecialEmailUser::submit(), MediaWiki\Auth\AuthManagerTest::testAutoAccountCreation(), MediaWiki\Auth\AuthManagerTest::testCheckAccountCreatePermissions(), MediaWiki\Auth\AuthManagerTest::testCreateFromLogin(), ApiErrorFormatterTest::testErrorFormatter(), ApiErrorFormatterTest::testErrorFormatterBC(), MessageTest::testExists(), MediaWiki\Auth\LegacyHookPreAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\ThrottlePreAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\ThrottlePreAuthenticationProvider::testForAuthentication(), ContentHandlerTest::testGetAutosummary(), ListToggleTest::testGetHTML(), MediaWiki\Auth\ButtonAuthenticationRequestTest::testGetRequestByName(), MediaWiki\Auth\ButtonAuthenticationRequestTest::testGetUniqueId(), StatusTest::testHasMessage(), SpecialBlankPageTest::testHasWikiMsg(), MessageTest::testInContentLanguage(), MessageTest::testInContentLanguageOverride(), MessageTest::testInLanguage(), MessageTest::testInLanguageThrows(), XmlTest::testLanguageSelector(), LogFormatterTest::testLogParamsTypeMsg(), LogFormatterTest::testLogParamsTypeMsgContent(), MediaWiki\Auth\AuthenticationRequestTest::testMergeFieldInfo(), ResourcesTest::testMissingMessages(), CaptchaPreAuthenticationProviderTest::testPostAuthentication(), CaptchaPreAuthenticationProviderTest::testPostAuthentication_disabled(), MessageTest::testRawParams(), MediaWiki\Auth\ThrottlePreAuthenticationProviderTest::testTestForAuthentication(), MessageTest::testToStringKey(), ExtraParserTest::testTrackingCategory(), MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProviderTest::testTryReset(), MessageTest::testWfMessage(), MessageTest::testWfMessageParams(), ExtParserFunctions::timeCommon(), Linker::titleAttrib(), Linker::tocList(), ExtParserFunctions::tooLongError(), File::transformErrorOutput(), BitmapHandler::transformGd(), MediaWikiI18N::translate(), Language::truncateHtml(), Language::truncateInternal(), MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::tryReset(), PageArchive::undeleteRevisions(), TitleBlacklistHooks::userCan(), Linker::userTalkLink(), Linker::userToolLinks(), SpamBlacklistHooks::validate(), TitleBlacklistHooks::validateBlacklist(), Article::view(), Language::viewPrevNext(), Article::viewRedirect(), Cite::warning(), wfGenerateThumbnail(), wfIsBadImage(), wfShowingResults(), wfStreamThumb(), MediaWiki\Session\CookieSessionProvider::whyNoSession(), and MediaWiki\Session\ImmutableSessionProviderWithCookie::whyNoSession().
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a local account incomplete& $abortMsg |
return true to allow those checks to and false if checking is done remove or add to the links of a group of changes in EnhancedChangesList Hook subscribers can return false to omit this line from recentchanges use this to change the tables headers change it to an object instance and return false override the list derivative used the name of the old file & $article |
Definition at line 77 of file hooks.txt.
Referenced by EditPage::__construct(), ProtectionForm::__construct(), CategoryViewer::columnList(), ParserCache::get(), ParserCache::getDirty(), MediaWiki::initializeArticle(), Article::newFromWikiPage(), and CategoryFinder::run().
either a unescaped string or a HtmlArmor object & $attribs |
Definition at line 2014 of file hooks.txt.
Referenced by PPNode_Hash_Tree::__toString(), OutputPage::addElement(), HTMLForm::addHiddenField(), MediaWiki\Tidy\Balancer::advance(), MediaWiki\Linker\LinkRenderer::buildAElement(), ProtectionForm::buildForm(), Xml::buildTable(), Xml::buildTableRow(), MediaWiki\EditPage\TextboxBuilder::buildTextboxAttribs(), Xml::check(), Html::check(), Xml::checkLabel(), UploadBase::checkSvgScriptCallback(), EditPage::displayPreviewArea(), XMPReader::doAttribs(), WebInstaller::docLink(), Skin::doEditSectionLink(), Html::dropDefaults(), Html::element(), Xml::element(), Xml::elementClean(), XmlTypeCheck::elementClose(), XmlTypeCheck::elementOpen(), WebInstallerOptions::execute(), Xml::expandAttributes(), Html::expandAttributes(), Xml::fieldset(), CategoryViewer::formatList(), HTMLMultiSelectField::formatOptions(), HTMLRadioField::formatOptions(), SpecialUndelete::formatRevisionRow(), SpecialNewpages::formatRow(), ContribsPager::formatRow(), DeletedContribsPager::formatRow(), HTMLForm::formatSection(), HTMLAutoCompleteSelectField::getAttributes(), HTMLComboboxField::getAttributes(), HTMLForm::getButtons(), OOUIHTMLForm::getButtons(), VFormHTMLForm::getButtons(), DatabaseInstaller::getCheckBox(), MediaTransformOutput::getDescLinkAttribs(), MediaWiki\EditPage\TextConflictHelper::getEditConflictMainTextBox(), Parser::getExternalLinkAttribs(), HTMLForm::getFormAttributes(), VFormHTMLForm::getFormAttributes(), ResourceLoaderModule::getHeaders(), HTMLForm::getHiddenFields(), CategoryViewer::getHTML(), ChangeTagsLogItem::getHTML(), ChangeTagsRevisionItem::getHTML(), RevDelRevisionItem::getHTML(), HTMLFancyCaptchaField::getInputHTML(), HTMLReCaptchaField::getInputHTML(), HTMLCheckMatrix::getInputHTML(), HTMLSizeFilterField::getInputHTML(), HTMLTextAreaField::getInputHTML(), HTMLTextField::getInputHTML(), Licenses::getInputHTML(), HTMLFormFieldCloner::getInputHTMLForKey(), HTMLComboboxField::getInputOOUI(), HTMLSelectField::getInputOOUI(), HTMLTextAreaField::getInputOOUI(), HTMLTextField::getInputOOUI(), UploadSourceField::getLabelHtml(), TablePager::getLimitSelect(), IRCColourfulRCFeedFormatter::getLine(), EnhancedChangesList::getLineData(), HTMLCheckMatrix::getOneCheckbox(), HTMLMultiSelectField::getOneCheckbox(), DatabaseInstaller::getPasswordBox(), EditPage::getPreviewText(), LogFormatter::getRestrictedElement(), DatabaseInstaller::getTextBox(), HTMLTextField::getType(), UserrightsPage::groupCheckboxes(), Html::hidden(), HistoryPager::historyLine(), Html::htmlHeader(), MediaWiki\Tidy\Balancer::inBodyMode(), MediaWiki\Tidy\Balancer::inCaptionMode(), MediaWiki\Tidy\Balancer::inCellMode(), MediaWiki\Tidy\Balancer::inColumnGroupMode(), Poem::indentVerse(), MediaWiki\Tidy\Balancer::inHeadMode(), Html::inlineStyle(), Xml::input(), Html::input(), Xml::inputLabel(), Xml::inputLabelSep(), MediaWiki\Tidy\Balancer::inRowMode(), MediaWiki\Tidy\Balancer::inSelectInTableMode(), MediaWiki\Tidy\Balancer::inSelectMode(), MediaWiki\Tidy\BalanceStack::insertForeignElement(), MediaWiki\Tidy\Balancer::insertForeignToken(), MediaWiki\Tidy\BalanceStack::insertHTMLElement(), MediaWiki\Tidy\Balancer::insertToken(), MediaWiki\Tidy\Balancer::inTableBodyMode(), MediaWiki\Tidy\Balancer::inTableMode(), MediaWiki\Tidy\Balancer::inTableTextMode(), MediaWiki\Tidy\Balancer::inTemplateMode(), MediaWiki\Tidy\Balancer::inTextMode(), Xml::label(), Html::label(), LogEventsList::logLine(), MediaWiki\Linker\LinkRenderer::makeBrokenLink(), TestRecentChangesHelper::makeCategorizationRecentChange(), TestRecentChangesHelper::makeDeletedEditRecentChange(), TestRecentChangesHelper::makeEditRecentChange(), DummyLinker::makeExternalLink(), Linker::makeExternalLink(), DummyLinker::makeHeadline(), TestRecentChangesHelper::makeLogRecentChange(), Linker::makeMediaLinkFile(), TestRecentChangesHelper::makeNewBotEditRecentChange(), MediaWiki\Linker\LinkRenderer::makePreloadedLink(), TestRecentChangesHelper::makeRecentChange(), SpecialInterwiki::makeTable(), MediaWiki\Linker\LinkRenderer::mergeAttribs(), MediaWiki\EditPage\TextboxBuilder::mergeClassesIntoAttributes(), Html::openElement(), Xml::openElement(), Xml::option(), SpecialRecentChanges::optionsPanel(), Licenses::outputOption(), MediaWiki\Tidy\Balancer::parseRawText(), Xml::password(), CoreTagHooks::pre(), LinkerTest::provideLinkBeginHook(), LinkerTest::provideLinkEndHook(), Html::radio(), Xml::radio(), Xml::radioLabel(), Html::rawElement(), EnhancedChangesList::recentChangesBlockLine(), OldChangesList::recentChangesLine(), ImageMap::render(), Poem::renderPoem(), LinkHolderArray::replaceInternal(), RecentChange::setAttribs(), ImageGalleryBase::setAttributes(), MediaWiki\EditPage\TextConflictHelper::showEditFormTextAfterFooters(), SpecialImport::showForm(), SpecialWatchlist::showHideCheck(), EditPage::showTextbox(), EditPage::showTextbox1(), Xml::span(), XMPReader::startElement(), TextPassDumper::startElement(), XMPReader::startElementModeInitial(), XMPReader::startElementModeLi(), XMPReader::startElementModeLiLang(), XMPReader::startElementModeSimple(), XMPReader::startElementModeStruct(), LogFormatter::styleRestricedElement(), Xml::submitButton(), MediaWiki\Tidy\Balancer::switchModeAndReprocess(), Xml::tags(), MediaWiki\Tests\EditPage\TextboxBuilderTest::testBuildTextboxAttribs(), HtmlTest::testDropDefaults(), SideBarTest::testRespectExternallinktarget(), SideBarTest::testRespectWgnofollowlinks(), SideBarTest::testTestAttributesAssertionHelper(), Xml::textarea(), Html::textarea(), MultimediaViewerHooks::thumbnailBeforeProduceHTML(), ThumbnailImage::toHtml(), TraditionalImageGallery::toHTML(), Linker::tooltipAndAccesskeyAttribs(), Linker::userToolLinks(), Sanitizer::validateAttributes(), Sanitizer::validateTagAttributes(), and Xml::wrapClass().
return true to allow those checks to and false if checking is done remove or add to the links of a group of changes in EnhancedChangesList Hook subscribers can return false to omit this line from recentchanges use this to change the tables headers change it to an object instance and return false override the list derivative used the name of the old file when set the default code will be skipped true if there is text before this autocomment $auto |
Definition at line 1586 of file hooks.txt.
Referenced by PatrolLog::buildParams(), RecentChange::doMarkPatrolled(), Linker::formatAutocomments(), DeleteAutoPatrolLogs::getRowsOld(), RecentChange::markPatrolled(), and PatrolLog::record().
return true to allow those checks to and false if checking is done remove or add to the links of a group of changes in EnhancedChangesList Hook subscribers can return false to omit this line from recentchanges $changesList |
Definition at line 1518 of file hooks.txt.
Referenced by ChangesList::getArticleLink(), OldChangesListTest::testRecentChangesLine_prefix(), and EnhancedChangesListTest::testRecentChangesPrefix().
static configuration should be added through ResourceLoaderGetConfigVars instead can be used to get the real title after the basic globals have been set but before ordinary actions take place or wrap services the preferred way to define a new service is the $wgServiceWiringFiles array change it to the message you want to define $code |
Definition at line 865 of file hooks.txt.
Referenced by ZipDirectoryReaderError::__construct(), LocalisationUpdate\JSONReader::__construct(), ApiMain::__construct(), UsageException::__construct(), MediaWiki\Session\MetadataMergeException::__construct(), LocalizedException::__construct(), UploadStashException::__construct(), ApiMessage::__construct(), ApiRawMessage::__construct(), ApiQueryBacklinks::__construct(), ApiErrorFormatter::addError(), ApiBase::addError(), Language::addMagicWordsByLang(), ApiErrorFormatter::addWarning(), ApiBase::addWarning(), ApiTestCase::apiExceptionHasCode(), ApiQuerySiteinfo::appendGeneralInfo(), ApiQuerySiteinfo::appendLanguages(), ApiQuerySiteinfo::appendSkins(), EmailConfirmation::attemptConfirm(), EmailInvalidation::attemptInvalidate(), LanguageCode::bcp47(), SkinTemplate::buildContentNavigationUrls(), Language::classFromCode(), MessageCache::clear(), UploadBase::convertVerifyErrorToStatus(), ApiMessage::create(), ImagePage::createXmlOptionStringForLanguage(), Language::dateTimeObjFormat(), ApiBase::dieWithError(), ApiBase::dieWithErrorOrDebug(), SpecialRedirect::dispatch(), RebuildLocalisationCache::doRebuild(), ZipDirectoryReader::error(), ApiCSPReport::error(), ApiMain::errorMessagesFromException(), EmailConfirmation::execute(), EmailInvalidation::execute(), ChangesListSpecialPage::execute(), FindDeprecated::execute(), DateFormats::execute(), Digit2Html::execute(), GenerateNormalizerDataAr::execute(), PageExists::execute(), SpecialPageExecutor::executeSpecialPage(), SpecialJavaScriptTest::exportQUnit(), Language::factory(), QueryPage::feedTitle(), SpecialNewpages::feedTitle(), LocalisationUpdate\HttpFetcher::fetchDirectory(), Language::fetchLanguageName(), MediaWikiVersionFetcher::fetchVersion(), SpecialMyLanguage::findTitle(), Language::firstChar(), TagHooksTest::functionTagCallback(), LCStoreCDB::get(), LCStoreDB::get(), LCStoreStaticArray::get(), MessageCache::getAllMessageKeys(), Languages::getCaseMismatchMagicWords(), MessageCache::getCheckKey(), ClassCollector::getClasses(), LocalisationCache::getCompiledPluralRules(), SpecialCiteThisPage::getContentText(), Languages::getDuplicateMessages(), Languages::getEmptyMessages(), Languages::getFallback(), Language::getFallbackFor(), Language::getFallbacksFor(), Language::getFallbacksIncludingSiteLanguage(), LCStoreCDB::getFileName(), Language::getFileName(), SpecialPageLanguage::getFormFields(), LocalisationCache::getItem(), LocalisationCacheBulkLoad::getItem(), Language::getJsonMessagesFileName(), RequestContext::getLanguage(), WebInstallerLanguage::getLanguageSelector(), WANObjectCache::getLastError(), MessageCache::getLocalCache(), Languages::getMagicWords(), HttpStatus::getMessage(), Language::getMessageFor(), MessageCache::getMessageForLang(), Language::getMessageKeysFor(), Languages::getMessages(), Language::getMessagesFileName(), Language::getMessagesFor(), Languages::getMessagesWithDubiousLinks(), Languages::getMessagesWithMismatchVariables(), Languages::getMessagesWithoutPlural(), Languages::getMessagesWithUnbalanced(), Languages::getMessagesWithWhitespace(), Languages::getMessagesWithWrongChars(), MessageCache::getMsgFromNamespace(), Languages::getNamespaceAliases(), Languages::getNamespaceNames(), Languages::getNonXHTMLMessages(), Languages::getObsoleteMagicWords(), Languages::getObsoleteMessages(), Languages::getObsoleteSpecialPages(), Languages::getOverridingMagicWords(), Language::getParentLanguage(), LocalisationCache::getPluralRules(), LocalisationCache::getPluralRuleTypes(), Languages::getProblematicProjectTalks(), LocalisationUpdate\ReaderFactory::getReader(), Languages::getSpecialPageAliases(), SpecialPageAliasTest::getSpecialPageAliases(), LocalisationCache::getSubitem(), LocalisationCacheBulkLoad::getSubitem(), LocalisationCache::getSubitemList(), Message::getTitle(), Languages::getUntranslatedMagicWords(), Languages::getUntranslatedMessages(), Languages::getUntranslatedNamespaces(), Languages::getUntraslatedSpecialPages(), MessageCache::getValidationHash(), Language::getVariantname(), HttpStatus::header(), SyntaxHighlight::highlight(), LocalisationCache::initLanguage(), EditPage::internalAttemptSave(), LocalisationCache::isExpired(), Language::isSupportedLanguage(), Language::isValidBuiltInCode(), Language::isValidCode(), Language::isWellFormedLanguageTag(), CoreParserFunctions::language(), Xml::languageSelector(), MessageCache::load(), Languages::loadFile(), ExtensionLanguages::loadFile(), MessageCache::loadFromDB(), MessageCache::loadFromDBWithLock(), LocalisationCache::loadItem(), Languages::loadMessages(), LocalisationCache::loadPluralFile(), LocalisationCache::loadSubitem(), LocalisationCache::mergeExtensionItem(), Language::newFromCode(), User::newFromConfirmationCode(), ApiUsageException::newWithMessage(), SwiftFileBackend::onError(), LocalisationUpdate::onRecache(), LocalisationUpdate::onRecacheFallback(), OutputPage::output(), XMPReader::parse(), FormatJson::parse(), ApiStashEdit::parseAndStash(), LanguageConverter::parseCachedTable(), SyntaxHighlight::plainCodeWrap(), SpecialUpload::processUpload(), SpecialUpload::processVerificationError(), MediaWiki\Preferences\DefaultPreferencesFactory::profilePreferences(), LocalisationUpdate\Updater::readMessages(), LocalisationCache::readSourceFilesAndRegisterDeps(), LocalisationCache::recache(), LocalisationCacheBulkLoad::recache(), MessageCache::replace(), LanguageCode::replaceDeprecatedCodes(), DbTestPreviewer::report(), ApiQueryBacklinks::run(), RequestContext::sanitizeLangCode(), MessageCache::saveToCaches(), MessageCache::saveToLocalCache(), setApiCode(), Language::setCode(), ApiTestCase::setExpectedApiException(), ApiFormatBase::setHttpStatus(), AjaxResponse::setResponseCode(), LoginSignupSpecialPage::setSessionUserForCurrentRequest(), MWHttpRequest::setStatus(), MessageCache::setValidationHash(), ChangesList::showCharacterDifference(), SpecialUploadStash::showUpload(), Language::sprintfDate(), LCStoreCDB::startWrite(), LCStoreDB::startWrite(), LCStoreStaticArray::startWrite(), MWException::statusHeader(), MWExceptionRenderer::statusHeader(), WebResponse::statusHeader(), WebInstallerOptions::submit(), LanguageCodeTest::testBcp47(), LanguageTest::testBuiltInCodeValidation(), LanguageTest::testGetParentLanguage(), ApiMessageTest::testInvalidCode(), LanguageTest::testIsSupportedLanguage(), LanguageTest::testKnownLanguageTag(), LanguageTest::testMalformedLanguageTag(), CSSMinTest::testMinify(), JavaScriptMinifierTest::testMinifyOutput(), CSSMinTest::testMinifyWithCSSStringValues(), LocalisationCacheTest::testRecacheFallbacksWithHooks(), UploadBaseTest::testTitleValidation(), LanguageTest::testUnknownLanguageTag(), LanguageTest::testWellFormedLanguageTag(), LocalisationCacheBulkLoad::trimCache(), LocalisationCache::unload(), LocalisationCacheBulkLoad::unload(), SpecialPageAliasTest::validSpecialPageAliasesProvider(), wfBCP47(), and wfHttpError().
the value of this variable comes from LanguageConverter indexed by page_id& $colours |
Definition at line 1686 of file hooks.txt.
Referenced by LinkHolderArray::doVariants(), and LinkHolderArray::replaceInternal().
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow (e.g. with the RejectParserCacheValue hook) because MediaWiki won't do it for you. &$defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on and they can depend only on the ResourceLoaderContext $context |
Definition at line 2808 of file hooks.txt.
Referenced by HTMLForm::__construct(), SpecialRecentChanges::__construct(), CryptHKDF::__construct(), OutputPage::__construct(), ContribsPager::__construct(), NewFilesPager::__construct(), MediaWiki::__construct(), ActiveUsersPager::__construct(), MediaWiki\Shell\Command::__destruct(), LogPage::addEntry(), MWDebug::appendDebugInfoToApiResult(), Parser::braceSubstitution(), ResourceLoaderModule::buildContent(), SpecialBookSources::buildForm(), ProtectionForm::buildForm(), SpecialNewFiles::buildForm(), ChangesListSpecialPageTest::buildQuery(), DummyLinker::buildRollbackLink(), Linker::buildRollbackLink(), ChangeTags::buildTagFilterSelector(), SpecialPageFactory::capturePath(), SpecialPageLanguage::changePageLanguage(), ResourceLoaderFileModule::compileLessFile(), ConfirmEditHooks::confirmEditMerged(), SimpleCaptcha::confirmEditMerged(), ResourceLoaderUserTokensModule::contextUserTokens(), CategoryTree::createCountString(), ContentHandler::createDifferenceEngine(), RevisionDeleter::createList(), ApiPageSetTest::createPageSetWithRedirect(), Preferences::datetimePreferences(), MediaWiki\Preferences\DefaultPreferencesFactory::datetimePreferences(), MWDebug::debugMsg(), Article::delete(), MediaWiki\Logger\LegacyLogger::destination(), ApiTestCase::doApiRequest(), SimpleCaptcha::doConfirmEdit(), Article::doDelete(), HttpError::doLog(), ActionTest::dummyActionCallback(), Preferences::editingPreferences(), SimpleCaptcha::editShowCaptcha(), ApiFormatTestBase::encodeData(), SpecialAutoblockList::execute(), SpecialBlockList::execute(), SpecialEmailUser::execute(), SpecialNewFiles::execute(), PhpHttpRequest::execute(), RebuildFileCache::execute(), SpecialPageFactory::executePath(), SpecialPageExecutor::executeSpecialPage(), SpecialReplaceText::extractContext(), ApiQueryRevisionsBase::extractRevisionInfo(), Preferences::filesPreferences(), SpamBlacklistHooks::filterMergedContent(), MediaWiki\Logger\Monolog\LogstashFormatter::fixKeyConflicts(), MediaWiki\Logger\LegacyLogger::format(), DiffFormatter::format(), MediaWiki\Logger\LegacyLogger::formatAsWfDebug(), FeedUtils::formatDiffRow(), File::formatMetadata(), PdfHandler::formatMetadata(), ExifBitmapHandler::formatMetadata(), GIFHandler::formatMetadata(), PNGHandler::formatMetadata(), MediaHandler::formatMetadataHelper(), ChangeTags::formatSummaryRow(), MediaWiki\Logger\Monolog\LogstashFormatter::formatV0(), MediaWiki\Logger\Monolog\LogstashFormatter::formatV1(), MWCryptHKDF::generate(), CryptHKDF::generate(), MWCryptHKDF::generateHex(), DummyLinker::generateRollback(), Linker::generateRollback(), Preferences::generateSkinOptions(), MediaWiki\Preferences\DefaultPreferencesFactory::generateSkinOptions(), ResourceLoaderStartUpModule::getAllModuleHashes(), AuthManagerSpecialPage::getAuthForm(), LoginSignupSpecialPage::getAuthForm(), CacheHelper::getCachedNotice(), ChangesListSpecialPage::getChangeTagList(), SpecialEditWatchlist::getClearForm(), ResourceLoader::getCombinedVersion(), ResourceLoaderStartUpModule::getConfigSettings(), ActionTest::getContext(), Profiler::getContext(), OldChangesListTest::getContext(), RCCacheEntryFactoryTest::getContext(), ResourceLoaderLanguageDataModule::getData(), ResourceLoaderLanguageNamesModule::getData(), MediaWiki\Preferences\DefaultPreferencesFactory::getDateOptions(), MWDebug::getDebugHTML(), MWDebug::getDebugInfo(), CiteDataModule::getDefinitionSummary(), ResourceLoaderFileModule::getDefinitionSummary(), ResourceLoaderImageModule::getDefinitionSummary(), ResourceLoaderSkinModule::getDefinitionSummary(), ResourceLoaderStartUpModule::getDefinitionSummary(), ResourceLoaderWikiModule::getDefinitionSummary(), ResourceLoaderForeignApiModule::getDependencies(), ResourceLoaderModule::getFileDependencies(), ResourceLoaderFileModule::getFileHashes(), ResourceLoaderImageModule::getFileHashes(), MWDebug::getFilesIncluded(), ResourceLoaderFileModule::getFlip(), ResourceLoaderModule::getFlip(), HTMLFancyCaptchaFieldTest::getForm(), FormSpecialPage::getForm(), MediaWiki\Preferences\DefaultPreferencesFactory::getForm(), MediaWiki\Preferences\DefaultPreferencesFactory::getFormDescriptor(), SpecialPreferences::getFormObject(), Preferences::getFormObject(), ResourceLoaderImageModule::getGlobalVariants(), ResourceLoaderImage::getImageData(), ResourceLoaderImageModuleTest::getImageMock(), ResourceLoaderImageModule::getImages(), DummyLinker::getInvalidTitleDescription(), Linker::getInvalidTitleDescription(), ResourceLoaderEditToolbarModule::getLessVars(), Vector\ResourceLoaderLessModule::getLessVars(), UserGroupMembership::getLink(), ApiContinuationManagerTest::getManager(), ResourceLoaderModule::getMessageBlob(), ApiFormatBaseTest::getMockFormatter(), ResourceLoaderModule::getModuleContent(), ResourceLoaderStartUpModule::getModuleRegistrations(), SpecialEditWatchlist::getNormalForm(), OldChangesListTest::getOldChangesList(), User::getOptionKinds(), ResourceLoaderSiteModule::getPages(), ResourceLoaderSiteStylesModule::getPages(), ResourceLoaderUserModule::getPages(), ResourceLoaderUserStylesModule::getPages(), ResourceLoaderImage::getPath(), Block::getPermissionsError(), Preferences::getPreferences(), ResourceLoaderStartUpModule::getPreloadLinks(), SpecialEditWatchlist::getRawForm(), ManualLogEntry::getRecentChange(), OutputPage::getRlClient(), CiteDataModule::getScript(), ResourceLoaderSyntaxHighlightVisualEditorModule::getScript(), ResourceLoaderFileModule::getScript(), ResourceLoaderJqueryMsgModule::getScript(), ResourceLoaderLanguageDataModule::getScript(), ResourceLoaderLanguageNamesModule::getScript(), ResourceLoaderMediaWikiUtilModule::getScript(), ResourceLoaderRawFileModule::getScript(), ResourceLoaderStartUpModule::getScript(), ResourceLoaderUploadDialogModule::getScript(), ResourceLoaderUserOptionsModule::getScript(), ResourceLoaderFileModule::getScriptFiles(), ResourceLoaderSyntaxHighlightVisualEditorModule::getScriptURLsForDebug(), ResourceLoaderFileModule::getScriptURLsForDebug(), ResourceLoaderJqueryMsgModule::getScriptURLsForDebug(), ResourceLoaderModule::getScriptURLsForDebug(), ResourceLoaderStartUpModule::getStartupModulesUrl(), ResourceLoaderImageModule::getStyleDeclarations(), ResourceLoaderFileModule::getStyleFiles(), ResourceLoaderFileModule::getStyles(), ResourceLoaderImageModule::getStyles(), ResourceLoaderSkinModule::getStyles(), ResourceLoaderFileModule::getStyleURLsForDebug(), ResourceLoaderModule::getStyleURLsForDebug(), TestRecentChangesHelper::getTestContext(), MediaWiki\Preferences\DefaultPreferencesFactory::getTimezoneOptions(), SpecialReplaceText::getTitlesForEditingWithContext(), SpecialUpload::getUploadForm(), ResourceLoaderImage::getUrl(), ResourceLoaderModule::getVersionHash(), RequestContext::importScopedSession(), MediaWiki\Logger\LegacyLogger::interpolate(), WikitextContent::isCountable(), ResourceLoaderUserOptionsModule::isKnownEmpty(), HTMLFileCache::loadFromFileCache(), MediaWiki\Preferences\DefaultPreferencesFactory::loadPreferenceValues(), MediaWiki\Logger\ConsoleLogger::log(), MediaWiki\Logger\LegacyLogger::log(), TestLogger::log(), MediaWiki\Auth\Throttler::logRejection(), ChangesListSpecialPage::makeLegend(), ResourceLoader::makeModuleResponse(), PageDataRequestHandlerTest::makeOutputPage(), ContentHandler::makeParserOptions(), Article::makeParserOptions(), WikiPage::makeParserOptions(), ResourceLoader::makeVersionQuery(), SpecialPageExecutor::newContext(), EnhancedChangesListTest::newEnhancedChangesList(), RequestContext::newExtraneousContext(), ParserOptions::newFromContext(), ResourceFileCache::newFromContext(), Article::newFromTitle(), Article::newFromWikiPage(), OutputPageTest::newInstance(), ApiTestContext::newTestContext(), onApiFormatHighlight(), GadgetHooks::onEditFilterMergedContent(), ResourceLoader::outputErrorAndLog(), SpecialReplaceText::pageListForm(), ParserTestRunner::perTestSetup(), ResourceLoader::preloadModuleInfo(), ResourceLoaderWikiModule::preloadTitleInfo(), MediaWiki::preOutputCommit(), SpecialTags::processCreateTagForm(), SpecialBlock::processForm(), SpecialTags::processTagForm(), Preferences::profilePreferences(), MediaWiki\Preferences\DefaultPreferencesFactory::profilePreferences(), Preferences::rcPreferences(), ResourceLoaderFileModule::readStyleFile(), ResourceLoaderFileModule::readStyleFiles(), SpecialWatchlist::registerFilters(), Preferences::renderingPreferences(), UserNotLoggedIn::report(), Wikimedia\Rdbms\LoadBalancer::reportConnectionError(), User::resetOptions(), ResourceLoader::respond(), AssembleUploadChunksJob::run(), PublishStashedFileJob::run(), MediaWiki::run(), ParserTestRunner::runTest(), ResourceLoaderModule::saveFileDependencies(), Preferences::searchPreferences(), ResourceLoaderImage::sendResponseHeaders(), ResourceLoader::sendResponseHeaders(), ProxySpecialPage::setContext(), Article::setContext(), Profiler::setContext(), SpecialPage::setContext(), Message::setContext(), SpecialPageExecutor::setEditTokenFromUser(), ResourceLoaderModule::setFileDependencies(), Article::setOldSubtitle(), LoginSignupSpecialPage::setSessionUserForCurrentRequest(), ActionTest::setUp(), AbstractChangesListSpecialPageTestCase::setUp(), ContribsPagerTest::setUp(), SpecialMIMESearchTest::setUp(), UploadFromUrlTestSuite::setUp(), SimpleCaptcha::shouldCheck(), ResourceLoaderTestModule::shouldEmbedModule(), MediaWiki\Logger\LegacyLogger::shouldEmit(), Article::showRedirectedFromHeader(), SpecialPreferences::showResetForm(), SpecialUploadStash::showUploads(), Preferences::skinPreferences(), MediaWiki\Preferences\DefaultPreferencesFactory::skinPreferences(), SpecialEmailUser::submit(), MediaWiki\Preferences\DefaultPreferencesFactory::submitForm(), ChangeTags::tagDescription(), ChangeTags::tagLongDescriptionMessage(), DerivativeResourceLoaderContextTest::testAccessors(), ActionTest::testActionFactory(), ApiMainTest::testApiErrorFormatterCreation(), MWDebugTest::testAppendDebugInfoToApiResultXmlFormat(), ResourceLoaderFileModuleTest::testBomConcatenation(), SpecialPreferencesTest::testBug41337(), ResourceLoaderModuleTest::testBuildContentScripts(), ApiMainTest::testCheckConditionalRequestHeaders(), ResourceLoaderImageModuleTest::testContext(), ApiFormatPhpTest::testCrossDomainMangling(), ActionTest::testDisabledAction_isNotResolved(), ApiMainTest::testExceptionErrors(), SpecialWatchlistTest::testFetchOptionsFromRequest(), ApiFormatBaseTest::testForceDefaultParams(), HTMLRestrictionsFieldTest::testForm(), ActionTest::testGetActionName(), ActionTest::testGetActionName_editredlinkWorkaround(), ActionTest::testGetActionName_historysubmitWorkaround(), ActionTest::testGetActionName_revisiondeleteWorkaround(), ActionTest::testGetActionName_whenCanNotUseWikiPage_defaultsToView(), ResourceLoaderClientHtmlTest::testGetBodyHtml(), ResourceLoaderTest::testGetCombinedVersion(), ResourceLoaderWikiModuleTest::testGetContent(), ResourceLoaderWikiModuleTest::testGetContentForRedirects(), ResourceLoaderClientHtmlTest::testGetData(), ChangesListSpecialPageTest::testGetFilterConflicts(), MediaWiki\Session\SessionManagerTest::testGetGlobalSession(), ResourceLoaderModuleTest::testGetHeaders(), ResourceLoaderClientHtmlTest::testGetHeadHtml(), ResourceLoaderImageTest::testGetImageData(), ResourceLoaderStartUpModuleTest::testGetModuleRegistrations(), ApiBaseTest::testGetParameterFromSettings(), ResourceLoaderImageTest::testGetPath(), ResourceLoaderWikiModuleTest::testGetPreloadedBadTitle(), ResourceLoaderWikiModuleTest::testGetPreloadedTitleInfo(), ResourceLoaderWikiModuleTest::testGetPreloadedTitleInfoEmpty(), ResourceLoaderImageModuleTest::testGetStyleDeclarations(), ResourceLoaderWikiModuleTest::testGetTitleInfo(), ResourceLoaderFileModuleTest::testGetVersionHash(), ResourceLoaderModuleTest::testGetVersionHash(), ApiPageSetTest::testHandleNormalization(), OutputPageTest::testHaveCacheVaryCookies(), ApiFormatBaseTest::testHtmlHeader(), RequestContextTest::testImportScopedSession(), MediaWiki\Logger\LegacyLoggerTest::testInterpolate(), ResourceLoaderWikiModuleTest::testIsKnownEmpty(), DerivativeResourceLoaderContextTest::testLanguage(), ResourceLoaderTest::testLessFileCompilation(), CommandTest::testLogStderr(), ResourceLoaderClientHtmlTest::testMakeLoad(), ResourceLoaderTest::testMakeModuleResponseConcat(), ResourceLoaderTest::testMakeModuleResponseError(), ResourceLoaderTest::testMakeModuleResponseExtraHeaders(), ResourceLoaderTest::testMakeModuleResponseExtraHeadersMulti(), ResourceLoaderTest::testMakeModuleResponseStartupError(), ActionTest::testNull_defaultsToView(), SpecialSearchTest::testProfileAndNamespaceLoading(), ResourceLoaderStartUpModuleTest::testRegistrationsMinified(), ResourceLoaderStartUpModuleTest::testRegistrationsUnminified(), ResourceLoaderTest::testRespond(), MediaWiki\Auth\AuthManagerTest::testSetDefaultUserOptions(), ApiPageSetTest::testSpecialRedirects(), HTMLReCaptchaNoCaptchaFieldTest::testSubmit(), HTMLSubmittedValueFieldTest::testSubmit(), MediaWikiTest::testTryNormaliseRedirect(), ResourceLoaderModuleTest::testValidateScriptFile(), RequestContextTest::testWikiPageTitle(), ChangeTags::truncateTagDescription(), ResourceLoader::tryRespondFromFileCache(), ResourceLoader::tryRespondNotModified(), HTMLFileCache::useFileCache(), ResourceFileCache::useFileCache(), MediaWiki\Logger\Monolog\KafkaHandler::warning(), Preferences::watchlistPreferences(), MediaWiki\Preferences\DefaultPreferencesFactory::watchlistPreferences(), wfDebug(), wfDebugLog(), wfErrorLog(), wfLogDBError(), wfLogProfilingData(), and wfThumbError().
null means default & $customAttribs |
Definition at line 1995 of file hooks.txt.
Referenced by EditPage::buildTextboxAttribs(), MediaWiki\EditPage\TextboxBuilder::buildTextboxAttribs(), MediaWiki\EditPage\TextConflictHelper::getEditConflictMainTextBox(), DummyLinker::link(), Linker::link(), DummyLinker::linkKnown(), Linker::linkKnown(), EditPage::showTextbox(), and EditPage::showTextbox1().
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify as strings Extensions should add to this list prev or next refreshes the diff cache allow viewing deleted revs& $differenceEngine |
Definition at line 1634 of file hooks.txt.
Referenced by ContentHandler::createDifferenceEngine().
returning false will NOT prevent logging $e |
Definition at line 2176 of file hooks.txt.
Referenced by RedisConnRef::__call(), FSFileBackendList::__construct(), SVGReader::__construct(), DatabaseTestHelper::__construct(), ORAResult::__construct(), Wikimedia\Rdbms\LBFactory::__construct(), Wikimedia\Rdbms\LoadBalancer::__construct(), RedisConnectionPool::__destruct(), MemcachedClient::_flush_read_buffer(), RedisBagOStuff::add(), UploadFromChunks::addChunk(), MediaWiki\Tests\Maintenance\BackupDumperLoggerTest::addDBData(), MediaWiki\Tests\Maintenance\BackupDumperPageTest::addDBData(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest::addDBData(), ApiQueryBasicTest::addDBDataOnce(), ApiQueryContinue2Test::addDBDataOnce(), ApiQueryContinueTest::addDBDataOnce(), MediaWiki\Tests\Maintenance\FetchTextTest::addDBDataOnce(), MediaWikiPHPUnitTestListener::addError(), MediaWikiPHPUnitTestListener::addFailure(), MediaWikiPHPUnitTestListener::addIncompleteTest(), MediaWikiPHPUnitTestListener::addSkippedTest(), ApiTestCase::apiExceptionHasCode(), ResourceLoader::applyFilter(), SVGMetadataExtractorTest::assertMetadata(), ApiQueryTestBase::assertResult(), MediaWiki\Tidy\Balancer::balance(), GadgetHooks::beforePageDisplay(), Wikimedia\Rdbms\LoadBalancer::beginMasterChanges(), SqlBagOStuff::cas(), RedisBagOStuff::changeTTL(), SqlBagOStuff::changeTTL(), ApiMain::checkConditionalRequestHeaders(), Sqlite::checkSqlSyntax(), CategoryViewer::clearCategoryState(), Wikimedia\Rdbms\LoadBalancer::commitAll(), Wikimedia\Rdbms\LoadBalancer::commitMasterChanges(), Wikimedia\Rdbms\LBFactory::commitMasterChanges(), Maintenance::commitTransaction(), UploadFromChunks::concatenateChunks(), SwiftFileBackend::convertSwiftDate(), Installer::createMainpage(), MediaWiki\Preferences\DefaultPreferencesFactory::datetimePreferences(), Wikimedia\Rdbms\Database::deadlockLoop(), RedisBagOStuff::delete(), SqlBagOStuff::delete(), Wikimedia\Rdbms\DatabaseMssql::delete(), Article::delete(), SqlBagOStuff::deleteAll(), Wikimedia\Rdbms\DatabaseMssql::deleteJoin(), SqlBagOStuff::deleteObjectsExpiringBefore(), Installer::dirIsExecutable(), SpecialRedirect::dispatchFile(), profile_point::display(), EditPage::displayViewSourcePage(), JobQueueDB::doAck(), JobQueueRedis::doAck(), BitmapMetadataHandler::doApp13(), Wikimedia\Rdbms\Database::doAtomicSection(), JobQueueFederated::doBatchPush(), JobQueueRedis::doBatchPush(), JobQueueDB::doBatchPushInternal(), JobQueueFederated::doDeduplicateRootJob(), JobQueueRedis::doDeduplicateRootJob(), JobQueueDB::doDelete(), JobQueueFederated::doDelete(), JobQueueRedis::doDelete(), RedisBagOStuff::doGet(), JobQueueDB::doGetAbandonedCount(), JobQueueRedis::doGetAbandonedCount(), JobQueueDB::doGetAcquiredCount(), JobQueueRedis::doGetAcquiredCount(), JobQueueAggregatorRedis::doGetAllReadyWikiQueues(), JobQueueRedis::doGetDelayedCount(), JobQueueFederated::doGetSiblingQueueSizes(), JobQueueRedis::doGetSiblingQueueSizes(), JobQueueFederated::doGetSiblingQueuesWithJobs(), JobQueueDB::doGetSize(), JobQueueRedis::doGetSize(), SpecialImport::doImport(), JobQueueDB::doIsEmpty(), JobQueueFederated::doIsEmpty(), JobQueueFederated::doIsRootJobOldDuplicate(), JobQueueRedis::doIsRootJobOldDuplicate(), DBFileJournal::doLogChangeBatch(), EventRelayerKafka::doNotify(), OracleInstaller::doOpenConnection(), TestFileOpPerformance::doPerfTest(), JobQueueDB::doPop(), JobQueueFederated::doPop(), JobQueueRedis::doPop(), MediaWiki::doPostOutputShutdown(), DatabasePostgresTest::doTestInsertIgnore(), DatabasePostgresTest::doTestInsertSelectIgnore(), AutoCommitUpdate::doUpdate(), DatabaseInstaller::doUpgrade(), JobQueueFederated::doWaitForBackups(), TextPassDumper::dump(), WikiExporter::dumpFrom(), ApiMain::errorMessagesFromException(), MediaWiki\Logger\Monolog\LineFormatter::exceptionAsArray(), ApiFeedWatchlist::execute(), ApiImport::execute(), ApiQueryStashImageInfo::execute(), ApiUpload::execute(), ZipDirectoryReader::execute(), GenerateCommonPassword::execute(), DeleteArchivedFiles::execute(), InvalidateUserSesssions::execute(), JSParseHelper::execute(), PPFuzzTester::execute(), RefreshImageMetadata::execute(), ValidateRegistrationFile::execute(), LocalisationUpdate\Updater::execute(), ApiMain::executeActionWithErrorHandling(), JobRunner::executeJob(), Scribunto_LuaParserFunctionsLibrary::expr(), ExtParserFunctions::expr(), DjVuHandler::extractTreesFromMetadata(), Wikimedia\Rdbms\Database::factory(), EtcdConfig::fetchAllFromEtcdServer(), DatabaseOracle::fieldInfoMulti(), MediaWiki\Preferences\DefaultPreferencesFactory::filterTimezoneInput(), TrackBlobs::findOrphanBlobs(), LCStoreCDB::finishWrite(), LCStoreDB::finishWrite(), MediaWiki\Logger\LegacyLogger::format(), MediaWiki\Logger\Monolog\AvroFormatter::format(), MediaWiki\Logger\Monolog\LineFormatter::format(), ResourceLoader::formatException(), ResourceLoader::formatExceptionNoComment(), Message::formatListParam(), ContribsPager::formatRow(), DeletedContribsPager::formatRow(), MediaWikiTitleCodec::formatTitle(), RedisLockManager::freeLocksOnServer(), LCStoreCDB::get(), JobQueueRedis::getAllAbandonedJobs(), JobQueueRedis::getAllAcquiredJobs(), JobQueueRedis::getAllDelayedJobs(), MediaWiki\Interwiki\ClassicInterwikiLookup::getAllPrefixesCached(), JobQueueRedis::getAllQueuedJobs(), ResourceLoader::getCombinedVersion(), LocalisationCache::getCompiledPluralRules(), RedisBagOStuff::getConnection(), RedisConnectionPool::getConnection(), Revision::getContent(), JobQueueFederated::getCrossPartitionSum(), ReverseChronologicalPager::getDateCond(), UploadForm::getDescriptionSection(), Status::getErrorMessageArray(), GadgetResourceLoaderModule::getGadget(), MWExceptionRenderer::getHTML(), BmpHandler::getImageSize(), MediaWiki\Interwiki\ClassicInterwikiLookup::getInterwikiCacheEntry(), JobQueueRedis::getJobFromUidInternal(), JobQueueDB::getJobIterator(), Wikimedia\Rdbms\LoadBalancer::getLaggedReplicaMode(), RequestContext::getLanguage(), Vector\ResourceLoaderLessModule::getLessVars(), RedisLockManager::getLocksOnServer(), MWExceptionHandler::getLogContext(), MWExceptionHandler::getLogMessage(), MWExceptionHandler::getLogNormalMessage(), JobQueueDB::getMasterDB(), Wikimedia\Rdbms\DatabaseMysqlBase::getMasterServerInfo(), SvgHandler::getMetadata(), GIFHandler::getMetadata(), JpegHandler::getMetadata(), PNGHandler::getMetadata(), TiffHandler::getMetadata(), ResourceLoaderStartUpModule::getModuleRegistrations(), RedisBagOStuff::getMulti(), SqlBagOStuff::getMulti(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProvider::getPassword(), MediaWikiTitleCodec::getPrefixedDBkey(), MWExceptionHandler::getPublicLogMessage(), MediaWiki\Logger\Monolog\KafkaHandler::getRandomPartition(), MWExceptionHandler::getRedactedTrace(), MWExceptionHandler::getRedactedTraceAsString(), JobQueueDB::getReplicaDB(), SearchEngine::getSearchIndexFields(), JobQueueRedis::getServerQueuesWithJobs(), MWExceptionRenderer::getShowBacktraceError(), NewFilesPager::getStartBody(), MWExceptionHandler::getStructuredExceptionData(), GadgetRepo::getStructuredList(), MWExceptionRenderer::getText(), TextPassDumper::getText(), LocalFile::getThumbnails(), SpecialRandomInCategory::getTimestampOffset(), ContentHandler::getUndoContent(), ParserFuzzTest::guessVarSize(), ApiMain::handleApiBeforeMainException(), MWExceptionHandler::handleError(), RedisConnectionPool::handleError(), MWExceptionHandler::handleException(), ApiMain::handleException(), RedisBagOStuff::handleException(), VersionChecker::handleExtensionDependency(), ApiUpload::handleStashException(), MWExceptionHandler::handleUncaughtException(), ExtParserFunctions::ifexpr(), EditPage::importFormData(), Installer::includeExtensions(), SqlBagOStuff::incr(), RedisBagOStuff::incr(), Wikimedia\Rdbms\DatabasePostgres::insert(), Wikimedia\Rdbms\DatabaseMssql::insert(), DatabaseOracle::insertOneRow(), DBLockManager::isServerUp(), SiteStats::jobs(), MWExceptionHandler::jsonSerializeException(), DatabaseOracle::lastErrno(), DatabaseOracle::lastError(), Wikimedia\Rdbms\DatabaseSqlite::lastError(), HTMLRestrictionsField::loadDataFromRequest(), ExtensionRegistry::loadFromQueue(), MediaWiki\Storage\RevisionStore::loadSlotContent(), Parser::lock(), ProfilerOutputDb::log(), MWExceptionHandler::logError(), MWExceptionHandler::logException(), JobQueueFederated::logException(), FileOp::logFailure(), ApiMain::logRequest(), FormatMetadata::makeFormattedData(), ResourceLoader::makeModuleResponse(), Wikimedia\Rdbms\LoadBalancer::masterRunningReadOnly(), LocalFile::maybeUpgradeRow(), MediaWiki\Session\SessionProvider::mergeMetadata(), JSMinPlus::min(), MWException::msg(), MWExceptionRenderer::msg(), Wikimedia\Rdbms\DatabaseMssql::nativeInsertSelect(), FSFileBackendList::next(), Wikimedia\Rdbms\Database::nonNativeInsertSelect(), MediaWiki\Logger\Monolog\LineFormatter::normalizeException(), MediaWiki\Logger\Monolog\LogstashFormatter::normalizeException(), MediaWiki\Logger\Monolog\LineFormatter::normalizeExceptionArray(), MWTimestamp::offsetForUser(), SpecialChangeContentModel::onSubmit(), Wikimedia\Rdbms\Database::onTransactionPreCommitOrIdle(), MssqlInstaller::openConnection(), MysqlInstaller::openConnection(), SqliteInstaller::openConnection(), PostgresInstaller::openConnectionWithParams(), Wikimedia\Rdbms\DatabaseSqlite::openFile(), MWExceptionRenderer::output(), OutputPage::output(), ResourceLoader::outputErrorAndLog(), XMPReader::parse(), Installer::parse(), AjaxDispatcher::performAction(), ApiUpload::performStash(), JobQueue::pop(), PopulateContentModel::populateRevisionOrArchive(), MediaWiki::preOutputCommit(), PreprocessDump::processRevision(), MediaWiki\Logger\LegacyLoggerTest::provideInterpolate(), RecentChangesUpdateJob::purgeExpiredRows(), JobQueueGroup::push(), JobQueueGroup::pushLazyJobs(), ApiQueryContinueTestBase::query(), Installer::readExtension(), LocalisationUpdate\Updater::readMessages(), Wikimedia\Rdbms\LoadBalancer::reallyOpenConnection(), QueryPage::recache(), JobQueueDB::recycleAndDeleteStaleJobs(), PoolCounterRedis::release(), PoolCounterRedis::releaseAll(), MySqlLockManager::releaseAllLocks(), PostgreSqlLockManager::releaseAllLocks(), Parser::renderImageGallery(), Wikimedia\Rdbms\Database::replace(), Wikimedia\Rdbms\Database::replaceLostConnection(), MWExceptionHandler::report(), MWExceptionRenderer::reportHTML(), MWExceptionRenderer::reportOutageHTML(), ResourceLoader::respond(), FSFileBackendList::rewind(), Wikimedia\Rdbms\Database::rollback(), MWExceptionHandler::rollbackMasterChangesAndLog(), TextPassDumper::rotateDb(), ApiQueryRecentChanges::run(), ApiQueryWatchlist::run(), AssembleUploadChunksJob::run(), PublishStashedFileJob::run(), RefreshLinksJob::run(), MediaWiki::run(), JobRunner::run(), Wikimedia\Rdbms\LoadBalancer::runMasterPostTrxCallbacks(), Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks(), Wikimedia\Rdbms\Database::runOnTransactionPreCommitCallbacks(), ParserTestRunner::runTestsFromFiles(), Wikimedia\Rdbms\Database::runTransactionListenerCallbacks(), DeferredUpdates::runUpdate(), MediaWiki\MediaWikiServices::salvage(), ResourceLoaderModule::saveFileDependencies(), DatabaseOracle::selectDB(), Wikimedia\Rdbms\DatabaseMssql::selectDB(), SamplingStatsdClient::send(), MediaWiki\Logger\Monolog\KafkaHandler::send(), UserMailer::sendInternal(), LCStoreCDB::set(), RedisBagOStuff::set(), VersionChecker::setCoreVersion(), RedisBagOStuff::setMulti(), SqlBagOStuff::setMulti(), MWHttpRequestTestCase::setUp(), JobQueueTest::setUp(), SqliteInstaller::setupDatabase(), PostgresInstaller::setupPLpgSQL(), PostgresInstaller::setupSchema(), MysqlInstaller::setupUser(), PostgresInstaller::setupUser(), MWExceptionRenderer::showBackTrace(), SpecialGadgets::showExportForm(), SpecialUploadStash::showUpload(), SpecialUploadStash::showUploads(), Wikimedia\Rdbms\Database::sourceFile(), MwSql::sqlDoQuery(), WebInstaller::startSession(), LCStoreCDB::startWrite(), MediaWikiTestCase::stashMwGlobals(), MediaWiki\Storage\SqlBlobStore::storeBlob(), SpecialEmailUser::submit(), MssqlInstaller::submitSettingsForm(), MysqlInstaller::submitSettingsForm(), ApiMain::substituteResultWithError(), ApiOptionsTest::testAnon(), ApiMainTest::testAssert(), ApiMainTest::testAssertUser(), DatabaseSQLTest::testAtomicSectionsCallbackCancellation(), ErrorPageErrorTest::testConstruction(), ReadOnlyErrorTest::testConstruction(), UserNotLoggedInTest::testConstruction(), ApiEditPageTest::testEditSection(), BadTitleErrorTest::testExceptionSetsStatusCode(), ThrottledErrorTest::testExceptionSetsStatusCode(), UploadStashTest::testExceptionWhenStoreTempFails(), SpecialPageDataTest::testExecute(), MediaWiki\Auth\ThrottlePreAuthenticationProvider::testForAuthentication(), MediaWiki\Tests\Storage\NameTableStoreTest::testGetAndAcquireId(), ResourceLoaderTest::testGetLoadScript(), MWExceptionHandlerTest::testGetRedactedTrace(), DatabaseTest::testGetScopedLock(), PageDataRequestHandlerTest::testHandleRequest(), DatabaseSQLTest::testImplicitTransactionRollback(), LBFactoryTest::testInvalidSelectDB(), MWExceptionTest::testisCommandLine(), MWExceptionTest::testIsLogable(), ApiOptionsTest::testNoChanges(), ApiOptionsTest::testNoOptionname(), ExtensionJsonValidationTest::testPassesValidation(), HTMLCheckMatrixTest::testPlainInstantiation(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationData(), ErrorPageErrorTest::testReport(), WikitextContentHandlerTest::testSerializeContent(), UploadFromUrlTest::testSetupUrlDownload(), ApiQueryTest::testTitlePartToKey(), DatabaseSQLTest::testTransactionStatementRollbackIgnoring(), WikitextContentHandlerTest::testUnserializeContent(), ApiUploadTest::testUpload(), ApiUploadTest::testUploadChunks(), ApiUploadTest::testUploadMissingParams(), ApiUploadTest::testUploadRequiresToken(), ApiUploadTest::testUploadSameContent(), ApiUploadTest::testUploadSameFileName(), ApiUploadTest::testUploadStash(), ApiUploadTest::testUploadZeroLength(), MWExceptionTest::testUseMessageCache(), MWExceptionTest::testUseOutputPage(), JobQueueDB::throwDBException(), JobQueueRedis::throwRedisException(), BitmapHandler::transformImageMagickExt(), MediaWiki::triggerJobs(), JobQueueFederated::tryJobInsertions(), ResourceLoader::tryRespondFromFileCache(), UploadBase::tryStashFile(), UploadFromChunks::tryStashFile(), DatabaseOracle::update(), Wikimedia\Rdbms\DatabaseMssql::update(), PopulateRevisionSha1::upgradeLegacyArchiveRow(), PopulateRevisionSha1::upgradeRow(), Wikimedia\Rdbms\Database::upsert(), MWExceptionRenderer::useOutputPage(), Language::userAdjust(), TitleBlacklist::validate(), HTMLTitleTextField::validate(), ApiStructureTest::validateDefault(), XmlTypeCheck::validateFromInput(), ResourceLoaderModule::validateScriptFile(), PoolCounterRedis::waitForSlotOrNotif(), SpecialEditWatchlist::watchTitles(), wfGenerateThumbnail(), wfStreamThumb(), and wfWaitForSlaves().
in this case you re responsible for computing and outputting the entire conflict i the difference between revisions and your text headers and sections & $editor |
Definition at line 1402 of file hooks.txt.
Referenced by TestFileEditor::edit(), ConfirmEditHooks::onAlternateEditPreview(), EnotifNotifyJob::run(), RecentChange::save(), EditAction::show(), WatchedItemStore::updateNotificationTimestamp(), and TitleBlacklistHooks::validateBlacklist().
the value to return A Title object or null for latest all implement SearchIndexField $engine |
Definition at line 2869 of file hooks.txt.
Referenced by ContentHandler::addSearchField(), ApiQueryRevisionsBase::extractRevisionInfo(), ContentHandler::getDataForSearchIndex(), TextContentHandler::getDataForSearchIndex(), WikitextContentHandler::getDataForSearchIndex(), DifferenceEngine::getDiffBodyCacheKeyParams(), ContentHandler::getFieldsForSearchIndex(), FileContentHandler::getFieldsForSearchIndex(), TextContentHandler::getFieldsForSearchIndex(), WikitextContentHandler::getFieldsForSearchIndex(), DummySearchIndexFieldDefinition::getMapping(), PageArchive::listPagesBySearch(), ParserFunctionsHooks::onScribuntoExternalLibraries(), ApiOpenSearchTest::replaceSearchEngine(), TitleBlacklistHooks::scribuntoExternalLibraries(), ContentHandlerTest::testDataIndexFields(), ApiOpenSearchTest::testGetAllowedParams(), SearchEngineTest::testSearchIndexFields(), and DifferenceEngine::textDiff().
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check set to true or false to override the $wgMaxImageArea check result gives extension the possibility to transform it themselves $handler |
Definition at line 900 of file hooks.txt.
Referenced by EditPage::__construct(), MediaWiki\Storage\RevisionStore::checkContentModel(), CleanupSpam::cleanupArticle(), UploadBase::createFromRequest(), MediaWiki\Logger\MonologSpi::createLogger(), FSFileBackend::doCopyInternal(), SwiftFileBackend::doCopyInternal(), FSFileBackend::doCreateInternal(), SwiftFileBackend::doCreateInternal(), FSFileBackend::doDeleteInternal(), SwiftFileBackend::doDeleteInternal(), SwiftFileBackend::doDescribeInternal(), WikiPage::doEditContent(), FSFileBackend::doMoveInternal(), SwiftFileBackend::doMoveInternal(), FSFileBackend::doStoreInternal(), SwiftFileBackend::doStoreInternal(), MovePageForm::doSubmit(), MediaWiki\Storage\RevisionStore::emulateMainSlot_1_29(), ApiImageRotate::execute(), ApiStashEdit::execute(), ImportImages::execute(), TextPassDumper::exportTransform(), ApiQueryRevisionsBase::extractRevisionInfo(), Job::factory(), Article::generateReason(), ContentHandler::getAllContentFormats(), GadgetDefinitionContent::getAssocArray(), ResourceLoaderWikiModule::getContent(), WikiRevision::getContent(), EditPage::getCurrentContent(), FileContentHandler::getDataForSearchIndex(), ContentHandler::getForModelID(), MediaWiki\Logger\MonologSpi::getHandler(), MediaHandlerFactory::getHandler(), Parser::getImageParams(), ImagePage::getLanguageForRendering(), SpecialChangeContentModel::getOptionsForTitle(), EditPage::getOriginalContent(), EditPage::getPreloadedContent(), MWFileProps::getPropsFromPath(), SearchEngine::getSearchIndexFields(), WikiPage::getUndoContent(), EditPage::importFormData(), MediaWiki\Storage\RevisionStore::loadSlotContent(), ContentHandler::makeContent(), Parser::makeImage(), EditPage::mergeChangesIntoContent(), LogFormatter::newFromEntry(), ImagePage::openShowImage(), SpecialUploadStash::parseKey(), PopulateContentModel::populateRevisionOrArchive(), WikiImporter::processRevision(), ResourceLoaderImage::rasterize(), Parser::renderImageGallery(), MediaWikiTestCase::setTemporaryHook(), MediaWiki\Session\SessionManager::setupPHPSessionHandler(), MediaWiki\EditPage\TextConflictHelper::showEditFormTextAfterFooters(), MovePageForm::showForm(), Sanitizer::stripAllTags(), MediaWiki\Logger\Monolog\KafkaHandlerTest::testBatchHandlesNullFormatterResult(), ContentHandlerTest::testDataIndexFields(), MediaWiki\Session\PHPSessionHandlerTest::testDisabled(), MediaWiki\Session\PHPSessionHandlerTest::testEnableFlags(), TextContentHandlerTest::testFieldsForIndex(), MediaWiki\Logger\Monolog\KafkaHandlerTest::testGetAvailablePartitionsException(), ContentHandlerTest::testGetFieldsForSearchIndex(), ContentHandlerTest::testGetForTitle(), MediaWiki\Session\SessionManagerTest::testGetGlobalSession(), WebPHandlerTest::testGetImageSize(), ContentHandlerTest::testGetModelForID(), ContentHandlerTest::testGetPageLanguage(), PageDataRequestHandlerTest::testHandleRequest(), MediaWiki\Logger\Monolog\KafkaHandlerTest::testHandlesNullFormatterResult(), PageDataRequestHandlerTest::testHttpContentNegotiation(), BitmapScalingTest::testImageArea(), JobTest::testJobFactory(), JsonContentHandlerTest::testMakeEmptyContent(), ContentHandlerSanityTest::testMakeEmptyContent(), BitmapScalingTest::testNormaliseParams(), BitmapMetadataHandlerTest::testPNGNative(), BitmapMetadataHandlerTest::testPNGXMP(), MediaWiki\Session\SessionBackendTest::testResetIdOfGlobalSession(), MediaWiki\Logger\Monolog\KafkaHandlerTest::testSendException(), MediaWiki\Session\PHPSessionHandlerTest::testSessionHandling(), ContentHandlerTest::testSupportsCategories(), ContentHandlerTest::testSupportsDirectEditing(), TextContentHandlerTest::testSupportsDirectEditing(), MediaWiki\Session\SessionBackendTest::testTakeOverGlobalSession(), BitmapMetadataHandlerTest::testTiffByteOrder(), BitmapScalingTest::testTooBigImage(), BitmapScalingTest::testTooBigMustRenderImage(), MediaWiki\Logger\Monolog\KafkaHandlerTest::testTopicNaming(), MediaWiki\Session\SessionBackendTest::testUnpersistOfGlobalSession(), MediaWiki\Session\PHPSessionHandlerTest::testWrongInstance(), TraditionalImageGallery::toHTML(), UploadBase::verifyFile(), wfExtractThumbParams(), and wfThumbIsStandard().
see documentation in includes Linker php for Linker::makeImageLink& $handlerParams |
Definition at line 1793 of file hooks.txt.
Referenced by File::getUnscaledThumb(), DummyLinker::makeImageLink(), Linker::makeImageLink(), DummyLinker::makeThumbLink2(), and Linker::makeThumbLink2().
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an<a> element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses& $html |
Definition at line 2013 of file hooks.txt.
Referenced by ImageGalleryBase::add(), CachedAction::addCachedHTML(), MathCaptcha::addCaptchaAPI(), WebInstallerOutput::addHTML(), WebInstallerPage::addHTML(), WebInstallerOutput::addHTMLNoFlush(), BenchmarkTidy::benchmark(), MediaWiki\Linker\LinkRenderer::buildAElement(), SpecialEditTags::buildCheckBoxes(), SpecialRevisionDelete::buildCheckBoxes(), Linker::buildRollbackLink(), HTMLForm::displaySection(), ApiParseTest::doAssertParsedTo(), WebInstallerInstall::endStage(), Html::errorBox(), Sanitizer::escapeHtmlAllowEntities(), SpecialTrackingCategories::execute(), ApiCategoryTree::execute(), ApiHelp::execute(), BenchmarkTidy::execute(), MonoBookTemplate::execute(), TimelessTemplate::execute(), SpecialPageExecutor::executeSpecialPage(), ApiFeedContributions::feedItemDesc(), MathCaptcha::fetchMath(), TextContent::fillParserOutput(), ApiHelp::fixHelpLinks(), OldChangesList::formatChangeLine(), FeedUtils::formatDiffRow(), HTMLMultiSelectField::formatOptions(), HTMLRadioField::formatOptions(), SpecialGadgetUsage::formatResult(), HTMLForm::formatSection(), OOUIHTMLForm::formatSection(), MediaWiki\Widget\Search\FullSearchResultWidget::generateFileHtml(), CategoryViewer::generateLink(), LogEventsList::getActionSelector(), TimelessTemplate::getAfterContent(), BaseTemplate::getAfterPortlet(), OOUIHTMLForm::getBody(), PreferencesForm::getButtons(), TimelessTemplate::getCategories(), TimelessTemplate::getCatList(), EditPage::getCheckboxesWidget(), TimelessTemplate::getContentSub(), SpecialVersion::getCreditsForExtension(), MWDebug::getDebugHTML(), HTMLFormField::getDiv(), Title::getEditNotices(), BaseTemplate::getFooter(), TimelessTemplate::getHeaderHack(), ApiHelp::getHelp(), WebInstaller::getHelpBox(), HTMLForm::getHiddenFields(), ApiCategoryTree::getHTML(), MWExceptionRenderer::getHTML(), HTMLForm::getHTML(), CssContent::getHtml(), JavaScriptContent::getHtml(), QuickTemplate::getHTML(), SpecialPageExecutor::getHTMLFromSpecialPage(), MonoBookTemplate::getIfExists(), HTMLFormField::getInline(), HTMLFancyCaptchaField::getInputHTML(), HTMLCheckMatrix::getInputHTML(), HTMLMultiSelectField::getInputHTML(), HTMLRadioField::getInputHTML(), HTMLSizeFilterField::getInputHTML(), HTMLFormFieldCloner::getInputHTML(), HTMLFormFieldCloner::getInputHTMLForKey(), TimelessTemplate::getInterlanguageLinks(), HTMLFormField::getLabelHtml(), MonoBookTemplate::getLanguageBox(), TimelessTemplate::getLogo(), TimelessTemplate::getMainNavigation(), SkinTemplateTest::getMockOutputPage(), LoginSignupSpecialPage::getPageHtml(), MessageContent::getParserOutput(), TimelessTemplate::getPortlet(), MonoBookTemplate::getPortlet(), HTMLFormField::getRaw(), Article::getRedirectHeaderHtml(), MonoBookTemplate::getRenderedSidebar(), TimelessTemplate::getSearch(), MonoBookTemplate::getSearchBox(), TimelessTemplate::getSidebarChunk(), MonoBookTemplate::getSimpleFooter(), TimelessTemplate::getSiteNotices(), HTMLCheckMatrix::getTableRow(), HTMLFormField::getTableRow(), CategoryTree::getTag(), MonoBookTemplate::getToolboxBox(), BaseTemplate::getTrail(), TimelessTemplate::getUserLinks(), ForeignAPIRepo::httpGetCached(), ImageGalleryBase::insert(), Xml::isWellFormedXmlFragment(), DummyLinker::link(), Linker::link(), DummyLinker::linkKnown(), Linker::linkKnown(), Skin::makeFooterIcon(), DummyLinker::makeHeadline(), BaseTemplate::makeLink(), VectorTemplate::makeLink(), BaseTemplate::makeListItem(), DummyLinker::makeMediaLinkFile(), Linker::makeMediaLinkFile(), DummyLinker::makeMediaLinkObj(), Linker::makeMediaLinkObj(), LogFormatter::makePageLink(), SkinTemplate::makePersonalToolsList(), DummyLinker::makeSelfLinkObj(), Linker::makeSelfLinkObj(), Html::messageBox(), ConfirmEditHooks::onAlternateEditPreview(), CategoryTreeHooks::onSpecialTrackingCategoriesGenerateCatLink(), MediaWiki\Widget\Search\SearchFormWidget::optionsHtml(), SpecialGadgetUsage::outputResults(), QueryPage::outputResults(), SpecialGadgetUsage::outputTableStart(), Installer::parse(), CategoryTreeHooks::parserFunction(), SpecialJavaScriptTest::plainQUnit(), BalancerTest::provideBalancerTests(), LinkerTest::provideLinkBeginHook(), LinkerTest::provideLinkEndHook(), OldChangesList::recentChangesLine(), LogFormatterTestCase::removeSomeHtml(), MediaWiki\Widget\Search\DidYouMeanWidget::render(), MediaWiki\Widget\Search\FullSearchResultWidget::render(), Parser::renderImageGallery(), MWExceptionRenderer::reportOutageHTML(), Linker::revDeleteLink(), Linker::revDeleteLinkDisabled(), MediaWiki\Linker\LinkRenderer::runLegacyBeginHook(), MediaWiki\Widget\Search\SearchFormWidget::shortDialogHtml(), WebInstaller::showHelpBox(), FileDuplicateSearchPage::showList(), WebInstaller::showMessage(), LogEventsList::showOptions(), SpecialTags::showTagList(), CategoryTreeHooks::skinTemplateOutputPageBeforeExec(), Sanitizer::stripAllTags(), Parser::stripOuterParagraph(), Html::successBox(), EnhancedChangesListTest::testBeginRecentChangesList_html(), EnhancedChangesListTest::testCategorizationLineFormatting(), EnhancedChangesListTest::testCategorizationLineFormattingWithRevision(), SpecialEditWatchlistTest::testClearPage_hasClearButtonForm(), SpecialEditWatchlistTest::testEditRawPage_hasTitlesBox(), EnhancedChangesListTest::testEndRecentChangesList(), SpecialBooksourcesTest::testExecute(), HTMLFancyCaptchaFieldTest::testGetHTML(), ListToggleTest::testGetHTML(), HttpErrorTest::testGetHtml(), StatusTest::testGetHtml(), HTMLFormTest::testGetHTML_empty(), TextContentTest::testGetParserOutput(), SpecialBlankPageTest::testHasWikiMsg(), HTMLAutoCompleteSelectFieldTest::testOptionalSelectElement(), EnhancedChangesListTest::testRecentChangesLine(), EnhancedChangesListTest::testRecentChangesPrefix(), SpecialSearchTest::testRewriteQueryWithSuggestion(), SpecialEditWatchlistTest::testRootPage_displaysExplanationMessage(), SpecialWatchlistTest::testUserWithNoWatchedItems_displaysNoWatchlistMessage(), ImagePage::view(), Html::warningBox(), ParserTestPrinter::wellFormed(), HTMLForm::wrapForm(), OOUIHTMLForm::wrapForm(), VFormHTMLForm::wrapForm(), PreferencesForm::wrapForm(), and SkinTemplate::wrapHTML().
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check $image |
Definition at line 893 of file hooks.txt.
Referenced by ApiQueryImageInfo::checkParameterNormalise(), MockBitmapHandler::doClientImage(), MockImageHandler::doFakeTransform(), PdfHandler::doTransform(), BitmapHandler_ClientOnly::doTransform(), DjVuHandler::doTransform(), SvgHandler::doTransform(), TransformationalImageHandler::doTransform(), MockBitmapHandler::doTransform(), MockDjVuHandler::doTransform(), MockSvgHandler::doTransform(), ImportImages::execute(), InitSiteStats::execute(), UploadDumper::fetchUsed(), RepoGroup::findFile(), RepoGroup::findFiles(), PdfHandler::formatMetadata(), ExifBitmapHandler::formatMetadata(), GIFHandler::formatMetadata(), PNGHandler::formatMetadata(), TransformationalImageHandler::getClientScalingThumbnailImage(), GIFHandler::getCommonMetaArray(), PNGHandler::getCommonMetaArray(), DjVuHandler::getDjVuImage(), ResourceLoaderImageModule::getFileHashes(), ResourceLoaderContext::getImage(), GIFHandler::getImageArea(), ImageHandler::getImageArea(), ResourceLoaderImageModuleTest::getImageMock(), ResourceLoaderContext::getImageObj(), ResourceLoaderImageModule::getImages(), PdfHandler::getImageSize(), DjVuHandler::getImageSize(), ExifBitmapHandler::getImageSize(), GIFHandler::getLongDesc(), PNGHandler::getLongDesc(), PdfHandler::getMetaArray(), PdfHandler::getMetadata(), DjVuHandler::getMetadata(), DjVuHandler::getMetaTree(), SearchNearMatcher::getNearMatchInternal(), MediaHandler::getPageDimensions(), PdfHandler::getPdfImage(), ImageHandler::getScriptedTransform(), ResourceLoaderImageModule::getStyleDeclarations(), ResourceLoaderImageModule::getStyles(), MediaHandler::getTransform(), GIFHandler::isAnimatedImage(), PNGHandler::isAnimatedImage(), WebPHandler::isAnimatedImage(), SpecialNuke::listForm(), ResourceLoader::makeModuleResponse(), ApiQueryImageInfo::mergeThumbParams(), BitmapHandler::normaliseParams(), BitmapHandler_ClientOnly::normaliseParams(), ImageHandler::normaliseParams(), JpegHandler::normaliseParams(), SvgHandler::normaliseParams(), TransformationalImageHandler::normaliseParams(), ConfirmEditHooks::onTitleReadWhitelist(), ImageMap::render(), ApiQueryDuplicateFiles::run(), ParserTestRunner::setupUploads(), ResourceLoaderImageTest::testGetExtension(), ResourceLoaderImageTest::testGetImageData(), ResourceLoaderImageTest::testGetPath(), ResourceLoaderImageModuleTest::testGetStyleDeclarations(), ResourceLoaderImageTest::testMassageSvgPathdata(), BitmapHandler::transformGd(), BitmapHandler::transformImageMagick(), JpegHandler::transformImageMagick(), BitmapHandler::transformImageMagickExt(), and RandomImageGenerator::writeImageWithApi().
processing should stop and the error should be shown to the user if you wanted to authenticate users to a custom you could $ldapServer |
usually copyright or history_copyright This message must be in HTML not wikitext& $link |
Definition at line 3014 of file hooks.txt.
Referenced by LinksUpdate::__construct(), ImageGalleryBase::add(), OutputPage::addHelpLink(), OutputPage::addReturnTo(), Skin::addToSidebarPlain(), RCCacheEntryFactoryTest::assertQueryLink(), SkinTemplate::buildContentNavigationUrls(), OutputPage::buildCssLinksArray(), ProtectionForm::buildForm(), SpecialEditWatchlist::buildRemoveLine(), Article::confirmDelete(), DifferenceEngine::deletedIdMarker(), SpecialReplaceText::doSpecialReplaceText(), MovePageForm::doSubmit(), SpecialRenameuser::execute(), SpecialApiHelp::execute(), DumpLinks::execute(), VectorTemplate::execute(), SpecialNewpages::filterLinks(), StubUserLang::findVariantLink(), IuConverter::findVariantLink(), KkConverter::findVariantLink(), KuConverter::findVariantLink(), ShiConverter::findVariantLink(), SrConverter::findVariantLink(), Language::findVariantLink(), LanguageConverter::findVariantLink(), Linker::formatAutocomments(), ApiParse::formatCategoryLinks(), DateFormatter::formatDate(), ApiParse::formatLangLinks(), AncientPagesPage::formatResult(), MostcategoriesPage::formatResult(), MostinterwikisPage::formatResult(), MostlinkedPage::formatResult(), DeletedContribsPager::formatRevisionRow(), CategoryPager::formatRow(), ContribsPager::formatRow(), SpecialProtectedtitles::formatRow(), ImageListPager::formatValue(), CategoryViewer::generateLink(), MediaWiki\Widget\Search\FullSearchResultWidget::generateMainLinkHtml(), Skin::getCategoryLinks(), CreditsAction::getContributors(), Skin::getCopyright(), SpecialUndelete::getFileComment(), SpecialUndelete::getFileLink(), SpecialUndelete::getFileUser(), LogEventsList::getFilterLinks(), BaseTemplate::getFooterLinks(), ResourceLoaderModule::getHeaders(), OutputPage::getHeadLinksArray(), ApiHelp::getHelpInternal(), EnhancedChangesList::getLineData(), RevDelArchivedFileItem::getLink(), RevDelFileItem::getLink(), RenameuserLogFormatter::getMessageParameters(), ApiParamInfo::getModuleInfo(), SpecialUndelete::getPageLink(), WebInstaller::getPageListItem(), Block::getPermissionsError(), TablePager::getStartBody(), RevDelFileItem::getUserTools(), HistoryPager::historyLine(), ImagePage::imageDupes(), ImagePage::imageLinks(), ImageGalleryBase::insert(), SpecialWhatLinksHere::listItem(), Linker::makeCommentLink(), Linker::makeExternalLink(), Linker::makeHeadline(), DummyLinker::makeHeadline(), Parser::makeKnownLinkHolder(), BaseTemplate::makeListItem(), LogFormatter::makePageLink(), WebInstallerOptions::makeScreenshotsLink(), ChangesList::maybeWatchedLink(), RenameuserLogFormatter::myPageLink(), ImportStreamSource::newFromInterwiki(), ComposerPackageModifier::newMediaWikiLink(), Language::numLink(), ImagePage::openShowImage(), SpecialRecentChanges::optionsPanel(), SpecialSpecialpages::outputPageList(), LanguageConverter::parseCachedTable(), SkinTemplate::prepareQuickTemplate(), SpecialBlock::preText(), MediaWiki\Preferences\DefaultPreferencesFactory::profilePreferences(), ImageMap::render(), MediaWiki\Widget\Search\FullSearchResultWidget::render(), MediaWiki\Widget\Search\InterwikiSearchResultWidget::render(), MediaWiki\Widget\Search\SimpleSearchResultWidget::render(), Parser::renderImageGallery(), LinkHolderArray::replaceInternal(), Parser::replaceInternalLinks2(), LinkHolderArray::replaceInterwiki(), Linker::revDeleteLink(), DifferenceEngine::revisionDeleteLink(), HistoryPager::revLink(), Linker::revUserLink(), Linker::revUserTools(), ComposerPackageModifier::setLinkAsProvides(), Article::showDeletedRevisionHeader(), DifferenceEngine::showDiffPage(), FileDeleteForm::showForm(), SpecialRevisionDelete::showForm(), SpecialAutoblockList::showList(), SpecialBlockList::showList(), Article::showPatrolFooter(), SpecialPrefixindex::showPrefixChunk(), SpecialUndelete::showRevision(), MovePageForm::showSubpagesList(), SpecialUpload::showViewDeletedLinks(), OutputPage::styleLink(), Skin::subPageSubtitle(), ApiMain::substituteResultWithError(), MediaWiki\Auth\AuthManagerTest::testAuthentication(), LinkRendererTest::testMergeAttribs(), TraditionalImageGallery::toHTML(), SpecialUndelete::undelete(), and CreditsAction::userLink().
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned $linkRenderer |
Definition at line 2054 of file hooks.txt.
Referenced by UploadForm::__construct(), OutputPage::addCategoryLinks(), OutputPage::addReturnTo(), OutputPage::buildBacklinkSubtitle(), ProtectionForm::buildForm(), SpecialPageFactory::capturePath(), MediaWiki\Linker\LinkRendererFactory::createForUser(), MediaWiki\Linker\LinkRendererFactory::createFromLegacyOptions(), LinkHolderArray::doVariants(), SpecialPageFactory::executePath(), DeletedContribsPager::formatRevisionRow(), ContribsPager::formatRow(), AllMessagesTablePager::formatValue(), ImageListPager::formatValue(), BlockListPager::formatValue(), CategoryViewer::generateLink(), PreferencesForm::getButtons(), InfoAction::getContributors(), Preferences::getDefaultPreferencesFactory(), RevisionItem::getDiffLink(), MWGrants::getGrantsLink(), Linker::getLinkColour(), SpecialPage::getLinkRenderer(), RevisionItem::getRevisionLink(), SpecialContributions::getUserLinks(), HistoryPager::lastLink(), Linker::link(), ReplaceTextUtils::link(), InfoAction::pageInfo(), CategoryViewer::pagingLinks(), SpecialBlock::postText(), MarkpatrolledAction::preText(), LinkHolderArray::replaceInternal(), LinkHolderArray::replaceInterwiki(), ImportReporter::reportPage(), MediaWiki\Widget\Search\DidYouMeanWidget::rewrittenHtml(), SpecialPage::setLinkRenderer(), FileDeleteForm::showForm(), OutputPage::showPermissionsErrorPage(), SpecialSearch::showResults(), LinkRendererFactoryTest::testCreateForUser(), LinkRendererFactoryTest::testCreateFromLegacyOptions(), LinkRendererTest::testGetLinkClasses(), LinkRendererTest::testMakeBrokenLink(), LinkRendererTest::testMakeKnownLink(), LinkRendererTest::testMakeLink(), and LinkRendererTest::testMergeAttribs().
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables & $linksUpdate |
Definition at line 2086 of file hooks.txt.
Referenced by LinksUpdate::__construct(), LinksUpdate::doUpdate(), CiteHooks::onLinksUpdate(), and CiteHooks::onLinksUpdateComplete().
namespace are movable Hooks may change this value to override the return value of MWNamespace::isMovable (). 'NewDifferenceEngine' if it s text intended for display in a monospaced font $localize |
|
static |
Definition at line 2294 of file hooks.txt.
Referenced by File::checkExtensionCompatibility().
|
inline |
Definition at line 293 of file hooks.txt.
Referenced by UserRightsProxy::__construct(), MediaWiki\Auth\CreatedAccountAuthenticationRequest::__construct(), ResourceLoaderImage::__construct(), SpecialPage::__construct(), PoolCounterWorkViaCallback::__construct(), ApiContinuationManager::__construct(), MemcLockManager::__construct(), Wikimedia\Rdbms\Database::__construct(), FileOp::__construct(), ForeignTitle::__toString(), TitleValue::__toString(), Linker::accesskey(), MediaWiki\Storage\NameTableStore::acquireId(), MagicWordArray::add(), FormOptions::add(), MigrateActors::addActorsForRows(), TestFileReader::addArticle(), ApiContinuationManager::addContinueParam(), ApiContinuationManager::addGeneratorContinueParam(), ApiContinuationManager::addGeneratorNonContinueParam(), OutputPage::addHeadItem(), HTMLForm::addHiddenField(), HTMLForm::addHiddenFields(), ParserOutput::addImage(), FakeAuthTemplate::addInputItem(), MediaHandler::addMeta(), ApiModuleManager::addModule(), Maintenance::addOption(), ApiQueryBase::addOption(), TestFileReader::addRequirement(), ContentHandler::addSearchField(), ApiQuerySiteinfo::appendInstalledLibraries(), ApiQuerySiteinfo::appendSkins(), ApiQuerySiteinfo::appendSubscribedHooks(), ExternalUserNames::applyPrefix(), Xml::attrib(), SearchEngine::augmentSearchResults(), Parser::braceSubstitution(), MediaWiki\EditPage\TextboxBuilder::buildTextboxAttribs(), CentralIdLookup::centralIdFromName(), CheckStorage::check(), NamespaceConflictChecker::checkAll(), FindOrphanedFiles::checkFiles(), PreprocessDump::checkOptions(), Maintenance::checkRequiredExtensions(), CleanupUsersWithNoId::cleanup(), FileBackendGroup::config(), LockManagerGroup::config(), FormOptions::consumeValue(), FormOptions::consumeValues(), Parser::createAssocArgs(), HTMLFormFieldCloner::createFieldsForKey(), User::createNew(), Sanitizer::decodeEntity(), MediaWiki\Services\ServiceContainer::defineService(), MediaWiki\Services\ServiceContainer::disableService(), GenderCache::doQuery(), XmlTypeCheck::elementOpen(), ApiBase::encodeParamName(), DeprecatedInterfaceFinder::enterNode(), Installer::envCheckCache(), ApiQueryReferences::execute(), ApiQueryContributions::execute(), LocalFileDeleteBatch::execute(), GetConfiguration::execute(), GenerateNormalizerDataAr::execute(), ParserTestRunner::executeSetupSnippets(), XmlTypeCheck::expandNS(), QuickTemplate::extend(), Parser::extensionSubstitution(), ExtensionProcessor::extractCredits(), ExtensionProcessor::extractHooks(), ExtensionProcessor::extractInfo(), ExtensionProcessor::extractMessagesDirs(), InputBox::extractOptions(), BatchRowIterator::extractPrimaryKeys(), ExtensionProcessor::extractResourceLoaderModules(), FormOptions::fetchValuesFromRequest(), Wikimedia\Rdbms\Database::fieldNameWithAlias(), ImageCleanup::filePath(), ExecutableFinder::findExecutable(), ApiAuthManagerHelper::formatFields(), ApiParse::formatLimitReportData(), ApiRsd::formatRsdApiList(), EtcdConfig::get(), HashConfig::get(), FileBackendGroup::get(), LockManagerGroup::get(), QuickTemplate::get(), SpecialPageFactory::getAliasList(), FormOptions::getAllValues(), RecentChange::getAttribute(), ExtensionRegistry::getAttribute(), XmlSelect::getAttribute(), XmlTypeCheck::getAttributesArray(), MagicWordArray::getBaseRegex(), MessageBlobStore::getBlobs(), JobQueueGroup::getCachedConfigVar(), MWNamespace::getCanonicalIndex(), User::getCanonicalName(), LinksUpdate::getCategoryInsertions(), FormOptions::getChangedValues(), EditPage::getCheckboxesWidget(), SiteConfiguration::getConfig(), FauxRequest::getCookie(), WebRequest::getCookie(), FauxResponse::getCookie(), FauxResponse::getCookieData(), WebRequest::getCrossSiteCookie(), ResourceLoaderClientHtml::getData(), Language::getDurationIntervals(), Timing::getEntryByName(), MediaWikiPHPUnitTestListener::getErrorName(), AvroValidator::getErrors(), FormatMetadata::getExtendedMetadataFromFile(), FakeAuthTemplate::getExtraInputDefinitions(), ChangesListSpecialPage::getFilterGroupDefinitionFromLegacyCustomFilters(), MediaWiki\Logger\MonologSpi::getFormatter(), ApiPageSet::getGenerators(), JobQueueRedis::getGlobalKey(), WebRequest::getGPCVal(), MediaWiki\Logger\MonologSpi::getHandler(), Hooks::getHandlers(), MagicWordArray::getHash(), WebRequest::getHeader(), ApiHelp::getHelpInternal(), Linker::getImageLinkMTOParams(), Parser::getImageParams(), XhprofData::getInclusiveMetrics(), Wikimedia\Rdbms\Database::getLBInfo(), ContentHandler::getLocalizedName(), WikiEditorHooks::getMagicWords(), ParserFuzzTest::getMemoryBreakdown(), ResourceLoader::getModule(), ApiParamInfo::getModuleInfo(), FileRepo::getName(), PPNode_Hash_Tree::getName(), PPNode_Hash_Attr::getName(), ResourceLoaderImage::getName(), WebRequestUpload::getName(), ApiQuery::getNamedDB(), FileRepo::getNameFromTitle(), ApiModuleManager::getNames(), Language::getNamespaceAliases(), MediaWikiTitleCodec::getNamespaceName(), ApiModuleManager::getNamesWithClasses(), HTMLFormField::getNearestFieldByName(), CategoryTree::getOption(), CategoryTreePage::getOption(), ParserOptions::getOption(), Maintenance::getOption(), MediaWiki\Preferences\DefaultPreferencesFactory::getOptionFromUser(), User::getOptionKinds(), RecentChange::getParam(), FileOp::getParam(), ParserTestRunner::getParserTestFiles(), TimelessTemplate::getPortlet(), MonoBookTemplate::getPortlet(), MediaWiki\Logger\MonologSpi::getProcessor(), OutputPage::getProperty(), ParserOutput::getProperty(), MediaWiki\Session\SessionManager::getProvider(), MediaWiki\Session\ImmutableSessionProviderWithCookieTest::getProvider(), MediaWiki\Session\BotPasswordSessionProviderTest::getProvider(), WebRequest::getRawVal(), SpecialPageFactory::getRegularPages(), SpecialPageFactory::getRestrictedPages(), OutputPage::getRlClient(), OracleInstaller::getSchemaVars(), Wikimedia\Rdbms\LoadBalancer::getServerName(), MediaWiki\Services\ServiceContainer::getService(), WebInstaller::getSession(), ApiAuthManagerHelper::getStandardParams(), ResourceLoaderImageTest::getTestImage(), MediaWikiPHPUnitTestListener::getTestName(), ForeignAPIRepo::getThumbUrlFromCache(), ApiTokens::getTokenTypes(), FormOptions::getUnconsumedValues(), ApiMain::getUpload(), SpecialPageFactory::getUsablePages(), ApiMain::getVal(), WebRequest::getValues(), Installer::getVar(), Language::getVariantname(), FileRepo::getVirtualUrl(), SiteConfiguration::getWikiParams(), GlobalVarConfig::getWithPrefix(), ConvertExtensionToRegistration::handleCredits(), ConvertExtensionToRegistration::handleResourceModules(), GlobalVarConfig::hasWithPrefix(), User::idFromName(), WebRequest::initHeaders(), UploadBase::initializePathInfo(), Xml::input(), Html::input(), LinksUpdate::invalidateProperties(), ResourceLoader::isFileModule(), LogPager::limitPerformer(), HTMLForm::loadData(), User::loadDefaults(), User::loadFromCache(), MediaWiki\Preferences\DefaultPreferencesFactory::loadPreferenceValues(), ApiMain::logRequest(), Skin::makeInternalOrExternalUrl(), ResourceLoaderClientHtml::makeLoad(), ResourceLoader::makeModuleResponse(), Title::makeName(), ResourceLoader::makeVersionQuery(), ApiFormatXml::mangleName(), MagicWordArray::matchAndRemove(), ParserOptions::matches(), MediaWiki\Auth\AuthenticationRequest::mergeFieldInfo(), MediaWikiTestCase::mergeMwGlobalArrayValue(), FileRepo::nameForThumb(), User::newFromName(), Sanitizer::normalizeEntity(), MediaWiki\Storage\NameTableStore::normalizeName(), FormOptions::offsetUnset(), SpecialChangeCredentials::onAuthChangeFormFields(), CoreParserFunctions::pagesincategory(), MediaWiki\Services\ServiceContainer::peekService(), Installer::performInstallation(), MediaWiki\Tests\Storage\NameTableStoreTest::populateTable(), Title::prefix(), ResourceLoader::preloadModuleInfo(), ApiQueryBlocks::prepareUsername(), Preprocessor_Hash::preprocessToObj(), MediaWiki\Preferences\DefaultPreferencesFactory::profilePreferences(), MediaWikiServicesTest::provideGetters(), ActorMigrationTest::provideGetWhere(), MediaWiki\Auth\AbstractPrimaryAuthenticationProvider::providerNormalizeUsername(), MediaWiki\Tests\Storage\NameTableStoreTest::provideTestGetAndAcquireIdNameNormalization(), TestFileReader::read(), ZipDirectoryReader::readCentralDirectory(), Wikimedia\Rdbms\TransactionProfiler::recordQueryCompletion(), MediaWiki\Services\ServiceContainer::redefineService(), Hooks::register(), SkinFactory::register(), ResourceLoader::register(), LockManagerGroup::register(), FileBackendGroup::register(), BackupDumper::registerFilter(), BackupDumper::registerOutput(), HTMLFormFieldCloner::rekeyValuesArray(), Wikimedia\Rdbms\DatabasePostgres::remappedTableName(), VectorTemplate::renderPortal(), Maintenance::requireExtension(), FormOptions::reset(), SpecialPageFactory::resolveAlias(), ResourceLoader::respond(), ApiQueryAllLinks::run(), ConfigFactory::salvage(), MediaWiki\Preferences\DefaultPreferencesFactory::saveFormData(), CategoryFinder::scanNextLayer(), SearchEngineConfig::searchableNamespaces(), Wikimedia\Rdbms\DatabasePostgres::selectSQLText(), ApiMain::sendCacheHeaders(), HashConfig::set(), QuickTemplate::set(), XmlSelect::setAttribute(), SearchResultSet::setAugmentedData(), ApiResult::setContentField(), WebResponse::setCookie(), FauxResponse::setCookie(), FauxRequest::setCookies(), MediaWiki::setDBProfilingAgent(), MWHttpRequest::setHeader(), FauxRequest::setHeaders(), OutputPage::setHTMLTitle(), Wikimedia\Rdbms\Database::setLBInfo(), ParserOutput::setLimitReportData(), HTMLForm::setName(), ParserOptions::setOption(), OutputPage::setProperty(), ParserOutput::setProperty(), QuickTemplate::setRef(), CurlHttpRequestTester::setRespHeaders(), PhpHttpRequestTester::setRespHeaders(), WebInstaller::setSession(), HTMLForm::setSubmitName(), HTMLForm::setSubmitTooltip(), Wikimedia\Rdbms\Database::setTransactionListener(), Wikimedia\Rdbms\LoadBalancer::setTransactionListener(), JobQueueTest::setUp(), FormOptions::setValue(), ApiResult::setValue(), Installer::setVar(), WebInstaller::setVarsFromRequest(), Wikimedia\Rdbms\LBFactory::setWaitForReplicationListener(), SpecialWatchlist::showHideCheck(), UserOptionsMaintenance::showUsageStats(), PPNode_DOM::splitArg(), UploadBase::splitXmlNamespace(), TextPassDumper::startElement(), ExtensionProcessor::storeToArray(), WebInstallerName::submit(), MediaWiki\Session\CookieSessionProvider::suggestLoginUsername(), Wikimedia\Rdbms\Database::tableName(), Wikimedia\Rdbms\DatabaseSqlite::tableName(), Wikimedia\Rdbms\Database::tableNames(), CoreParserFunctions::tagObj(), TextContentHandlerTest::testFieldsForIndex(), ApiMoveTest::testMoveSubpages(), SearchEngineTest::testSearchIndexFields(), UploadTestHandler::testTitleValidation(), Html::textarea(), Wikimedia\Rdbms\TransactionProfiler::transactionWritingIn(), Wikimedia\Rdbms\TransactionProfiler::transactionWritingOut(), ApiResult::unsetValue(), RecentChangesUpdateJob::updateActiveUsers(), SectionProfiler::updateEntry(), UpdateExtensionJsonSchema::updateTo2(), XmlTypeCheck::validate(), FormOptions::validateBounds(), wfArrayPlus2d(), wfIsBadImage(), and wfStripIllegalFilenameChars().
namespace and then decline to actually register it& $namespaces |
Definition at line 935 of file hooks.txt.
Referenced by ApiQuerySiteinfo::appendNamespaceAliases(), ChangesListSpecialPage::buildQuery(), CategoryTree::decodeNamespaces(), PrefixSearch::defaultSearchBackend(), FixDefaultJsonContentPages::doDBUpdates(), ReplaceTextSearch::doSearchQuery(), SpecialAllPages::execute(), SpecialPrefixindex::execute(), CategoryTreePage::executeInputForm(), MediaWikiTestCase::getDefaultWikitextNS(), ApiHelp::getHelpInternal(), SpecialReplaceText::getMatchingTitles(), SpecialSearch::getNamespaces(), Languages::getProblematicProjectTalks(), InputBox::getSearchForm(), PrefixSearch::handleResultFromHook(), Title::inNamespaces(), SearchEngine::namespacesAsText(), SearchEngineConfig::namespacesAsText(), SpecialReplaceText::namespaceTables(), SearchEngine::normalizeNamespaces(), ShortPagesPage::reallyDoQuery(), CategoryTree::renderChildren(), SearchExactMatchRescorer::rescore(), ApiQueryDuplicateFiles::run(), ApiQueryAllDeletedRevisions::run(), PrefixSearch::search(), PrefixSearch::searchBackend(), PrefixSearchTest::searchProvision(), SearchEnginePrefixTest::searchProvision(), PrefixSearch::searchWithVariants(), SearchEngine::setNamespaces(), Language::setNamespaces(), BackupReader::setNsfilter(), SpecialAllPages::showChunk(), SpecialReplaceText::showForm(), SpecialPrefixindex::showPrefixChunk(), SearchEngineTest::testCompletionSearchMustRespectCapitalLinkOverrides(), PrefixSearchTest::testSearch(), PrefixSearchTest::testSearchWithOffset(), ImportTest::testSiteInfoContainsNamespaces(), PrefixSearch::titleSearch(), and PrefixSearch::validateNamespaces().
also included in $newHeader if any $newminor |
Definition at line 1257 of file hooks.txt.
Referenced by DifferenceEngine::showDiffPage().
the value of this variable comes from LanguageConverter indexed by page_id indexed by prefixed DB keys can modify can modify can modify this should be populated with an alert message to that effect $newtalks |
Definition at line 1721 of file hooks.txt.
Referenced by Skin::getNewtalks().
passed in as a query string parameter to the various URLs constructed here (i.e. $nextlink) $rdel also included in $oldHeader $oldminor |
Definition at line 1272 of file hooks.txt.
Referenced by DifferenceEngine::showDiffPage().
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped& $options |
Definition at line 2001 of file hooks.txt.
Referenced by TestFileReader::__construct(), ZipDirectoryReader::__construct(), XmlTypeCheck::__construct(), MappedIterator::__construct(), RenameuserSQL::__construct(), CategoryTree::__construct(), RecompressTracked::__construct(), Block::__construct(), SquidPurgeClientPool::__construct(), ResourceLoaderOOUIFileModule::__construct(), MediaWiki\Session\SessionManager::__construct(), MediaWiki\Tidy\RemexCompatFormatter::__construct(), RandomImageGenerator::__construct(), ResourceLoaderTestModule::__construct(), ResourceLoaderImageModule::__construct(), CiteCSSFileModule::__construct(), ResourceLoaderFileModule::__construct(), ResourceLoaderFileTestModule::__construct(), ParserTestPrinter::__construct(), MWHttpRequest::__construct(), Gadget::__construct(), MultiHttpClient::__construct(), CheckLanguageCLI::__construct(), CheckExtensionsCLI::__construct(), RedisConnectionPool::__construct(), UploadForm::__construct(), ResourceLoaderWikiModule::__construct(), ProfilerXhprof::__construct(), ContribsPager::__construct(), Wikimedia\Rdbms\LoadMonitor::__construct(), Wikimedia\Rdbms\LoadMonitorMySQL::__construct(), StripState::__construct(), ParserTestRunner::__construct(), PathRouter::add(), OutputPage::addReturnTo(), PathRouter::addStrict(), OutputPage::addStyle(), RedisConnectionPool::applyDefaultConfig(), Wikimedia\Rdbms\LoadBalancer::approveMasterChanges(), MediaWikiTestCase::assertSelect(), MediaWiki\Auth\AuthManager::autoCreateUser(), MediaWiki\Linker\LinkRenderer::buildAElement(), OutputPage::buildCssLinksArray(), SpecialActiveUsers::buildForm(), IndexPager::buildQueryInfo(), RangeChronologicalPager::buildQueryInfo(), SimpleCaptcha::buildRegexes(), Linker::buildRollbackLink(), Wikimedia\Rdbms\Database::buildSelectSubquery(), MediaWiki\Auth\AuthManager::canCreateAccount(), NamespaceConflictChecker::checkAll(), NamespaceConflictChecker::checkLinkTable(), NamespaceConflictChecker::checkNamespace(), NamespaceConflictChecker::checkPrefix(), WebResponse::clearCookie(), Wikimedia\Rdbms\LBFactory::commitAll(), Wikimedia\Rdbms\LBFactory::commitMasterChanges(), Article::confirmDelete(), Title::countAuthorsBetween(), NoWriteWatchedItemStore::countWatchersMultiple(), WatchedItemStore::countWatchersMultiple(), MediaWiki\Http\HttpRequestFactory::create(), EtcdConfigTest::createConfigMock(), MediaWiki\Linker\LinkRendererFactory::createFromLegacyOptions(), Http::createMultiClient(), SpecialWatchlist::cutoffselector(), Block::defaultRetroactiveAutoblock(), PrefixSearch::defaultSearchBackend(), LocalRepo::deletedFileHasKey(), ApiBase::dieWithException(), PathRouter::doAdd(), SiteStatsInit::doAllAndCommit(), Article::doEditUpdates(), WikiPage::doEditUpdates(), RevDelArchiveList::doQuery(), UserCache::doQuery(), ReplaceTextSearch::doSearchQuery(), Skin::editUrlOptions(), Xhprof::enable(), FormatJson::encode(), ApiFormatBaseTest::encodeData(), ApiFormatTestBase::encodeData(), CategoryTree::encodeOptions(), Sanitizer::escapeId(), Sanitizer::escapeIdReferenceList(), Wikimedia\Rdbms\DatabaseMssql::estimateRowCount(), Wikimedia\Rdbms\DatabaseMysqlBase::estimateRowCount(), Wikimedia\Rdbms\DatabasePostgres::estimateRowCount(), CategoryTreePage::execute(), SpecialApiHelp::execute(), SpecialExpandTemplates::execute(), ApiCategoryTree::execute(), ApiExpandTemplates::execute(), PhpHttpRequest::execute(), CommandLineInc::execute(), NamespaceConflictChecker::execute(), PPFuzzTest::execute(), RefreshImageMetadata::execute(), UpdateCollation::execute(), GenerateRandomImages::execute(), ResourceLoaderFileModule::extractBasePaths(), ResourceLoaderImageModule::extractLocalBasePath(), InputBox::extractOptions(), MWHttpRequest::factory(), MWHttpRequestTester::factory(), MediaWiki\Storage\SqlBlobStore::fetchBlob(), Parser::fetchFile(), Parser::fetchFileAndTitle(), Parser::fetchFileNoRegister(), QueryPage::fetchFromCache(), MediaWiki\Storage\RevisionStore::fetchRevisionRowFromConds(), GadgetDefinitionContent::fillParserOutput(), TextContent::fillParserOutput(), WikitextContent::fillParserOutput(), ResourceLoader::filter(), HTMLMultiSelectField::filterDataForSubmit(), FileRepo::findFile(), RepoGroup::findFile(), RepoGroup::findFileFromKey(), FileRepo::findFileFromKey(), FileRepo::findFiles(), SimpleCaptcha::findLinks(), Wikimedia\Rdbms\DatabaseSqlite::fixIgnore(), HTMLFormField::flattenOptions(), DatabaseTestHelper::forceNextQueryError(), ApiErrorFormatter::formatException(), ApiErrorFormatter_BackCompat::formatException(), HTMLMultiSelectField::formatOptions(), HTMLRadioField::formatOptions(), DummyLinker::generateRollback(), Linker::generateRollback(), Http::get(), MediaWikiPageNameNormalizerTestMockHttp::get(), NamespaceConflictChecker::getAlternateTitle(), CaptchaPreAuthenticationProvider::getAuthenticationRequests(), TitleBlacklistPreAuthenticationProvider::getAuthenticationRequests(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::getAuthenticationRequests(), MediaWiki\Auth\AuthManager::getAuthenticationRequests(), MediaWiki\Auth\AuthManager::getAuthenticationRequestsInternal(), Title::getAuthorsBetween(), MonoBookTemplate::getBox(), CategoryMembershipChangeJob::getCategoriesAtRev(), EditPage::getCheckboxesWidget(), InstallerOverrides::getCliInstaller(), DBLockManager::getConnection(), WikiPage::getContributors(), DBAccessObjectUtils::getDBOptions(), ResourceLoaderFileModule::getDefinitionSummary(), ResourceLoaderImageModule::getDefinitionSummary(), MediaWiki\Auth\ConfirmLinkAuthenticationRequest::getFieldInfo(), SpecialChangeContentModel::getFormFields(), SpecialPageLanguage::getFormFields(), ApiHelp::getHelp(), ApiHelp::getHelpInternal(), MonoBookTemplate::getIfExists(), ResourceLoaderImageModule::getImages(), HTMLMultiSelectField::getInputOOUI(), HTMLRadioField::getInputOOUI(), OutputPage::getKeyHeader(), Wikimedia\Rdbms\DatabaseMysqlBase::getLagFromPtHeartbeat(), MediaWiki\Linker\LinkRenderer::getLegacyOptions(), SpecialProtectedpages::getLevelMenu(), SpecialProtectedtitles::getLevelMenu(), Title::getLinksFrom(), Title::getLinksTo(), Category::getMembers(), ApiErrorFormatter::getMessageFromException(), MediaWiki\Widget\NamespaceInputWidget::getNamespaceDropdownOptions(), ActorMigration::getNewActorId(), SpecialEditWatchlist::getNormalForm(), MediaWiki\Preferences\DefaultPreferencesFactory::getOptionFromUser(), User::getOptionKinds(), ApiOptionsTest::getOptionKinds(), User::getOptions(), SpecialChangeContentModel::getOptionsForTitle(), AbstractContent::getParserOutput(), BotPassword::getPassword(), MonoBookTemplate::getPortlet(), GadgetHooks::getPreferences(), Parser::getPreloadText(), Revision::getQueryInfo(), MediaWiki\Storage\RevisionStore::getQueryInfo(), LogPager::getQueryInfo(), NewFilesPager::getQueryInfo(), NewPagesPager::getQueryInfo(), UsersPager::getQueryInfo(), ShortPagesPage::getQueryInfo(), LocalFile::getQueryInfo(), OldLocalFile::getQueryInfo(), ImageListPager::getQueryInfoReal(), ResourceLoaderTestCase::getResourceLoaderContext(), ResourceLoaderWikiModule::getScript(), BaseTemplate::getSidebar(), WatchedItemQueryService::getStartEndConds(), WatchedItemQueryService::getStartFromConds(), ResourceLoaderWikiModule::getStyles(), Title::getSubpages(), MysqlInstaller::getTableOptions(), NamespaceConflictChecker::getTargetList(), Title::getTemplateLinksFrom(), Title::getTemplateLinksTo(), ResourceLoaderImageTest::getTestImage(), ParserOutput::getText(), ImageHistoryList::getThumbForLine(), SpecialProtectedpages::getTypeMenu(), WatchedItemQueryService::getUserRelatedConds(), OutputPage::getVaryHeader(), MediaWiki\Session\SessionManager::getVaryHeaders(), NoWriteWatchedItemStore::getWatchedItemsForUser(), WatchedItemQueryService::getWatchedItemsForUser(), WatchedItemStore::getWatchedItemsForUser(), WatchedItemQueryService::getWatchedItemsForUserQueryConds(), WatchedItemQueryService::getWatchedItemsForUserQueryDbOptions(), WatchedItemQueryService::getWatchedItemsWithRCInfoQueryConds(), WatchedItemQueryService::getWatchedItemsWithRCInfoQueryDbOptions(), WatchedItemQueryService::getWatchedItemsWithRCInfoQueryFields(), WatchedItemQueryService::getWatchedItemsWithRCInfoQueryFilterConds(), WatchedItemQueryService::getWatchedItemsWithRCInfoQueryJoinConds(), WatchedItemQueryService::getWatchedItemsWithRCInfoQueryTables(), WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo(), WatchedItemQueryService::getWatchlistOwnerId(), ParserEditTests::handleFailure(), DumpRenderer::handleRevision(), LocalRepo::hiddenFileHasKey(), SyntaxHighlight::highlight(), ForeignAPIRepo::httpGet(), User::idForName(), User::idFromName(), Wikimedia\Rdbms\DatabaseSqlite::indexUnique(), PasswordFactory::init(), DatabaseOracle::insert(), Wikimedia\Rdbms\Database::insert(), Wikimedia\Rdbms\DatabaseSqlite::insert(), Wikimedia\Rdbms\DatabasePostgres::insert(), Wikimedia\Rdbms\DatabaseMssql::insert(), Language::internalUserTimeAndDate(), Xml::languageSelector(), DummyLinker::link(), Linker::link(), DummyLinker::linkKnown(), Linker::linkKnown(), Xml::listDropDown(), Xml::listDropDownOptions(), Xml::listDropDownOptionsOoui(), PageArchive::listRevisions(), User::load(), User::loadFromDatabase(), ResourceLoaderImageModule::loadFromDefinition(), Maintenance::loadWithArgv(), LocalIdLookup::lookupCentralIds(), HTMLFormField::lookupOptionsKeys(), LocalIdLookup::lookupUserNames(), makeCacheKeyHash(), Linker::makeCommentLink(), DummyLinker::makeCommentLink(), Parser::makeImage(), Wikimedia\Rdbms\Database::makeInsertOptions(), Wikimedia\Rdbms\DatabaseSqlite::makeInsertOptions(), BaseTemplate::makeLink(), VectorTemplate::makeLink(), BaseTemplate::makeListItem(), VectorTemplate::makeListItem(), ResourceLoaderClientHtmlTest::makeModule(), SpecialRecentChanges::makeOptionsLink(), WikiPage::makeParserOptions(), SkinTemplate::makePersonalToolsList(), ResourceLoaderClientHtmlTest::makeSampleModules(), MediaWiki\Shell\Shell::makeScriptCommand(), DatabaseOracle::makeSelectOptions(), Wikimedia\Rdbms\DatabaseMssql::makeSelectOptions(), Wikimedia\Rdbms\DatabasePostgres::makeSelectOptions(), Wikimedia\Rdbms\DatabaseSqlite::makeSelectOptions(), Wikimedia\Rdbms\Database::makeUpdateOptions(), Wikimedia\Rdbms\Database::makeUpdateOptionsArray(), Wikimedia\Rdbms\DatabasePostgres::makeUpdateOptionsArray(), Wikimedia\Rdbms\DatabaseSqlite::makeUpdateOptionsArray(), ParserOptions::matches(), MediaWiki\Auth\AuthenticationRequest::mergeFieldInfo(), ChangeTags::modifyDisplayQuery(), ApiMain::modifyHelp(), Xml::monthSelector(), Html::namespaceSelector(), Html::namespaceSelectorOptions(), BotPassword::newFromCentralId(), RecompressTracked::newFromCommandLine(), MediaWikiGadgetsDefinitionRepo::newFromDefinition(), TitleBlacklistEntry::newFromString(), User::newSystemUser(), onContentGetParserOutput(), ImagePage::openShowImage(), ParserOptions::optionsHash(), SpecialRecentChanges::optionsPanel(), WikiPage::pageData(), Article::pageDataFromId(), WikiPage::pageDataFromId(), Article::pageDataFromTitle(), WikiPage::pageDataFromTitle(), InfoAction::pageInfo(), Parser::parse(), FormatJson::parse(), CLIParser::parse(), OutputPage::parserOptions(), MediaWiki\Session\CookieSessionProvider::persistSession(), MediaWiki\Session\ImmutableSessionProviderWithCookie::persistSession(), Http::post(), MediaWiki::preOutputCommit(), Parser::preprocess(), Parser::preSaveTransform(), BackupDumper::processOptions(), MediaWiki\Preferences\DefaultPreferencesFactory::profilePreferences(), ApiFormatRawTest::provideGeneralEncoding(), LinkerTest::provideLinkBeginHook(), LinkerTest::provideLinkEndHook(), FileRepo::publish(), LocalFile::publish(), FileRepo::publishBatch(), LocalFile::publishTo(), ForeignAPIFile::purgeCache(), LocalFile::purgeCache(), ForeignAPIFile::purgeThumbnails(), LocalFile::purgeThumbnails(), BacklinkCache::queryLinks(), UserCache::queryNeeded(), FileRepo::quickImport(), TestFileReader::read(), ZipDirectoryReader::read(), QueryPage::reallyDoQuery(), ShortPagesPage::reallyDoQuery(), ImageListPager::reallyDoQuery(), IndexPager::reallyDoQuery(), ContribsPager::reallyDoQuery(), UploadFromUrl::reallyFetchFile(), DateFormatter::reformat(), ImageMap::render(), CategoryTree::renderChildren(), Parser::renderImageGallery(), Http::request(), JobRunner::run(), MediaWiki\Linker\LinkRenderer::runLegacyBeginHook(), TableCleanup::runTable(), ParserTestRunner::runTest(), Wikimedia\Rdbms\DatabaseMssql::select(), DatabaseOracle::selectRow(), Wikimedia\Rdbms\DatabaseMssql::selectSQLText(), Wikimedia\Rdbms\DatabasePostgres::selectSQLText(), UserMailer::send(), RedisPubSubFeedEngine::send(), UserMailer::sendInternal(), WebResponse::setCookie(), FauxResponse::setCookie(), Wikimedia\Http\SetCookieCompat::setcookie(), Wikimedia\Http\SetCookieCompat::setCookieEmulated(), Wikimedia\Http\SetCookieCompat::setCookieInternal(), Maintenance::setParam(), Article::setParserOptions(), Wikimedia\Http\SetCookieCompat::setrawcookie(), Wikimedia\Rdbms\DatabaseMysqlBase::setSessionOptions(), SpecialWatchlist::showHideCheck(), LoginHelper::showReturnToPage(), RedisConnectionPool::singleton(), Parser::startExternalParse(), Parser::startParse(), WebInstaller::startSession(), SevenZipStream::stream_open(), OutputPage::styleLink(), ApiMainTest::testCheckConditionalRequestHeaders(), LinkRendererFactoryTest::testCreateFromLegacyOptions(), ApiFormatTestBase::testGeneralEncoding(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testGetAuthenticationRequests(), MediaWiki\Logger\Monolog\KafkaHandlerTest::testGetAvailablePartitionsException(), ApiErrorFormatterTest::testGetMessageFromException(), ApiErrorFormatterTest::testGetMessageFromException_BC(), ApiBaseTest::testGetParameterFromSettings(), MediaWiki\Tests\Storage\RevisionStoreTest::testGetQueryInfo(), RevisionTest::testGetQueryInfo(), ParserOutputTest::testGetText(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsForUser_fromUntilStartFromOptions(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsForUser_optionsAndEmptyResult(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_extension(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_invalidOptions(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_mysqlIndexOptimization(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_optionsAndEmptyResult(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_userPermissionRelatedExtraChecks(), ParserOptionsTest::testIsSafeToCache(), SkinTemplateTest::testMakeListItem(), ShellTest::testMakeScriptCommand(), MediaWiki\Auth\AuthenticationRequestTest::testMergeFieldInfo(), MediaWiki\Sparql\SparqlClientTest::testOptions(), ParserOptionsTest::testOptionsHash(), GadgetTest::testPreferences(), TextContentTest::testPreloadTransform(), Parser::testPreprocess(), TextContentTest::testPreSaveTransform(), Parser::testPst(), MediaWiki\Logger\Monolog\KafkaHandlerTest::testSendException(), SetCookieCompatTest::testSetCookieEmulated(), Parser::testSrvus(), MediaWiki\Auth\LegacyHookPreAuthenticationProviderTest::testTestUserForCreation(), MediaWiki\Logger\Monolog\KafkaHandlerTest::testTopicNaming(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::testUserExists(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::testUserExists(), TitleBlacklistPreAuthenticationProvider::testUserForCreation(), GlobalTest::testWfShellWikiCmd(), DummyLinker::titleAttrib(), Linker::titleAttrib(), ThumbnailImage::toHtml(), TraditionalImageGallery::toHTML(), DummyLinker::tooltip(), Linker::tooltip(), Linker::tooltipAndAccesskeyAttribs(), Parser::transformMsg(), Wikimedia\Rdbms\Database::unionConditionPermutations(), DatabaseOracle::update(), Wikimedia\Rdbms\Database::update(), Wikimedia\Rdbms\DatabaseMssql::update(), LocalFile::upload(), Language::userDate(), Language::userTime(), Language::userTimeAndDate(), wfFindFile(), wfShellExec(), and wfShellWikiCmd().
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output $out |
Definition at line 863 of file hooks.txt.
Referenced by StatusValue::__toString(), MediaWiki\Tidy\BalanceElement::__toString(), EditPage::addEditNotices(), EditPage::addExplainConflictHeader(), SimpleCaptcha::addFormInformationToOutput(), CategoryTreeHooks::addHeaders(), Article::addHelpLink(), EditPage::addLongPageWarningHeader(), ChangesListSpecialPage::addModules(), SpecialRecentChanges::addModules(), MWDebug::addModules(), ParserOutput::addOutputPageMetadata(), EditPage::addPageProtectionWarningHeaders(), UploadForm::addUploadJS(), SiteConfiguration::arrayMerge(), GadgetHooks::beforePageDisplay(), SkinTemplate::buildContentNavigationUrls(), ProtectionForm::buildForm(), AllMessagesTablePager::buildForm(), SkinTemplate::buildNavUrls(), SpecialInterwiki::canModify(), ImportReporter::close(), ApiFormatBase::closePrinter(), CategoryPage::closeShowCategory(), FormOptions::consumeValues(), SpecialContributions::contributionsSub(), Title::convertByteClassToUnicodeClass(), LanguageLa::convertGrammar(), EditPage::displayPermissionsError(), EditPage::displayPreviewArea(), EditPage::displayViewSourcePage(), DatabaseUpdater::doEnableProfiling(), SpecialRecentChanges::doHeader(), SpecialWatchlist::doHeader(), SpecialImport::doImport(), SpecialReplaceText::doSpecialReplaceText(), MovePageForm::doSubmit(), Parser::doTableStuff(), SimpleCaptcha::editShowCaptcha(), Xml::element(), SkinVector::enableResponsiveMode(), ChangesList::endRecentChangesList(), MediaWiki\Logger\Monolog\LineFormatter::exceptionAsArray(), SpecialBookSources::execute(), SpecialEditWatchlist::execute(), SpecialInterwiki::execute(), SpecialRenameuser::execute(), QueryPage::execute(), SpecialActiveUsers::execute(), SpecialAllMessages::execute(), SpecialAllPages::execute(), SpecialApiSandbox::execute(), SpecialAutoblockList::execute(), SpecialBlockList::execute(), SpecialChangeEmail::execute(), SpecialContributions::execute(), DeletedContributionsPage::execute(), SpecialEmailUser::execute(), SpecialExport::execute(), FileDuplicateSearchPage::execute(), SpecialJavaScriptTest::execute(), LinkSearchPage::execute(), SpecialListFiles::execute(), SpecialListGrants::execute(), SpecialListGroupRights::execute(), SpecialNewFiles::execute(), SpecialNewpages::execute(), SpecialPasswordReset::execute(), SpecialPreferences::execute(), SpecialPrefixindex::execute(), SpecialSearch::execute(), SpecialSpecialpages::execute(), SpecialUnblock::execute(), SpecialUndelete::execute(), SpecialUserLogout::execute(), UserrightsPage::execute(), SpecialVersion::execute(), SpecialWhatLinksHere::execute(), SpecialReplaceText::execute(), SpecialExpandTemplates::execute(), SpecialRecentChanges::execute(), ApiHelp::execute(), ConvertExtensionToRegistration::execute(), MaintenanceFormatInstallDoc::execute(), GetConfiguration::execute(), SpecialEditWatchlist::executeViewEditWatchlist(), Xml::expandAttributes(), SpecialJavaScriptTest::exportQUnit(), SimpleCaptcha::findLinks(), SpecialNewpages::form(), FormatMetadata::formatNum(), BrokenRedirectsPage::formatResult(), HOTP::generateByTimeWindow(), Skin::getCategories(), Skin::getCategoryLinks(), EditPage::getContentObject(), Skin::getCopyrightIcon(), SpecialVersion::getCreditsForExtension(), Skin::getDefaultModules(), SpecialVersion::getEntryPointInfo(), SpecialVersion::getExtensionCategory(), SpecialVersion::getExtensionCredits(), SpecialVersion::getExternalLibraries(), ProfilerSectionOnly::getFunctionReport(), ProfilerXhprof::getFunctionReport(), ApiHelp::getHelp(), ApiHelp::getHelpInternal(), Status::getHTML(), BaseTemplate::getIndicators(), HTMLFancyCaptchaField::getInputHTML(), HTMLReCaptchaNoCaptchaField::getInputHTML(), HTMLMultiSelectField::getInputOOUI(), ResourceLoaderStartUpModule::getModuleRegistrations(), MultimediaViewerHooks::getModules(), MultimediaViewerHooks::getModulesForArticle(), MultimediaViewerHooks::getModulesForCategory(), Skin::getNewtalks(), MediaWiki\Tidy\BalanceStack::getOutput(), SpecialVersion::getParserFunctionHooks(), SpecialVersion::getParserTags(), EditPage::getPreviewText(), ResourceLoaderStartUpModule::getScript(), SpecialVersion::getSkinCredits(), DeletedContributionsPage::getSubTitle(), Sanitizer::hackDocType(), EditPage::handleStatus(), Language::iconv(), ImagePage::imageDupes(), ImagePage::imageHistory(), ImagePage::imageLinks(), ChangesListSpecialPage::includeRcFiltersApp(), SkinFallback::initPage(), SkinTimeless::initPage(), SkinVector::initPage(), SimpleCaptcha::injectEmailUser(), SpecialNuke::listForm(), ProfilerOutputText::log(), LoginSignupSpecialPage::mainLoginForm(), MultimediaViewerHooks::makeGlobalVariablesScript(), ResourceLoader::makeModuleResponse(), SpecialExpandTemplates::makeOutput(), SpecialInterwiki::makeTable(), Parser::markerSkipCallback(), Sanitizer::mergeAttributes(), JavaScriptMinifier::minify(), SpecialPrefixindex::namespacePrefixForm(), SearchMySQL::normalizeText(), EditPage::noSuchSectionPage(), ConfirmEditHooks::onAlternateEditPreview(), onApiFormatHighlight(), onContentGetParserOutput(), RenameuserHooks::onShowMissingArticle(), SpecialChangeContentModel::onSubmit(), SpecialPageLanguage::onSubmit(), SpecialBlock::onSuccess(), SpecialBotPasswords::onSuccess(), SpecialChangeContentModel::onSuccess(), SpecialLockdb::onSuccess(), SpecialUnlockdb::onSuccess(), HistoryAction::onView(), SpecialVersion::openExtType(), XmlDumpWriter::openPage(), ImagePage::openShowImage(), Maintenance::output(), SpecialListGroupRights::outputNamespaceProtectionInfo(), SkinTemplate::outputPage(), SpecialSpecialpages::outputPageList(), SpecialGadgetUsage::outputResults(), ImageQueryPage::outputResults(), QueryPage::outputResults(), SpecialEditWatchlist::outputSubtitle(), SpecialReplaceText::pageListForm(), Installer::parse(), SyntaxHighlight::parserHook(), Message::parseText(), DiffHistoryBlob::patch(), SpecialJavaScriptTest::plainQUnit(), SpecialBlock::postText(), SpecialChangeContentModel::postText(), SkinTemplate::prepareQuickTemplate(), ImagePage::printSharedImageText(), SearchHighlighter::process(), SpecialTags::processCreateTagForm(), SpecialTags::processTagForm(), SpecialNuke::promptForm(), UserMailer::quotedPrintable(), LanguageConverter::recursiveConvertTopLevel(), ConvertExtensionToRegistration::removeAbsolutePath(), MediaWiki\Widget\Search\BasicSearchResultSetWidget::render(), MediaWiki\Widget\Search\SimpleSearchResultSetWidget::render(), DifferenceEngine::renderNewRevision(), ReplaceTextHooks::replaceTextReminder(), ParserTestRunner::runTest(), ProtectionForm::save(), ApiMain::sendCacheHeaders(), Action::setHeaders(), EditPage::setHeaders(), SpecialPage::setHeaders(), SpecialSearch::setupPage(), ApiParseTest::setupSkin(), SkinApi::setupSkinUserCss(), SkinFallback::setupSkinUserCss(), SkinTemplate::setupSkinUserCss(), SkinMonoBook::setupSkinUserCss(), SkinTimeless::setupSkinUserCss(), SkinVector::setupSkinUserCss(), ProtectionForm::show(), EditAction::show(), ProtectAction::show(), SpecialTags::showActivateDeactivateForm(), SpecialAllPages::showChunk(), SpecialCiteThisPage::showCitations(), EditPage::showConflict(), SpecialTags::showDeleteTagForm(), DifferenceEngine::showDiffPage(), EditPage::showEditForm(), ConfirmEditHooks::showEditFormFields(), SimpleCaptcha::showEditFormFields(), ImagePage::showError(), SpecialUndelete::showFileConfirmationForm(), MovePageForm::showForm(), SpecialReplaceText::showForm(), SpecialEditTags::showForm(), SpecialImport::showForm(), SpecialRevisionDelete::showForm(), EditPage::showFormBeforeText(), EditPage::showHeader(), SpecialMergeHistory::showHistory(), SpecialUndelete::showHistory(), SpecialExpandTemplates::showHtmlPreview(), SpecialWhatLinksHere::showIndirectLinks(), EditPage::showIntro(), SpecialBookSources::showList(), SpecialUndelete::showList(), SpecialAutoblockList::showList(), SpecialBlockList::showList(), SpecialRenameuser::showLogExtract(), ProtectionForm::showLogExtract(), LogEventsList::showLogExtract(), MovePageForm::showLogFragment(), SpecialMergeHistory::showMergeForm(), DifferenceEngine::showMissingRevision(), SpecialPrefixindex::showPrefixChunk(), EditPage::showPreview(), EmailConfirmation::showRequestForm(), SpecialSearch::showResults(), SpecialUndelete::showRevision(), SpecialUndelete::showSearchForm(), EditPage::showStandardInputs(), SpecialChangeCredentials::showSubpageList(), MovePageForm::showSubpagesList(), LoginSignupSpecialPage::showSuccessPage(), SpecialTags::showTagList(), EditPage::showTosSummary(), SpecialAutoblockList::showTotal(), SpecialVersion::softwareInformation(), EditPage::spamPageWithContent(), MwSql::sqlPrintResult(), Skin::subPageSubtitle(), SpecialChangeCredentials::success(), SpecialCreateAccount::successfulAction(), ChangeTags::tagUsageStatistics(), ExtraParserTest::testCleanSigInSig(), ExtensionProcessorTest::testExtractExtensionMessagesFiles(), ExtensionProcessorTest::testExtractMessagesDirs(), ExtensionProcessorTest::testExtractResourceLoaderModules(), ResourceLoaderStartUpModuleTest::testGetModuleRegistrations(), ResourceLoaderWikiModuleTest::testGetPages(), ParserMethodsTest::testGetSections(), ApiRevisionDeleteTest::testHidingRevisions(), LinkerTest::testLinkBeginHook(), LinkerTest::testLinkEndHook(), OutputPageTest::testMakeResourceLoaderLink(), MediaWiki\Logger\Monolog\LineFormatterTest::testNormalizeExceptionNoTrace(), MediaWiki\Logger\Monolog\LineFormatterTest::testNormalizeExceptionTrace(), ContentHandlerTest::testParserOutputForIndexing(), OutputPageTest::testPreloadLinkHeaders(), ResourceLoaderStartUpModuleTest::testRegistrationsMinified(), ResourceLoaderStartUpModuleTest::testRegistrationsUnminified(), ExifRotationTest::testRotationRendering(), ExifRotationTest::testRotationRenderingNoAutoRotate(), ApiRevisionDeleteTest::testUnhidingOutput(), DatabaseSqliteTest::testUpgrades(), MediaWiki\Tests\Maintenance\BenchmarkerTest::testVerboseRun(), SpecialUndelete::undelete(), ImagePage::uploadLinksBox(), Sanitizer::validateAttributes(), ImagePage::view(), Article::viewRedirect(), wfMergeErrorArrays(), XmlDumpWriter::writeContributor(), XmlDumpWriter::writeLogItem(), XmlDumpWriter::writeRevision(), and XmlDumpWriter::writeUploads().
|
static |
Definition at line 2247 of file hooks.txt.
Referenced by Maintenance::activateProfiler(), LanguageConverter::autoConvert(), ProtectionForm::buildForm(), WikiExporter::closeStream(), StringUtils::delimiterReplaceCallback(), UploadBase::detectVirus(), Parser::doQuotes(), LinkHolderArray::doVariants(), CodeEditorHooks::editPageShowEditFormInitial(), CategoryTreePage::execute(), SpecialRenameuser::execute(), SpecialContributions::execute(), SpecialEditTags::execute(), SpecialRevisionDelete::execute(), SpecialExpandTemplates::execute(), SpecialWatchlist::execute(), BlockLevelPass::execute(), DumpCategoriesAsRdf::execute(), SpecialPageExecutor::executeSpecialPage(), Parser::extensionSubstitution(), GadgetDefinitionContent::fillParserOutput(), JsonContent::fillParserOutput(), TextContent::fillParserOutput(), WikitextContent::fillParserOutput(), DummyContentForTesting::fillParserOutput(), DummyNonTextContent::fillParserOutput(), ExecutableFinder::findExecutable(), MediaWiki\Logger\Monolog\LineFormatter::format(), AutoloadGenerator::generatePHPAutoload(), CategoryMembershipChangeJob::getCategoriesAtRev(), ContentHandler::getDataForSearchIndex(), TextContentHandler::getDataForSearchIndex(), ReCaptchaNoCaptcha::getFormInformation(), SpecialPageExecutor::getHTMLFromSpecialPage(), HTMLReCaptchaNoCaptchaField::getInputHTML(), ChangesListBooleanFilter::getJsData(), ChangesListFilter::getJsData(), ChangesListFilterGroup::getJsData(), ChangesListStringOptionsFilterGroup::getJsData(), WebInstallerLanguage::getLanguageSelector(), EditPage::getPreviewLimitReport(), ChangesListSpecialPage::getStructuredFilterJsData(), PageDataRequestHandler::handleRequest(), DumpRenderer::handleRevision(), SyntaxHighlight::highlight(), CryptHKDF::HKDFExpand(), PageDataRequestHandler::httpContentNegotiation(), StringUtils::hungryDelimiterReplace(), Profiler::logData(), Profiler::logDataPageOutputOnly(), MediaWiki::main(), SpecialExpandTemplates::makeOutput(), PageDataRequestHandlerTest::makeOutputPage(), MediaWiki::maybeDoHttpsRedirect(), Maintenance::maybeHelp(), mccGetHelp(), onApiFormatHighlight(), onContentGetParserOutput(), InputBoxHooks::onMediaWikiPerformAction(), SpamBlacklistHooks::onParserOutputStashForEdit(), SpamBlacklistHooks::onUploadVerifyUpload(), ImagePage::openShowImage(), WikiExporter::openStream(), SpecialWatchlist::outputChangesList(), WikiExporter::outputLogStream(), WikiExporter::outputPageStream(), InfoAction::pageInfo(), MediaWiki::performAction(), MediaWiki::performRequest(), Wikimedia\Rdbms\DatabasePostgres::pg_array_parse(), MediaWiki::preOutputCommit(), ParserTestPrinter::quickDiff(), SectionProfiler::remapCallTree(), ImageMap::render(), LinkHolderArray::replaceInternal(), LinkHolderArray::replaceInterwiki(), Parser::replaceTransparentTags(), UserNotLoggedIn::report(), ParserTestRunner::runTest(), SpecialAllPages::showChunk(), SpecialGadgets::showExportForm(), UserrightsPage::showLogFragment(), SpecialGadgets::showMainForm(), SpecialPrefixindex::showPrefixChunk(), SpecialEditWatchlist::showTitles(), JpegHandler::swapICCProfile(), BalancerTest::testBalancer(), WfShellExecTest::testBug67870(), FirejailCommandTest::testBuildFinalCommand(), DatabaseMysqlBaseTest::testBuildIntegerCast(), DatabaseSQLTest::testBuildIntegerCast(), DatabaseOracleTest::testBuildSubstring(), DatabaseMssqlTest::testBuildSubstring(), DatabaseSqliteRdbmsTest::testBuildSubstring(), DatabaseSQLTest::testBuildSubstring(), ListToggleTest::testConstruct(), ContentHandlerTest::testDataIndexFields(), SpecialPageDataTest::testExecute(), ArrayDiffFormatterTest::testFormat(), FormatMetadataTest::testGetFormattedData(), ListToggleTest::testGetHTML(), CSSMinTest::testGetLocalFileReferences(), BaseBlacklistTest::testGetTypeFromTitle(), PageDataRequestHandlerTest::testHandleRequest(), PageDataRequestHandlerTest::testHttpContentNegotiation(), WfTimestampTest::testHttpDate(), ApiParseTest::testModules(), MediaWiki\Tests\Storage\SlotRecordTest::testNewWithSuppressedContent(), WfTimestampTest::testNormalTimestamps(), WfTimestampTest::testOldTimestamps(), JpegPixelFormatTest::testPixelFormatRendering(), PreprocessorTest::testPreprocessorOutputFiles(), LocalisationUpdate\UpdaterTest::testReadMessages(), FormatMetadataTest::testResolveMultivalueValue(), CSSMinTest::testSerializeStringValue(), SpecialPageDataTest::testSpecialPageWithoutParameters(), CommandTest::testT69870(), ApiResultTest::testTransformations(), AbstractChangesListSpecialPageTestCase::testValidateOptions(), WfAssembleUrlTest::testWfAssembleUrl(), WfShorthandToIntegerTest::testWfShorthandToInteger(), TraditionalImageGallery::toHTML(), MediaWiki::tryNormaliseRedirect(), wfArrayInsertAfter(), wfRemoveDotSegments(), and GenerateJqueryMsgData::writeJavascriptFile().
function wfGetCustomMagicWordValue $parser |
Definition at line 2600 of file hooks.txt.
Referenced by ParserDiffTest::__call(), InputBox::__construct(), PhpXmlBugTester::__construct(), CoreParserFunctions::anchorencode(), CoreParserFunctions::bidi(), Parser::callParserFunction(), CoreParserFunctions::cascadingsources(), Cite::checkRefsNoReferences(), MediaWiki\Preferences\DefaultPreferencesFactory::cleanSignature(), Parser::clearState(), Cite::clearState(), Cite::cloneState(), CoreParserFunctions::defaultsort(), CoreParserFunctions::displaytitle(), BenchmarkJSMinPlus::execute(), FindDeprecated::execute(), JSParseHelper::execute(), Parser::extensionSubstitution(), Parser::firstCallInit(), CoreParserFunctions::formatDate(), CoreParserFunctions::formatnum(), ParserFuzzTest::fuzzTest(), CoreTagHooks::gallery(), CoreParserFunctions::gender(), CoreParserFunctions::getCachedRevisionObject(), Linker::getImageLinkMTOParams(), ParserTestRunner::getParser(), CategoryTree::getTag(), Parser::getVariableValue(), CoreParserFunctions::grammar(), Cite::guardedRef(), Cite::guardedReferences(), ParserMethodsTest::helperParserFunc(), CoreTagHooks::html(), PageDataRequestHandler::httpContentNegotiation(), ExtParserFunctions::iferrorObj(), ExtParserFunctions::ifexistCommon(), ExtParserFunctions::ifexistObj(), ExtParserFunctions::ifexprObj(), CoreTagHooks::indicator(), Poem::init(), Parser::internalParse(), Parser::internalParseHalfParsed(), CoreParserFunctions::intFunction(), Title::isValid(), Xml::isWellFormed(), CoreParserFunctions::lc(), ExtParserFunctions::localTime(), ExtParserFunctions::localTimeObj(), DummyLinker::makeImageLink(), Linker::makeImageLink(), CoreParserFunctions::nse(), CoreParserFunctions::numberingroup(), CoreParserFunctions::numberofactiveusers(), CoreParserFunctions::numberofadmins(), CoreParserFunctions::numberofarticles(), CoreParserFunctions::numberofedits(), CoreParserFunctions::numberoffiles(), CoreParserFunctions::numberofpages(), CoreParserFunctions::numberofusers(), ParserFunctionsHooks::onParserFirstCallInit(), ImageMap::onParserFirstCallInit(), SyntaxHighlight::onParserFirstCallInit(), CoreParserFunctions::pad(), CoreParserFunctions::padleft(), CoreParserFunctions::padright(), CoreParserFunctions::pageid(), CoreParserFunctions::pagesincategory(), CoreParserFunctions::pagesinnamespace(), CoreParserFunctions::pagesize(), MessageCache::parse(), Parser::parse(), CategoryTreeHooks::parserFunction(), CategoryTreeHooks::parserHook(), SyntaxHighlight::parserHook(), CoreParserFunctions::plural(), WikiPage::prepareContentForEdit(), Parser::preprocess(), CoreParserFunctions::protectionexpiry(), CoreParserFunctions::protectionlevel(), TextPassDumper::readDump(), Parser::recursiveTagParse(), Cite::ref(), Cite::references(), CoreParserFunctions::register(), CoreTagHooks::register(), InputBoxHooks::register(), ExtParserFunctions::rel2abs(), InputBoxHooks::render(), ImageMap::render(), Parser::renderImageGallery(), Poem::renderPoem(), CoreParserFunctions::revisionday(), CoreParserFunctions::revisionday2(), CoreParserFunctions::revisionid(), CoreParserFunctions::revisionmonth(), CoreParserFunctions::revisionmonth1(), CoreParserFunctions::revisiontimestamp(), CoreParserFunctions::revisionuser(), CoreParserFunctions::revisionyear(), ExtParserFunctions::runCount(), ExtParserFunctions::runExplode(), ExtParserFunctions::runLen(), ExtParserFunctions::runPos(), ExtParserFunctions::runReplace(), ExtParserFunctions::runRPos(), ExtParserFunctions::runSub(), ParserTestRunner::runTest(), ExtParserFunctions::runUrlDecode(), ParserDiffTest::setFunctionHook(), CategoryTreeHooks::setHooks(), Cite::setHooks(), ImageGalleryBase::setParser(), ParserTestParserHook::setup(), ParserOptions::setupFakeRevision(), SpecialCiteThisPage::showCitations(), CoreParserFunctions::special(), CoreParserFunctions::speciale(), TextPassDumper::startElement(), Parser::statelessFetchTemplate(), ParserTestRunner::staticSetup(), ParserTestParserHook::staticTagHook(), CoreParserFunctions::tagObj(), TagHooksTest::testBadFunctionTagHooks(), TagHooksTest::testBadTagHooks(), TagHooksTest::testFunctionTagHooks(), JavaScriptMinifierTest::testMinifyOutput(), ApiParseTest::testModules(), HttpAcceptParserTest::testParseWeights(), TagHooksTest::testTagHooks(), ExtParserFunctions::time(), ExtParserFunctions::timeCommon(), ExtParserFunctions::timeObj(), MessageCache::transform(), CoreParserFunctions::uc(), CoreParserFunctions::urlencode(), ResourceLoaderModule::validateScriptFile(), and ParserTestPrinter::wellFormed().
return true to allow those checks to and false if checking is done remove or add to the links of a group of changes in EnhancedChangesList Hook subscribers can return false to omit this line from recentchanges use this to change the tables headers change it to an object instance and return false override the list derivative used the name of the old file when set the default code will be skipped $pre |
Definition at line 1585 of file hooks.txt.
Referenced by Linker::formatAutocomments(), DbTestPreviewer::getTestStatusInfo(), SearchHighlighter::highlightSimple(), DeferredUpdatesTest::testGetPendingUpdates(), and ExtensionProcessorTest::testRegisterHooks().
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute & $query |
Definition at line 1617 of file hooks.txt.
Referenced by ApiQueryReferences::__construct(), ApiQueryOATH::__construct(), ApiQueryTitleBlacklist::__construct(), ApiQueryPrefixSearch::__construct(), ApiQueryAllCategories::__construct(), ApiQueryAllDeletedRevisions::__construct(), ApiQueryAllImages::__construct(), ApiQueryAllLinks::__construct(), ApiQueryAllMessages::__construct(), ApiQueryAllPages::__construct(), ApiQueryAllRevisions::__construct(), ApiQueryAllUsers::__construct(), ApiQueryAuthManagerInfo::__construct(), ApiQueryBacklinks::__construct(), ApiQueryBacklinksprop::__construct(), ApiQueryBlocks::__construct(), ApiQueryCategories::__construct(), ApiQueryCategoryInfo::__construct(), ApiQueryCategoryMembers::__construct(), ApiQueryContributors::__construct(), ApiQueryDeletedRevisions::__construct(), ApiQueryDeletedrevs::__construct(), ApiQueryDuplicateFiles::__construct(), ApiQueryExternalLinks::__construct(), ApiQueryExtLinksUsage::__construct(), ApiQueryFilearchive::__construct(), ApiQueryFileRepoInfo::__construct(), ApiQueryImages::__construct(), ApiQueryInfo::__construct(), ApiQueryIWBacklinks::__construct(), ApiQueryIWLinks::__construct(), ApiQueryLangBacklinks::__construct(), ApiQueryLangLinks::__construct(), ApiQueryLinks::__construct(), ApiQueryLogEvents::__construct(), ApiQueryMyStashedFiles::__construct(), ApiQueryPagePropNames::__construct(), ApiQueryPageProps::__construct(), ApiQueryPagesWithProp::__construct(), ApiQueryProtectedTitles::__construct(), ApiQueryQueryPage::__construct(), ApiQueryRandom::__construct(), ApiQueryRecentChanges::__construct(), ApiQueryRevisions::__construct(), ApiQuerySearch::__construct(), ApiQuerySiteinfo::__construct(), ApiQueryStashImageInfo::__construct(), ApiQueryTags::__construct(), ApiQueryContributions::__construct(), ApiQueryUserInfo::__construct(), ApiQueryUsers::__construct(), ApiQueryWatchlist::__construct(), ApiQueryWatchlistRaw::__construct(), ApiQueryImageInfo::__construct(), OutputPage::addBacklinkSubtitle(), OutputPage::addReturnTo(), SpecialUserLogin::beforeExecute(), OutputPage::buildBacklinkSubtitle(), SkinTemplate::buildPersonalUrls(), Linker::buildRollbackLink(), SpecialPage::checkLoginSecurityLevel(), ChangesListSpecialPage::considerActionsForDefaultSavedQuery(), PostgresUpdater::describeIndex(), SpecialRedirect::dispatchLog(), SpecialRecentChangesLinked::doMainQuery(), Wikimedia\Rdbms\DatabaseMysqlBase::duplicateTableStructure(), RandomPage::execute(), SpecialSearch::execute(), LoginSignupSpecialPage::execute(), RedirectSpecialPage::execute(), SpecialRecentChanges::execute(), ApiQueryExternalLinks::execute(), BatchedQueryRunner::execute(), MwSql::execute(), SpecialPageFactory::executePath(), SpecialJavaScriptTest::exportQUnit(), ForeignAPIRepo::fetchImageQuery(), IEUrlExtension::fixUrlForIE6(), Title::fixUrlQueryArgs(), SpecialUndelete::formatFileRow(), SpecialNewpages::formatRow(), MediaWiki\Widget\Search\FullSearchResultWidget::generateMainLinkHtml(), DeleteLogFormatter::getActionLinks(), Title::getCanonicalURL(), SearchMySQL::getCountQuery(), MultiHttpClient::getCurlHandle(), MWDebug::getDebugInfo(), LogPager::getDefaultQuery(), ContribsPager::getDefaultQuery(), DeletedContribsPager::getDefaultQuery(), UsersPager::getDefaultQuery(), MediaTransformOutput::getDescLinkAttribs(), FileRepo::getDescriptionRenderUrl(), EnhancedChangesList::getDiffHistLinks(), SpecialRecentChanges::getFeedQuery(), LogEventsList::getFilterLinks(), ImageListPager::getForm(), Title::getFullURL(), Title::getFullUrlForRedirect(), ApiPageSet::getGenerators(), OutputPage::getHeadLinksArray(), TablePager::getHiddenFields(), Linker::getImageLinkMTOParams(), ForeignAPIRepo::getInfo(), Title::getInternalURL(), IRCColourfulRCFeedFormatter::getLine(), Title::getLinkURL(), MediaWiki\Linker\LinkRenderer::getLinkURL(), Title::getLocalURL(), PatrolLogFormatter::getMessageParameters(), WebInstaller::getPageListItem(), IndexPager::getPagingLinks(), ImageListPager::getPagingQueries(), SearchMySQL::getQuery(), NewFilesPager::getQueryInfo(), UsersPager::getQueryInfo(), UncategorizedCategoriesPage::getQueryInfo(), WantedPagesPage::getQueryInfo(), WithoutInterwikiPage::getQueryInfo(), SpecialRunJobs::getQuerySignature(), Linker::getRevDeleteLink(), OutputPage::getRlClientContext(), LogEventsList::getShowHideLinks(), TablePager::getStartBody(), Linker::getUploadUrl(), WebInstaller::getUrl(), ResourceLoaderImage::getUrl(), EditPage::handleStatus(), HistoryPager::historyLine(), ForeignAPIRepo::httpGetCached(), ImageHistoryList::imageHistoryLine(), ImagePage::imageLinks(), ChangesList::insertDiffHist(), SearchMySQL::limitResult(), DummyLinker::link(), Linker::link(), DummyLinker::linkKnown(), Linker::linkKnown(), SpecialWhatLinksHere::listItem(), DummyLinker::makeBrokenImageLinkObj(), Linker::makeBrokenImageLinkObj(), MediaWiki\Linker\LinkRenderer::makeBrokenLink(), LinkHolderArray::makeHolder(), DummyLinker::makeImageLink(), Linker::makeImageLink(), MediaWiki\Linker\LinkRenderer::makeKnownLink(), LoginSignupSpecialPage::makeLanguageSelectorLink(), IndexPager::makeLink(), MediaWiki\Linker\LinkRenderer::makeLink(), MediaWiki\Linker\LinkRenderer::makePreloadedLink(), SpecialWhatLinksHere::makeSelfLink(), DummyLinker::makeSelfLinkObj(), DummyLinker::makeThumbLink2(), Linker::makeThumbLink2(), FileRepo::makeUrl(), LinkSearchPage::mungeQuery(), Language::numLink(), SwiftFileBackend::objectListing(), SpecialChangeEmail::onSuccess(), SearchEngine::parseNamespacePrefixes(), MediaWiki::performRequest(), ApiQueryBase::prepareUrlQuerySearchString(), MarkpatrolledAction::preText(), LinkerTest::provideLinkBeginHook(), WfAssembleUrlTest::provideURLParts(), SearchMySQL::queryFeatures(), SearchMySQL::queryMain(), SearchMySQL::queryNamespaces(), QueryPage::reallyDoQuery(), ShortPagesPage::reallyDoQuery(), ContribsPager::reallyDoQuery(), DeletedContribsPager::reallyDoQuery(), EnhancedChangesList::recentChangesBlockLine(), Wikimedia\Rdbms\TransactionProfiler::recordQueryCompletion(), SpecialUndelete::redirectToRevDel(), CSSMin::remapOne(), LinkHolderArray::replaceInternal(), SearchEngine::replacePrefixes(), UserNotLoggedIn::report(), Wikimedia\Rdbms\TransactionProfiler::reportExpectationViolated(), DummyLinker::revDeleteLink(), Linker::revDeleteLink(), ApiQueryExtLinksUsage::run(), ApiQuerySearch::run(), MediaWiki\Linker\LinkRenderer::runBeginHook(), MediaWiki\Linker\LinkRenderer::runLegacyBeginHook(), SearchMySQL::searchInternal(), SearchPostgres::searchQuery(), SpecialRandomInCategory::selectRandomPageFromDB(), RandomPage::selectRandomPageFromDB(), OutputPage::setFeedAppendQuery(), SkinTemplate::setupTemplateForOutput(), SpecialAllPages::showChunk(), DifferenceEngine::showDiffPage(), OutputPage::showPermissionsErrorPage(), SpecialPrefixindex::showPrefixChunk(), Article::showRedirectedFromHeader(), SkinTemplate::tabAction(), Wikimedia\Rdbms\DatabaseMysqlBase::tableExists(), WfAppendQueryTest::testAppendQuery(), PrefixUniquenessTest::testPrefixes(), SpecialSearchTest::testSubPageRedirect(), MediaWikiTest::testTryNormaliseRedirect(), AbstractChangesListSpecialPageTestCase::testValidateOptions(), ThumbnailImage::toHtml(), Wikimedia\Rdbms\TransactionProfiler::transactionWritingOut(), MediaWiki::triggerAsyncJobs(), HTMLFileCache::useFileCache(), ResourceFileCache::useFileCache(), ChangesListSpecialPage::validateOptions(), Language::viewPrevNext(), wfAppendQuery(), wfCgiToArray(), and wfParseUrl().
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify as strings Extensions should add to this list prev or next $refreshCache |
Definition at line 1632 of file hooks.txt.
Referenced by DifferenceEngine::__construct(), and ContentHandler::createDifferenceEngine().
this hook is for auditing only $req |
Definition at line 965 of file hooks.txt.
Referenced by _recaptcha_http_post(), _recaptcha_qsencode(), MediaWiki\Auth\AuthManagerAuthPlugin::allowPasswordChange(), MediaWiki\Auth\AuthManager::allowsAuthenticationDataChange(), SwiftVirtualRESTService::applyAuthResponse(), EditPageTest::assertEdit(), MediaWiki\Auth\AuthManager::beginAccountCreation(), MediaWiki\Auth\AuthManager::beginAccountLink(), MediaWiki\Auth\AuthManager::beginAuthentication(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::beginLinkAttempt(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::beginPrimaryAccountCreation(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::beginPrimaryAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::beginPrimaryAccountCreation(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::beginPrimaryAuthentication(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::beginPrimaryAuthentication(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::beginPrimaryAuthentication(), ApiAuthManagerHelper::blacklistAuthenticationRequests(), SpecialActiveUsers::buildForm(), User::changeAuthenticationData(), MediaWiki\Auth\AuthManager::changeAuthenticationData(), ApiQueryTestBase::check(), MediaWiki\Auth\AuthManager::continueAccountCreation(), MediaWiki\Auth\AuthManager::continueAccountLink(), MediaWiki\Auth\AuthManager::continueAuthentication(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::continueLinkAttempt(), RESTBagOStuff::delete(), UploadFromUrlTest::doApiRequest(), SwiftFileBackend::doExecuteOpHandlesInternal(), RESTBagOStuff::doGet(), ApiMainTest::doTestCheckMaxLag(), SendPasswordResetEmailUpdate::doUpdate(), WikiEditorHooks::editPageShowEditFormFields(), SpecialNuke::execute(), ApiAMCreateAccount::execute(), ApiChangeAuthenticationData::execute(), ApiClientLogin::execute(), ApiEditPage::execute(), ApiParse::execute(), ApiRemoveAuthenticationData::execute(), PasswordReset::execute(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProvider::failResponse(), Parser::fetchScaryTemplateMaybeFromCache(), MediaWiki\Auth\AuthManager::fillRequests(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::finishAccountCreation(), ApiAuthManagerHelper::formatRequests(), MediaWiki\Auth\AuthManager::getAuthenticationRequestsInternal(), SpecialChangeCredentials::getAuthForm(), CaptchaPreAuthenticationProviderTest::getCaptchaRequest(), MultiHttpClient::getCurlHandle(), LanguageConverter::getDefaultVariant(), MediaWiki\Auth\ConfirmLinkAuthenticationRequest::getFieldInfo(), MediaWiki\Auth\RememberMeAuthenticationRequestTest::getInstance(), MediaWiki\Auth\ConfirmLinkAuthenticationRequestTest::getLinkRequests(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::getLinkRequests(), ApiMainTest::getNonInternalApiMain(), LanguageConverter::getPreferredVariant(), MediaWiki\Auth\AuthenticationRequest::getRequestByClass(), MediaWiki\Auth\ButtonAuthenticationRequest::getRequestByName(), MediaWiki\Auth\ConfirmLinkAuthenticationRequest::getUniqueId(), MediaWiki\Auth\AuthenticationRequest::getUsernameFromRequests(), AuthManagerSpecialPage::hasOwnSubmitButton(), ForeignAPIRepo::httpGet(), AuthManagerSpecialPage::loadAuth(), SpecialChangeCredentials::loadAuth(), ApiAuthManagerHelper::loadAuthenticationRequests(), MediaWiki\Auth\AuthenticationRequest::loadRequestsFromSubmission(), ResourceLoaderClientHtml::makeContext(), ApiQueryTestBase::merge(), MediaWiki\Auth\AuthenticationRequest::mergeFieldInfo(), WebRequestTest::mockWebRequest(), AuthManagerSpecialPage::needsSubmitButton(), UserTest::newFakeUser(), FancyCaptcha::onAuthChangeFormFields(), MathCaptcha::onAuthChangeFormFields(), QuestyCaptcha::onAuthChangeFormFields(), ReCaptcha::onAuthChangeFormFields(), ReCaptchaNoCaptcha::onAuthChangeFormFields(), SimpleCaptcha::onAuthChangeFormFields(), ParsoidVirtualRESTService::onParsoid1Request(), RestbaseVirtualRESTService::onParsoid1Request(), RestbaseVirtualRESTService::onParsoid3Request(), RestbaseVirtualRESTService::onParsoidRequests(), ParsoidVirtualRESTService::onRequests(), SwiftVirtualRESTService::onRequests(), VirtualRESTService::onRequests(), RestbaseVirtualRESTService::onRequests(), SwiftVirtualRESTService::onResponses(), SpecialUploadStash::outputRemoteScaledThumb(), AuthManagerSpecialPage::performAuthenticationStep(), MediaWiki\Auth\AuthManagerTest::provideAccountCreation(), MediaWiki\Auth\AuthManagerTest::provideAccountLink(), MediaWiki\Auth\AuthManagerTest::provideAuthentication(), MediaWiki\Auth\AuthenticationResponseTest::provideConstructors(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::providerAllowsAuthenticationDataChange(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::providerAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::providerAllowsAuthenticationDataChange(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::providerChangeAuthenticationData(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::providerChangeAuthenticationData(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::providerChangeAuthenticationData(), MediaWiki\Auth\AbstractPrimaryAuthenticationProvider::providerRevokeAccessForUser(), MediaWiki\Auth\AbstractSecondaryAuthenticationProvider::providerRevokeAccessForUser(), UploadFromUrl::reallyFetchFile(), Http::request(), VirtualRESTServiceClient::run(), VirtualRESTServiceClient::runMulti(), MultiHttpClient::runMulti(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::sendPasswordResetEmail(), RESTBagOStuff::set(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::setDomain(), MediaWiki\Auth\AuthManagerAuthPlugin::setPassword(), SpecialChangeCredentials::showSubpageList(), MediaWiki\Auth\AbstractPrimaryAuthenticationProviderTest::testAbstractPrimaryAuthenticationProvider(), MediaWiki\Auth\AbstractSecondaryAuthenticationProviderTest::testAbstractSecondaryAuthenticationProvider(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testAccountCreationEmail(), MediaWiki\Auth\AuthManagerTest::testAccountLink(), ApiMainTest::testAddRequestedFieldsCurTimestamp(), ApiMainTest::testAddRequestedFieldsRequestId(), ApiMainTest::testAddRequestedFieldsResponseLangInfo(), MediaWiki\Auth\AuthManagerTest::testAllowsAuthenticationDataChange(), ApiLoginTest::testApiLoginGotCookie(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testAuthentication(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testAuthentication(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testAuthentication(), MediaWiki\Auth\AuthManagerTest::testAuthentication(), MediaWiki\Auth\AuthManagerTest::testAutoCreateOnLogin(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testBasics(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testBasics(), MediaWiki\Auth\AuthManagerTest::testBeginAccountCreation(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testBeginLinkAttempt(), MediaWiki\Auth\AuthManagerTest::testChangeAuthenticationData(), ApiMainTest::testCheckConditionalRequestHeadersFailed(), EditPageTest::testCheckDirectEditingDisallowed_forNonTextContent(), ApiMainTest::testCheckExecutePermissionPromiseNonWrite(), ApiMainTest::testCheckMaxLagFailed(), FauxRequestTest::testConstructInvalidData(), FauxRequestTest::testConstructInvalidSession(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testConstruction(), MediaWiki\Auth\AuthManagerTest::testContinueAccountCreation(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testContinueLinkAttempt(), FauxRequestTest::testCookies(), FauxRequestTest::testCookiesDefaultPrefix(), MediaWiki\Auth\PasswordAuthenticationRequestTest::testDescribeCredentials(), MediaWiki\Auth\PasswordDomainAuthenticationRequestTest::testDescribeCredentials(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequestTest::testDescribeCredentials(), FauxRequestTest::testDummies(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testFailResponse(), TitleBlacklistPreAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\LegacyHookPreAuthenticationProvider::testForAuthentication(), WebRequestTest::testGetArray(), MediaWiki\Auth\AuthManagerTest::testGetAuthenticationRequests(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testGetAuthenticationRequests(), MediaWiki\Auth\AuthManagerTest::testGetAuthenticationRequestsRequired(), WebRequestTest::testGetBool(), WebRequestTest::testGetCheck(), WebRequestTest::testGetElapsedTime(), MediaWiki\Auth\PasswordAuthenticationRequestTest::testGetFieldInfo2(), MediaWiki\Auth\PasswordDomainAuthenticationRequestTest::testGetFieldInfo2(), MediaWiki\Auth\RememberMeAuthenticationRequestTest::testGetFieldInfo_2(), WebRequestTest::testGetFloat(), WebRequestTest::testGetFuzzyBool(), WebRequestTest::testGetFuzzyBoolDefault(), WebRequestTest::testGetInt(), WebRequestTest::testGetIntArray(), WebRequestTest::testGetIntOrNull(), FauxRequestTest::testGetMethod(), FauxRequestTest::testGetQueryValues(), FauxRequestTest::testGetRawVal(), WebRequestTest::testGetRawVal(), FauxRequestTest::testGetRequestURL(), FauxRequestTest::testGetText(), WebRequestTest::testGetText(), MediaWiki\Auth\ButtonAuthenticationRequestTest::testGetUniqueId(), MediaWiki\Auth\ConfirmLinkAuthenticationRequestTest::testGetUniqueId(), MediaWiki\Auth\AuthenticationRequestTest::testGetUsernameFromRequests(), FauxRequestTest::testGetVal(), WebRequestTest::testGetVal(), WebRequestTest::testGetValNormal(), WebRequestTest::testGetValueNames(), FauxRequestTest::testGetValues(), WebRequestTest::testGetValues(), MediaWiki\Auth\UserDataAuthenticationRequestTest::testPopulateUser(), FauxRequestTest::testProtocol(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationData(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationDataEmail(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testProviderRevokeAccessForUser(), MediaWiki\Auth\AbstractPrimaryAuthenticationProviderTest::testProviderRevokeAccessForUser(), MediaWiki\Auth\AbstractSecondaryAuthenticationProviderTest::testProviderRevokeAccessForUser(), FauxRequestTest::testSessionData(), FauxRequestTest::testSetRequestURL(), ApiMainTest::testSetupModuleInvalidTokenProvided(), ApiMainTest::testSetupModuleNoTokenProvided(), ApiMainTest::testSetupModuleUnknown(), MediaWiki\Auth\CreateFromLoginAuthenticationRequestTest::testState(), CaptchaPreAuthenticationProviderTest::testTestForAccountCreation(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testTestForAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testTestForAccountCreation(), CaptchaPreAuthenticationProviderTest::testTestForAuthentication(), MediaWiki\Auth\LegacyHookPreAuthenticationProviderTest::testTestForAuthentication(), MediaWiki\Auth\ThrottlePreAuthenticationProviderTest::testTestForAuthentication(), MediaWikiTest::testTryNormaliseRedirect(), MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProviderTest::testTryReset(), FauxRequestTest::testWasPosted(), MediaWiki\Tidy\Html5Depurate::tidy(), MediaWiki::triggerAsyncJobs(), MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProvider::tryReset(), CaptchaPreAuthenticationProvider::verifyCaptcha(), ApiCSPReport::verifyPostBodyOk(), and wfProxyThumbnailRequest().
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow (e.g. with the RejectParserCacheValue hook) because MediaWiki won't do it for you. &$defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on $request |
Definition at line 2785 of file hooks.txt.
Referenced by ApiMain::__construct(), AllMessagesTablePager::__construct(), ApiContinuationManager::__construct(), UsersPager::__construct(), ResourceLoaderContext::__construct(), SkinTemplate::buildContentNavigationUrls(), SkinTemplate::buildNavUrls(), SkinTemplate::buildPersonalUrls(), PageDataRequestHandler::canHandleRequest(), SpecialPage::checkLoginSecurityLevel(), CategoryPage::closeShowCategory(), TOTPSecondaryAuthenticationProvider::continueSecondaryAuthentication(), UploadBase::createFromRequest(), SpecialReplaceText::createJobsForTextReplacements(), ApiPageSetTest::createPageSetWithRedirect(), Article::delete(), SpecialRedirect::dispatchFile(), SimpleCaptcha::doConfirmEdit(), SwiftFileBackend::doCopyInternal(), SwiftFileBackend::doCreateInternal(), SwiftFileBackend::doDeleteInternal(), SwiftFileBackend::doDescribeInternal(), SpecialImport::doImport(), SwiftFileBackend::doMoveInternal(), SpecialReplaceText::doSpecialReplaceText(), SwiftFileBackend::doStoreInternal(), SpecialInterwiki::doSubmit(), EditPage::edit(), WikiEditorHooks::editPageAttemptSave(), WikiEditorHooks::editPageAttemptSaveAfter(), WikiEditorHooks::editPageShowEditFormInitial(), CategoryTreePage::execute(), SpecialInterwiki::execute(), SpecialRenameuser::execute(), SpecialAllMessages::execute(), SpecialAllPages::execute(), SpecialApiHelp::execute(), SpecialBlockList::execute(), SpecialContributions::execute(), SpecialEditTags::execute(), SpecialExport::execute(), SpecialImport::execute(), LinkSearchPage::execute(), MovePageForm::execute(), SpecialNewFiles::execute(), SpecialPagesWithProp::execute(), SpecialPrefixindex::execute(), SpecialProtectedpages::execute(), SpecialProtectedtitles::execute(), SpecialRevisionDelete::execute(), SpecialSearch::execute(), SpecialTags::execute(), SpecialUserLogout::execute(), UserrightsPage::execute(), SpecialExpandTemplates::execute(), SpecialWatchlist::execute(), ApiUpload::execute(), ApiOptionsTest::executeQuery(), SpecialPageTestBase::executeSpecialPage(), SpecialPageExecutor::executeSpecialPage(), HistoryAction::feed(), SpecialWatchlist::fetchOptionsFromRequest(), Action::getActionName(), ReCaptcha::getCaptchaParamsFromRequest(), ReCaptchaNoCaptcha::getCaptchaParamsFromRequest(), SimpleCaptcha::getCaptchaParamsFromRequest(), ApiUpload::getChunkResult(), EditPage::getContentObject(), ActionTest::getContext(), DerivativeResourceLoaderContextTest::getContext(), MediaWiki\Session\CookieSessionProvider::getCookie(), MWDebug::getDebugInfo(), User::getEditToken(), User::getEditTokenObject(), MediaWiki\Session\SessionManager::getEmptySession(), MediaWiki\Session\SessionManager::getEmptySessionInternal(), LoginSignupSpecialPage::getFakeTemplate(), HTMLFancyCaptchaFieldTest::getForm(), MediaWiki\Session\SessionManager::getGlobalSession(), ImagePage::getLanguageForRendering(), SpecialEditWatchlist::getMode(), ApiModuleManagerTest::getModuleManager(), SpecialPageAction::getName(), Article::getOldIDFromRequest(), ApiBase::getParameterFromSettings(), SpecialChangeCredentials::getPreservedParams(), MediaWiki\Auth\LegacyHookPreAuthenticationProviderTest::getProvider(), RawAction::getRawText(), RedirectSpecialPage::getRedirectQuery(), ResourceLoaderContext::getRequest(), MediaWiki\Sparql\SparqlClientTest::getRequestFactory(), MediaWiki\Sparql\SparqlClientTest::getRequestMock(), ResourceLoaderTestCase::getResourceLoaderContext(), SpecialChangeCredentials::getReturnUrl(), ApiOptionsTest::getSampleRequest(), MediaWiki\Session\SessionBackend::getSession(), MediaWiki\Session\SessionManager::getSessionById(), MediaWiki\Session\SessionManager::getSessionForRequest(), MediaWiki\Session\SessionManager::getSessionFromInfo(), MediaWiki\Session\ImmutableSessionProviderWithCookie::getSessionIdFromCookie(), MediaWiki\Session\SessionManager::getSessionInfoForRequest(), SpecialBlock::getTargetAndType(), ApiTokens::getTokenTypes(), MediaWiki\Session\CookieSessionProvider::getUserInfoFromCookies(), InstallerOverrides::getWebInstaller(), ApiMain::handleCORS(), AuthManagerSpecialPage::handleReauthBeforeExecute(), PageDataRequestHandler::handleRequest(), EditPage::handleStatus(), OutputPage::haveCacheVaryCookies(), ThumbnailRenderJob::hitThumbUrl(), PageDataRequestHandler::httpContentNegotiation(), EditPage::importFormData(), FileCacheBase::incrMissesRecent(), MediaWiki::initializeArticle(), UploadFromFile::initializeFromRequest(), UploadFromStash::initializeFromRequest(), UploadFromUrl::initializeFromRequest(), EditPage::internalAttemptSave(), HTMLButtonField::isBadIE(), HTMLFormField::isSubmitAttempt(), UploadFromStash::isValidRequest(), UploadFromUrl::isValidRequest(), ApiMain::lacksSameOriginSecurity(), LoginSignupSpecialPage::load(), SpecialSearch::load(), AuthManagerSpecialPage::loadAuth(), HTMLForm::loadData(), ProtectionForm::loadData(), HTMLAutoCompleteSelectField::loadDataFromRequest(), HTMLCheckField::loadDataFromRequest(), HTMLCheckMatrix::loadDataFromRequest(), HTMLDateTimeField::loadDataFromRequest(), HTMLFormFieldCloner::loadDataFromRequest(), HTMLMultiSelectField::loadDataFromRequest(), HTMLRestrictionsField::loadDataFromRequest(), HTMLSelectAndOtherField::loadDataFromRequest(), HTMLSelectOrOtherField::loadDataFromRequest(), HTMLSizeFilterField::loadDataFromRequest(), HTMLSubmitField::loadDataFromRequest(), HTMLUsersMultiselectField::loadDataFromRequest(), HTMLFormField::loadDataFromRequest(), SpecialUndelete::loadRequest(), SpecialUpload::loadRequest(), LoginSignupSpecialPage::loadRequestParameters(), SpecialMergeHistory::loadRequestParams(), MediaWiki\Session\SessionManager::loadSessionInfoFromStore(), Profiler::logData(), ApiBase::logFeatureUsage(), BotPassword::login(), ApiMain::logRequest(), MediaWiki::main(), PageDataRequestHandlerTest::makeOutputPage(), User::matchEditToken(), User::matchEditTokenNoSuffix(), MediaWiki::maybeDoHttpsRedirect(), ApiQueryTestBase::merge(), MWDebugTest::newApiRequest(), SpecialPageExecutor::newContext(), User::newFromSession(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequest::newInvalid(), MediaWiki\Session\BotPasswordSessionProvider::newSessionForRequest(), InputBoxHooks::onMediaWikiPerformAction(), InputBoxHooks::onSpecialPageBeforeExecute(), SpecialChangeEmail::onSuccess(), HistoryAction::onView(), RawAction::onView(), RollbackAction::onView(), ImagePage::openShowImage(), MediaWiki::parseTitle(), ReCaptchaNoCaptcha::passCaptcha(), MediaWiki::performAction(), MediaWiki::performRequest(), MediaWiki\Session\CookieSessionProvider::persistSession(), MediaWiki\Session\ImmutableSessionProviderWithCookie::persistSession(), SpecialSearch::powerSearch(), MediaWiki::preOutputCommit(), SkinTemplate::prepareQuickTemplate(), EditPage::previewOnOpen(), MWRestrictionsTest::provideCheck(), ApiQueryContinueTestBase::query(), MediaWiki\Sparql\SparqlClient::query(), SquidPurgeClient::queuePurge(), MediaWiki\Session\BotPasswordSessionProvider::refreshSessionInfo(), ApiQueryRandom::run(), EditPage::safeUnicodeInput(), MediaWiki\Session\SessionBackend::save(), ProtectionForm::save(), SpecialSearch::saveNamespaces(), ApiUpload::selectUploadModule(), MediaWiki\Session\Session::sessionWithRequest(), User::setCookies(), SpecialPageExecutor::setEditTokenFromUser(), MediaWiki\Session\CookieSessionProvider::setForceHTTPSCookie(), MediaWiki\Session\CookieSessionProvider::setLoggedOutCookie(), SpecialBlock::setParameter(), AuthManagerSpecialPage::setRequest(), MWHttpRequestTestCase::setUp(), ApiMain::setupExternalResponse(), SkinTemplate::setupTemplateForOutput(), SimpleCaptcha::shouldCheck(), MediaWiki::shouldDoHttpRedirect(), Article::showDiffPage(), SpecialInterwiki::showForm(), SpecialExpandTemplates::showHtmlPreview(), OutputPage::showPermissionsErrorPage(), Article::showRedirectedFromHeader(), HTMLSubmitField::skipLoadData(), SpecialEditTags::submit(), DummySessionProvider::suggestLoginUsername(), WebRequestTest::testAcceptLang(), ApiOptionsTest::testAnon(), ApiMainTest::testApiErrorFormatterCreation(), MWDebugTest::testAppendDebugInfoToApiResultXmlFormat(), MediaWiki\Sparql\SparqlClientTest::testBadQuery(), MWHttpRequestTestCase::testBasicAuthentication(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testBeginLinkAttempt(), ApiOptionsTest::testChange(), MWRestrictionsTest::testCheck(), ApiMainTest::testCheckConditionalRequestHeaders(), MediaWiki\Session\BotPasswordSessionProviderTest::testCheckSessionInfo(), ApiMainTest::testConditionalRequestHeadersOutput(), MediaWiki\Session\SessionTest::testConstructor(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testContinueLinkAttempt(), MediaWiki\Session\CookieSessionProviderTest::testCookieData(), SpecialPageDataTest::testExecute(), PasswordResetTest::testExecute_email(), MWHttpRequestTestCase::testFactoryDefaults(), HTMLRestrictionsFieldTest::testForm(), ActionTest::testGetActionName_whenCanNotUseWikiPage_defaultsToView(), FauxRequestTest::testGetAllHeaders(), CaptchaPreAuthenticationProviderTest::testGetAuthenticationRequests(), MediaWiki\Session\CookieSessionProviderTest::testGetCookie(), MediaWiki\Session\SessionManagerTest::testGetEmptySession(), MWHttpRequestTestCase::testgetFinalUrl(), MediaWiki\Session\SessionManagerTest::testGetGlobalSession(), WebRequestTest::testGetIP(), WebRequestTest::testGetIpLackOfRemoteAddrThrowAnException(), MWHttpRequestTestCase::testGetResponseHeaders(), MediaWiki\Session\SessionManagerTest::testGetSessionForRequest(), MediaWiki\Session\SessionManagerTest::testGetSessionFromInfo(), MediaWiki\Session\ImmutableSessionProviderWithCookieTest::testGetSessionIdFromCookie(), FauxRequestTest::testGetSetHeader(), MWHttpRequestTestCase::testGetStatus(), PageDataRequestHandlerTest::testHandleRequest(), OutputPageTest::testHaveCacheVaryCookies(), ApiFormatBaseTest::testHtmlHeader(), PageDataRequestHandlerTest::testHttpContentNegotiation(), UserTest::testIsPingLimitable(), MWHttpRequestTestCase::testIsRedirect(), ApiMainTest::testLacksSameOriginSecurity(), MediaWiki\Session\SessionManagerTest::testLoadSessionInfoFromStore(), BotPasswordTest::testLogin(), ApiOptionsTest::testMultiSelect(), MediaWiki\Session\BotPasswordSessionProviderTest::testNewSessionInfoForRequest(), ApiOptionsTest::testNoChanges(), ApiOptionsTest::testNoOptionname(), ApiOptionsTest::testNoToken(), ApiOptionsTest::testOptionResetValue(), MediaWiki\Sparql\SparqlClientTest::testOptions(), ApiOptionsTest::testOptionWithValue(), MediaWiki\Session\CookieSessionProviderTest::testPersistSession(), MediaWiki\Session\ImmutableSessionProviderWithCookieTest::testPersistSession(), MediaWiki\Session\CookieSessionProviderTest::testPersistSessionWithHook(), MediaWiki\Session\BotPasswordSessionProviderTest::testProvideSessionInfo(), MediaWiki\Session\CookieSessionProviderTest::testProvideSessionInfo(), MediaWiki\Sparql\SparqlClientTest::testQuery(), ApiOptionsTest::testReset(), MediaWiki\Session\SessionBackendTest::testResetIdOfGlobalSession(), ApiOptionsTest::testResetKinds(), MWHttpRequestTestCase::testSetCallback(), MWHttpRequestTestCase::testSetCookie(), MWHttpRequestTestCase::testSetCookieJar(), MWHttpRequestTestCase::testSetData(), MWHttpRequestTestCase::testSetHeader(), MediaWiki\Session\CookieSessionProviderTest::testSetLoggedOutCookie(), MWHttpRequestTestCase::testSetUserAgent(), UserTest::testSoftBlockRanges(), ApiOptionsTest::testSpecialOption(), SpecialPageDataTest::testSpecialPageWithoutParameters(), ApiPageSetTest::testSpecialRedirects(), HTMLReCaptchaNoCaptchaFieldTest::testSubmit(), HTMLSubmittedValueFieldTest::testSubmit(), MediaWiki\Session\CookieSessionProviderTest::testSuggestLoginUsername(), MediaWiki\Session\SessionBackendTest::testTakeOverGlobalSession(), ApiOptionsTest::testUnknownOption(), MediaWiki\Session\SessionBackendTest::testUnpersistOfGlobalSession(), MediaWiki\Session\CookieSessionProviderTest::testUnpersistSession(), MediaWiki\Session\ImmutableSessionProviderWithCookieTest::testUnpersistSession(), ApiOptionsTest::testUserjsOption(), UploadStashTest::testValidRequestWithInvalidRequests(), UploadStashTest::testValidRequestWithValidRequests(), HTMLFancyCaptchaFieldTest::testValue(), EditPage::tokenOk(), MediaWiki::tryNormaliseRedirect(), MediaWiki\Session\CookieSessionProvider::unpersistSession(), MediaWiki\Session\ImmutableSessionProviderWithCookie::unpersistSession(), OutputPage::userCanPreview(), Article::view(), CategoryPage::view(), ImagePage::view(), and wfLogProfilingData().
Allows to change the fields on the form that will be generated are created Can be used to omit specific feeds from being outputted You must not use this hook to add use OutputPage::addFeedLink () instead. &$feedLinks hooks can tweak the array to change how login etc forms should look $requests | ( | ) | & |
Definition at line 773 of file hooks.txt.
Referenced by AuthManagerSpecialPage::fieldInfoToFormDescriptor(), SpecialChangeCredentials::getAuthForm(), SpecialLinkAccounts::getAuthForm(), LoginSignupSpecialPage::getAuthForm(), AuthManagerSpecialPage::getAuthFormDescriptor(), SpecialChangeCredentials::getAuthFormDescriptor(), MediaWiki\Auth\AuthenticationRequest::getRequestByClass(), MediaWiki\Auth\ButtonAuthenticationRequest::getRequestByName(), AuthManagerSpecialPage::handleFormSubmit(), SpecialChangeCredentials::handleFormSubmit(), AuthManagerSpecialPage::isActionAllowed(), LoginSignupSpecialPage::mainLoginForm(), AuthManagerSpecialPage::needsSubmitButton(), FancyCaptcha::onAuthChangeFormFields(), ConfirmEditHooks::onAuthChangeFormFields(), MathCaptcha::onAuthChangeFormFields(), QuestyCaptcha::onAuthChangeFormFields(), ReCaptcha::onAuthChangeFormFields(), ReCaptchaNoCaptcha::onAuthChangeFormFields(), SimpleCaptcha::onAuthChangeFormFields(), SpecialChangeCredentials::onAuthChangeFormFields(), AuthManagerSpecialPage::performAuthenticationStep(), LoginSignupSpecialPage::postProcessFormDescriptor(), and MediaWiki\Session\SessionBackendTest::testSave().
see documentation in includes Linker php for Linker::makeImageLink or false for current& $res |
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow (e.g. with the RejectParserCacheValue hook) because MediaWiki won't do it for you. &$defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on and they can depend only on the ResourceLoaderContext such as when responding to a resource loader request or generating HTML output& $resourceLoader |
Definition at line 2814 of file hooks.txt.
Referenced by LessTestSuite::__construct(), ResourceLoaderContext::__construct(), OutputPage::filterModules(), WebInstallerOutput::getCSS(), ResourceLoaderStartUpModule::getModuleRegistrations(), ResourceLoaderContext::getResourceLoader(), ResourceLoaderTestCase::getResourceLoaderContext(), ResourceLoaderModule::getScriptURLsForDebug(), ResourceLoaderModule::getStyleURLsForDebug(), CiteHooks::onResourceLoaderRegisterModules(), onResourceLoaderRegisterModules(), CiteHooks::onResourceLoaderTestModules(), GadgetHooks::registerModules(), PdfHandler::registerWarningModule(), ResourceLoaderTest::testConstructRegistrationHook(), ResourceLoaderTest::testGetModuleNames(), ResourceLoaderTest::testRegisterEmptyString(), ResourceLoaderTest::testRegisterInvalidName(), ResourceLoaderTest::testRegisterInvalidType(), ResourceLoaderTest::testRegisterValidArray(), and ResourceLoaderTest::testRegisterValidObject().
For QUnit the mediawiki tests qunit testrunner dependency will be added to any module& $ResourceLoader |
this hook is for auditing only $response |
Definition at line 782 of file hooks.txt.
Referenced by _recaptcha_http_post(), MWHttpRequestTestCase::assertResponseFieldValue(), ApiMain::checkMaxLag(), Block::clearCookie(), EtcdConfigTest::createEtcdResponse(), ApiFormatBaseTest::encodeData(), LoginSignupSpecialPage::execute(), SpecialChangeCredentials::execute(), SpecialLinkAccounts::execute(), SpecialUnlinkAccounts::execute(), RunJobs::execute(), SpecialPageExecutor::executeSpecialPage(), EtcdConfig::fetchAllFromEtcd(), EtcdConfig::fetchAllFromEtcdServer(), ApiLogin::getAuthenticationResponseLogData(), ReCaptcha::getCaptchaParamsFromRequest(), ReCaptchaNoCaptcha::getCaptchaParamsFromRequest(), ApiQueryRecentChangesIntegrationTest::getItemsFromApiResponse(), ApiQueryWatchlistIntegrationTest::getItemsFromApiResponse(), ApiQueryWatchlistRawIntegrationTest::getItemsFromApiResponse(), ApiMainTest::getNonInternalApiMain(), ApiMain::handleCORS(), ApiMain::handleException(), ParserEditTests::handleFailure(), AuthManagerSpecialPage::handleFormSubmit(), SpecialChangeCredentials::handleFormSubmit(), SpecialUnlinkAccounts::handleFormSubmit(), RawAction::onView(), OutputPage::output(), ReCaptchaNoCaptcha::passCaptcha(), ReCaptcha::passCaptcha(), MediaWiki\Session\CookieSessionProvider::persistSession(), MediaWiki\Session\ImmutableSessionProviderWithCookie::persistSession(), CaptchaPreAuthenticationProvider::postAuthentication(), MediaWiki\Auth\ThrottlePreAuthenticationProvider::postAuthentication(), recaptcha_check_answer(), ResourceLoader::respond(), WebRequest::response(), JobRunner::run(), MediaWiki\Logger\Monolog\KafkaHandler::send(), OutputPage::sendCacheControl(), ApiMain::sendCacheHeaders(), MediaWiki\Session\CookieSessionProvider::setForceHTTPSCookie(), EditPage::setPostEditCookie(), SpecialUndelete::showFile(), MediaWiki\Auth\AuthManagerTest::testAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAccountLink(), MediaWiki\Auth\AuthManagerTest::testAuthentication(), ApiOptionsTest::testChange(), ApiMainTest::testConditionalRequestHeadersOutput(), ApiFormatBaseTest::testDisable(), SpecialPageDataTest::testExecute(), ApiFormatBaseTest::testFilenameEncoding(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testGetAuthenticationRequests(), MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProviderTest::testGetAuthenticationRequests(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testGetAuthenticationRequests(), MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProviderTest::testGetAuthenticationRequests(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testGetAuthenticationRequests(), PageDataRequestHandlerTest::testHandleRequest(), ResourceLoaderTest::testMakeModuleResponseConcat(), ResourceLoaderTest::testMakeModuleResponseError(), ResourceLoaderTest::testMakeModuleResponseExtraHeaders(), ResourceLoaderTest::testMakeModuleResponseExtraHeadersMulti(), ResourceLoaderTest::testMakeModuleResponseStartupError(), ApiOptionsTest::testMultiSelect(), ApiFormatBaseTest::testNullMimeType(), ApiOptionsTest::testOptionResetValue(), ApiOptionsTest::testOptionWithValue(), MediaWikiTest::testPostSendJobDoesNotSetCookie(), BatchRowUpdateTest::testReaderBasicIterate(), ApiOptionsTest::testReset(), ApiOptionsTest::testResetChangeOption(), ApiOptionsTest::testResetKinds(), ApiOptionsTest::testSpecialOption(), ApiOptionsTest::testUnknownOption(), ApiOptionsTest::testUserjsOption(), ResourceLoader::tryRespondFromFileCache(), MediaWiki\Session\CookieSessionProvider::unpersistSession(), MediaWiki\Session\ImmutableSessionProviderWithCookie::unpersistSession(), and wfStreamThumb().
namespace being checked& $result |
Definition at line 2324 of file hooks.txt.
Referenced by MemcachedClient::_fgets(), MemcachedClient::_fread(), MemcachedClient::_fwrite(), ChangeTags::activateTagWithChecks(), RedisBagOStuff::add(), SearchEngineTest::addAugmentors(), ChangeTags::addTagsAccompanyingChangeWithChecks(), ParserEditTests::alternatingAligned(), FileOp::attemptAsync(), MediaWiki\Tidy\Balancer::balance(), Parser::callParserFunction(), RedisBagOStuff::changeTTL(), Autopromote::checkCondition(), XMPReader::checkParseSafety(), SqliteInstaller::checkPrerequisites(), MemcachedPeclBagOStuff::checkResult(), BlockLevelPass::closeParagraph(), AbstractContent::convert(), ChangeTags::createTagWithChecks(), ChangeTags::deactivateTagWithChecks(), RedisBagOStuff::delete(), ChangeTags::deleteTagWithChecks(), Skin::doEditSectionLink(), RedisBagOStuff::doGet(), JobQueueFederated::doGetSiblingQueueSizes(), ExprParser::doOperation(), ParserEditTests::dwdiff(), PoolCounterWork::execute(), RecountCategories::execute(), PasswordReset::execute(), MediaWiki\Sparql\SparqlClient::extractData(), SearchResultSet::extractResults(), FileRepo::fileExistsBatch(), ResourceLoader::filter(), LocalRepo::findBySha1(), RepoGroup::findBySha1(), FileRepo::findBySha1s(), LocalRepo::findBySha1s(), RepoGroup::findBySha1s(), FileRepo::findFiles(), TitleTest::flattenErrorsArray(), MediaWiki\Logger\Monolog\AvroFormatter::formatBatch(), ApiParse::formatCategoryLinks(), ApiParse::formatHeadItems(), ApiParse::formatIWLinks(), ApiParse::formatLangLinks(), ApiParse::formatLimitReportData(), ApiParse::formatLinks(), SvgHandler::formatMetadata(), MediaHandler::formatMetadataHelper(), DoubleRedirectsPage::formatResult(), MediaHandlerTest::generateTestFitBoxWidthData(), DifferenceEngine::generateTextDiffBody(), LinksUpdate::getAddedLinks(), UsersPager::getAllGroups(), ApiImport::getAllowedImportSources(), ApiImageRotate::getAllowedParams(), ApiPageSet::getAllowedParams(), ApiPurge::getAllowedParams(), ApiQuery::getAllowedParams(), ApiSetNotificationTimestamp::getAllowedParams(), ApiWatch::getAllowedParams(), ResourceLoaderFileModule::getAllStyleFiles(), ApiQueryInfo::getAllVariants(), ChangesListSpecialPage::getChangeTagList(), ApiUpload::getChunkResult(), AvroValidator::getErrors(), StatusValue::getErrorsByType(), ForeignTitle::getFullText(), PageProps::getGoodIDs(), WikiPage::getHiddenCategories(), TitleBlacklist::getHttp(), ApiPageSet::getInvalidTitlesAndRevisions(), ApiQueryGadgets::getList(), Category::getMembers(), UsageException::getMessageArray(), GenerateJqueryMsgData::getMessagesAndTests(), RedisBagOStuff::getMulti(), WANObjectCache::getMulti(), ApiModuleManager::getNames(), ApiModuleManager::getNamesWithClasses(), BackupReader::getNsIndex(), RightsLogFormatter::getParametersForApi(), SyntaxHighlightAce::getPygmentsToAceMap(), LinksUpdate::getRemovedLinks(), DnsSrvDiscoverer::getServers(), ApiUpload::getStashResult(), Status::getStatusArray(), SpecialEditTags::getTagSelect(), ApiUpload::getWarningsResult(), MemcachedPeclBagOStuff::getWithToken(), User::idFromName(), ExtParserFunctions::ifexprObj(), RedisBagOStuff::incr(), MemoizedCallable::invokeArgs(), MWNamespace::isMovable(), Title::isMovable(), MediaWiki\Interwiki\ClassicInterwikiLookup::isValidInterwiki(), User::loadFromSession(), EditPage::mergeChangesIntoContent(), StatusValue::newFatal(), SearchResult::newFromTitle(), StatusValue::newGood(), RestbaseVirtualRESTService::onParsoidRequests(), ParsoidVirtualRESTService::onRequests(), SwiftVirtualRESTService::onRequests(), VirtualRESTService::onRequests(), RestbaseVirtualRESTService::onRequests(), SwiftVirtualRESTService::onResponses(), BlockLevelPass::openList(), InfoAction::pageCounts(), TitleBlacklist::parseBlacklist(), ApiUpload::performUpload(), User::pingLimiter(), ApiPageSet::populateGeneratorData(), SpecialPage::prefixSearchString(), CategoryTreePage::prefixSearchSubpages(), FileDuplicateSearchPage::prefixSearchSubpages(), XMPTest::provideXMPParse(), ApiQueryContinueTestBase::query(), AutoloadGenerator::readFile(), AllMessagesTablePager::reallyDoQuery(), SqliteInstaller::realpath(), Cite::recursiveFetchRefsFromDB(), SearchExactMatchRescorer::redirectTargetsToRedirect(), MediaWiki\Widget\Search\InterwikiSearchResultSetWidget::render(), MediaWiki\Widget\Search\SimpleSearchResultSetWidget::render(), Wikimedia\Rdbms\Database::resultObject(), Wikimedia\Rdbms\DatabaseMssql::resultObject(), Title::resultToError(), ExtParserFunctions::runCount(), ExtParserFunctions::runExplode(), TitlePermissionTest::runGroupPermissions(), ExtParserFunctions::runReplace(), ExtParserFunctions::runSub(), ParserEditTests::runTests(), MediaWiki\Preferences\DefaultPreferencesFactory::saveFormData(), WinCacheBagOStuff::set(), RedisBagOStuff::set(), User::setEmailWithConfirmation(), RedisBagOStuff::setMulti(), SqlBagOStuff::setMulti(), HTMLForm::show(), HTMLForm::showAlways(), StoreBatchTest::storeit(), ArrayBackedMemoizedCallable::storeResult(), FileRepo::storeTemp(), SqliteInstaller::submitConnectForm(), SkinTemplate::tabAction(), SearchEngineTest::testAugmentorSearch(), ExtParserFunctions::timeCommon(), Password::toString(), FileBackendDBRepoWrapper::translateArrayResults(), SimpleCaptcha::triggersCaptcha(), HTMLForm::tryAuthorizedSubmit(), WikiPage::updateRevisionOn(), ChangeTags::updateTagsWithChecks(), UploadSourceAdapter::url_stat(), HTMLUsersMultiselectField::validate(), Sanitizer::validateEmail(), ApiTag::validateLogId(), UploadBase::validateName(), ResourceLoaderModule::validateScriptFile(), UploadBase::verifyUpload(), wfAssembleUrl(), wfClientAcceptsGzip(), wfGenerateThumbnail(), wfUnpack(), and Status::wrap().
Definition at line 2002 of file hooks.txt.
Referenced by CaptchaAuthenticationRequest::__set_state(), MediaWiki\Auth\AuthenticationRequest::__set_state(), MediaWiki\Auth\ButtonAuthenticationRequest::__set_state(), MediaWiki\Auth\ConfirmLinkAuthenticationRequest::__set_state(), MediaWiki\Auth\PasswordDomainAuthenticationRequest::__set_state(), MemcachedClient::_load_items(), Benchmarker::addResult(), ApiQuerySiteinfo::appendExtensions(), ApiResult::applyTransformations(), Parser::argSubstitution(), ArrayUtils::arrayDiffAssocRecursive(), LanguageConverter::autoConvertToAllVariants(), MediaWiki\Auth\AuthManager::autoCreateUser(), ExternalStoreDB::batchFetchBlobs(), ExternalStoreDB::batchFetchFromURLs(), MediaWiki\Auth\AuthManager::beginAccountLink(), MediaWiki\Auth\AuthManager::beginAuthentication(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::beginPrimaryAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::beginPrimaryAccountCreation(), Parser::braceSubstitution(), MediaWiki\Linker\LinkRenderer::buildAElement(), SpecialPageFactory::capturePath(), SpecialCiteThisPage::citationTag(), CategoryViewer::columnList(), UploadFromChunks::concatenateChunks(), MediaWiki\Auth\AuthManager::continueAccountCreation(), MediaWiki\Auth\AuthManager::continueAccountLink(), MediaWiki\Auth\AuthManager::continueAuthentication(), LanguageZh::convertForSearchResult(), MediaHandler::convertMetadataVersion(), MagicVariableTest::createProviderUpTo(), MultiWriteBagOStuff::deleteObjectsExpiringBefore(), ApiBlockTest::doBlock(), DatabaseOracle::doCommit(), CachedBagOStuff::doGet(), Wikimedia\Rdbms\DatabaseMysqli::doQuery(), DatabaseInstaller::doUpgrade(), MultiWriteBagOStuff::doWrite(), Wikimedia\Rdbms\DatabasePostgres::duplicateTableStructure(), ApiFormatBaseTest::encodeData(), ApiFormatTestBase::encodeData(), Cite::error(), SpecialEmailUser::execute(), DeleteOldFancyCaptchas::execute(), GenerateFancyCaptchas::execute(), ApiManageTags::execute(), ApiQueryAuthManagerInfo::execute(), ApiQueryContributions::execute(), ApiTag::execute(), FindHooks::execute(), HHVMMakeRepo::execute(), Html::expandAttributes(), ApiRevisionDelete::extractStatusInfo(), Wikimedia\Rdbms\MssqlBlob::fetch(), ExternalStoreDB::fetchBlob(), ExternalStoreDB::fetchFromURL(), ORAResult::fetchObject(), ORAResult::fetchRow(), TestResourceLoaderWikiModule::fetchTitleInfo(), ForeignAPIRepo::findBySha1(), ApiAuthManagerHelper::formatAuthenticationResponse(), ApiErrorFormatter_BackCompat::formatException(), ApiAuthManagerHelper::formatFields(), ApiParamInfo::formatHelpMessages(), BlockLogFormatter::formatParametersForApi(), DeleteLogFormatter::formatParametersForApi(), ProtectLogFormatter::formatParametersForApi(), RightsLogFormatter::formatParametersForApi(), ApiErrorFormatter::formatRawMessage(), ApiAuthManagerHelper::formatRequests(), SpecialPagesWithProp::formatResult(), DeletedContribsPager::formatRevisionRow(), SpecialNewpages::formatRow(), ContribsPager::formatRow(), DeletedContribsPager::formatRow(), GetConfiguration::formatVarDump(), CoreParserFunctions::gender(), MediaWiki\Preferences\DefaultPreferencesFactory::generateSkinOptions(), ApiFeedWatchlist::getAllowedParams(), ApiQueryLogEvents::getAllowedParams(), ApiAMCreateAccount::getAllowedParams(), ApiComparePages::getAllowedParams(), ApiFeedContributions::getAllowedParams(), ApiFeedRecentChanges::getAllowedParams(), ApiFormatBase::getAllowedParams(), ApiFormatJson::getAllowedParams(), ApiFormatPhp::getAllowedParams(), ApiQueryAllDeletedRevisions::getAllowedParams(), ApiQueryAllImages::getAllowedParams(), ApiQueryAllPages::getAllowedParams(), ApiQueryAllRevisions::getAllowedParams(), ApiQueryBacklinksprop::getAllowedParams(), ApiQueryCategoryMembers::getAllowedParams(), ApiQueryExtLinksUsage::getAllowedParams(), ApiQueryRevisions::getAllowedParams(), ApiResetPassword::getAllowedParams(), RevDelArchivedFileItem::getApiData(), RevDelFileItem::getApiData(), RevDelLogItem::getApiData(), RevDelRevisionItem::getApiData(), MediaWiki\Storage\RevisionStore::getArchiveQueryInfo(), HTMLDateTimeField::getAttributes(), HTMLFormField::getAttributes(), ApiLogin::getAuthenticationResponseLogData(), ApiQueryUserInfo::getCentralUserInfo(), RevisionDeleter::getChanges(), MediaWiki\Preferences\DefaultPreferencesFactory::getDateOptions(), HTMLFormFieldCloner::getDefault(), MediaWiki\Session\TestUtils::getDummySessionBackend(), ApiBase::getExamplesMessages(), ApiResetPassword::getExamplesMessages(), MediaWiki\Auth\PasswordAuthenticationRequest::getFieldInfo(), MediaWiki\Auth\PasswordDomainAuthenticationRequest::getFieldInfo(), MediaWiki\Auth\UserDataAuthenticationRequest::getFieldInfo(), ApiHelp::getHelpInternal(), MWDebug::getHTMLDebugLog(), MediaWiki\Preferences\DefaultPreferencesFactory::getImageSizes(), FileRepo::getInfo(), HTMLAutoCompleteSelectField::getInputHTML(), ActorMigration::getInsertValues(), ActorMigration::getInsertValuesWithTempTable(), MediaWiki\Auth\PasswordAuthenticationRequestTest::getInstance(), MediaWiki\Auth\PasswordDomainAuthenticationRequestTest::getInstance(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequestTest::getInstance(), TablePager::getLimitSelectList(), Title::getLinkURL(), SpecialVersion::getMediaWikiCredits(), ApiParamInfo::getModuleInfo(), ApiAuthManagerHelper::getPreservedRequest(), MediaWiki\Storage\RevisionStore::getQueryInfo(), WikiPage::getQueryInfo(), User::getQueryInfo(), LocalFile::getQueryInfo(), OldLocalFile::getQueryInfo(), ReplaceAll::getReplacement(), ApiResult::getResultData(), ApiAuthManagerHelper::getStandardParams(), TablePager::getStartBody(), ReplaceAll::getTarget(), MediaWiki\Preferences\DefaultPreferencesFactory::getThumbSizes(), ParserOutput::getTimes(), User::getToken(), LanguageConverter::getURLVariant(), LanguageConverter::getUserVariant(), ApiMain::getVal(), Parser::getVariableValue(), SpecialVersion::getWgHooks(), SiteConfiguration::getWikiParams(), MWGrants::grantNames(), UserrightsPage::groupCheckboxes(), Wikimedia\Rdbms\LBFactory::hasMasterChanges(), Wikimedia\Rdbms\LBFactory::hasOrMadeRecentMasterChanges(), Html::htmlHeader(), ExtParserFunctions::ifexpr(), Wikimedia\Rdbms\DatabaseSqlite::insert(), Wikimedia\Rdbms\DatabaseMssql::insert(), Wikimedia\Rdbms\LBFactory::laggedReplicaUsed(), ReplaceAll::listTitles(), HTMLFormFieldCloner::loadDataFromRequest(), LogEventsList::logLine(), HTMLFormField::lookupOptionsKeys(), MediaWiki\Linker\LinkRenderer::makeBrokenLink(), Linker::makeHeadline(), Parser::makeImage(), Linker::makeMediaLinkFile(), MediaWiki\Linker\LinkRenderer::makePreloadedLink(), Linker::makeSelfLinkObj(), LanguageConverter::markNoConversion(), UserPasswordPolicy::maxOfPolicies(), MediaWiki\Linker\LinkRenderer::mergeAttribs(), ExternalStoreDB::mergeBatchResult(), SiteConfiguration::mergeParams(), Html::namespaceSelector(), Wikimedia\Rdbms\DatabaseMssql::nativeInsertSelect(), MediaWiki\Auth\AuthenticationResponse::newAbstain(), ParserOptions::newCanonical(), MediaWiki\Auth\AuthenticationResponse::newFail(), MediaWiki\Auth\AuthenticationResponse::newPass(), MediaWiki\Auth\AuthenticationResponse::newRedirect(), MediaWiki\Auth\AuthenticationResponse::newRestart(), MediaWiki\Auth\AuthenticationResponse::newUI(), Linker::normaliseSpecialPage(), Sanitizer::normalizeCharReferencesCallback(), Parser::normalizeLinkUrl(), MediaWiki\Site\MediaWikiPageNameNormalizer::normalizePageName(), Linker::normalizeSubpageLink(), File::normalizeTitle(), MediaWiki\Auth\AuthManager::normalizeUsername(), CoreParserFunctions::nse(), Wikimedia\Rdbms\DatabaseMssql::numRows(), LanguageConverter::parseCachedTable(), ForeignAPIFile::parseMetadata(), MediaWiki::parseTitle(), ApiResult::path(), MWRestrictionsTest::provideCheck(), ApiStructureTest::provideDocumentationExists(), HtmlTest::provideElementsWithAttributesHavingDefaultValues(), LocalIdLookupTest::provideIsAttachedShared(), LinkerTest::provideLinkBeginHook(), LinkerTest::provideLinkEndHook(), ResourceLoaderTest::provideMakeModuleResponseConcat(), ApiStructureTest::provideParameterConsistency(), MediaWiki\Auth\AuthManager::providerArrayFromSpecs(), Installer::readExtension(), XmlTypeCheck::readNext(), EnhancedChangesList::recentChangesLine(), Cite::ref(), Cite::references(), Cite::referencesFormat(), Cite::referencesFormatEntryNumericBacklinkLabel(), KkConverter::regsConverter(), ApiResult::removeValue(), Wikimedia\Rdbms\DatabaseSqlite::replace(), CategoryFinder::run(), MemcachedClient::run_command(), MediaWiki\Linker\LinkRenderer::runBeginHook(), MediaWiki\Linker\LinkRenderer::runLegacyBeginHook(), DatabaseUpdater::runUpdates(), Wikimedia\Rdbms\DatabaseMssql::select(), UserMailer::sendInternal(), Cookie::serializeToHttpRequest(), WebRequest::setVal(), SpecialCiteThisPage::showCitations(), UserOptionsMaintenance::showUsageStats(), ApiErrorFormatter::stripMarkup(), Wikimedia\Rdbms\Database::tableNamesWithIndexClauseOrJOIN(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAccountCreationLogging(), MediaWiki\Auth\AuthManagerTest::testAccountLink(), ApiLoginTest::testApiLoginBadPass(), ApiLoginTest::testApiLoginGoodPass(), MWRestrictionsTest::testArray(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testAuthentication(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testAuthentication(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testAuthentication(), MediaWiki\Auth\AuthManagerTest::testAuthentication(), MediaWiki\Auth\AuthManagerTest::testAutoAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAutoCreateFailOnLogin(), MediaWiki\Auth\AuthManagerTest::testAutoCreateOnLogin(), MediaWiki\Auth\AuthenticationRequestTest::testBasics(), MediaWiki\Auth\AuthManagerTest::testBeginAccountCreation(), MediaWiki\Auth\AuthManagerTest::testBeginAccountLink(), MediaWiki\Auth\AuthManagerTest::testBeginAuthentication(), MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProviderTest::testBeginSecondaryAuthentication(), ApiLoginTest::testBotPassword(), WANObjectCacheTest::testBusyValue(), ParserMethodsTest::testCallParserFunction(), ApiMainTest::testCheckConditionalRequestHeaders(), MediaWiki\Auth\CreatedAccountAuthenticationRequestTest::testConstructor(), MediaWiki\Auth\AuthenticationResponseTest::testConstructors(), MediaWiki\Auth\AuthManagerTest::testContinueAccountCreation(), MediaWiki\Auth\AuthManagerTest::testContinueAccountLink(), MediaWiki\Auth\AuthManagerTest::testCreateFromLogin(), ApiFormatPhpTest::testCrossDomainMangling(), MediaWiki\Auth\PasswordAuthenticationRequestTest::testDescribeCredentials(), MediaWiki\Auth\PasswordDomainAuthenticationRequestTest::testDescribeCredentials(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequestTest::testDescribeCredentials(), ApiMainTest::testExceptionErrors(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testFailResponse(), ApiFormatBaseTest::testFilenameEncoding(), MediaWiki\Auth\LegacyHookPreAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\AuthManagerTest::testGetAuthenticationRequests(), MediaWiki\Auth\AuthManagerTest::testGetAuthenticationRequestsRequired(), MWRestrictionsTest::testJson(), MediaWiki\Auth\AuthenticationRequestTest::testLoadFromSubmission(), MediaWiki\Auth\AuthenticationRequestTestCase::testLoadFromSubmission(), WANObjectCacheTest::testLockTSE(), WANObjectCacheTest::testLockTSESlow(), MediaWiki\Session\SessionTest::testMethods(), MWRestrictionsTest::testNewDefault(), MediaWiki\Auth\TemporaryPasswordAuthenticationRequestTest::testNewInvalid(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationData(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationData(), MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProviderTest::testRangeBlock(), WANObjectCacheTest::testReap_fail(), SetCookieCompatTest::testSetCookieEmulated(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testSetPasswordResetFlag(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testSetPasswordResetFlag(), MediaWiki\Auth\LegacyHookPreAuthenticationProviderTest::testTestForAccountCreation(), MediaWikiTest::testTryNormaliseRedirect(), JpegHandler::transformImageMagick(), KkConverter::translate(), SrConverter::translate(), Language::truncate_skip(), Language::truncateHtml(), SqlBagOStuff::unserialize(), WebRequest::unsetVal(), ApiResult::unsetValue(), StripState::unstripType(), WikiPage::updateIfNewerOn(), ReassignEdits::userSpecification(), Cite::warning(), wfCgiToArray(), wfPercent(), and wfTimestamp().
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a local account incomplete not yet checked for validity& $retval |
Definition at line 266 of file hooks.txt.
Referenced by ExternalStore::batchFetchFromURLs(), ExternalStoreMedium::batchFetchFromURLs(), MediaWiki\Tidy\RaggettExternal::cleanWrapped(), MediaWiki\Tidy\RaggettInternalHHVM::cleanWrapped(), MediaWiki\Tidy\RaggettInternalPHP::cleanWrapped(), HTMLForm::displaySection(), PdfHandler::doTransform(), DjVuHandler::doTransform(), ApiBlock::execute(), ApiEmailUser::execute(), ApiExpandTemplates::execute(), ApiPatrol::execute(), ApiRollback::execute(), ApiUnblock::execute(), ApiUndelete::execute(), MediaWiki\Shell\Command::execute(), NamespaceConflictChecker::execute(), ResourceLoaderContext::expandModuleNames(), Wikimedia\Rdbms\Database::fieldNamesWithAlias(), ArrayDiffFormatter::format(), ApiQueryBacklinks::getAllowedParams(), MediaWiki\Interwiki\ClassicInterwikiLookup::getAllPrefixesDB(), FindHooks::getHooksFromOnlineDocCategory(), TransformationalImageHandler::getMagickVersion(), LinkSearchPage::getQueryInfo(), UnusedimagesPage::getQueryInfo(), ApiQueryUserInfo::getRateLimits(), SiteConfiguration::getSetting(), WikiPage::insertRedirect(), MediaHandler::logErrorForExternalProcess(), ApiMove::moveSubpages(), Title::moveSubpages(), RecentChange::parseToRCType(), ApiQueryImageInfo::processMetaData(), WfExpandUrlTest::provideExpandableUrls(), SvgHandler::rasterize(), Maintenance::readlineEmulation(), DoubleRedirectsPage::reallyGetQueryInfo(), ApiFormatXml::recXmlPrint(), MediaHandler::removeBadFile(), PdfImage::retrieveMetaData(), DjVuImage::retrieveMetaData(), BitmapHandler::rotate(), JpegHandler::rotate(), Hooks::run(), Hooks::runWithoutAbort(), SpecialInterwiki::showList(), EmailConfirmation::showRequestForm(), JpegHandler::swapICCProfile(), Wikimedia\Rdbms\Database::tableNamesWithAlias(), MediaWiki\Session\SessionTest::testMethods(), JpegPixelFormatTest::testPixelFormatRendering(), BitmapHandler::transformCustom(), BitmapHandler::transformImageMagick(), MediaWiki\Tidy\RaggettBase::validate(), OATHAuthKey::verifyToken(), wfShellExec(), wfShellExecWithStderr(), wfUrlProtocols(), RandomImageGenerator::writeImageWithApi(), and RandomImageGenerator::writeImageWithCommandLine().
presenting them properly to the user as errors is done by the caller return true use this to change the list i e etc $rev |
Definition at line 1775 of file hooks.txt.
Referenced by RevisionDbTestBase::assertRevEquals(), MediaWiki\Tests\Storage\RevisionStoreDbTest::assertRevisionRecordMatchesRevision(), DummyLinker::buildRollbackLink(), Linker::buildRollbackLink(), CleanupSpam::cleanupArticle(), Cleanup::cleanupArticle(), HistoryPager::curLink(), DifferenceEngine::deletedLink(), HistoryPager::diffButtons(), SpecialUndelete::diffHeader(), PopulateArchiveRevId::doDBUpdates(), PopulateRevisionLength::doDBUpdates(), ApiQueryWatchlistIntegrationTest::doPatrolledPageEdit(), PoolWorkArticleView::doWork(), ApiComparePages::execute(), ApiExpandTemplates::execute(), ApiParse::execute(), ApiPatrol::execute(), ApiQueryDeletedrevs::execute(), ApiSetNotificationTimestamp::execute(), CheckBadRedirects::execute(), GetTextMaint::execute(), ImportTextFiles::execute(), HistoryAction::feedItem(), MediaWikiGadgetsDefinitionRepo::fetchStructuredList(), SpecialRecentChanges::filterByCategories(), FeedUtils::formatDiffRow(), DeletedContribsPager::formatRevisionRow(), SpecialMergeHistory::formatRevisionRow(), SpecialUndelete::formatRevisionRow(), SpecialNewpages::formatRow(), ContribsPager::formatRow(), DeletedContribsPager::formatRow(), DummyLinker::generateRollback(), Linker::generateRollback(), RevDelRevisionItem::getApiData(), ContentHandler::getAutoDeleteReason(), CoreParserFunctions::getCachedRevisionObject(), CategoryMembershipChangeJob::getCategoriesAtRev(), WikiPage::getContentModel(), EditPage::getCurrentContent(), ApiComparePages::getDiffContent(), Title::getEarliestRevTime(), GadgetDefinitionNamespaceRepo::getGadget(), User::getNewMessageLinks(), MediaWiki\Storage\RevisionStore::getNextRevision(), WikiPage::getOldestRevision(), SpecialUndelete::getPageLink(), ApiParse::getParsedContent(), DifferenceEngine::getParserOutput(), MediaWiki\Storage\RevisionStore::getPreviousRevision(), MediaWiki\Storage\RevisionStore::getPreviousRevisionId(), RawAction::getRawText(), MediaWiki\Storage\RevisionStore::getRecentChange(), DummyLinker::getRevDeleteLink(), Linker::getRevDeleteLink(), MediaWiki\Storage\RevisionStore::getRevisionByPageId(), MediaWiki\Storage\RevisionStore::getRevisionByTitle(), DifferenceEngine::getRevisionHeader(), Parser::getRevisionObject(), MediaWiki\Tests\Storage\RevisionStoreDbTest::getRevisionRecordFromDetailsArray(), DummyLinker::getRollbackEditCount(), Linker::getRollbackEditCount(), ApiComparePages::guessTitleAndModel(), BackupReader::handleLogItem(), DumpIterator::handleRevision(), BackupReader::handleRevision(), DumpRenderer::handleRevision(), FixDefaultJsonContentPages::handleRow(), HistoryPager::historyLine(), MediaWiki\Storage\RevisionStore::insertRevisionOn(), ChangesList::insertRollback(), Title::isValidMoveTarget(), MovePage::isValidMoveTarget(), DifferenceEngine::loadRevisionData(), MediaWiki\Storage\RevisionStore::loadRevisionFromConds(), SimpleCaptcha::loadText(), PopulateArchiveRevId::makeDummyRevisionRow(), RevisionDbTestBase::makeRevisionWithProps(), MediaWiki\Storage\MutableRevisionRecord::newFromParentRevision(), MediaWiki\Storage\RevisionStore::newRevisionFromConds(), RevisionDbTestBase::newTestRevision(), RollbackAction::onView(), CoreParserFunctions::pagesize(), MediaWiki::parseTitle(), RebuildTextIndex::populateSearchIndex(), BaseDump::prefetch(), CompareParsers::processRevision(), SearchDump::processRevision(), PreprocessDump::processRevision(), RevisionTest::provideConstructFromRow(), LocalFile::recordUpload2(), WikiPage::replaceSectionAtRev(), WikiPage::replaceSectionContent(), DummyLinker::revComment(), Linker::revComment(), Diff::reverse(), CoreParserFunctions::revisionday(), CoreParserFunctions::revisionday2(), ApiTestCase::revisionDelete(), DifferenceEngine::revisionDeleteLink(), CoreParserFunctions::revisionid(), CoreParserFunctions::revisionmonth(), CoreParserFunctions::revisionmonth1(), CoreParserFunctions::revisiontimestamp(), MediaWiki\Tests\Storage\RevisionStoreDbTest::revisionToRow(), CoreParserFunctions::revisionuser(), CoreParserFunctions::revisionyear(), HistoryPager::revLink(), DummyLinker::revUserLink(), Linker::revUserLink(), DummyLinker::revUserTools(), Linker::revUserTools(), ApiQueryAllDeletedRevisions::run(), ApiQueryAllRevisions::run(), ApiQueryDeletedRevisions::run(), ApiQueryRevisions::run(), PageArchiveTest::setUp(), ApiComparePages::setVals(), Article::showDiffPage(), SpecialBookSources::showList(), SpecialUndelete::showRevision(), Parser::statelessFetchRevision(), Parser::statelessFetchTemplate(), RevDelRevisionList::suggestTarget(), RevisionTest::testConstructFromArray(), RevisionTest::testConstructFromArray_userSetAsExpected(), RevisionTest::testConstructFromArrayWithBadPageId(), RevisionTest::testConstructFromEmptyArray(), RevisionTest::testConstructFromRow(), RevisionTest::testConstructFromRowWithBadPageId(), MediaWiki\Tests\Storage::testGetComment_audience(), RevisionDbTestBase::testGetComment_notDeleted(), RevisionDbTestBase::testGetContent(), RevisionTest::testGetContent(), MediaWiki\Tests\Storage::testGetContent(), MediaWiki\Tests\Storage::testGetContent_audience(), RevisionDbTestBase::testGetContent_failure(), RevisionTest::testGetContent_failure(), RevisionDbTestBase::testGetContentClone(), RevisionDbTestBase::testGetContentFormat(), RevisionDbTestBase::testGetContentHandler(), RevisionDbTestBase::testGetContentModel(), RevisionDbTestBase::testGetContentUncloned(), RevisionTest::testGetId(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testGetKnownCurrentRevision(), RevisionDbTestBase::testGetPage(), RevisionTest::testGetParentId(), RevisionDbTestBase::testGetParentLengths_multipleRevIds(), RevisionDbTestBase::testGetParentLengths_oneRevId(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testGetRcIdIfUnpatrolled_returnsRecentChangesId(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testGetRcIdIfUnpatrolled_returnsZeroIfPatrolled(), RevisionDbTestBase::testGetRecentChange(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testGetRecentChange(), WikiPageDbTestBase::testGetRevision(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testGetRevisionById(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testGetRevisionByPageId(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testGetRevisionByTimestamp(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testGetRevisionByTitle(), RevisionDbTestBase::testGetSha1(), RevisionTest::testGetSha1(), RevisionTest::testGetSha1_failure(), RevisionDbTestBase::testGetSize(), RevisionTest::testGetSize(), RevisionTest::testGetSize_failure(), MediaWiki\Tests\Storage::testGetSlot(), MediaWiki\Tests\Storage::testGetSlot_audience(), MediaWiki\Tests\Storage\RevisionStoreRecordTest::testGetSlot_audience_latest(), RevisionTest::testGetTextId(), RevisionDbTestBase::testGetTimestamp(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testGetTimestampFromId_found(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testGetTimestampFromId_notFound(), RevisionDbTestBase::testGetTitle_fromRevisionWhichWillLoadTheTitle(), MediaWiki\Tests\Storage::testGetUser_audience(), RevisionDbTestBase::testGetUserAndText(), RevisionDbTestBase::testGetVisibility_nothingDeleted(), MediaWiki\Tests\Storage::testHasSlot(), ApiRevisionDeleteTest::testHidingRevisions(), RevisionDbTestBase::testInsertOn_exceptionOnNoPage(), RevisionDbTestBase::testInsertOn_success(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testInsertRevisionOn_failures(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testInsertRevisionOn_successes(), MediaWiki\Tests\Storage\RevisionStoreRecordTest::testIsCurrent(), MediaWiki\Tests\Storage::testIsDeleted(), RevisionDbTestBase::testIsDeleted_nothingDeleted(), RevisionDbTestBase::testIsMinor_false(), RevisionDbTestBase::testIsMinor_true(), RevisionDbTestBase::testIsUnpatrolled_returnsRecentChangesId(), RevisionDbTestBase::testIsUnpatrolled_returnsZeroIfPatrolled(), RevisionDbTestBase::testLoadFromId(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testLoadRevisionFromId(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testLoadRevisionFromPageId(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testLoadRevisionFromTitle(), RevisionDbTestBase::testNewFromArchiveRow(), RevisionDbTestBase::testNewFromArchiveRowOverrides(), RevisionDbTestBase::testNewFromId(), RevisionDbTestBase::testNewFromPageId(), RevisionDbTestBase::testNewFromPageIdWithLatestId(), RevisionDbTestBase::testNewFromPageIdWithNotLatestId(), RevisionDbTestBase::testNewFromRow(), RevisionDbTestBase::testNewFromTitle_withBadId(), RevisionDbTestBase::testNewFromTitle_withId(), RevisionDbTestBase::testNewFromTitle_withoutId(), RevisionDbTestBase::testNewKnownCurrent(), RevisionDbTestBase::testNewKnownCurrent_withPageId(), RevisionDbTestBase::testNewNullRevision(), RevisionDbTestBase::testNewNullRevision_badPage(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testNewRevisionFromRow_anonEdit(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testNewRevisionFromRow_anonEdit_legacyEncoding(), MediaWiki\Tests\Storage\RevisionStoreDbTest::testNewRevisionFromRow_userEdit(), MediaWiki\Tests\Storage::testSerialization_fails(), RevisionTest::testSetId(), RevisionTest::testSetUserIdAndName(), RevisionDbTestBase::testSimpleContentGetters(), Maintenance::updateSearchIndexForPage(), ChangeTags::updateTagsWithChecks(), PopulateRevisionSha1::upgradeLegacyArchiveRow(), PopulateRevisionLength::upgradeRow(), PopulateRevisionSha1::upgradeRow(), DumpFilter::writeLogItem(), DumpFilter::writeRevision(), DumpMultiWriter::writeRevision(), and ExportProgressFilter::writeRevision().
returning false will NOT prevent logging a wrapping ErrorException instead of letting the login form give the generic error message that the account does not exist For when the account has been renamed or deleted or an array to pass a message key and parameters create2 Corresponds to logging log_action database field and which is displayed in the UI& $revert |
Definition at line 2206 of file hooks.txt.
Referenced by WikiStatsOutput::formatPercent(), ContentModelLogFormatter::getActionLinks(), DeleteLogFormatter::getActionLinks(), MergeLogFormatter::getActionLinks(), MoveLogFormatter::getActionLinks(), and LogEventsList::logLine().
also included in $newHeader $rollback |
Definition at line 1256 of file hooks.txt.
Referenced by DifferenceEngine::showDiffPage().
the value to return A Title object or null for latest all implement SearchIndexField must implement ResultSetAugmentor& $rowAugmentors |
Definition at line 2882 of file hooks.txt.
Referenced by SearchEngineTest::addAugmentors(), and SearchEngine::augmentSearchResults().
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow (e.g. with the RejectParserCacheValue hook) because MediaWiki won't do it for you. &$defaults also a ContextSource after deleting those rows but within the same transaction $rows |
Definition at line 2758 of file hooks.txt.
Referenced by Wikimedia\Rdbms\FakeResultWrapper::__construct(), MigrateActors::addActorsForRows(), WatchedItemStore::addWatchBatchForUser(), JsonContent::arrayTable(), ChangesFeed::buildItems(), Xml::buildTable(), BatchRowUpdateTest::consecutivelyReturnFromSelect(), SqlBagOStuff::deleteObjectsExpiringBefore(), DeleteAutoPatrolLogs::deleteRows(), JobQueueDB::doBatchPushInternal(), FixDefaultJsonContentPages::doDBUpdates(), PopulateIpChanges::doDBUpdates(), SpecialRecentChanges::doMainQuery(), MysqlUpdater::doPageRandomUpdate(), RevDelRevisionList::doQuery(), MysqlUpdater::doSchemaRestructuring(), Wikimedia\Rdbms\DatabaseMssql::estimateRowCount(), Wikimedia\Rdbms\DatabaseMysqlBase::estimateRowCount(), Wikimedia\Rdbms\DatabasePostgres::estimateRowCount(), ChangesFeed::execute(), ChangesListSpecialPage::execute(), ApiFeedRecentChanges::execute(), BatchRowUpdate::execute(), CleanupRemovedModules::execute(), DeleteAutoPatrolLogs::execute(), PurgeChangedPages::execute(), PurgeModuleDeps::execute(), RemoveInvalidEmails::execute(), SpecialRecentChanges::filterByCategories(), HTMLCheckMatrix::filterDataForSubmit(), LCStoreDB::finishWrite(), ChangesFeed::generateFeed(), BatchRowUpdateTest::genSelectResult(), Block::getBlocksForIPList(), HTMLCheckMatrix::getInputHTML(), MediaWiki\Preferences\DefaultPreferencesFactory::getOptionFromUser(), User::getOptionKinds(), ImagePage::imageLinks(), ChangesList::initChangesListRows(), Wikimedia\Rdbms\DatabasePostgres::insert(), ManualLogEntry::insert(), Title::loadRestrictions(), Title::loadRestrictionsFromRows(), MigrateActors::migrate(), MigrateActors::migrateLogSearch(), MigrateActors::migrateToTemp(), SpecialReplaceText::namespaceTables(), Wikimedia\Rdbms\Database::nativeReplace(), DatabaseTestHelper::nativeReplace(), Wikimedia\Rdbms\Database::nonNativeInsertSelect(), JsonContent::objectTable(), SpecialRecentChanges::outputChangesList(), SpecialWatchlist::outputChangesList(), CheckLanguageCLI::outputWiki(), PurgeChangedPages::pageableSortedRows(), DatabaseInstaller::populateInterwikiTable(), PopulateContentModel::populatePage(), PopulateContentModel::populateRevisionOrArchive(), MediaWiki\Widget\Search\SearchFormWidget::powerSearchBox(), RecentChangesUpdateJob::purgeExpiredRows(), Wikimedia\Rdbms\Database::replace(), Wikimedia\Rdbms\DatabaseMysqlBase::replace(), Wikimedia\Rdbms\DatabaseSqlite::replace(), ApiQueryCategoryMembers::run(), UserRightsProxy::saveSettings(), SqlBagOStuff::setMulti(), PagePropsTest::setProperties(), SpecialWhatLinksHere::showIndirectLinks(), MwSql::sqlPrintResult(), MediaWiki\Auth\AuthManagerTest::testAccountCreationLogging(), MediaWiki\Auth\AuthManagerTest::testAutoAccountCreation(), RevisionDbTestBase::testFetchRevision(), DatabaseSQLTest::testInsertSelectBatching(), BatchRowUpdateTest::testReaderBasicIterate(), Xml::textarea(), WikiPage::updateCategoryCounts(), Wikimedia\Rdbms\Database::upsert(), Wikimedia\Rdbms\DatabaseMysqlBase::upsert(), HTMLCheckMatrix::validate(), and ChangesListSpecialPage::webOutput().
usually copyright or history_copyright This message must be in HTML not wikitext if the section is included from a template $section |
Definition at line 3022 of file hooks.txt.
Referenced by HTMLForm::__construct(), JobQueueFederated::__construct(), HTMLForm::addFooterText(), CategoryViewer::addFragmentToTitle(), HTMLForm::addHeaderText(), ParserOutput::addHeadItem(), ApiQuerySearch::addInterwikiResults(), CoreParserFunctions::anchorencode(), SkinTemplate::buildContentNavigationUrls(), HTMLForm::displaySection(), SimpleCaptcha::doConfirmEdit(), Skin::doEditSectionLink(), IndexPager::doQuery(), TestFileEditor::emitTest(), ApiEditPage::execute(), TestFileEditor::execute(), Linker::formatAutocomments(), DummyLinker::formatTemplates(), Linker::formatTemplates(), Linker::generateTOC(), Wikimedia\Rdbms\LBFactoryMulti::getAllMainLBs(), HTMLForm::getFooterText(), HTMLForm::getHeaderText(), OOUIHTMLForm::getHeaderText(), HTMLMultiSelectField::getInputOOUI(), Wikimedia\Rdbms\LBFactoryMulti::getMainLB(), GadgetHooks::getPreferences(), RawAction::getRawText(), Wikimedia\Rdbms\LBFactoryMulti::getSectionForDomain(), MediaWikiGadgetsDefinitionRepo::listFromDefinition(), SimpleCaptcha::loadText(), Exif::makeFilteredData(), Wikimedia\Rdbms\LBFactoryMulti::newMainLB(), Sanitizer::normalizeSectionNameWhitespace(), WebInstallerOutput::outputFooter(), TestFileEditor::parseTest(), EditPageTest::provideAutoMerge(), MediaWiki\Widget\Search\FullSearchResultWidget::render(), ParserTestRunner::runTest(), ProfilerSectionOnly::scopedProfileIn(), ProfilerXhprof::scopedProfileIn(), SectionProfiler::scopedProfileIn(), SectionProfiler::scopedProfileOut(), Profiler::scopedProfileOut(), FileBackend::scopedProfileSection(), HTMLForm::setFooterText(), HTMLForm::setHeaderText(), SimpleCaptcha::shouldCheck(), SpecialGadgets::showMainForm(), EditPageTest::testExtractSectionTitle(), EditPageTest::testSectionEdit(), Exif::validate(), HTMLForm::wrapFieldSetSection(), and OOUIHTMLForm::wrapFieldSetSection().
|
static |
Definition at line 2258 of file hooks.txt.
Referenced by MWLBFactory::applyDefaultConfig(), LinksDeletionUpdate::batchDeleteByPK(), SiteStatsUpdate::cacheUpdate(), MediaWiki\MediaWikiServices::disableStorageBackend(), MediaWikiTestCase::doLightweightServiceReset(), MysqlUpdater::doTemplatelinksUpdate(), LinksDeletionUpdate::doUpdate(), DatabaseInstaller::enableLB(), GetLagTimes::execute(), DeferredUpdates::execute(), MediaWiki\MediaWikiServices::forceGlobalInstance(), MediaWiki\Tests\Storage\SqlBlobStoreTest::getBlobStore(), Linker::getLinkColour(), LinksUpdate::incrTableUpdate(), MediaWikiTestCase::installTestServices(), PurgeJobUtils::invalidatePages(), Linker::link(), MediaWikiTestCase::makeTestConfigFactoryInstantiator(), ObjectCache::newWANCacheFromParams(), MediaWikiTestCase::overrideMwServices(), MediaWikiTestCase::prepareServices(), UserGroupMembership::purgeExpired(), ParserTestRunner::resetTitleServices(), MWExceptionHandler::rollbackMasterChangesAndLog(), ClearWatchlistNotificationsJob::run(), RefreshLinksJob::runForTitle(), MediaWiki::setDBProfilingAgent(), Maintenance::setLBFactoryTriggers(), CaptchaPreAuthenticationProviderTest::setUp(), MediaWikiTestCase::setUp(), ParserTestRunner::staticSetup(), ServiceContainerTest::testApplyWiring(), MediaWikiServicesTest::testDefaultServiceInstantiation(), ServiceContainerTest::testDefineService(), ServiceContainerTest::testDefineService_fail_duplicate(), ServiceContainerTest::testDestroy(), ServiceContainerTest::testDisableService(), ServiceContainerTest::testDisableService_fail_undefined(), MediaWikiServicesTest::testGetInstance(), MediaWikiServicesTest::testGetService(), ServiceContainerTest::testGetService(), ServiceContainerTest::testGetService_fail_unknown(), ServiceContainerTest::testGetServiceNames(), MediaWikiServicesTest::testGetters(), ServiceContainerTest::testHasService(), ServiceContainerTest::testImportWiring(), ServiceContainerTest::testLoadWiringFiles(), ServiceContainerTest::testLoadWiringFiles_fail_duplicate(), RevisionDbTestBase::testNewFromArchiveRow(), ServiceContainerTest::testPeekService(), ServiceContainerTest::testPeekService_fail_unknown(), ServiceContainerTest::testRedefineService(), ServiceContainerTest::testRedefineService_disabled(), ServiceContainerTest::testRedefineService_fail_in_use(), ServiceContainerTest::testRedefineService_fail_undefined(), MediaWikiServicesTest::testResetServiceForTesting(), MediaWikiServicesTest::testResetServiceForTesting_noDestroy(), and SiteStatsUpdate::tryDBUpdateInternal().
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an<a> element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned $skin |
Definition at line 2009 of file hooks.txt.
Referenced by ApiQuerySiteinfo::appendSkins(), ResourceLoaderOOUIFileModule::extendSkinSpecific(), ResourceLoaderImageModule::getGlobalVariants(), ResourceLoaderImageModule::getImages(), ResourceLoaderContext::getSkin(), ResourceLoaderOOUIImageModule::loadFromDefinition(), SkinFactory::makeSkin(), ApiParseTest::setupSkin(), and WebInstallerOptions::submit().
this hook is for auditing only RecentChangesLinked and Watchlist $special |
Definition at line 992 of file hooks.txt.
Referenced by BaseTemplate::getToolbox().
returning false will NOT prevent logging a wrapping ErrorException $suppressed |
Definition at line 2177 of file hooks.txt.
Referenced by MWExceptionHandler::logError(), and DifferenceEngine::showDiffPage().
in this case you re responsible for computing and outputting the entire conflict i the difference between revisions and your text headers and sections and Diff& $tabindex |
Definition at line 1430 of file hooks.txt.
Referenced by EditPage::getCheckboxesWidget(), EditPage::getEditButtons(), Xml::listDropDown(), and EditPage::showStandardInputs().
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist& $tables |
Definition at line 1007 of file hooks.txt.
Referenced by ChangesListSpecialPage::__construct(), SpecialRecentChanges::__construct(), UploadFromUrlTestSuite::addTables(), SiteStatsInit::articles(), ChangesListSpecialPageTest::buildQuery(), ChangesListSpecialPage::buildQuery(), IndexPager::buildQueryInfo(), RangeChronologicalPager::buildQueryInfo(), ReplaceTextSearch::categoryCondition(), Sqlite::checkSqlSyntax(), CompressOld::compressWithConcat(), LocalFileDeleteBatch::doDBInserts(), PopulateLogSearch::doDBUpdates(), ChangesListSpecialPage::doMainQuery(), SpecialRecentChanges::doMainQuery(), SpecialWatchlist::doMainQuery(), SpecialRecentChangesLinked::doMainQuery(), MysqlUpdater::doNamespaceSize(), RevDelArchiveList::doQuery(), UserCache::doQuery(), ReplaceTextSearch::doSearchQuery(), MediaWikiTestCase::dropMockTables(), WikiExporter::dumpFrom(), FixDoubleRedirects::execute(), ChangesListSpecialPageTest::fetchUsers(), ChangesListSpecialPage::filterOnUserExperienceLevel(), Title::getCascadeProtectionSources(), WikiPage::getContributors(), LocalFile::getHistory(), ActorMigration::getJoin(), CommentStore::getJoin(), SpecialReplaceText::getMatchingTitles(), RandomPage::getQueryInfo(), LogPager::getQueryInfo(), ActiveUsersPager::getQueryInfo(), NewFilesPager::getQueryInfo(), NewPagesPager::getQueryInfo(), LonelyPagesPage::getQueryInfo(), ShortPagesPage::getQueryInfo(), ImageListPager::getQueryInfoReal(), ChangesListSpecialPage::getRows(), DatabaseLogEntry::getSelectQueryData(), WatchedItemQueryService::getWatchedItemsWithRCInfoQueryTables(), WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo(), ActorMigration::getWhere(), ApiPageSet::initFromRevIDs(), ParserTestRunner::listTables(), MediaWikiTestCase::listTables(), UserDupes::lock(), LocalIdLookup::lookupCentralIds(), LocalIdLookup::lookupUserNames(), ChangeTags::modifyDisplayQuery(), ChangesListBooleanFilter::modifyQuery(), ChangesListBooleanFilterGroup::modifyQuery(), ChangesListStringOptionsFilterGroup::modifyQuery(), ChangesListStringOptionsFilterGroupTest::modifyQueryHelper(), SpecialReplaceText::namespaceTables(), InfoAction::pageCounts(), QueryPage::reallyDoQuery(), ShortPagesPage::reallyDoQuery(), ImageListPager::reallyDoQuery(), IndexPager::reallyDoQuery(), ContribsPager::reallyDoQuery(), MediaWikiTestCase::recloneMockTables(), LocalFile::recordUpload2(), SpecialWatchlist::registerFilters(), CategoryTree::renderChildren(), ChangesListSpecialPage::runMainQueryHook(), SpecialRecentChanges::runMainQueryHook(), SpecialWatchlist::runMainQueryHook(), UserNamePrefixSearch::search(), Wikimedia\Rdbms\DatabaseMssql::selectSQLText(), SpecialReplaceText::showForm(), Wikimedia\Rdbms\Database::tableNamesWithAlias(), Wikimedia\Rdbms\Database::tableNamesWithIndexClauseOrJOIN(), ParserTestRunner::teardownDatabase(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_extension(), ChangesListStringOptionsFilterGroupTest::testModifyQuery(), ChangesListStringOptionsFilterGroupTest::testNoOpModifyQuery(), DatabaseTest::testTableNamesWithIndexClauseOrJOIN(), and DatabaseSqliteTest::testUpgrades().
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping $template |
Definition at line 822 of file hooks.txt.
Referenced by OutputPage::addTemplate(), TemplatesOnThisPageFormatter::format(), LoginSignupSpecialPage::getBCFieldDefinitions(), LoginSignupSpecialPage::getFakeTemplate(), LoginSignupSpecialPage::getFieldDefinitions(), HTMLFormFieldCloner::getInputHTML(), SpecialExport::getLinks(), GenerateJqueryMsgData::getMessagesAndTests(), ApiOpenSearch::getOpenSearchTemplate(), TimelessTemplate::getPortlet(), PPFuzzTest::getReport(), BaseTemplate::getSidebar(), EditPage::getTemplates(), BaseTemplate::getToolbox(), Wikimedia\Rdbms\LBFactoryMulti::makeServerArray(), AuthPlugin::modifyUITemplate(), Wikimedia\Rdbms\LBFactoryMulti::newExternalLB(), Wikimedia\Rdbms\LBFactoryMulti::newLoadBalancer(), Wikimedia\Rdbms\LBFactoryMulti::newMainLB(), SkinTemplateTest::testMakeListItem(), and TemplateCategoriesTest::testTemplateCategories().
For QUnit the mediawiki tests qunit testrunner dependency will be added to any module whereas SearchGetNearMatch runs after $term |
Definition at line 2844 of file hooks.txt.
Referenced by SpecialSearch::execute(), BlockLevelPass::execute(), ParserTestsMaintenance::execute(), MediaWiki\Widget\Search\InterwikiSearchResultSetWidget::footerHtml(), GIFMetadataExtractor::getMetadata(), SearchNearMatcher::getNearMatchInternal(), SpecialSearch::goResult(), ParserEditTests::handleFailure(), MediaWiki\Widget\Search\SimpleSearchResultSetWidget::headerHtml(), ParserEditTests::heading(), SearchHighlighter::highlightText(), PageArchive::listPagesBySearch(), MediaWiki\Widget\Search\SearchFormWidget::makeSearchLink(), MediaWiki\Widget\Search\SearchFormWidget::optionsHtml(), SearchMySQL::parseQuery(), SearchSqlite::parseQuery(), SearchPostgres::parseQuery(), MediaWiki\Widget\Search\SearchFormWidget::powerSearchBox(), MediaWiki\Widget\Search\SearchFormWidget::profileTabsHtml(), MediaWiki\Widget\Search\SearchFormWidget::render(), MediaWiki\Widget\Search\BasicSearchResultSetWidget::render(), MediaWiki\Widget\Search\InterwikiSearchResultSetWidget::render(), MediaWiki\Widget\Search\SimpleSearchResultSetWidget::render(), MediaWiki\Widget\Search\DidYouMeanWidget::render(), MediaWiki\Widget\Search\DidYouMeanWidget::rewrittenHtml(), SearchMySQL::searchInternal(), SearchSqlite::searchInternal(), SearchPostgres::searchQuery(), SearchMssql::searchText(), SearchMySQL::searchText(), SearchOracle::searchText(), SearchPostgres::searchText(), SearchSqlite::searchText(), SearchMssql::searchTitle(), SearchMySQL::searchTitle(), SearchOracle::searchTitle(), SearchPostgres::searchTitle(), SearchSqlite::searchTitle(), SpecialSearch::setupPage(), MediaWiki\Widget\Search\SearchFormWidget::shortDialogHtml(), SpecialSearch::showResults(), MediaWiki\Widget\Search\SearchFormWidget::startsWithImage(), SpecialSearchTest::testSearchTermIsNotExpanded(), and SearchEngine::transformSearchTerm().
returning false will NOT prevent logging a wrapping ErrorException instead of letting the login form give the generic error message that the account does not exist For when the account has been renamed or deleted or an array to pass a message key and parameters create2 Corresponds to logging log_action database field and which is displayed in the UI similar to $comment $time |
Definition at line 1795 of file hooks.txt.
Referenced by OldLocalFile::__construct(), MediaWikiPHPUnitTestListener::addError(), MediaWikiPHPUnitTestListener::addFailure(), MediaWikiPHPUnitTestListener::addIncompleteTest(), MediaWikiPHPUnitTestListener::addSkippedTest(), Wikimedia\Rdbms\LoadBalancer::approveMasterChanges(), MediaWiki\Shell\Command::buildFinalCommand(), ApiFormatBase::closePrinter(), JobRunner::commitMasterChanges(), JobQueueAggregatorRedis::doGetAllReadyWikiQueues(), DBFileJournal::doGetPositionAtTime(), FileBackendTest::doTestGetFileStat(), PoolWorkArticleView::doWork(), MediaWikiPHPUnitTestListener::endTest(), LoginSignupSpecialPage::execute(), SyncFileBackend::execute(), Parser::fetchFileAndTitle(), FileRepo::findFile(), RepoGroup::findFile(), FileRepo::findFileFromKey(), MediaWiki\Logger\LegacyLogger::formatAsWfDebugLog(), FileDuplicateSearchPage::formatResult(), MIMEsearchPage::formatResult(), SpecialNewpages::formatRow(), NewFilesPager::formatRow(), DifferenceEngine::generateTextDiffBody(), ProtectionForm::getExpiry(), SpecialUndelete::getFileLink(), User::getFirstEditTimestamp(), Language::getHumanTimestamp(), Wikimedia\Rdbms\DatabaseMysqlBase::getLagFromPtHeartbeat(), WANObjectCache::getMultiCheckKeyTime(), SpecialUndelete::getPageLink(), FileJournal::getPositionAtTime(), SectionProfiler::getTime(), UIDGenerator::getTimeAndDelay(), UIDGenerator::getTimestampedID128(), UIDGenerator::getTimestampedID88(), UIDGenerator::intervalsSinceGregorianBinary(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::isTimestampValid(), ApiStashEdit::lastEditTime(), SpecialUndelete::loadRequest(), LogEventsList::logLine(), ApiMain::logRequest(), DummyLinker::makeBrokenImageLinkObj(), Linker::makeBrokenImageLinkObj(), FormatMetadata::makeFormattedData(), Parser::makeImage(), DummyLinker::makeImageLink(), Linker::makeImageLink(), DummyLinker::makeMediaLinkObj(), Linker::makeMediaLinkObj(), DummyLinker::makeThumbLink2(), Linker::makeThumbLink2(), UIDGenerator::millisecondsSinceEpochBinary(), FileRepo::newFile(), ForeignAPIRepo::newFile(), OldLocalFile::newFromTitle(), User::newTouchedTimestamp(), IPTC::parse(), MediaWiki\Preferences\DefaultPreferencesFactory::profilePreferences(), ZipDirectoryReader::readCentralDirectory(), BagOStuff::setMockTime(), WANObjectCache::setMockTime(), EmailConfirmation::showRequestForm(), SpecialUndelete::showRevision(), MediaWiki\Session\CookieSessionProviderTest::testCookieData(), MediaWiki\Session\CookieSessionProviderTest::testPersistSession(), MediaWiki\Session\ImmutableSessionProviderWithCookieTest::testPersistSession(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_futureNotificationTimestampForced(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_futureNotificationTimestampNotForced(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_notWatchedPageForced(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_oldidSpecifiedLatestRevisionForced(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_oldidSpecifiedNotLatestRevisionForced(), IPTC::timeHelper(), UIDGenerator::timeWaitUntil(), and Language::translateBlockExpiry().
Definition at line 958 of file hooks.txt.
Referenced by WikiPage::__construct(), LinksUpdate::__construct(), MediaWiki\Storage\RevisionRecord::__construct(), ImageGalleryBase::add(), SpecialPageFactory::capturePath(), SpecialEditWatchlist::checkTitle(), HTMLFileCache::clearFileCache(), NaiveForeignTitleFactory::createForeignTitle(), ApiQuery::doExport(), GenderCache::doTitlesArray(), Revision::ensureTitle(), ApiQueryImageInfo::execute(), ConvertLinks::execute(), SpecialPageFactory::executePath(), Message::extractParam(), SpecialEditWatchlist::extractTitles(), Parser::fetchFileAndTitle(), Parser::fetchTemplateAndTitle(), SearchSuggestion::fromTitle(), NamespaceConflictChecker::getAlternateTitle(), MediaTransformOutput::getDescLinkAttribs(), ApiQueryRecentChangesIntegrationTest::getExternalRC(), ApiQueryWatchlistIntegrationTest::getExternalRC(), UserGroupMembership::getGroupPage(), LinksUpdate::getInterlangInsertions(), ApiPageSet::getInvalidTitlesAndRevisions(), WatchedItemStoreUnitTest::getMockTitle(), MessageCache::getMsgFromNamespace(), SearchNearMatcher::getNearMatch(), SearchNearMatcher::getNearMatchInternal(), RenameuserLogFormatter::getPreloadTitles(), ApiQueryInfo::getProtectionInfo(), RandomPage::getRandomTitle(), SpecialMyLanguage::getRedirect(), AbstractContent::getRedirectChain(), CssContent::getRedirectTarget(), JavaScriptContent::getRedirectTarget(), WikitextContent::getRedirectTarget(), WikitextContent::getRedirectTargetAndText(), ApiPageSet::getRedirectTargets(), TitleArrayFromResultTest::getRowWithTitle(), DatabaseLogEntry::getTarget(), RCDatabaseLogEntry::getTarget(), Parser::getTemplateDom(), MediaWiki\Storage\RevisionStore::getTitle(), SpecialReplaceText::getTitlesForEditingWithContext(), SpecialReplaceText::getTitlesForMoveAndUnmoveableTitles(), ExternalUserNames::getUserLinkTitle(), SpecialEditWatchlist::getWatchlist(), ApiComparePages::guessTitleAndModel(), WikiImporter::handlePage(), ApiPageSet::initFromQueryResult(), SearchResult::initFromTitle(), MediaWikiTestCase::insertPage(), SpecialNuke::listForm(), MediaWiki::main(), SpecialExpandTemplates::makeForm(), BaseTemplate::makeLink(), Title::makeName(), MediaWiki\Tests\EditPage\TextboxBuilderTest::mockProtectedTitle(), XmlDumpWriter::namespaces(), Title::newFromID(), Category::newFromName(), Category::newFromRow(), Category::newFromTitle(), Title::newMainPage(), RecentChange::notifyEdit(), RecentChange::notifyNew(), InputBoxHooks::onMediaWikiPerformAction(), ParsoidVirtualRESTService::onParsoid1Request(), RestbaseVirtualRESTService::onParsoid1Request(), SpecialReplaceText::pageListForm(), NamespaceAwareForeignTitleFactory::parseTitleNoNs(), NamespaceAwareForeignTitleFactory::parseTitleWithNs(), Skin::preloadExistence(), ApiPageSet::processDbRow(), WikiImporter::processTitle(), ApiPageSet::processTitlesArray(), MediaWiki\Tests\Storage\MutableRevisionRecordTest::provideConstructor(), MediaWiki\Tests\Storage\RevisionArchiveRecordTest::provideConstructor(), MediaWiki\Tests\Storage\RevisionStoreRecordTest::provideConstructor(), MediaWiki\Tests\Storage\MutableRevisionRecordTest::provideConstructorFailure(), MediaWiki\Tests\Storage\RevisionArchiveRecordTest::provideConstructorFailure(), MediaWiki\Tests\Storage\RevisionStoreRecordTest::provideConstructorFailure(), LinkerTest::provideLinkBeginHook(), LinkerTest::provideLinkEndHook(), JobTest::provideTestJobFactory(), DoubleRedirectsPage::reallyGetQueryInfo(), ImageMap::render(), MessageCache::replace(), ApiQueryProtectedTitles::run(), ApiQueryQueryPage::run(), ApiQueryBacklinksprop::run(), ApiOpenSearch::search(), Message::serialize(), EditPage::setContextTitle(), ImageGalleryBase::setContextTitle(), ParserOptions::setRedirectTarget(), SearchSuggestion::setSuggestedTitle(), Parser::statelessFetchTemplate(), ExtraParserTest::statelessFetchTemplate(), ResourceLoaderWikiModuleTest::testGetContent(), ImportTest::testHandlePageContainsRedirect(), SampleTest::testSetUpMainPageTitleForNextTest(), Message::title(), ExtParserFunctions::titleparts(), and Maintenance::updateSearchIndexForPage().
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify as strings Extensions should add to this list prev or next refreshes the diff cache $unhide |
Definition at line 1633 of file hooks.txt.
Referenced by ContentHandler::createDifferenceEngine(), Article::setOldSubtitle(), and Article::showDiffPage().
returning false will NOT prevent logging a wrapping ErrorException instead of letting the login form give the generic error message that the account does not exist For when the account has been renamed or deleted $user |
Definition at line 247 of file hooks.txt.
Referenced by UploadFromStash::__construct(), ImageListPager::__construct(), SpecialOATHDisable::__construct(), SpecialOATHEnable::__construct(), MediaWiki\Storage\RevisionArchiveRecord::__construct(), MediaWiki\Storage\RevisionStoreRecord::__construct(), UploadFromChunks::__construct(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::autoCreatedAccount(), ApiTestCase::doApiRequest(), WikiPage::doCreate(), WikiPage::doEditContent(), WikiPage::doModify(), Article::doRollback(), ApiQueryImageInfo::execute(), ApiQueryContributions::execute(), DeleteBatch::execute(), DeleteDefaultMessages::execute(), DeleteEqualMessages::execute(), ImportImages::execute(), ImportSiteScripts::execute(), RollbackEdits::execute(), WrapOldPasswords::execute(), MediaWiki\Auth\CheckBlocksSecondaryAuthenticationProviderTest::getBlockedUser(), User::getInstanceForUpdate(), Skin::getRelevantUser(), CategoryMembershipChange::getUser(), ResourceLoaderContext::getUser(), BlockTest::getUserForBlocking(), ApiBase::getWatchlistUser(), ParserOptions::initialiseFromUser(), ReassignEdits::initialiseUser(), CentralIdLookup::localUserFromCentralId(), MovePage::move(), RecentChange::newForCategorization(), User::newFromAnyId(), User::newFromRow(), User::newFromSession(), RecentChange::newLogEntry(), User::newSystemUser(), RecentChange::notifyEdit(), RecentChange::notifyNew(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::onLocalUserCreated(), SpecialChangeContentModel::onSubmit(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::onUserLoggedIn(), PostgresInstaller::openConnectionToAnyDB(), ParserTestRunner::perTestSetup(), WikiPage::prepareContentForEdit(), ApiQueryBlocks::prepareUsername(), MediaWiki\Tests\Storage\RevisionArchiveRecordTest::provideConstructor(), MediaWiki\Tests\Storage\RevisionStoreRecordTest::provideConstructor(), MediaWiki\Tests\Storage\RevisionArchiveRecordTest::provideConstructorFailure(), MediaWiki\Tests\Storage\RevisionStoreRecordTest::provideConstructorFailure(), CaptchaPreAuthenticationProviderTest::provideTestForAccountCreation(), Block::setBlocker(), DataUpdate::setCause(), PreferencesForm::setModifiedUser(), LoginSignupSpecialPage::setSessionUserForCurrentRequest(), Parser::setUser(), MediaWiki\Storage\MutableRevisionRecord::setUser(), LogEventsList::showLogExtract(), MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProviderTest::testBasics(), EditPageTest::testCreatePage(), EditPageTest::testCreatePageTrx(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationData(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationData(), MediaWiki\Auth\AuthManagerTest::testSecuritySensitiveOperationStatus(), and EditPageTest::testUpdatePage().
this hook is for auditing only or null if authentication failed before getting that far $username |
Definition at line 785 of file hooks.txt.
Referenced by UsersPager::__construct(), ActiveUsersPager::__construct(), MediaWiki\Auth\AuthManagerAuthPlugin::authenticate(), MediaWiki\Auth\AuthManager::autoCreateUser(), SimpleCaptcha::badLoginPerUserKey(), MediaWiki\Auth\AuthManager::beginAccountCreation(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::beginPrimaryAccountCreation(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::beginPrimaryAuthentication(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::beginPrimaryAuthentication(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::beginPrimaryAuthentication(), CaptchaPreAuthenticationProviderTest::blockLogin(), UsersPager::buildGroupLink(), SkinTemplate::buildPersonalUrls(), MediaWiki\Auth\AuthManager::canCreateAccount(), BotPassword::canonicalizeLoginData(), PasswordPolicyChecks::checkPasswordCannotMatchBlacklist(), PasswordPolicyChecks::checkPasswordCannotMatchUsername(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProvider::checkPasswordValidity(), MediaWiki\Auth\Throttler::clear(), LoginForm::clearLoginThrottle(), SpecialRedirect::dispatchUser(), GenderCache::doLinkBatch(), UserrightsPage::editUserGroupsForm(), DisableOATHAuthForUser::execute(), ApiBlock::execute(), ApiUnblock::execute(), CleanupSpam::execute(), CreateAndPromote::execute(), DeleteBatch::execute(), ImportSiteScripts::execute(), InvalidateUserSesssions::execute(), RollbackEdits::execute(), PasswordReset::execute(), UserrightsPage::fetchUser(), MediaWiki\Auth\AuthManager::fillRequests(), SpecialNewpages::form(), ProtectedPagesPager::formatValue(), CoreParserFunctions::gender(), MediaWiki\Auth\AuthManagerAuthPlugin::getCanonicalName(), AuthPlugin::getCanonicalName(), CaptchaPreAuthenticationProviderTest::getCaptchaRequest(), SwiftFileBackend::getCredsCacheKey(), GenderCache::getGenderOf(), User::getGroupMember(), UserGroupMembership::getGroupMemberName(), TestUserRegistry::getImmutableTestUser(), ExternalUserNames::getLocal(), BlockLogFormatter::getMessageParameters(), SpecialNuke::getNewPages(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProvider::getNewPasswordExpiry(), NewPagesPager::getQueryInfo(), UserArrayFromResultTest::getRowWithUsername(), CategoryMembershipChange::getUser(), DoubleRedirectJob::getUser(), SpecialContributions::getUserLinks(), ResourceLoaderContext::getUserObj(), Parser::getUserSig(), LoginForm::incLoginThrottle(), MediaWiki\Auth\Throttler::increase(), SimpleCaptcha::increaseBadLoginCounter(), LoginForm::incrementLoginThrottle(), ReassignEdits::initialiseUser(), BotPassword::invalidateAllPasswordsForUser(), ExternalUserNames::isExternal(), MediaWiki\Session\SessionManager::isUserSessionPrevented(), SpecialNuke::listForm(), HTMLUsersMultiselectField::loadDataFromRequest(), BotPassword::login(), MediaWiki\Auth\AuthManager::normalizeUsername(), GenderCache::normalizeUsername(), NukeHooks::nukeContributionsLinks(), SpecialPasswordReset::onSubmit(), SpecialBotPasswords::onSuccess(), MediaWiki\Session\BotPasswordSessionProvider::preventSessionsForUser(), MediaWiki\Session\SessionManager::preventSessionsForUser(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::providerAllowsAuthenticationDataChange(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::providerAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::providerAllowsAuthenticationDataChange(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::providerChangeAuthenticationData(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::providerChangeAuthenticationData(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::providerChangeAuthenticationData(), MediaWiki\Auth\AbstractPrimaryAuthenticationProvider::providerNormalizeUsername(), MediaWiki\Auth\AbstractPrimaryAuthenticationProvider::providerRevokeAccessForUser(), MediaWiki\Auth\AbstractSecondaryAuthenticationProvider::providerRevokeAccessForUser(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::providerRevokeAccessForUser(), BotPassword::removeAllPasswordsForUser(), SimpleCaptcha::resetBadLoginCounter(), MediaWiki\Auth\AuthManager::revokeAccessForUser(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProvider::setPasswordResetFlag(), EditPage::showEditForm(), EditPage::showIntro(), SpecialRenameuser::showLogExtract(), MediaWiki\Auth\AuthManagerTest::testAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAccountCreationLogging(), ExternalUserNamesTest::testAddPrefix(), ExternalUserNamesTest::testApplyPrefix(), MediaWiki\Auth\AuthManagerTest::testAutoAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAutoCreateFailOnLogin(), MediaWiki\Auth\AuthManagerTest::testAutoCreateOnLogin(), BlockTest::testBlockedUserCanNotCreateAccount(), MediaWiki\Auth\AuthManagerTest::testCanCreateAccount(), BotPasswordTest::testCanonicalizeLoginData(), UserPasswordPolicyTest::testCheckUserPassword(), UserArrayFromResultTest::testConstructionWithRow(), MediaWiki\Auth\AuthManagerTest::testContinueAccountCreation(), UserArrayFromResultTest::testCurrentAfterConstruction(), BlockTest::testDeprecatedConstructor(), CaptchaPreAuthenticationProvider::testForAccountCreation(), CaptchaPreAuthenticationProvider::testForAuthentication(), MediaWiki\Auth\ThrottlePreAuthenticationProvider::testForAuthentication(), TitleBlacklistPreAuthenticationProviderTest::testGetAuthenticationRequests(), CaptchaPreAuthenticationProviderTest::testGetAuthenticationRequests(), ExternalUserNamesTest::testGetLocal(), ExternalUserNamesTest::testGetUserLinkTitle(), ExternalUserNamesTest::testIsExternal(), UserTest::testIsValidUserName(), MediaWiki\Auth\CreateFromLoginAuthenticationRequestTest::testState(), GenderCacheTest::testStripSubpages(), MediaWiki\Auth\LegacyHookPreAuthenticationProviderTest::testTestForAuthentication(), MediaWiki\Auth\AbstractPrimaryAuthenticationProvider::testUserCanAuthenticate(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::testUserCanAuthenticate(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::testUserCanAuthenticate(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::testUserCanAuthenticate(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::testUserExists(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::testUserExists(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::testUserExists(), GenderCacheTest::testUserName(), GenderCacheTest::testUserObjects(), UserOptionsMaintenance::updateOptions(), ResetUserTokens::updateUser(), MediaWiki\Auth\AuthManager::userCanAuthenticate(), MediaWiki\Auth\AuthManager::userExists(), MediaWiki\Auth\AuthManagerTest::usernameForCreation(), and HTMLUsersMultiselectField::validate().
|
static |
Definition at line 2226 of file hooks.txt.
Referenced by MemcachedClient::_load_items(), ApiResult::addMetadataToResultVars(), IEUrlExtension::areServerVarsBad(), Wikimedia\Rdbms\Database::buildSelectSubquery(), ResourceLoaderFileModule::compileLessFile(), ReplaceTextSearch::doSearchQuery(), CliInstaller::execute(), WebInstallerExistingWiki::execute(), ConvertExtensionToRegistration::execute(), MediaWiki\Sparql\SparqlClient::extractData(), Message::formatListParam(), ResourceLoaderStartUpModule::getConfigSettings(), CategoryTreeHooks::getConfigVars(), OutputPage::getJSVars(), ResourceLoaderEditToolbarModule::getLessVars(), WikiEditorHooks::getMagicWords(), SpecialReplaceText::getMatchingTitles(), Sanitizer::getRecognizedTagData(), MysqlUpdater::getSchemaVars(), OracleInstaller::getSchemaVars(), Wikimedia\Rdbms\DatabaseMysqlBase::getServerUptime(), MWExceptionRenderer::getShowBacktraceError(), WebInstallerExistingWiki::handleExistingUpgrade(), ConvertExtensionToRegistration::handleExtensionMessagesFiles(), WebInstallerExistingWiki::importVariables(), Wikimedia\Rdbms\DatabaseMysqlBase::listTables(), Wikimedia\Rdbms\DatabasePostgres::listTables(), Wikimedia\Rdbms\DatabaseSqlite::listTables(), DatabaseUpdater::loadExtensions(), Wikimedia\Rdbms\DatabasePostgres::makeConnectionString(), WikiEditorHooks::makeGlobalVariablesScript(), MultimediaViewerHooks::makeGlobalVariablesScript(), CiteHooks::onResourceLoaderGetConfigVars(), Wikimedia\Rdbms\Database::replaceVars(), MultimediaViewerHooks::resourceLoaderGetConfigVars(), WikiEditorHooks::resourceLoaderGetConfigVars(), Wikimedia\Rdbms\DatabaseMssql::select(), DatabaseOracle::selectRow(), Wikimedia\Rdbms\DatabaseMssql::selectSQLText(), Wikimedia\Rdbms\DatabasePostgres::selectSQLText(), ResourceLoaderClientHtml::setConfig(), Wikimedia\Rdbms\Database::setSchemaVars(), WebRequestTest::setServerVars(), Wikimedia\Rdbms\Database::unionConditionPermutations(), and WatchedItemStoreUnitTest::verifyCallbackJob().
When an event the function (or object method) will be called with the optional data provided as well as event-specific parameters. The above examples would result in the following code being executed when 'EventName' happened $wgHooks[ 'PageContentSaveComplete'][] = 'reverseArticleTitle' |
Definition at line 108 of file hooks.txt.
Referenced by LanguageEn::__construct(), BenchmarkHooks::execute(), DumpIterator::finalSetup(), Hooks::getHandlers(), SpecialVersion::getWgHooks(), MediaWiki\Auth\AuthManagerTest::hook(), Installer::includeExtensions(), Hooks::isRegistered(), DatabaseUpdater::loadExtensions(), ExtParserFunctions::registerClearHook(), Cite::setHooks(), HooksTest::setUp(), ParserOptionsTest::setUp(), ParserOptions::setupFakeRevision(), ParserOptionsTest::testAllCacheVaryingOptions(), MediaWiki\Auth\AuthManagerTest::testAutoAccountCreation(), HooksTest::testNewStyleHookInteraction(), HooksTest::testOldStyleHooks(), ParserOptionsTest::testOptionsHash(), and MediaWiki\Auth\AuthManagerTest::unhook().
please add to it if you re going to add events to the MediaWiki code AbortAutoAccount |
you don t have to do a grep find to see where the $wgReverseTitle variable is say If the code is well enough it can even be excluded when not used making for some slight savings in memory and load up performance at runtime Admins who want to have all the reversed titles can add |
Definition at line 53 of file hooks.txt.
Referenced by LinkBatch::addObj(), PathRouter::addStrict(), BagOStuff::incrWithInit(), BagOStuff::lock(), BagOStuff::mergeViaCas(), and FancyCaptcha::pickImageFromList().
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In addition |
Definition at line 88 of file hooks.txt.
Referenced by RedisLockManager::getLocksOnServer().
passed in as a query string parameter to the various URLs constructed here (i.e. $prevlink) $ldel you ll need to handle error etc yourself Alternatively |
Definition at line 1399 of file hooks.txt.
Referenced by RecountCategories::__construct().
and how to run hooks for an and one after Each event has a preferably in CamelCase For ArticleDelete hook A clump of code and data that should be run when an event happens This can be either a function and a chunk of or an object and a method hook function The function part of a third party developers and local administrators to define code that will be run at certain points in the mainline and to modify the data run by that mainline code Hooks can keep mainline code and make it easier to write extensions Hooks are a principled alternative to local patches for two options in MediaWiki One reverses the order of a title before displaying the article |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place ATTENTION |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that AuthPluginAutoCreate |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub AutopromoteCondition |
Using a hook running we can avoid having all this option specific stuff in our mainline code Using the function becomes |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array BeforeDisplayNoArticleText |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable BeforeInitialize |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable BeforeParserFetchFileAndTitle |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check set to true or false to override the $wgMaxImageArea check result BitmapHandlerTransform |
returning false will NOT prevent logging a wrapping ErrorException instead of letting the login form give the generic error message that the account does not exist For when the account has been renamed or deleted or an array to pass a message key and parameters block |
Definition at line 2198 of file hooks.txt.
Referenced by SpecialUnblock::execute(), DiffFormatter::format(), SpecialUnblock::getFields(), and SpecialBlock::maybeAlterFormDefaults().
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check set to true or false to override the $wgMaxImageArea check result gives extension the possibility to transform it themselves set to a MediaTransformOutput BlockIp |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check set to true or false to override the $wgMaxImageArea check result gives extension the possibility to transform it themselves set to a MediaTransformOutput the error message to be returned in an array BlockIpComplete |
presenting them properly to the user as errors is done by the caller return true but is called only if expensive checks are enabled Add a permissions error when permissions errors are checked for Return false if the user can t do and populate $result with the reason in the form of error messages should be plain text with no special bolding |
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped broken |
Definition at line 2001 of file hooks.txt.
Referenced by CleanupInvalidDbKeys::__construct(), CheckLanguageCLI::help(), CheckExtensionsCLI::help(), and Parser::replaceInternalLinks2().
</code > has no name attribute</span ></p > !end !article vol XXI</ref >< references group="klingon"/> ! html< p > Wikipedia rocks< sup id="cite_ref-1" class="reference">< a href="#cite_note-1"> &</p >< div class="mw-references-wrap">< ol class="references">< li id="cite_note-1">< span class="mw-cite-backlink">< a href="#cite_ref-1"> ↑</a ></span >< span class="reference-text"> Proceeds of vol XXI</span ></li ></ol ></div > !end !test Bug regression check |
Definition at line 1481 of file hooks.txt.
Referenced by CategoryFinder::check(), Xml::checkLabel(), BrokenRedirectsPage::formatResult(), CheckLanguageCLI::help(), CheckExtensionsCLI::help(), ParserOutput::isLinkInternal(), CategoryFinder::run(), ApiQueryBasicTest::testAllTogether(), MWRestrictionsTest::testCheck(), ApiQueryBasicTest::testGenerator(), ApiQueryBasicTest::testGeneratorRedirects(), ApiQueryBasicTest::testLists(), and ApiQueryBasicTest::testProps().
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those classes |
Apache License January AND DISTRIBUTION Definitions License shall mean the terms and conditions for and distribution as defined by Sections through of this document Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License Legal Entity shall mean the union of the acting entity and all other entities that control are controlled by or are under common control with that entity For the purposes of this definition control direct or to cause the direction or management of such whether by contract or including but not limited to software source documentation and configuration files Object form shall mean any form resulting from mechanical transformation or translation of a Source including but not limited to compiled object code |
Definition at line 28 of file hooks.txt.
Referenced by CheckLanguageCLI::help(), and CheckExtensionsCLI::help().
presenting them properly to the user as errors is done by the caller return true but is called only if expensive checks are enabled Add a permissions error when permissions errors are checked for Return false if the user can t do and populate $result with the reason in the form of error messages should be plain text with no special coloring |
Returning false makes less sense for events where the action is complete |
Definition at line 197 of file hooks.txt.
Referenced by XhprofData::getCompleteMetrics(), CheckLanguageCLI::help(), and CheckExtensionsCLI::help().
and how to run hooks for an and one after Each event has a preferably in CamelCase For ArticleDelete hook A clump of code and data that should be run when an event happens This can be either a function and a chunk of or an object and a method hook function The function part of a third party developers and local administrators to define code that will be run at certain points in the mainline and to modify the data run by that mainline code Hooks can keep mainline code and make it easier to write extensions Hooks are a principled alternative to local patches Consider |
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow (e.g. with the RejectParserCacheValue hook) because MediaWiki won't do it for you. &$defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on and they can depend only on the ResourceLoaderContext such as when responding to a resource loader request or generating HTML output included in core |
Definition at line 2819 of file hooks.txt.
Referenced by LocalisationUpdate\Finder::__construct().
the other converts the title to all uppercase letters Currently |
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing deleteAnArticle |
passed in as a query string parameter to the various URLs constructed here (i.e. $nextlink) $rdel also included in $oldHeader indicating whether we should show just the diff |
Definition at line 1259 of file hooks.txt.
Referenced by DiffHistoryBlob::compress(), DiffEngine::diff_range(), EditPage::edit(), EditPage::getEditPermissionErrors(), MWTimestamp::getRelativeTimestamp(), EditPage::getSummaryPreview(), EditPage::importFormData(), EditPage::showEditForm(), and EditPage::showHeader().
processing should stop and the error should be shown to the user if you wanted to authenticate users to a custom you could do |
in this case you re responsible for computing and outputting the entire conflict i e |
Definition at line 1421 of file hooks.txt.
Referenced by BenchmarkParse::execute(), SpecialJavaScriptTest::exportQUnit(), RedisLockManager::freeLocksOnServer(), RedisLockManager::getLocksOnServer(), DatabaseOracle::open(), PoolCounterRedis::release(), SearchPostgres::searchQuery(), and XmlTypeCheckTest::testRecursiveEntity().
</code > has conflicting group attribute</span >< br/>< span class="error mw-ext-cite-error" lang="en" dir="ltr"> Cite error |
Definition at line 2687 of file hooks.txt.
Referenced by MigrateActors::addActorsForRows(), SqliteMaintenance::backup(), ImageCleanup::buildSafeTitle(), FindOrphanedFiles::checkFiles(), Cite::checkRefsNoReferences(), SqliteMaintenance::checkSyntax(), RenameUserCleanup::checkUserExistence(), CleanupSpam::cleanupArticle(), CompressOld::compressPage(), CompressOld::compressWithConcat(), CompareParsers::conclusions(), CopyFileBackend::copyFileBatch(), CopyFileBackend::delFileBatch(), FixExtLinksProtocolRelative::doDBUpdates(), MigrateArchiveText::doDBUpdates(), PopulateLogSearch::doDBUpdates(), PopulateParentId::doDBUpdates(), PopulateRecentChangesSource::doDBUpdates(), UploadStashCleanup::doOperations(), UpdateSpecialPages::doSpecialPageCacheUpdates(), PoolCounterWork::execute(), GenerateFancyCaptchas::execute(), Update::execute(), DisableOATHAuthForUser::execute(), UpdateScratchTokenFormat::execute(), ReplaceAll::execute(), ZipDirectoryReader::execute(), BenchmarkParse::execute(), CleanupAncientTables::execute(), ConvertLinks::execute(), CreateAndPromote::execute(), GenerateCommonPassword::execute(), DeleteArchivedFiles::execute(), DumpIterator::execute(), FixDoubleRedirects::execute(), GenerateJsonI18n::execute(), ImportSiteScripts::execute(), ImportTextFiles::execute(), Digit2Html::execute(), GenerateNormalizerDataAr::execute(), MergeMessageFileList::execute(), MigrateFileRepoLayout::execute(), MinifyScript::execute(), MoveBatch::execute(), PatchSql::execute(), PopulateInterwiki::execute(), PurgeChangedFiles::execute(), PurgeChangedPages::execute(), ReassignEdits::execute(), DumpRenderer::execute(), RollbackEdits::execute(), SqliteMaintenance::execute(), CompressOld::execute(), DumpRev::execute(), UpdateMediaWiki::execute(), UpdateSearchIndex::execute(), Maintenance::fatalError(), ZipDirectoryReader::findOldCentralDirectory(), ZipDirectoryReader::findZip64CentralDirectory(), ZipDirectoryReader::getBlock(), Cite::getLinkLabel(), ReplaceAll::getReplacement(), ApiCSPReport::getReport(), ZipDirectoryReader::getSegment(), ReplaceAll::getTarget(), ReplaceAll::getUser(), Cite::guardedRef(), Cite::guardedReferences(), DumpIterator::handleRevision(), DumpRenderer::handleRevision(), SqliteMaintenance::integrityCheck(), Maintenance::loadWithArgv(), Update::logError(), MigrateActors::migrate(), MigrateActors::migrateLogSearch(), MigrateActors::migrateToTemp(), MinifyScript::minify(), ImageCleanup::pokeFile(), PopulateContentModel::populateRevisionOrArchive(), CompareParsers::processRevision(), PreprocessDump::processRevision(), PurgePage::purge(), PurgeChangedFiles::purgeFromArchiveTable(), PurgeChangedFiles::purgeFromLogType(), ZipDirectoryReader::readCentralDirectory(), ZipDirectoryReader::readEndOfCentralDirectoryRecord(), MergeMessageFileList::readFile(), ZipDirectoryReader::readZip64EndOfCentralDirectoryLocator(), ZipDirectoryReader::readZip64EndOfCentralDirectoryRecord(), Cite::referencesFormatEntryAlternateBacklinkLabel(), Cite::referenceText(), RefreshLinks::refreshTrackingCategory(), ImageMap::render(), UpdateSpecialPages::reopenAndWaitForReplicas(), ReplaceAll::replaceTitles(), Maintenance::runChild(), Wikimedia\Http\SetCookieCompat::setCookieEmulated(), CommandLineInstaller::setDbPassOption(), Maintenance::setParam(), CommandLineInstaller::setPassOption(), MwSql::sqlDoQuery(), Cite::stack(), SyncFileBackend::syncBackends(), SyncFileBackend::syncFileBatch(), SetCookieCompatTest::testSetCookieEmulated(), ImageMap::tokenizeCoords(), ZipDirectoryReader::unpack(), RefreshFileHeaders::updateFileHeaders(), RenameUserCleanup::updateTable(), GetConfiguration::validateParamsAndArgs(), Maintenance::validateParamsAndArgs(), ApiCSPReport::verifyPostBodyOk(), and CLIParser::Wikitext().
presenting them properly to the user as errors is done by the caller return true but is called only if expensive checks are enabled Add a permissions error when permissions errors are checked for Return false if the user can t do and populate $result with the reason in the form of error messages should be plain text with no special etc to show that they re errors |
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing etc |
and how to run hooks for an event |
returning false will NOT prevent logging a wrapping ErrorException instead of letting the login form give the generic error message that the account does not exist For example |
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing exportArticle |
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return false |
Definition at line 183 of file hooks.txt.
Referenced by ThumbnailImage::__construct(), MemcachedPeclBagOStuff::__construct(), ReplicatedBagOStuff::__construct(), MemcachedBagOStuff::applyDefaultParams(), IPTest::assertFalseCIDR(), Wikimedia\Rdbms\Database::attributesFromType(), SkinTemplate::buildContentNavigationUrls(), SkinTemplate::buildPersonalUrls(), SpecialEditWatchlist::buildTools(), Parser::callParserFunction(), BagOStuff::changeTTL(), MediaWiki\Tests\Maintenance\DumpTestCase::checkHasGzip(), Block::chooseBlock(), Wikimedia\Rdbms\LoadBalancer::commitAll(), Wikimedia\Rdbms\LoadBalancer::commitMasterChanges(), NaiveForeignTitleFactory::createForeignTitle(), CssContentTest::dataEquals(), JavaScriptContentTest::dataEquals(), TextContentTest::dataEquals(), WikitextContentTest::dataEquals(), ChangeTagsTest::dataGetSoftwareTags(), JavaScriptContentTest::dataIsCountable(), TextContentTest::dataIsEmpty(), WikitextContentHandlerTest::dataIsSupportedFormat(), ContentHandlerTest::dataMakeContent(), HtmlTest::dataXmlMimeType(), LocalFile::delete(), MWDebug::deprecated(), UploadBase::detectScriptInSvg(), SiteStatsInit::doAllAndCommit(), CategoryViewer::doCategoryQuery(), JobQueueRedis::doDelete(), WANObjectCache::doGetWithSetCallback(), SpecialListGroupRights::execute(), WebInstallerInstall::execute(), PasswordReset::execute(), ExternalStoreDB::fetchBlob(), Parser::formatHeadings(), ApiCSPReport::getAllowedParams(), ApiQueryAllDeletedRevisions::getAllowedParams(), User::getBlockId(), Wikimedia\Rdbms\Database::getCacheSetOptions(), User::getCanonicalName(), Wikimedia\Rdbms\LoadBalancer::getConnection(), RedisBagOStuff::getConnection(), RedisConnectionPool::getConnection(), Wikimedia\Rdbms\LoadBalancer::getConnectionRef(), FileBackendStore::getContainerHashLevels(), JobQueueDB::getDB(), Wikimedia\Rdbms\LBFactoryMulti::getDBNameAndPrefix(), SwiftFileBackend::getDirListPageInternal(), Block::getIdFromCookieValue(), WebInstaller::getInfoBox(), Wikimedia\Rdbms\LoadBalancer::getLazyConnectionRef(), MachineReadableRCFeedFormatter::getLine(), Wikimedia\Rdbms\LoadBalancer::getMaintenanceConnectionRef(), SearchIndexFieldTest::getMergeCases(), ApiParamInfo::getModuleInfo(), WANObjectCache::getMulti(), WANObjectCacheTest::getMultiWithSetCallback_provider(), WANObjectCacheTest::getMultiWithUnionSetCallback_provider(), TablePager::getNavigationBar(), SpecialNuke::getNewPages(), FSFile::getProps(), WfStringToBoolTest::getTestCases(), MediaWiki\Storage\RevisionStore::getTitle(), Parser::getVariableValue(), WatchedItemStore::getWatchedItemsForUser(), WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo(), WANObjectCacheTest::getWithSetCallback_provider(), WANObjectCacheTest::getWithSetCallback_versions_provider(), TitleValueTest::goodConstructorProvider(), ApiMain::handleApiBeforeMainException(), MediaWiki\Session\SessionProvider::hashToSessionId(), UploadFromStash::initialize(), DatabaseOracle::insertOneRow(), CoreParserFunctions::intFunction(), User::isBlockedFrom(), Title::isSubpage(), Linker::makeBrokenImageLinkObj(), ResourceLoaderClientHtmlTest::makeSampleModules(), MediaWikiTestCase::makeTestConfig(), MagicWordArray::matchVariableStartToEnd(), RCCacheEntryFactory::newFromRecentChange(), XmlTypeCheck::newFromString(), UnregisteredLocalFile::newFromTitle(), MediaWikiPageNameNormalizerTest::normalizePageTitleProvider(), CoreParserFunctions::ns(), Wikimedia\Rdbms\LoadBalancer::pickReaderIndex(), Wikimedia\Rdbms\Database::ping(), Preprocessor_Hash::preprocessToObj(), LogFormatterTest::provideApiParamFormatting(), GlobalTest::provideArrayToCGI(), ApiMainTest::provideAssert(), CaptchaTest::provideAttributeOverwritten(), CaptchaTest::provideAttributeSet(), MediaWiki\Tests\Storage::provideAudienceCheckData(), BlockTest::provideBug29116Data(), TitleTest::provideCanHaveTalkPage(), BotPasswordTest::provideCanonicalizeLoginData(), JavaScriptMinifierTest::provideCases(), LinkerTest::provideCasesForFormatComment(), RecentChangeTest::provideCategoryContent(), WikiCategoryPageTest::provideCategoryContent(), DatabaseMysqlBaseTest::provideChannelPositions(), VersionCheckerTest::provideCheck(), MWRestrictionsTest::provideCheckIP(), UploadBaseTest::provideCheckXMLEncodingMissmatch(), DatabaseMysqlBaseTest::provideComparePositions(), MediaWiki\Tests\Storage\SqlBlobStoreTest::provideDecompress(), RevisionTest::provideDecompressRevisionText(), DatabaseMysqlBaseTest::provideDiapers(), HtmlTest::provideElementsWithAttributesHavingDefaultValues(), TitleMethodsTest::provideEquals(), ExtensionRegistryTest::provideExportExtractedDataGlobals(), EditPageTest::provideExtractSectionTitle(), MediaWiki\Session\CookieSessionProviderTest::provideForceHTTPS(), WebRequestTest::provideFuzzyBool(), ApiFormatNoneTest::provideGeneralEncoding(), ApiFormatXmlTest::provideGeneralEncoding(), GlobalVarConfigTest::provideGet(), CaptchaPreAuthenticationProviderTest::provideGetAuthenticationRequests(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::provideGetAuthenticationRequests(), UserTest::provideGetCanonicalName(), TitleTest::provideGetPageViewLanguage(), ApiBaseTest::provideGetParameterFromSettings(), ParserOutputTest::provideGetText(), BaseBlacklistTest::provideGetTypeFromTitle(), WikiMapTest::provideGetWiki(), WikiMapTest::provideGetWikiFromUrl(), MWGrantsTest::provideGrantsAreValid(), DatabaseMysqlBaseTest::provideGtidData(), TitleMethodsTest::provideHasSubjectNamespace(), MWNamespaceTest::provideHasTalkNamespace(), WikiPageDbTestBase::provideHasViewableContent(), TitleMethodsTest::provideInNamespace(), DatabaseMysqlBaseTest::provideInsertSelectCases(), TitleTest::provideIsAlwaysKnown(), GIFHandlerTest::provideIsAnimated(), PNGHandlerTest::provideIsAnimated(), SpecialBooksourcesTest::provideISBNs(), DatabaseDomainTest::provideIsCompatible(), WikiPageDbTestBase::provideIsCountable(), ExternalUserNamesTest::provideIsExternal(), StatusTest::provideIsGood(), RecentChangeTest::provideIsInRCLifespan(), StatusTest::provideIsOk(), TitleMethodsTest::provideIsSiteConfigPage(), TitleMethodsTest::provideIsUserConfigPage(), TitleMethodsTest::provideIsUserCssConfigPage(), TitleMethodsTest::provideIsUserJsConfigPage(), TitleTest::provideIsValid(), TitleMethodsTest::provideIsWikitextPage(), OutputPageTest::provideLinkHeaders(), ReCaptchaAuthenticationRequestTest::provideLoadFromSubmission(), ReCaptchaNoCaptchaAuthenticationRequestTest::provideLoadFromSubmission(), TOTPAuthenticationRequestTest::provideLoadFromSubmission(), TitleBlacklistAuthenticationRequestTest::provideLoadFromSubmission(), MediaWiki\Auth\AuthenticationRequestTest::provideLoadFromSubmission(), MediaWiki\Auth\ButtonAuthenticationRequestTest::provideLoadFromSubmission(), MediaWiki\Auth\CreatedAccountAuthenticationRequestTest::provideLoadFromSubmission(), MediaWiki\Auth\CreationReasonAuthenticationRequestTest::provideLoadFromSubmission(), MediaWiki\Auth\RememberMeAuthenticationRequestTest::provideLoadFromSubmission(), MediaWiki\Auth\UserDataAuthenticationRequestTest::provideLoadFromSubmission(), MediaWiki\Auth\UsernameAuthenticationRequestTest::provideLoadFromSubmission(), CentralIdLookupTest::provideLocalUserFromCentralId(), ResourceLoaderClientHtmlTest::provideMakeLoad(), MessageCacheTest::provideMessagesForFallback(), MessageCacheTest::provideMessagesForFullKeys(), MediaWiki\Session\SessionTest::provideMethods(), CaptchaTest::provideNamespaceOverwrites(), MediaWiki\Session\SessionProviderTest::provideNewSessionInfo(), MediaWiki\Tests\Maintenance\MaintenanceTest::provideOutputChanneledData(), MediaWiki\Tests\Maintenance\MaintenanceTest::provideOutputData(), FormatJsonTest::provideParse(), ChangesListSpecialPageTest::provideParseParameters(), FormatJsonTest::provideParseTryFixing(), CaptchaPreAuthenticationProviderTest::providePingLimiter(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::provideProviderChangeAuthenticationData(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::provideProviderChangeAuthenticationData(), ReadOnlyModeTest::provider(), FileBackendTest::provider_testGetContentType(), FileBackendTest::provider_testGetFileStat(), FileBackendTest::provider_testIsStoragePath(), FileTest::providerCanAnimate(), CSSMinTest::provideRemapCases(), CSSMinTest::provideRemapEmptyUrl(), MediaWiki\Auth\AuthManagerTest::provideSecuritySensitiveOperationStatus(), StatusTest::provideSetResult(), CaptchaTest::provideSimpleTriggersCaptcha(), IPTest::provideSplitHostAndPort(), MediaWiki\Auth\CreateFromLoginAuthenticationRequestTest::provideState(), WebPHandlerTest::provideTestExtractMetaData(), CaptchaPreAuthenticationProviderTest::provideTestForAccountCreation(), MediaWiki\Auth\ThrottlePreAuthenticationProviderTest::provideTestForAccountCreation(), CaptchaPreAuthenticationProviderTest::provideTestForAuthentication(), WebPHandlerTest::provideTestGetImageSize(), ApiQueryTest::provideTestTitlePartToKey(), TitleArrayFromResultTest::provideTestValid(), UserArrayFromResultTest::provideTestValid(), LanguageTest::provideTruncateData(), ImportTest::provideUnknownUserHandling(), WfParseUrlTest::provideURLs(), RevisionDbTestBase::provideUserCan(), MediaWiki\Auth\AuthManagerTest::provideUserCanAuthenticate(), RevisionDbTestBase::provideUserCanBitfield(), MediaWiki\Tests\Storage::provideUserCanBitfield(), MediaWiki\Auth\AuthManagerTest::provideUserExists(), RevisionDbTestBase::provideUserWasLastToEdit(), HTMLRestrictionsFieldTest::provideValidate(), LinkFilterTest::provideValidPatterns(), MediaWiki\Tests\Storage\BlobStoreFactoryTest::provideWikiIds(), LocalisationCache::recache(), Cite::refArg(), MediaWiki\Session\PHPSessionHandler::returnFailure(), Wikimedia\Rdbms\LoadBalancer::rollbackMasterChanges(), JobRunner::run(), SamplingStatsdClientTest::samplingDataProvider(), MultiWriteBagOStuff::set(), Block::setCookie(), EditPage::setHeaders(), Cite::setHooks(), WebInstallerUpgrade::showDoneMessage(), LockManagerGroup::singleton(), SpecialPageFactoryTest::specialPageProvider(), HTTPFileStreamer::stream(), MediaWiki\Logger\Monolog\KafkaHandlerTest::swallowsExceptionsWhenRequested(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testContinueLinkAttempt(), GlobalTest::testDebugFunctionTest(), DatabaseTest::testFactory(), ExternalUserNamesTest::testGetUserLinkTitle(), TitlePermissionTest::testQuickPermissions(), GlobalTest::testWfPercentTest(), ClassCollector::tryEndExpect(), DatabaseOracle::update(), CoreParserFunctions::urlFunction(), Wikimedia\Rdbms\DatabaseMysqlBase::wasKnownStatementRollbackError(), Wikimedia\Rdbms\DatabaseMysqlBase::wasReadOnlyError(), and MediaWiki\Preferences\DefaultPreferencesFactory::watchlistPreferences().
Allows to change the fields on the form that will be generated are created Can be used to omit specific feeds from being outputted You must not use this hook to add feeds |
to their LocalSettings php file |
Definition at line 92 of file hooks.txt.
Referenced by InvalidateUserSesssions::execute(), CheckLanguageCLI::help(), User::isLocallyBlockedProxy(), DatabaseInstaller::populateInterwikiTable(), DumpBackup::processOptions(), MergeMessageFileList::readFile(), TextSuppressor::suppress(), and CheckStyleSuppressor::suppress().
return true to allow those checks to and false if checking is done remove or add to the links of a group of changes in EnhancedChangesList Hook subscribers can return false to omit this line from recentchanges use this to change the tables headers change it to an object instance and return false override the list derivative used FileDeleteComplete |
Apache License January AND DISTRIBUTION Definitions License shall mean the terms and conditions for and distribution as defined by Sections through of this document Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License Legal Entity shall mean the union of the acting entity and all other entities that control are controlled by or are under common control with that entity For the purposes of this definition control direct or to cause the direction or management of such whether by contract or including but not limited to software source documentation and configuration files Object form shall mean any form resulting from mechanical transformation or translation of a Source including but not limited to compiled object generated and conversions to other media types Work shall mean the work of whether in Source or Object made available under the as indicated by a copyright notice that is included in or attached to the whether in Source or Object that is based or other modifications as a an original work of authorship For the purposes of this Derivative Works shall not include works that remain separable or merely the Work and Derivative Works thereof Contribution shall mean any work of including the original version of the Work and any modifications or additions to that Work or Derivative Works that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner For the purposes of this submitted means any form of or written communication sent to the Licensor or its including but not limited to communication on electronic mailing source code control and issue tracking systems that are managed or on behalf the Licensor for the purpose of discussing and improving the but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as Not a Contribution Contributor shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work Grant of Copyright License Subject to the terms and conditions of this each Contributor hereby grants to You a non no royalty irrevocable copyright license to prepare Derivative Works publicly publicly and distribute the Work and such Derivative Works in Source or Object form Grant of Patent License Subject to the terms and conditions of this each Contributor hereby grants to You a non no royalty have offer to and otherwise transfer the where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed Redistribution You may reproduce and distribute copies of the Work or Derivative Works thereof in any with or without and in Source or Object form |
Definition at line 1996 of file hooks.txt.
Referenced by SkinFallbackTemplate::execute(), CheckLanguageCLI::help(), CheckExtensionsCLI::help(), VectorTemplate::renderNavigation(), and Parser::replaceInternalLinks2().
usually copyright or history_copyright This message must be in HTML format |
Definition at line 1650 of file hooks.txt.
Referenced by MediaWiki\Logger\Monolog\AvroFormatter::formatBatch(), SpecialVersion::getCopyrightAndAuthorList(), MWTimestamp::getTimezoneMessage(), Parser::getVariableValue(), MediaWiki\Logger\LegacyLogger::log(), HistoryAction::onView(), and Language::sprintfDate().
null for the local wiki Added should default to null in handler functions |
null for the local wiki Added should default to null in handler for backwards compatibility GalleryGetModes |
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist and Watchlist Generally |
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify as strings Extensions should add to this list prev or next refreshes the diff cache allow viewing deleted revs difference engine object to be used for diff GetDoubleUnderscoreIDs |
the value of this variable comes from LanguageConverter GetLinkColours |
the value of this variable comes from LanguageConverter indexed by page_id indexed by prefixed DB keys GetLocalURL |
presenting them properly to the user as errors is done by the caller return true getUserPermissionsErrorsExpensive |
presenting them properly to the user as errors is done by the caller return true GitViewers |
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check set to true or false to override the $wgMaxImageArea check result gives extension the possibility to transform it themselves set to a MediaTransformOutput the error message to be returned in an array you should do so by altering $wgNamespaceProtection and $wgNamespaceContentModels outside the handler |
Definition at line 930 of file hooks.txt.
Referenced by UnregisteredLocalFile::cachePageDimensions(), File::canRender(), ArchivedFile::getHandler(), File::getHandler(), UnregisteredLocalFile::getImageSize(), UnregisteredLocalFile::getMetadata(), File::isMultipage(), File::mustRender(), ArchivedFile::pageCount(), File::pageCount(), FileContentHandlerTest::setUp(), WikitextContentHandlerTest::setUp(), DjVuTest::setUp(), ExifBitmapTest::setUp(), ExifRotationTest::setUp(), GIFHandlerTest::setUp(), JpegTest::setUp(), PNGHandlerTest::setUp(), SVGTest::setUp(), TiffTest::setUp(), XCFHandlerTest::setUp(), ExifRotationTest::testBitmapExtractPreRotationDimensions(), ExifBitmapTest::testConvertMetadataLatest(), ExifBitmapTest::testConvertMetadataSoftware(), ExifBitmapTest::testConvertMetadataSoftwareNormal(), ExifBitmapTest::testConvertMetadataToOld(), WikitextContentHandlerTest::testGetAutosummary(), WikitextContentHandlerTest::testGetChangeTag(), GIFHandlerTest::testGetImageArea(), PNGHandlerTest::testGetImageArea(), XCFHandlerTest::testGetImageSize(), DjVuTest::testGetImageSize(), GIFHandlerTest::testGetIndependentMetaArray(), PNGHandlerTest::testGetIndependentMetaArray(), SVGTest::testGetIndependentMetaArray(), JpegTest::testGetIndependentMetaArray(), SVGTest::testGetMatchedLanguage(), GIFHandlerTest::testGetMetadata(), PNGHandlerTest::testGetMetadata(), XCFHandlerTest::testGetMetadata(), DjVuTest::testGetPageDimensions(), DjVuTest::testGetPageText(), ExifBitmapTest::testGoodMetadata(), FileContentHandlerTest::testIndexMapping(), DjVuTest::testInvalidFile(), GIFHandlerTest::testInvalidFile(), JpegTest::testInvalidFile(), PNGHandlerTest::testInvalidFile(), TiffTest::testInvalidFile(), GIFHandlerTest::testIsAnimanted(), PNGHandlerTest::testIsAnimanted(), ExifBitmapTest::testIsBrokenFile(), ExifBitmapTest::testIsInvalid(), GIFHandlerTest::testIsMetadataValid(), PNGHandlerTest::testIsMetadataValid(), XCFHandlerTest::testIsMetadataValid(), ExifBitmapTest::testIsOldBroken(), ExifBitmapTest::testIsOldGood(), WikitextContentHandlerTest::testIsSupportedFormat(), JpegTest::testJpegMetadataExtraction(), WikitextContentHandlerTest::testMakeEmptyContent(), WikitextContentHandlerTest::testMakeRedirectContent(), WikitextContentHandlerTest::testMerge3(), ExifRotationTest::testMetadata(), DjVuTest::testPageCount(), ExifBitmapTest::testPagedTiffHandledGracefully(), ExifRotationTest::testRotationRendering(), WikitextContentHandlerTest::testSerializeContent(), JpegTest::testSwappingICCProfile(), TiffTest::testTiffMetadataExtraction(), WikitextContentHandlerTest::testUnserializeContent(), and ForeignAPIFile::transform().
they could be provided by a third party developer or written by the admin him herself |
presenting them properly to the user as errors is done by the caller return true use this to change the list i e etc next in line in page history |
Definition at line 1777 of file hooks.txt.
Referenced by WikiExporter::__construct(), SpecialImport::doImport(), Parser::doTableStuff(), TextPassDumper::dump(), WikiExporter::dumpFrom(), UpdateLogging::execute(), TextPassDumper::processOptions(), and SpecialImport::showForm().
and how to run hooks for an and one after Each event has a preferably in CamelCase For ArticleDelete hook A clump of code and data that should be run when an event happens This can be either a function and a chunk of or an object and a method hook function The function part of a hook |
Definition at line 21 of file hooks.txt.
Referenced by MediaWiki\Auth\AuthManagerTest::testAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAuthentication(), MediaWiki\Auth\AuthManagerTest::testAutoAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAutoCreateFailOnLogin(), MediaWiki\Auth\AuthManagerTest::testAutoCreateOnLogin(), MediaWiki\Auth\AuthManagerTest::testBeginAccountCreation(), MediaWiki\Auth\AuthManagerTest::testBeginAuthentication(), MediaWiki\Auth\AuthManagerTest::testContinueAccountCreation(), MediaWiki\Auth\AuthManagerTest::testSecuritySensitiveOperationStatus(), MediaWiki\Auth\LegacyHookPreAuthenticationProviderTest::testTestForAccountCreation(), MediaWiki\Auth\LegacyHookPreAuthenticationProviderTest::testTestForAuthentication(), and MediaWiki\Auth\LegacyHookPreAuthenticationProviderTest::testTestUserForCreation().
they could be provided by a third party developer or written by the admin him or *an object with a method and some optional accompanying data Hooks are registered by adding them to the global $wgHooks array for a given event All the following are valid ways to define hooks |
Definition at line 74 of file hooks.txt.
Referenced by SpecialUpload::processVerificationError().
see documentation in includes Linker php for Linker::makeImageLink or false for current used if you return false ImageOpenShowImageInlineBefore |
null for the local wiki Added in |
Definition at line 1591 of file hooks.txt.
Referenced by CheckLanguageCLI::help(), and CheckExtensionsCLI::help().
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and insert |
Definition at line 2091 of file hooks.txt.
Referenced by Wikimedia\Rdbms\Database::nonNativeInsertSelect(), Wikimedia\Rdbms\Database::replace(), and Wikimedia\Rdbms\Database::upsert().
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure Instead |
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a set this to the key of the message First element is the message key |
usually copyright or history_copyright This message must be in HTML not wikitext if the section is included from a template to be included in the link |
Definition at line 3023 of file hooks.txt.
Referenced by Linker::blockLink(), Linker::buildRollbackLink(), Linker::emailLink(), Linker::formatHiddenCategories(), CreditsAction::getContributors(), ParserOutput::isLinkInternal(), Linker::linkKnown(), Linker::makeBrokenImageLinkObj(), Linker::makeCommentLink(), Linker::makeImageLink(), ParserOutputTest::provideGetText(), IPTest::provideIsPublic(), EnhancedChangesList::recentChangesBlockGroup(), Parser::replaceInternalLinks2(), Linker::revDeleteLink(), LogEventsList::showLogExtract(), Linker::userLink(), CreditsAction::userLink(), Linker::userTalkLink(), and Linker::userToolLinks().
in this case you re responsible for computing and outputting the entire conflict i the difference between revisions and your text headers and sections Live |
|
static |
those of us who don t want or need it can just leave it out The extensions don t even have to be shipped with MediaWiki |
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a message |
Definition at line 2163 of file hooks.txt.
Referenced by MediaWiki\Auth\AuthManagerTest::provideAccountCreation(), MediaWiki\Auth\AuthManagerTest::provideAccountLink(), MediaWiki\Auth\AuthManagerTest::provideAuthentication(), EditPageTest::provideAutoMerge(), MediaWiki\Auth\AuthManagerTest::testAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAccountLink(), MediaWiki\Auth\AuthManagerTest::testAuthentication(), MediaWiki\Auth\AuthManagerTest::testAutoCreateOnLogin(), MediaWiki\Auth\AuthManagerTest::testContinueAccountCreation(), and MediaWiki\Auth\AuthManagerTest::testContinueAccountLink().
passed in as a query string parameter to the various URLs constructed here (i.e. $prevlink) $ldel you ll need to handle error messages |
Definition at line 1398 of file hooks.txt.
Referenced by CheckLanguageCLI::help(), and CheckExtensionsCLI::help().
return true to allow those checks to occur |
Definition at line 1482 of file hooks.txt.
Referenced by CleanupInvalidDbKeys::__construct().
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going on |
and how to run hooks for an and one after Each event has a preferably in CamelCase For PageContentSave |
and how to run hooks for an and one after Each event has a preferably in CamelCase For PageContentSaveComplete |
in this case you re responsible for computing and outputting the entire conflict part |
Definition at line 1421 of file hooks.txt.
Referenced by Preprocessor_Hash::preprocessToObj().
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been performed |
Definition at line 892 of file hooks.txt.
Referenced by UpdateLogging::execute().
either a plain |
Definition at line 2056 of file hooks.txt.
Referenced by Skin::addToSidebar(), Parser::braceSubstitution(), SpecialEditTags::buildCheckBoxes(), Cite::error(), SpecialContributions::execute(), WebInstallerComplete::execute(), WebInstallerExistingWiki::execute(), WebInstallerInstall::execute(), WebInstallerOptions::execute(), WebInstallerRestart::execute(), WebInstallerUpgrade::execute(), WebInstallerWelcome::execute(), ApiAuthManagerHelper::formatFields(), AllMessagesTablePager::formatValue(), SpecialInterwiki::getDescription(), WebInstaller::getRadioElements(), MssqlInstaller::getSettingsForm(), ReplaceAll::getSummary(), CategoryTree::getTag(), DatabaseInstaller::getWebUserBox(), Block::isWhitelistedFromAutoblocks(), MergeHistory::merge(), MovePage::moveToInternal(), ImagePage::printSharedImageText(), EditPageTest::provideAutoMerge(), CategoryTree::renderNodeInfo(), WebInstallerUpgrade::showDoneMessage(), WebInstallerExistingWiki::showKeyForm(), WebInstaller::showMessage(), MessageTest::testExpiryParams(), MessageTest::testRawParams(), MessageTest::testToStringKey(), Cite::warning(), and OutputPage::wrapWikiMsg().
in this case you re responsible for computing and outputting the entire conflict i the difference between revisions and your text headers and sections Preview |
either a unescaped string or a HtmlArmor object after processing |
Definition at line 2014 of file hooks.txt.
Referenced by Exif::__construct(), and MediaWikiTitleCodec::splitTitleString().
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist RecentChangesLinked |
|
static |
Definition at line 2255 of file hooks.txt.
Referenced by MediaWiki\Tidy\BalanceActiveFormattingElements::reconstruct(), ReplaceAll::showFileFormat(), and MessageCache::updateMessageOverride().
returning false will NOT prevent logging a wrapping ErrorException instead of letting the login form give the generic error message that the account does not exist For when the account has been renamed or deleted or an array to pass a message key and parameters create2 Corresponds to logging log_action database field and which is displayed in the UI similar to $comment this hook should only be used to add variables that depend on the current page request |
Definition at line 2224 of file hooks.txt.
Referenced by Http::get(), and Http::post().
presenting them properly to the user as errors is done by the caller return true use this to change the list i e rollback |
Definition at line 1774 of file hooks.txt.
Referenced by Wikimedia\Rdbms\Database::cancelAtomic(), Wikimedia\Rdbms\Database::close(), Wikimedia\Rdbms\Database::deadlockLoop(), and Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks().
Allows to change the fields on the form that will be generated rss |
This code would result in ircNotify being run twice when an article is saved |
set to $title object and return false for a match SearchGetNearMatch |
set to $title object and return false for a match SearchGetNearMatchBefore |
the value to return A Title object or null SearchGetNearMatchComplete |
the value to return A Title object or null for latest SearchIndexFields |
and how to run hooks for an and one after Each event has a preferably in CamelCase For ArticleDelete hook A clump of code and data that should be run when an event happens This can be either a function and a chunk of or an object and a method hook function The function part of a third party developers and local administrators to define code that will be run at certain points in the mainline and to modify the data run by that mainline code Hooks can keep mainline code simple |
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify as strings Extensions should add to this list prev or next refreshes the diff cache allow viewing deleted revs difference engine object to be used for diff source |
This code would result in ircNotify being run twice when an article is and once for brion Hooks can return three possible true was required This is the default since MediaWiki* some string |
Definition at line 181 of file hooks.txt.
Referenced by ResourceLoaderFileModule::__construct(), HTMLFileCache::__construct(), FileBackend::__construct(), Wikimedia\Rdbms\DatabaseSqlite::__toString(), OutputPage::addCategoryLinks(), LinkCache::addGoodLinkObj(), Wikimedia\Rdbms\DatabaseMysqlBase::addQuotes(), CoreParserFunctions::anchorencode(), MediaWiki\Session\SessionManager::changeBackendId(), MediaWiki\Session\CookieSessionProvider::cookieDataToExport(), ApiFeedWatchlist::createFeedItem(), Language::dateFormat(), SpecialContributions::execute(), ApiImport::execute(), ApiQueryAuthManagerInfo::execute(), MediaWiki\Shell\Command::execute(), ResourceLoaderFileModule::extractBasePaths(), ResourceLoaderImageModule::extractLocalBasePath(), MessageCache::get(), MediaWiki\Session\SessionBackendTest::getBackend(), Block::getByName(), EditPage::getCheckboxesWidget(), Block::getDatabaseArray(), ApiBase::getFinalDescription(), SpecialPageLanguage::getFormFields(), ResourceLoaderClientHtml::getHeadHtml(), TimelessTemplate::getMainNavigation(), ApiParamInfo::getModuleInfo(), WANObjectCache::getMultiCheckKeyTime(), MediaWiki\Widget\NamespaceInputWidget::getNamespaceDropdownOptions(), HTMLFormField::getNearestFieldByName(), ActorMigration::getNewActorId(), Block::getPermissionsError(), MediaWiki\Session\SessionManager::getProviders(), MonoBookTemplate::getRenderedSidebar(), LoginSignupSpecialPage::hasSessionCookie(), MediaWiki\Shell\Command::input(), Xml::listDropDownOptionsOoui(), ResourceLoaderImageModule::loadFromDefinition(), Title::loadFromRow(), SpecialBlock::maybeAlterFormDefaults(), Block::newLoad(), ApiStashEdit::parseAndStash(), JobQueueRedis::pushBlobs(), VectorTemplate::renderPortals(), MediaWiki\Session\SessionBackend::resetId(), MediaWiki\Tests\Storage\RevisionStoreDbTest::revisionToRow(), MediaWiki\Session\SessionBackend::save(), WebResponse::setCookie(), FauxResponse::setCookie(), Wikimedia\Http\SetCookieCompat::setCookieEmulated(), SpecialChangeCredentials::showSubpageList(), Html::srcSet(), FormatJson::stripComments(), Wikimedia\Rdbms\Database::tableNameWithAlias(), ApiLoginTest::testApiLoginGotCookie(), MediaWiki\Session\SessionManagerTest::testBackendRegistration(), MediaWiki\Session\CookieSessionProviderTest::testCookieData(), EditPageTest::testCreatePageTrx(), MediaWiki\Session\SessionManagerTest::testLoadSessionInfoFromStore(), ExportTest::testPageByTitle(), DatabaseSqliteTest::testToString(), Job::toString(), BitmapHandler::transformImageMagick(), BitmapHandler::transformImageMagickExt(), RedisBagOStuff::unserialize(), ApiResult::validateValue(), and MediaWiki\Logger\Monolog\LegacyHandler::write().
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that structure |
Definition at line 1004 of file hooks.txt.
Referenced by RedisLockManager::freeLocksOnServer().
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist and Watchlist you will want to construct new ChangesListBooleanFilter or ChangesListStringOptionsFilter objects When constructing them |
Definition at line 1018 of file hooks.txt.
Referenced by PoolCounterRedis::initAndPopPoolSlotList().
return true |
Definition at line 2006 of file hooks.txt.
Referenced by MediaWiki\Tidy\RemexDriver::__construct(), ApiUserrightsTest::addAndRemoveGroupsProvider(), DatabaseUpdater::addExtensionField(), DatabaseUpdater::addExtensionIndex(), DatabaseUpdater::addExtensionTable(), SkinTemplate::buildContentNavigationUrls(), BotPassword::canonicalizeLoginData(), Wikimedia\Rdbms\MySQLMasterPos::channelsMatch(), FileRepo::cleanupBatch(), FileBackendMultiWrite::consistencyCheck(), CommentStore::createComment(), CssContentTest::dataEquals(), JavaScriptContentTest::dataEquals(), TextContentTest::dataEquals(), WikitextContentTest::dataEquals(), ChangeTagsTest::dataGetSoftwareTags(), JavaScriptContentTest::dataIsCountable(), TextContentTest::dataIsCountable(), TextContentTest::dataIsEmpty(), WikitextContentHandlerTest::dataIsSupportedFormat(), ContentHandlerTest::dataMakeContent(), HtmlTest::dataXmlMimeType(), FileRepo::deleteBatch(), DatabaseUpdater::dropExtensionField(), DatabaseUpdater::dropExtensionIndex(), DatabaseUpdater::dropExtensionTable(), SpecialRunJobs::execute(), ApiComparePages::execute(), ApiFormatJson::execute(), ApiQueryUsers::execute(), FixDoubleRedirects::execute(), HHVMMakeRepo::execute(), InputBox::extractOptions(), EtcdConfig::fetchAllFromEtcdServer(), FileOp::fileExists(), CoreParserFunctions::filepath(), FileOp::fileSha1(), ApiImageRotate::getAllowedParams(), ApiWatch::getAllowedParams(), ApiEmailUser::getAllowedParams(), ApiMove::getAllowedParams(), ApiOptions::getAllowedParams(), ApiQueryAllPages::getAllowedParams(), ApiQueryBlocks::getAllowedParams(), ApiQueryDeletedrevs::getAllowedParams(), ApiQueryQueryPage::getAllowedParams(), ApiQueryRandom::getAllowedParams(), ApiQueryRecentChanges::getAllowedParams(), ApiQueryRevisions::getAllowedParams(), ApiQuerySearch::getAllowedParams(), ApiQueryContributions::getAllowedParams(), ApiQueryUsers::getAllowedParams(), ApiRevisionDelete::getAllowedParams(), ApiRollback::getAllowedParams(), ApiStashEdit::getAllowedParams(), ApiUndelete::getAllowedParams(), ApiUserrights::getAllowedParams(), ApiValidatePassword::getAllowedParams(), Wikimedia\Rdbms\DatabaseSqlite::getAttributes(), MediaWiki\Session\SessionBackendTest::getBackend(), User::getBlockFromCookieValue(), OOUIHTMLForm::getButtons(), EditPage::getContentObject(), PostgresUpdater::getCoreUpdateList(), ParserCache::getDirty(), SpecialContributions::getForm(), SearchIndexFieldTest::getMergeCases(), WANObjectCacheTest::getMultiWithSetCallback_provider(), WANObjectCacheTest::getMultiWithUnionSetCallback_provider(), DatabaseUpdater::getOldGlobalUpdates(), PostgresUpdater::getOldGlobalUpdates(), MWFileProps::getPropsFromPath(), ReplaceAll::getReplacements(), ImagePage404Test::getRepoOptions(), UploadForm::getSourceSection(), WfStringToBoolTest::getTestCases(), Parser::getVariableValue(), WANObjectCacheTest::getWithSetCallback_provider(), WANObjectCacheTest::getWithSetCallback_versions_provider(), TitleValueTest::goodConstructorProvider(), LoginForm::incLoginThrottle(), FileRepo::initDirectory(), Language::internalUserTimeAndDate(), Block::isHardblock(), WikiCategoryPage::isHidden(), User::isItemLoaded(), DatabaseTestHelper::isOpen(), ApiAuthManagerHelper::loadAuthenticationRequests(), Skin::makeKnownUrlDetails(), ResourceLoaderClientHtmlTest::makeSampleModules(), JavaScriptMinifier::minify(), DatabaseUpdater::modifyExtensionField(), DatabaseUpdater::modifyExtensionTable(), MediaWiki\Session\UserInfo::newAnonymous(), HTMLCacheUpdateJob::newForBacklinks(), XmlTypeCheck::newFromFilename(), DuplicateJob::newFromJob(), ForeignAPIFile::newFromTitle(), ComposerVersionNormalizerTest::nonStringProvider(), ApiQuery::outputGeneralPageInfo(), ConverterRule::parse(), ConverterRule::parseFlags(), CategoryTreeHooks::parserFunction(), ParserTestRunner::perTestSetup(), LogFormatterTest::provideApiParamFormatting(), MWRestrictionsTest::provideArray(), GlobalTest::provideArrayToCGI(), CaptchaTest::provideAttributeOverwritten(), CaptchaTest::provideAttributeSet(), MediaWiki\Tests\Storage::provideAudienceCheckData(), MediaWiki\Auth\AuthManagerTest::provideAuthentication(), TitleTest::provideCanHaveTalkPage(), BotPasswordTest::provideCanonicalizeLoginData(), LinkerTest::provideCasesForFormatComment(), RecentChangeTest::provideCategoryContent(), WikiCategoryPageTest::provideCategoryContent(), DatabaseMysqlBaseTest::provideChannelPositions(), VersionCheckerTest::provideCheck(), ApiMainTest::provideCheckConditionalRequestHeaders(), MWRestrictionsTest::provideCheckIP(), UploadBaseTest::provideCheckXMLEncodingMissmatch(), DatabaseMysqlBaseTest::provideComparePositions(), DatabaseDomainTest::provideConstruct(), LinkRendererFactoryTest::provideCreateFromLegacyOptions(), EditPageTest::provideCreatePages(), DatabaseMysqlBaseTest::provideDiapers(), ApiComparePagesTest::provideDiff(), HtmlTest::provideElementsWithAttributesHavingDefaultValues(), TitleMethodsTest::provideEquals(), MediaWiki\Session\CookieSessionProviderTest::provideForceHTTPS(), LanguageTest::provideFormattableTimes(), WebRequestTest::provideFuzzyBool(), ApiFormatNoneTest::provideGeneralEncoding(), ApiFormatXmlTest::provideGeneralEncoding(), CaptchaPreAuthenticationProviderTest::provideGetAuthenticationRequests(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::provideGetAuthenticationRequests(), ApiBaseTest::provideGetParameterFromSettings(), ParserOutputTest::provideGetText(), MWGrantsTest::provideGrantsAreValid(), TitleMethodsTest::provideHasSubjectNamespace(), MWNamespaceTest::provideHasTalkNamespace(), WikiPageDbTestBase::provideHasViewableContent(), TitleMethodsTest::provideInNamespace(), DatabaseMysqlBaseTest::provideInsertSelectCases(), PasswordResetTest::provideIsAllowed(), TitleTest::provideIsAlwaysKnown(), GIFHandlerTest::provideIsAnimated(), PNGHandlerTest::provideIsAnimated(), SpecialBooksourcesTest::provideISBNs(), MWExceptionTest::provideIsCommandLine(), DatabaseDomainTest::provideIsCompatible(), WikiPageDbTestBase::provideIsCountable(), ExternalUserNamesTest::provideIsExternal(), StatusTest::provideIsGood(), RecentChangeTest::provideIsInRCLifespan(), ResourceLoaderWikiModuleTest::provideIsKnownEmpty(), StatusTest::provideIsOk(), TitleMethodsTest::provideIsSiteConfigPage(), TitleMethodsTest::provideIsUserConfigPage(), TitleMethodsTest::provideIsUserCssConfigPage(), TitleMethodsTest::provideIsUserJsConfigPage(), TitleTest::provideIsValid(), MergeHistoryTest::provideIsValidMerge(), TitleMethodsTest::provideIsWikitextPage(), TitleBlacklistAuthenticationRequestTest::provideLoadFromSubmission(), MediaWiki\Auth\AuthenticationRequestTest::provideLoadFromSubmission(), MediaWiki\Auth\ButtonAuthenticationRequestTest::provideLoadFromSubmission(), MediaWiki\Auth\RememberMeAuthenticationRequestTest::provideLoadFromSubmission(), MediaWiki\Auth\UserDataAuthenticationRequestTest::provideLoadFromSubmission(), CentralIdLookupTest::provideLocalUserFromCentralId(), ResourceLoaderClientHtmlTest::provideMakeLoad(), MediaWiki\Session\SessionTest::provideMethods(), CaptchaTest::provideNamespaceOverwrites(), DatabaseDomainTest::provideNewFromId(), MediaWiki\Session\SessionProviderTest::provideNewSessionInfo(), BitmapScalingTest::provideNormaliseParams(), MediaWiki\Tests\Maintenance\MaintenanceTest::provideOutputChanneledData(), MediaWiki\Tests\Maintenance\MaintenanceTest::provideOutputData(), FormatJsonTest::provideParse(), ChangesListSpecialPageTest::provideParseParameters(), FormatJsonTest::provideParseStripComments(), CaptchaPreAuthenticationProviderTest::providePingLimiter(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::provideProviderChangeAuthenticationData(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::provideProviderChangeAuthenticationData(), FileBackendTest::provider_testGetContentType(), FileBackendTest::provider_testGetFileStat(), FileBackendTest::provider_testIsStoragePath(), FileBackendTest::provider_testPrepareAndClean(), FileTest::providerCanAnimate(), MediaWiki\Auth\AuthManagerTest::provideSecuritySensitiveOperationStatus(), DatabaseSQLTest::provideSelect(), SetCookieCompatTest::provideSetCookieEmulated(), StatusTest::provideSetResult(), MediaWiki\Logger\LegacyLoggerTest::provideShouldEmit(), CaptchaTest::provideSimpleTriggersCaptcha(), MediaWiki\Auth\CreateFromLoginAuthenticationRequestTest::provideState(), CaptchaPreAuthenticationProviderTest::provideTestForAccountCreation(), MediaWiki\Auth\ThrottlePreAuthenticationProviderTest::provideTestForAccountCreation(), CaptchaPreAuthenticationProviderTest::provideTestForAuthentication(), ApiQueryTest::provideTestTitlePartToKey(), TitleArrayFromResultTest::provideTestValid(), UserArrayFromResultTest::provideTestValid(), MWExceptionTest::provideTextUseOutputPage(), ApiResultTest::provideTransformations(), ImportTest::provideUnknownUserHandling(), RevisionDbTestBase::provideUserCan(), MediaWiki\Auth\AuthManagerTest::provideUserCanAuthenticate(), RevisionDbTestBase::provideUserCanBitfield(), MediaWiki\Tests\Storage::provideUserCanBitfield(), MediaWiki\Auth\AuthManagerTest::provideUserExists(), RevisionDbTestBase::provideUserWasLastToEdit(), ExtensionJsonValidatorTest::provideValidate(), FileRepo::publishBatch(), FileRepo::quickPurgeBatch(), UploadFromUrl::reallyFetchFile(), CSSMin::remap(), DatabaseUpdater::renameExtensionIndex(), MediaWiki\Session\PHPSessionHandler::returnSuccess(), SamplingStatsdClientTest::samplingDataProvider(), Message::setContext(), Cite::setHooks(), ReplaceAll::shouldContinueByDefault(), FileRepo::storeBatch(), WebInstallerName::submit(), MediaWiki\Logger\Monolog\KafkaHandlerTest::swallowsExceptionsWhenRequested(), SkinTemplate::tabAction(), ApiQueryContinueTest::test1List(), ApiQueryContinueTest::test2Lists(), ApiQueryContinue2Test::testA(), ExtensionProcessorTest::testExtractConfig2(), ApiQueryContinueTest::testGen1Prop(), ApiQueryContinueTest::testGen1Prop1List(), ApiQueryContinueTest::testGen2Prop(), ApiQueryContinueTest::testGen2Prop2List1Meta(), ExternalUserNamesTest::testGetUserLinkTitle(), CommandTest::testLogStderr(), TitlePermissionTest::testQuickPermissions(), ApiQueryContinueTest::testSameGenAndProp(), ApiQueryContinueTest::testSameGenList(), MediaWiki\Auth\LegacyHookPreAuthenticationProviderTest::testTestUserForCreation(), LinksUpdateTest::testUpdate_page_props(), WANObjectCacheTest::testWritePending(), PageArchive::undeleteRevisions(), and MediaWiki\Session\UserInfo::verified().
|
static |
Definition at line 115 of file hooks.txt.
Referenced by CheckLanguageCLI::help(), and CheckExtensionsCLI::help().
and how to run hooks for an and one after Each event has a preferably in CamelCase For UserLogin |
null means default in associative array with keys and values unescaped Should be merged with default values |
Definition at line 177 of file hooks.txt.
Referenced by Exif::__construct(), CheckLanguageCLI::help(), CheckExtensionsCLI::help(), and HtmlTest::testExpandAttributesSpaceSeparatedAttributesWithBoolean().
An extension writer |
Definition at line 51 of file hooks.txt.
Referenced by WikiExporter::__construct(), MediaWiki\Logger\Monolog\AvroFormatter::__construct(), BatchRowUpdate::__construct(), WikiExporter::closeStream(), BatchRowUpdate::execute(), LCStoreCDB::finishWrite(), MediaWiki\Logger\Monolog\AvroFormatter::format(), WikiExporter::openStream(), WikiExporter::outputLogStream(), WikiExporter::outputPageStream(), LCStoreCDB::set(), and LCStoreCDB::startWrite().