Game mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!
MediaWiki talk:Gadget-spamBlock
Jump to navigation
Jump to search
Known Issues[edit]
- It's not very pretty
- It has no configurable options
- It has no interface
- The status notification is poor at best
- The "Delete log" option only works if you copy/paste the code into the console for that function:
function deleteLogEntry( entryID, delLogReason ) {
var reasonDelLog = 'Vandalism only account. Removing ';
switch ( delLogReason ) {
case 'phone' :
reasonDelLog += 'possible phone number ';
case 'long' :
reasonDelLog += 'long page name ';
default :
reasonDelLog += 'plausible ';
}
reasonDelLog += '[[Special:RecentChanges|RC]] spam with [[MW:Gadget-spamBlock|DeSpammer]].';
( new mw.Api() ).postWithToken( 'delete', {
action: 'revisiondelete',
type: 'logging',
ids: entryID,
hide: 'content',
reason: reasonDelLog
} ).done( function( rdResult ) {
console.log( '%o', rdResult );
$( 'a#logID-' + entryID ).text( 'log cleaned' ).removeAttr( 'onclick' ).removeAttr( 'style' ).removeAttr( 'title' );// Might change this later so the onclick takes you to the log entry to review it.
} );
}