put bugzilla link and description into one string (description of form closer to...
authorNeil Kandalgaonkar <neilk@users.mediawiki.org>
Thu, 15 Dec 2011 02:06:47 +0000 (02:06 +0000)
committerNeil Kandalgaonkar <neilk@users.mediawiki.org>
Thu, 15 Dec 2011 02:06:47 +0000 (02:06 +0000)
languages/messages/MessagesEn.php
resources/Resources.php
resources/mediawiki/mediawiki.feedback.js

index ed75c4c..f1ef855 100644 (file)
@@ -4630,18 +4630,18 @@ This site is experiencing technical difficulties.',
 'newuserlog-byemail'                  => 'password sent by e-mail',
 
 # Feedback
-'feedback-note'     => 'This form publicly posts a simple comment or suggestion to the page "[$2 $1]", along with your user name, browser version and operating system.',
-'feedback-bugnote'  => 'Or, you can [$1 post a technical bug report] instead.',
-'feedback-subject'  => 'Subject:',
-'feedback-message'  => 'Message:',
-'feedback-cancel'   => 'Cancel',
-'feedback-submit'   => 'Submit Feedback',
-'feedback-adding'   => 'Adding feedback to page...',
-'feedback-error1'   => 'Error: Unrecognized result from API',
-'feedback-error2'   => 'Error: Edit failed',
-'feedback-error3'   => 'Error: No response from API',
-'feedback-thanks'   => 'Thanks! Your feedback has been posted to the page "[$2 $1]".',
-'feedback-close'    => 'Done',
+'feedback-bugornote' => 'If you are ready to describe a technical problem in detail please [$1 report a bug]. 
+Otherwise, you can use the easy form below. Your comment will be added to the page "[$3 $2]", along with your username and what browser you are using.',
+'feedback-subject' => 'Subject:',
+'feedback-message' => 'Message:',
+'feedback-cancel' => 'Cancel',
+'feedback-submit' => 'Submit Feedback',
+'feedback-adding' => 'Adding feedback to page...',
+'feedback-error1' => 'Error: Unrecognized result from API',
+'feedback-error2' => 'Error: Edit failed',
+'feedback-error3' => 'Error: No response from API',
+'feedback-thanks' => 'Thanks! Your feedback has been posted to the page "[$2 $1]".',
+'feedback-close' => 'Done',
 'feedback-bugcheck' => 'Great! Just check that it is not already one of the [$1 known bugs].',
 'feedback-bugnew'   => 'I checked. Report a new bug',
 
index 73a8613..33243f2 100644 (file)
@@ -538,8 +538,7 @@ return array(
                        'jquery.ui.dialog',
                ),
                'messages' => array( 
-                       'feedback-note',
-                       'feedback-bugnote',
+                       'feedback-bugornote',
                        'feedback-subject',
                        'feedback-message',
                        'feedback-cancel',
index 258a891..8a9435e 100644 (file)
@@ -77,7 +77,7 @@
                                .attr( { 'href': _this.title.getUrl(), 'target': '_blank' } )
                                .css( { 'white-space': 'nowrap' } );
 
-                       var $bugNoteLink = $( '<a></a>' ).attr( { 'href': '#', } ).click( function() { _this.displayBugs(); } );
+                       var $bugNoteLink = $( '<a></a>' ).attr( { 'href': '#' } ).click( function() { _this.displayBugs(); } );
 
                        var $bugsListLink = $( '<a></a>' ).attr( { 'href': _this.bugsListLink, 'target': '_blank' } );
 
                                        $( '<div class="feedback-mode feedback-form"></div>' ).append(
                                                $( '<small></small>' ).append(  
                                                        $( '<p></p>' ).msg( 
-                                                               'feedback-note', 
+                                                               'feedback-bugornote', 
+                                                               $bugNoteLink,
                                                                _this.title.getNameText(), 
                                                                $feedbackPageLink.clone() 
-                                                       ),
-                                                       $( '<p></p>' ).msg( 'feedback-bugnote', $bugNoteLink )
+                                                       )
                                                ),
                                                $( '<div style="margin-top:1em;"></div>' ).append( 
                                                        mw.msg( 'feedback-subject' ),