MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=linkrecommendations (lr)

(main | query | linkrecommendations)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • This module requires read rights.
  • Source: GrowthExperiments
  • License: GPL-3.0-or-later

Retrieve link recommendations for a specific page

Specific parameter:
Other general parameters are available.
lrpageid

The page ID for which to retrieve link recommendations.

This parameter is required.
Type: integer
Examples:
Get link recommendations for page with ID 123
api.php?action=query&list=linkrecommendations&lrpageid=123 [open in sandbox]
Get up to 5 link recommendations for page with ID 456
api.php?action=query&list=linkrecommendations&lrpageid=456&lrlimit=5 [open in sandbox]