|
| __construct ( $modelId) |
|
| canBeUsedOn (Title $title) |
|
| makeEmptyContent () |
|
| serializeContent (Content $content, $format=null) |
|
| unserializeContent ( $text, $format=null) |
|
| getSecondaryDataUpdates (Title $title, Content $content, $role, SlotRenderingProvider $slotOutput) |
| @inheritDoc
|
|
| getDeletionUpdates (Title $title, $role) |
| @inheritDoc
|
|
| supportsDirectEditing () |
| @inheritDoc
|
|
| getActionOverrides () |
| @inheritDoc
|
|
| generateHTMLOnEdit () |
| Do not render HTML on edit (T285987)
|
|
| validateSave ( $content, $validationParams) |
|
| preSaveTransform (Content $content, PreSaveTransformParams $pstParams) |
| @inheritDoc
|
|
| createDifferenceEngine (IContextSource $context, $oldContentRevisionId=0, $newContentRevisionId=0, $recentChangesId=0, $refreshCache=false, $unhide=false) |
| @inheritDoc
|
|
|
| getContentClass () |
|
| fillParserOutput (Content $content, ContentParseParams $cpoParams, ParserOutput &$parserOutput) |
| Set the HTML and add the appropriate styles.
|
|
◆ __construct()
MediaWiki\Extension\WikiLambda\ZObjectContentHandler::__construct |
( |
| $modelId | ) |
|
◆ canBeUsedOn()
MediaWiki\Extension\WikiLambda\ZObjectContentHandler::canBeUsedOn |
( |
Title | $title | ) |
|
◆ createZObjectViewHeader()
static MediaWiki\Extension\WikiLambda\ZObjectContentHandler::createZObjectViewHeader |
( |
ZObjectContent | $content, |
|
|
Title | $title, |
|
|
Language | $userLang ) |
|
static |
Generate the special "title" shown on view pages.
- Parameters
-
ZObjectContent | $content | |
Title | $title | |
Language | $userLang | |
- Returns
- string
◆ createZObjectViewTitle()
static MediaWiki\Extension\WikiLambda\ZObjectContentHandler::createZObjectViewTitle |
( |
ZObjectContent | $content, |
|
|
Title | $title, |
|
|
Language | $userLang ) |
|
static |
Generate the HTML "title" tag for the view page.
- Parameters
-
ZObjectContent | $content | |
Title | $title | |
Language | $userLang | |
- Returns
- string
◆ fillParserOutput()
MediaWiki\Extension\WikiLambda\ZObjectContentHandler::fillParserOutput |
( |
Content | $content, |
|
|
ContentParseParams | $cpoParams, |
|
|
ParserOutput & | $parserOutput ) |
|
protected |
Set the HTML and add the appropriate styles.
@inheritDoc
- Parameters
-
Content | $content | |
ContentParseParams | $cpoParams | |
ParserOutput | &$parserOutput | The output object to fill (reference). |
◆ generateHTMLOnEdit()
MediaWiki\Extension\WikiLambda\ZObjectContentHandler::generateHTMLOnEdit |
( |
| ) |
|
Do not render HTML on edit (T285987)
- Returns
- bool
◆ getContentClass()
MediaWiki\Extension\WikiLambda\ZObjectContentHandler::getContentClass |
( |
| ) |
|
|
protected |
◆ getExternalRepresentation()
static MediaWiki\Extension\WikiLambda\ZObjectContentHandler::getExternalRepresentation |
( |
Title | $zObjectTitle, |
|
|
?string | $languageCode = null, |
|
|
?int | $revision = null ) |
|
static |
- Parameters
-
Title | $zObjectTitle | The page to fetch. |
string | null | $languageCode | The language in which to return results. If unset, all results are returned. |
int | null | $revision | The revision ID of the page to fetch. If unset, the latest is returned. |
- Returns
- string The external JSON form of the given title.
- Exceptions
-
◆ makeContent()
static MediaWiki\Extension\WikiLambda\ZObjectContentHandler::makeContent |
( |
| $data, |
|
|
?Title | $title = null, |
|
|
| $modelId = null, |
|
|
| $format = null ) |
|
static |
- Parameters
-
string | $data | |
Title | null | $title | |
string | null | $modelId | |
string | null | $format | |
- Returns
- ZObjectContent
◆ makeEmptyContent()
MediaWiki\Extension\WikiLambda\ZObjectContentHandler::makeEmptyContent |
( |
| ) |
|
◆ serializeContent()
MediaWiki\Extension\WikiLambda\ZObjectContentHandler::serializeContent |
( |
Content | $content, |
|
|
| $format = null ) |
- Parameters
-
Content | $content | |
string | null | $format | |
- Returns
- string
◆ unserializeContent()
MediaWiki\Extension\WikiLambda\ZObjectContentHandler::unserializeContent |
( |
| $text, |
|
|
| $format = null ) |
- Parameters
-
string | $text | |
string | null | $format | |
- Returns
- ZObjectContent
◆ validateSave()
MediaWiki\Extension\WikiLambda\ZObjectContentHandler::validateSave |
( |
| $content, |
|
|
| $validationParams ) |
- Parameters
-
Content | $content | |
ValidationParams | $validationParams | |
- Returns
- StatusValue
The documentation for this class was generated from the following file: