Skip to content

Commit

Permalink
arv: Add UAA reports at bottom of section, not top
Browse files Browse the repository at this point in the history
The procedure has been changed.
  • Loading branch information
atlight committed Jan 13, 2015
1 parent 17a0288 commit 8372c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/twinklearv.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ Twinkle.arv.callback.evaluate = function(e) {
}
uaaPage.getStatusElement().status( 'Adding new report...' );
uaaPage.setEditSummary( 'Reporting [[Special:Contributions/' + uid + '|' + uid + ']].'+ Twinkle.getPref('summaryAd') );
uaaPage.setPageText( text.replace( /List begins below this line.\s*-->\s*/, "List begins below this line.\n-->\n" + reason + "\n\n" ) ); // add at top
uaaPage.setPageText( text + "\n\n" + reason );
uaaPage.save();
} );
break;
Expand Down

0 comments on commit 8372c9c

Please sign in to comment.