DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

devel:event:common_wordblock_blocked

COMMON_WORDBLOCK_BLOCKED

Description:
Intercept wordblock
DefaultAction:
Prevents page saving when a wordblock occurs
Preventable:
yes
Added:
2008-10-12

The event is signalled by checkwordblock() in inc/common.php. You can use this event to take action if a wordblock occurs.

Passed Data

  • data[matches] ⇒ array of wordblock matches
  • data[userinfo] ⇒ detailed userinfo
    • [ip] ⇒ ip address
    • [user] ⇒ username (if logged in)
    • [name] ⇒ real name (if logged in)
    • [mail] ⇒ mail address (if logged in)

See also

devel/event/common_wordblock_blocked.txt · Last modified: 2018-12-08 15:09 by torpedo