|
MediaWiki master
|
Static Public Member Functions | |
| static | getReturnToParam ( $title, $request, $authority) |
| Builds query params for the page to return to, used when building links. | |
| static | makeSpecialUrl ( $name, $urlaction='', $proto=null) |
| Make a URL for a Special Page using the given query and protocol. | |
| static | makeSpecialUrlSubpage ( $name, $subpage, $urlaction='') |
Definition at line 12 of file SkinComponentUtils.php.
|
static |
Builds query params for the page to return to, used when building links.
| Title | $title | |
| WebRequest | $request | |
| Authority | $authority |
Definition at line 23 of file SkinComponentUtils.php.
References $request, MediaWiki\MediaWikiServices\getInstance(), and wfArrayToCgi().
|
static |
Make a URL for a Special Page using the given query and protocol.
If $proto is set to null, make a local URL. Otherwise, make a full URL with the protocol specified.
| string | $name | Name of the Special page |
| string | array | $urlaction | Query to append |
| string | null | $proto | Protocol to use or null for a local URL |
Definition at line 84 of file SkinComponentUtils.php.
References MediaWiki\SpecialPage\SpecialPage\getSafeTitleFor().
Referenced by MediaWiki\Skin\Components\SkinComponentTempUserBanner\__construct().
|
static |
| string | $name | |
| string | bool | $subpage | false for no subpage |
| string | array | $urlaction |
Definition at line 99 of file SkinComponentUtils.php.
References MediaWiki\SpecialPage\SpecialPage\getSafeTitleFor().