From MediaWiki.org
Jump to navigation Jump to search
Available from version 1.0.0
Internal hook, not for public use, to make adjustments to page images before display in the mobile watchlist. Usage is not encouraged. The hook is currently used to workaround problems by Extension:PageImages.
Define function:
public static function onSpecialMobileEditWatchlist_images( MobileContext $ctx, array $watchlist see SpecialEditWatchlist::getWatchlistInfo, array $images associative array to populate ) { ... }
Attach hook:

In extension.json:

	"Hooks": {
		"SpecialMobileEditWatchlist::images": "MyExtensionHooks::onSpecialMobileEditWatchlistimages"
Called from:File(s): MobileFrontend extension/SpecialMobileEditWatchlist.php

For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SpecialMobileEditWatchlist::images extensions.