MediaWiki:Apihelp-query+random-example-generator

Return page info about two random pages from the main namespace.