Please refer to Copyright Policy as well as the Media Upload Policy for Chrono Wiki. If there are any questions, please direct them into the discussion page. As always, please refer to the Manual of Style when editing.

User talk:Prod: Difference between revisions

From Chrono Wiki, a database for the Chrono series that anyone can edit
Latest comment: 10 December 2011 by SilverCrono in topic Ending the spam, once and for all
Jump to navigation Jump to search
Line 2: Line 2:
Hey there! I think we've decided that we want to edit user rights so that only autoconfirmed-s can create pages. We think that'll help out with some of the spam we've been having. Would do it myself, but I'm pretty sure we need someone with bureaucratic rights to make the change! Thanks in advance! --—[[User:Deyvid Petteys| <span style="color:#4B0082; font face=Edwardian Script ITC;">Radical D </span>]] <small> [[User talk:Deyvid Petteys| <span style="color:#BA55D3; text-shadow: yellow 0 0 4px 4px;"> <sup>(bother \ </sup></span>]] [[Special:Contributions/Deyvid Petteys|<span style="color:#BA55D3; text-shadow: yellow 0 0 4px 4px;"> <sup>stalk)</sup></span>]]</small>  04:06, 20 November 2011 (CST)
Hey there! I think we've decided that we want to edit user rights so that only autoconfirmed-s can create pages. We think that'll help out with some of the spam we've been having. Would do it myself, but I'm pretty sure we need someone with bureaucratic rights to make the change! Thanks in advance! --—[[User:Deyvid Petteys| <span style="color:#4B0082; font face=Edwardian Script ITC;">Radical D </span>]] <small> [[User talk:Deyvid Petteys| <span style="color:#BA55D3; text-shadow: yellow 0 0 4px 4px;"> <sup>(bother \ </sup></span>]] [[Special:Contributions/Deyvid Petteys|<span style="color:#BA55D3; text-shadow: yellow 0 0 4px 4px;"> <sup>stalk)</sup></span>]]</small>  04:06, 20 November 2011 (CST)
:Done. -- [[User:Prod|Prod]] 07:16, 20 November 2011 (CST)
:Done. -- [[User:Prod|Prod]] 07:16, 20 November 2011 (CST)
== Ending the spam, once and for all ==
<pre>
$wgHooks['AbortNewAccount'][] = 'noMailinator';
function noMailinator( $user, $message ) {
if( preg_match( '/@(mailinator|binkmail|zippymail|devnullmail|mailinator2|bobmail|safetymail|tradermail|thisisnotmyrealemail|suremail|spamherelots|dispostable)/i', $user->getEmail() )) {
$message = 'One-time-use email services are forbidden on Chronopedia';
return false;
}
return true;
}
</pre>
Just put this in LocalSettings.php and the problems should be solved. Thanks bro. --{{SC/Sig}} 13:10, 10 December 2011 (UTC)

Revision as of 13:10, 10 December 2011

User-rights

Hey there! I think we've decided that we want to edit user rights so that only autoconfirmed-s can create pages. We think that'll help out with some of the spam we've been having. Would do it myself, but I'm pretty sure we need someone with bureaucratic rights to make the change! Thanks in advance! --— Radical D (bother \ stalk) 04:06, 20 November 2011 (CST)

Done. -- Prod 07:16, 20 November 2011 (CST)

Ending the spam, once and for all

$wgHooks['AbortNewAccount'][] = 'noMailinator'; 

function noMailinator( $user, $message ) { 
if( preg_match( '/@(mailinator|binkmail|zippymail|devnullmail|mailinator2|bobmail|safetymail|tradermail|thisisnotmyrealemail|suremail|spamherelots|dispostable)/i', $user->getEmail() )) { 
$message = 'One-time-use email services are forbidden on Chronopedia'; 
return false; 
} 
return true; 
}

Just put this in LocalSettings.php and the problems should be solved. Thanks bro. --—SilverCrono[T/C] 13:10, 10 December 2011 (UTC)Reply[reply]