MediaWiki master
|
Helps EditPage build textboxes. More...
Public Member Functions | |
addNewLineAtEnd ( $wikitext) | |
buildTextboxAttribs ( $name, array $customAttribs, UserIdentity $user, PageIdentity $page) | |
getTextboxProtectionCSSClasses (PageIdentity $page) | |
mergeClassesIntoAttributes (array $classes, array $attribs) | |
Helps EditPage build textboxes.
Definition at line 36 of file TextboxBuilder.php.
MediaWiki\EditPage\TextboxBuilder::addNewLineAtEnd | ( | $wikitext | ) |
MediaWiki\EditPage\TextboxBuilder::buildTextboxAttribs | ( | $name, | |
array | $customAttribs, | ||
UserIdentity | $user, | ||
PageIdentity | $page ) |
string | $name | |
mixed[] | $customAttribs | |
UserIdentity | $user | |
PageIdentity | $page |
Definition at line 103 of file TextboxBuilder.php.
References MediaWiki\MediaWikiServices\getInstance(), and MediaWiki\User\Options\UserOptionsLookup\getOption().
MediaWiki\EditPage\TextboxBuilder::getTextboxProtectionCSSClasses | ( | PageIdentity | $page | ) |
PageIdentity | $page |
Definition at line 73 of file TextboxBuilder.php.
References MediaWiki\MediaWikiServices\getInstance(), and MediaWiki\Page\PageReference\getNamespace().
MediaWiki\EditPage\TextboxBuilder::mergeClassesIntoAttributes | ( | array | $classes, |
array | $attribs ) |
string[] | $classes | |
mixed[] | $attribs |
Definition at line 58 of file TextboxBuilder.php.