Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow editors to leave a personal note on user's talk page when marking a page as review/unreviewed or adding tags patch set 2: remove trailing whitespaces patch set 3: 1. update message key 'pagetriage-tag-default-note' 2. escape review button text 3. fix charLeft comparison for mark as reviewed 4. remove single quote from json key patch set 4: 1. more message escape 2. fix charLeft comparison for tagging patch set 5: 1. update/remove keys from language file 2. only submit personal note if there is one patch set 6: 1. remove trailing whitespaces patch set 7: 1. use placeholder attribute for textarea patch set 8: 1. remove jquery.live() since it is not needed anymore patch set 9: 1. improving wording for unmarking as reviewed Change-Id: Iadf90fcb79441148130669f9c0aa9c5f606a51e6
- Loading branch information
bsitu
committed
Aug 9, 2012
1 parent
9615054
commit b54ba3f
Showing
9 changed files
with
184 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 9 additions & 11 deletions
20
modules/ext.pageTriage.views.toolbar/ext.pageTriage.mark.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<div> | ||
<% if ( patrol_status == "0" ) { %> | ||
<div class="mwe-pt-mark-helptext"> | ||
<%= gM( 'pagetriage-mark-as-reviewed-helptext' ) %> | ||
</div> | ||
<button id='mwe-pt-mark-as-reviewed-button' class="ui-button-green"><%= gM( "pagetriage-mark-as-reviewed" ) %></button> | ||
<% } else { %> | ||
<div class="mwe-pt-mark-helptext"> | ||
<%= gM( 'pagetriage-mark-as-unreviewed-helptext' ) %> | ||
</div> | ||
<button id='mwe-pt-mark-as-unreviewed-button' class="ui-button-green"><%= gM( "pagetriage-mark-as-unreviewed" ) %></button> | ||
<% } %> | ||
<div class="mwe-pt-mark-helptext"> | ||
<%= gM( 'pagetriage-mark-as-' + status + '-helptext' ) %> | ||
</div> | ||
<div id="mwe-pt-review-note"> | ||
<div id="mwe-pt-review-note-title"><%= mw.html.escape( gM( 'pagetriage-add-a-note' ) ) %></div> | ||
<div id="mwe-pt-review-note-char-count"><%= mw.html.escape( gM( 'pagetriage-characters-left', maxLength ) ) %></div> | ||
<textarea id="mwe-pt-review-note-input"></textarea> | ||
</div> | ||
<button id='mwe-pt-mark-as-<%= status %>-button' class="ui-button-green"><%= mw.html.escape( gM( "pagetriage-mark-as-" + status ) ) %></button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters