r88064 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88063‎ | r88064 | r88065 >
Date:12:53, 14 May 2011
Author:kaldari
Status:ok
Tags:
Comment:
explain signature detection in comment
Modified paths:
  • /trunk/extensions/WikiLove/wikiLove.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiLove/wikiLove.js
@@ -288,6 +288,7 @@
289289 e.preventDefault();
290290 var title = '==' + $( '#wlTitle' ).val() + "==\n";
291291 var rawMessage = $( '#wlMessage' ).val();
 292+ // If there isn't a signature already in the message, add one to the end.
292293 if ( rawMessage.indexOf( '~~~' ) == -1 ) {
293294 rawMessage += ' ~~~~';
294295 }

Status & tagging log