X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=docs%2Fhooks.txt;h=55ba06e605b16a66819604f9b0ce2a6cffda996c;hp=43234c659092baacd254715e89990d86c2e8b858;hb=3bbda79f1f09649bc4d036f2810117df46166f9c;hpb=af24fc1a7a52df5b5ad7157aa9d27b76c1a26ef4 diff --git a/docs/hooks.txt b/docs/hooks.txt index 43234c6590..55ba06e605 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1585,7 +1585,8 @@ entitled to be in. $user: user to promote. &$promote: groups that will be added. -'GetBlockedStatus': after loading blocking status of an user from the database +'GetBlockedStatus': DEPRECATED since 1.34 - use GetUserBlock instead. After +loading blocking status of a user from the database &$user: user (object) being checked 'GetCacheVaryCookies': Get cookies that should vary cache options. @@ -2920,7 +2921,7 @@ result augmentors. Note that lists should be in the format name => object and the names in both lists should be distinct. -'SecondaryDataUpdates': DEPRECATED! Use RevisionDataUpdates or override +'SecondaryDataUpdates': DEPRECATED since 1.32! Use RevisionDataUpdates or override ContentHandler::getSecondaryDataUpdates instead. Allows modification of the list of DataUpdates to perform when page content is modified. $title: Title of the page that is being edited. @@ -3968,7 +3969,7 @@ dumps. One, and only one hook should set this, and return false. &$opts: Options to use for the query &$join: Join conditions -'WikiPageDeletionUpdates': DEPRECATED! Use PageDeletionDataUpdates or +'WikiPageDeletionUpdates': DEPRECATED since 1.32! Use PageDeletionDataUpdates or override ContentHandler::getDeletionDataUpdates instead. Manipulates the list of DeferrableUpdates to be applied when a page is deleted. $page: the WikiPage