Manual:Hooks/MagicWordwgVariableIDs

Details
$ids - The ids to add the magic words id too.

Usage
See Manual:Magic words.