Exemplo n.º 1
0
function wfMyTwitterOnSave(&$article, &$user, $text, $summary)
{
    if (preg_match("@Quick edit while patrolling@", $summary) && MyTwitter::userHasOption($user, "quickedit")) {
        MyTwitter::tweetQuickEdit($article->getTitle(), $user);
    }
    return true;
}