LivePreview: Let's not potentially mangle #wikiPreview
[lhc/web/wiklou.git] / maintenance / term / MWTerm.php
index ca0f95d..d90d069 100644 (file)
  * http://www.gnu.org/copyleft/gpl.html
  *
  * @file
- * @ingroup Testing
+ * @ingroup Maintenance Testing
  * @todo Fixme: Make this more generic
  */
 
 /**
  * Terminal that supports ANSI escape sequences.
+ *
+ * @ingroup Maintenance Testing
  */
 class AnsiTermColorer {
        function __construct() {
@@ -33,8 +35,8 @@ class AnsiTermColorer {
        /**
         * Return ANSI terminal escape code for changing text attribs/color
         *
-        * @param $color String: semicolon-separated list of attribute/color codes
-        * @return String
+        * @param string $color Semicolon-separated list of attribute/color codes
+        * @return string
         */
        public function color( $color ) {
                global $wgCommandLineDarkBg;
@@ -47,7 +49,7 @@ class AnsiTermColorer {
        /**
         * Return ANSI terminal escape code for restoring default text attributes
         *
-        * @return String
+        * @return string
         */
        public function reset() {
                return $this->color( 0 );
@@ -56,6 +58,8 @@ class AnsiTermColorer {
 
 /**
  * A colour-less terminal
+ *
+ * @ingroup Maintenance Testing
  */
 class DummyTermColorer {
        public function color( $color ) {
@@ -66,4 +70,3 @@ class DummyTermColorer {
                return '';
        }
 }
-