|
| __construct (array $redirectBadgeItems) |
|
| normalize (Site $site, string $title, array $badges) |
| Normalize the given title on the given site, resolving redirects unless the badges include one of the configured redirect badges.
|
|
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\SiteLinkPageNormalizer::__construct |
( |
array | $redirectBadgeItems | ) |
|
- Parameters
-
string[] | $redirectBadgeItems | |
◆ normalize()
Wikibase\Repo\SiteLinkPageNormalizer::normalize |
( |
Site | $site, |
|
|
string | $title, |
|
|
array | $badges ) |
Normalize the given title on the given site, resolving redirects unless the badges include one of the configured redirect badges.
- Parameters
-
Site | $site | |
string | $title | |
string[] | $badges | item ID serializations |
- Returns
- string|false
◆ $redirectBadgeItems
Wikibase\Repo\SiteLinkPageNormalizer::$redirectBadgeItems |
|
private |
The documentation for this class was generated from the following file: