Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes. edit

Thank you for your patience while we continue to upgrade DDOwiki to the latest MediaWiki LTS version. If you find any errors on the site, please visit the Discord chat server and let us know.

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to remove ads, 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

From DDO wiki
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.
    } );
  }