Factory for ChangeOps that modify SiteLinks.
More...
Factory for ChangeOps that modify SiteLinks.
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
◆ __construct()
Wikibase\Repo\ChangeOp\SiteLinkChangeOpFactory::__construct |
( |
array | $allowedBadgeItemIds | ) |
|
- Parameters
-
string[] | $allowedBadgeItemIds | |
◆ newRemoveSiteLinkOp()
Wikibase\Repo\ChangeOp\SiteLinkChangeOpFactory::newRemoveSiteLinkOp |
( |
| $siteId | ) |
|
- Parameters
-
- Exceptions
-
- Returns
- ChangeOp
◆ newSetSiteLinkOp()
Wikibase\Repo\ChangeOp\SiteLinkChangeOpFactory::newSetSiteLinkOp |
( |
| $siteId, |
|
|
| $pageName, |
|
|
array | $badges = null ) |
- Parameters
-
string | $siteId | |
string | $pageName | |
ItemId[] | null | $badges | |
- Exceptions
-
- Returns
- ChangeOp
◆ validateBadges()
Wikibase\Repo\ChangeOp\SiteLinkChangeOpFactory::validateBadges |
( |
array | $badges | ) |
|
|
private |
- Parameters
-
- Exceptions
-
- Returns
- ItemId[]
◆ $allowedBadgeItemIds
Wikibase\Repo\ChangeOp\SiteLinkChangeOpFactory::$allowedBadgeItemIds |
|
private |
The documentation for this class was generated from the following file: