Gets a notice about the Wikibase Item belonging to the current page after a move (in case there's one).
More...
Gets a notice about the Wikibase Item belonging to the current page after a move (in case there's one).
- Copyright
- GPL-2.0-or-later
- Author
- Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >
◆ __construct()
- Parameters
-
SiteLinkLookup | $siteLinkLookup | |
string | $siteId | Global id of the client wiki |
RepoLinker | $repoLinker | |
◆ factory()
◆ getItemUrl()
Wikibase\Client\Hooks\MovePageNotice::getItemUrl |
( |
Title |
$title | ) |
|
|
private |
Create a repo link directly to the item.
We can't use Special:ItemByTitle here as the item might have already been updated.
- Parameters
-
- Returns
- string|null
◆ getPageMoveMessage()
Wikibase\Client\Hooks\MovePageNotice::getPageMoveMessage |
( |
Title |
$newTitle | ) |
|
|
private |
◆ getPageMoveNoticeHtml()
Wikibase\Client\Hooks\MovePageNotice::getPageMoveNoticeHtml |
( |
Title |
$oldTitle, |
|
|
Title |
$newTitle |
|
) |
| |
|
private |
- Parameters
-
Title | $oldTitle | Title of the page before the move |
Title | $newTitle | Title of the page after the move |
- Returns
- string|null
◆ onSpecialMovepageAfterMove()
Wikibase\Client\Hooks\MovePageNotice::onSpecialMovepageAfterMove |
( |
|
$movePage, |
|
|
|
$oldTitle, |
|
|
|
$newTitle |
|
) |
| |
◆ $repoLinker
Wikibase\Client\Hooks\MovePageNotice::$repoLinker |
|
private |
◆ $siteId
Wikibase\Client\Hooks\MovePageNotice::$siteId |
|
private |
◆ $siteLinkLookup
Wikibase\Client\Hooks\MovePageNotice::$siteLinkLookup |
|
private |
The documentation for this class was generated from the following file: