r72850 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72849‎ | r72850 | r72851 >
Date:11:34, 12 September 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Add getTags method to TMessage
Modified paths:
  • /trunk/extensions/Translate/Message.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Message.php
@@ -89,6 +89,14 @@
9090 public function hasTag( $tag ) {
9191 return in_array( $tag, $this->tags, true );
9292 }
 93+
 94+ /**
 95+ * Return all tags for this message;
 96+ * @return \list{String}
 97+ */
 98+ public function getTags() {
 99+ return $this->tags;
 100+ }
93101 }
94102
95103 /**

Status & tagging log