Semantic MediaWiki and related extensions
|
Static Public Member Functions | |
static | mailAssigneesUpdatedTask (Assignees $assignees, WikiPage $article, User $current_user, $text, $summary, $minoredit, $watchthis, $sectionanchor, $flags, $revision) |
static | mailAssignees (WikiPage $article, Content $content, User $user, $status, Assignees $assignees, $revision) |
static | mailNotification (array $assignees, $text, Title $title, User $user, $status) |
static | setUserMailer (\ST\UserMailer $user_mailer) |
static | generateDiffBodyTxt (Title $title, IContextSource $context=null) |
static | remindAssignees () |
static | printDebug ( $debugText, $debugArr=null) |
This class handles the creation and sending of notification emails.
|
static |
Generates a diff txt
Code is similar to DifferenceEngine::generateTextDiffBody
Title | $title | |
IContextSource | $context |
ComplexityException | |
MWException |
|
static |
WikiPage | $article | |
Content | $content | |
User | $user | |
integer | $status | |
Assignees | $assignees |
ComplexityException | |
MWException | boolean $wgSemanticTasksNotifyIfUnassigned |
|
static |
Mails the assignees when the task is modified
Assignees | $assignees | |
WikiPage | $article | |
User | $current_user | |
Content | $text | |
string | $summary | Unused |
bool | $minoredit | |
null | $watchthis | Unused |
null | $sectionanchor | Unused |
$flags |
ComplexityException | |
MWException |
|
static |
Sends mail notifications
array | $assignees | |
string | $text | |
Title | $title | |
User | $user | |
integer | $status |
MWException | |
ComplexityException | string $wgSitename |
|
static |
Prints debugging information. $debugText is what you want to print, $debugVal is the level at which you want to print the information.
boolean $wgSemanticTasksDebug
string | $debugText | |
string | $debugArr | private |
|
static |
Run by the maintenance script to remind the assignees
Exception | string $wgSitename Language $wgLang |