http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96159

Revision: 96159
Author:   hashar
Date:     2011-09-02 22:41:06 +0000 (Fri, 02 Sep 2011)
Log Message:
-----------
Get ride of old Tag form

Tags can be deleted with ajax. Input box to add tag is below.

Modified Paths:
--------------
    trunk/extensions/CodeReview/ui/CodeRevisionView.php

Modified: trunk/extensions/CodeReview/ui/CodeRevisionView.php
===================================================================
--- trunk/extensions/CodeReview/ui/CodeRevisionView.php 2011-09-02 22:41:01 UTC 
(rev 96158)
+++ trunk/extensions/CodeReview/ui/CodeRevisionView.php 2011-09-02 22:41:06 UTC 
(rev 96159)
@@ -341,14 +341,17 @@
                                array_map(
                                        array( $this, 'formatTag' ),
                                        $tags )
-                       ) . ' ';
+                       ) . '<br/>';
                }
                if ( $wgUser->isAllowed( 'codereview-add-tag' ) ) {
+                       $list .= Xml::inputLabel( wfMsg( 'code-rev-tag-add' ), 
'wpTag', 'wpTag', 20,
+                               self::listTags( $this->mAddTags ) );
                        $list .= Xml::Element( 'span', array(
                                        'id' => "codereview-add-tag",
                                        'title' => wfMsg( 
'code-rev-tag-addtag-tooltip' ),
                                ), '+' );  // TODO: replace '+' with a message
-                       $list .= $this->addTagForm( $this->mAddTags, 
$this->mRemoveTags );
+                       //old tag form:
+                       //$list .= $this->addTagForm( $this->mAddTags, 
$this->mRemoveTags );
                }
                return $list;
        }


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to