Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1356,7 +1356,9 @@ |
1357 | 1357 | |
1358 | 1358 | // It is better to not parse the comment at all than to have templates expanded in the middle |
1359 | 1359 | // TODO: can the checkLabel be moved outside of the div so that wrapWikiMsg could be used? |
1360 | | - $key = $comment ? 'confirmrecreate' : 'confirmrecreate-noreason'; |
| 1360 | + $key = $comment === '' |
| 1361 | + ? 'confirmrecreate-noreason' |
| 1362 | + : 'confirmrecreate'; |
1361 | 1363 | $wgOut->addHTML( |
1362 | 1364 | '<div class="mw-confirm-recreate">' . |
1363 | 1365 | wfMsgExt( $key, 'parseinline', $username, "<nowiki>$comment</nowiki>" ) . |