Bartosz Dziewoński has uploaded a new change for review.
https://gerrit.wikimedia.org/r/191188
Change subject: Some documentation tweaks
......................................................................
Some documentation tweaks
Change-Id: I68620f01551aa8eb18bd6da37632f5483c311581
---
M php/elements/TabIndexedElement.php
M php/widgets/ButtonWidget.php
M php/widgets/LabelWidget.php
3 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/88/191188/1
diff --git a/php/elements/TabIndexedElement.php
b/php/elements/TabIndexedElement.php
index 4acb7da..66f261c 100644
--- a/php/elements/TabIndexedElement.php
+++ b/php/elements/TabIndexedElement.php
@@ -21,7 +21,7 @@
* @param Element $element Element being mixed into
* @param array $config Configuration options
* @param number|null $config['tabIndex'] Tab index value. Use 0 to use
default ordering, use -1 to
- * prevent tab focusing, use null for no tabindex attribute.
(default: 0)
+ * prevent tab focusing, use null to suppress the `tabindex`
attribute. (default: 0)
*/
public function __construct( Element $element, array $config = array()
) {
// Parent constructor
@@ -35,7 +35,7 @@
/**
* Set tab index value.
*
- * @param number|null $tabIndex Tab index value or null for no tabIndex
+ * @param number|null $tabIndex Tab index value or null for no tab index
* @chainable
*/
public function setTabIndex( $tabIndex ) {
diff --git a/php/widgets/ButtonWidget.php b/php/widgets/ButtonWidget.php
index b387eb4..f451c09 100644
--- a/php/widgets/ButtonWidget.php
+++ b/php/widgets/ButtonWidget.php
@@ -83,7 +83,7 @@
/**
* Get search engine traversal hint.
*
- * @return boolean Whether search engines should avoid traversing this
hyperlink.
+ * @return boolean Whether search engines should avoid traversing this
hyperlink
*/
public function getNoFollow() {
return $this->nofollow;
diff --git a/php/widgets/LabelWidget.php b/php/widgets/LabelWidget.php
index 7404a49..79e52e8 100644
--- a/php/widgets/LabelWidget.php
+++ b/php/widgets/LabelWidget.php
@@ -22,7 +22,7 @@
/**
* @param array $config Configuration options
- * @param InputWidget $config['input'] Input widget this label is for
(default: null)
+ * @param InputWidget $config['input'] Input widget this label is for
*/
public function __construct( array $config = array() ) {
// Parent constructor
--
To view, visit https://gerrit.wikimedia.org/r/191188
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I68620f01551aa8eb18bd6da37632f5483c311581
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits