Handles adding user-specific or other js config to OutputPage.
More...
|
| __construct () |
|
| build (OutputPage $out, $rightsUrl, $rightsText, array $badgeItems, $stringLimit, $taintedReferencesEnabled) |
|
Handles adding user-specific or other js config to OutputPage.
- Copyright
- GPL-2.0-or-later
- Author
- Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ __construct()
Wikibase\Repo\OutputPageJsConfigBuilder::__construct |
( |
| ) |
|
◆ build()
Wikibase\Repo\OutputPageJsConfigBuilder::build |
( |
OutputPage |
$out, |
|
|
|
$rightsUrl, |
|
|
|
$rightsText, |
|
|
array |
$badgeItems, |
|
|
|
$stringLimit, |
|
|
|
$taintedReferencesEnabled |
|
) |
| |
- Parameters
-
OutputPage | $out | |
string | $rightsUrl | |
string | $rightsText | |
string[] | $badgeItems | |
int | $stringLimit | |
bool | $taintedReferencesEnabled | |
- Returns
- array
◆ getCopyrightConfig()
Wikibase\Repo\OutputPageJsConfigBuilder::getCopyrightConfig |
( |
|
$rightsUrl, |
|
|
|
$rightsText, |
|
|
Language |
$language |
|
) |
| |
|
private |
- Parameters
-
string | $rightsUrl | |
string | $rightsText | |
Language | $language | |
- Returns
- array
◆ getCopyrightMessage()
Wikibase\Repo\OutputPageJsConfigBuilder::getCopyrightMessage |
( |
|
$rightsUrl, |
|
|
|
$rightsText, |
|
|
Language |
$language |
|
) |
| |
|
private |
- Parameters
-
string | $rightsUrl | |
string | $rightsText | |
Language | $language | |
- Returns
- Message
◆ getCopyrightVar()
Wikibase\Repo\OutputPageJsConfigBuilder::getCopyrightVar |
( |
Message |
$copyrightMessage, |
|
|
Language |
$language |
|
) |
| |
|
private |
- Parameters
-
Message | $copyrightMessage | |
Language | $language | |
- Returns
- array[]
◆ $copyrightMessageBuilder
Wikibase\Repo\OutputPageJsConfigBuilder::$copyrightMessageBuilder |
|
private |
The documentation for this class was generated from the following file: