MediaWiki talk:DRN-wizard.js/sandbox: Difference between revisions

Content deleted Content added
creating a sandbox for the main DRN gadget
 
 
(3 intermediate revisions by 2 users not shown)
Line 201:
report += "<span style=\"font-size:110%\">'''Users involved'''</span>\n";
var userIndex;
for ( userIndex = 0; userIndex < userArraythis.involved_users.length; userIndex++ )
{
var user = this.involved_users[ userIndex ];
Line 224:
//User statements
var currentUser = mw.config.get( 'wgUserName' );
for ( userIndex = 0; userIndex < userArraythis.involved_users.length; userIndex++ ) {
var user = this.involved_users[ userIndex ];
{
if ( userArray[ userIndex ]user != currentUser ) {
report += '==== Summary of dispute by ' + userArray[ userIndex ]user + " ====\n<div style=\"font-size:smaller\">Please keep it brief - less than 2000 characters if possible, it helps us help you quicker.</div>\n\n";
}
}
 
//Discussion
Line 333:
var intro = '';
 
if ( typeof errorMsg !=== 'undefinedstring' ) {
intro = '<p class="warning">' + errorMsg + '</p>';
}