Nikerabbit has uploaded a new change for review. https://gerrit.wikimedia.org/r/60649
Change subject: Documentation formatting udpate ...................................................................... Documentation formatting udpate Change-Id: I31fc046003d33daaf44aa598fafc88645981716d --- M tag/TPSection.php 1 file changed, 10 insertions(+), 10 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate refs/changes/49/60649/1 diff --git a/tag/TPSection.php b/tag/TPSection.php index 7358158..e8597bf 100644 --- a/tag/TPSection.php +++ b/tag/TPSection.php @@ -14,20 +14,20 @@ * @ingroup PageTranslation */ class TPSection { - /// \string Section name + /// @var string Section name public $id; - /// \string New name of the section, that will be saved to database. + /// @var string New name of the section, that will be saved to database. public $name; - /// \string Section text. + /// @var string Section text. public $text; - /// \string Is this new, existing, changed or deleted section. + /// @var string Is this new, existing, changed or deleted section. public $type; - /// \string Text of previous version of this section. + /// @var string Text of previous version of this section. public $oldText; /** * Returns section text unmodified. - * @return \string Wikitext. + * @return string Wikitext. */ public function getText() { return $this->text; @@ -35,7 +35,7 @@ /** * Returns section text with variables replaced. - * @return \string Wikitext. + * @return string Wikitext. */ public function getTextForTrans() { $re = '~<tvar\|([^>]+)>(.*?)</>~u'; @@ -43,8 +43,8 @@ } /** - * Returns the section text section marker updated or added. - * @return \string Wikitext. + * Returns the section text with updared or added section marker. + * @return string Wikitext. */ public function getMarkedText() { $id = isset( $this->name ) ? $this->name : $this->id; @@ -64,7 +64,7 @@ /** * Returns oldtext, or current text if not available. - * @return \string Wikitext. + * @return string Wikitext. */ public function getOldText() { return isset( $this->oldText ) ? $this->oldText : $this->text; -- To view, visit https://gerrit.wikimedia.org/r/60649 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I31fc046003d33daaf44aa598fafc88645981716d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits