Wikibase
MediaWiki Wikibase extension
Wikibase\View\EditSectionGenerator Interface Reference

Generates HTML for a section edit link. More...

+ Inheritance diagram for Wikibase\View\EditSectionGenerator:

Public Member Functions

 getSiteLinksEditSection (EntityId $entityId=null)
 Returns HTML allowing to edit site links. More...
 
 getLabelDescriptionAliasesEditSection ( $languageCode, EntityId $entityId=null)
 Returns HTML allowing to edit label, description and aliases. More...
 
 getStatementEditSection (Statement $statement)
 Returns HTML allowing to edit a statement. More...
 
 getAddStatementToGroupSection (PropertyId $propertyId, EntityId $entityId=null)
 Returns HTML allowing to add a statement to a statementgroup. More...
 

Detailed Description

Generates HTML for a section edit link.

Author
Adrian Heine adria.nosp@m.n.he.nosp@m.ine@w.nosp@m.ikim.nosp@m.edia..nosp@m.de

Member Function Documentation

◆ getAddStatementToGroupSection()

Wikibase\View\EditSectionGenerator::getAddStatementToGroupSection ( PropertyId  $propertyId,
EntityId  $entityId = null 
)

Returns HTML allowing to add a statement to a statementgroup.

Parameters
PropertyId$propertyIdThe property of the statement group
EntityId | null$entityIdThe id of the entity on which to add a statement
Returns
string HTML

Implemented in Wikibase\View\ToolbarEditSectionGenerator.

◆ getLabelDescriptionAliasesEditSection()

Wikibase\View\EditSectionGenerator::getLabelDescriptionAliasesEditSection (   $languageCode,
EntityId  $entityId = null 
)

Returns HTML allowing to edit label, description and aliases.

Parameters
string$languageCode
EntityId | null$entityId
Returns
string HTML

Implemented in Wikibase\View\ToolbarEditSectionGenerator.

◆ getSiteLinksEditSection()

Wikibase\View\EditSectionGenerator::getSiteLinksEditSection ( EntityId  $entityId = null)

Returns HTML allowing to edit site links.

Parameters
EntityId | null$entityId
Returns
string HTML

Implemented in Wikibase\View\ToolbarEditSectionGenerator.

◆ getStatementEditSection()

Wikibase\View\EditSectionGenerator::getStatementEditSection ( Statement  $statement)

Returns HTML allowing to edit a statement.

Parameters
Statement$statement
Returns
string HTML

Implemented in Wikibase\View\ToolbarEditSectionGenerator.


The documentation for this interface was generated from the following file: