public function getFromWhatLinksHere( $pageName, $extraParams = [] ) {
		$params = array_merge( $extraParams, [
			'prop' => 'info',
			'generator' => 'linkshere',
			'titles' => $pageName,
		] );
		return $this->runQuery( $params, 'glhcontinue', 'pages' );
	}
public function getFromWhatLinksHere( $pageName, $extraParams = [] ) {
		$params = array_merge( $extraParams, [
			'prop' => 'info',
			'generator' => 'linkshere',
			'titles' => $pageName,
		] );
		return $this->runQuery( $params, 'glhcontinue', 'pages' );
	}
public function getFromWhatLinksHere ( $ pageName , $ extraParams = [ ] ) { $ params = array_merge ( $ extraParams , [ 'prop' => 'info' , 'generator' => 'linkshere' , 'titles' => $ pageName , ] ) ; return $ this -> runQuery ( $ params , 'glhcontinue' , 'pages' ) ; }
Get all pages that link to the given page.

@link https://www.mediawiki.org/wiki/API:Linkshere
@since 0.5
@uses PageListGetter::runQuery()

@param string $pageName The page name
@param string[] Any extra parameters to use: glhprop, glhnamespace, glhshow, glhlimit

@return Pages
Get all pages that link to the given page .