Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\View\SpecialPageLinker Interface Reference

A service returning a URL for a specific special page with optional parameters. More...

+ Inheritance diagram for Wikibase\View\SpecialPageLinker:

Public Member Functions

 getLink ( $pageName, array $subPageParams=[])
 Returns the URL to a special page with optional params.
 

Detailed Description

A service returning a URL for a specific special page with optional parameters.

Author
Adrian Heine adria.nosp@m.n.he.nosp@m.ine@w.nosp@m.ikim.nosp@m.edia..nosp@m.de

Member Function Documentation

◆ getLink()

Wikibase\View\SpecialPageLinker::getLink ( $pageName,
array $subPageParams = [] )

Returns the URL to a special page with optional params.

Parameters
string$pageName
string[]$subPageParamsParameters to be added as slash-separated sub pages
Returns
string

Implemented in Wikibase\Repo\View\RepoSpecialPageLinker.


The documentation for this interface was generated from the following file: