Public Member Functions | |
| __construct () | |
| execute ($par) | |
| Default execute method Checks user permissions, calls the function given in mFunction. | |
Protected Member Functions | |
| setSyndicated () | |
| contributionsSub ($nt, $id) | |
| Generates the subheading with links. | |
| getForm () | |
| Generates the namespace selector form with hidden attributes. | |
| feed ($type) | |
| Output a subscription feed listing recent edits to this page. | |
| feedTitle () | |
| feedItem ($row) | |
| feedItemAuthor ($revision) | |
| feedItemDesc ($revision) | |
Definition at line 8 of file SpecialContributions.php.
| SpecialContributions::__construct | ( | ) |
Definition at line 10 of file SpecialContributions.php.
| SpecialContributions::contributionsSub | ( | $ | nt, | |
| $ | id | |||
| ) | [protected] |
Generates the subheading with links.
Definition at line 143 of file SpecialContributions.php.
References $user, $wgLang, $wgSysopUserBans, $wgUser, SpecialPage::getTitleFor(), IP::isIPAddress(), User::newFromId(), wfEmptyMsg(), wfMsg(), wfMsgHtml(), and wfRunHooks().
Referenced by execute().
| SpecialContributions::execute | ( | $ | par | ) |
Default execute method Checks user permissions, calls the function given in mFunction.
This may be overridden by subclasses.
Reimplemented from SpecialPage.
Definition at line 14 of file SpecialContributions.php.
References $ns, $text, $wgLang, $wgOut, $wgRequest, $wgUser, contributionsSub(), feed(), getForm(), User::idFromName(), IP::isIPAddress(), Title::makeTitleSafe(), SpecialPage::outputHeader(), SpecialPage::setHeaders(), setSyndicated(), wfEmptyMsg(), wfMsg(), wfMsgExt(), wfMsgHtml(), wfMsgNoTrans(), and wfRunHooks().
| SpecialContributions::feed | ( | $ | type | ) | [protected] |
Output a subscription feed listing recent edits to this page.
| string | $type |
Definition at line 282 of file SpecialContributions.php.
References $row, $type, $wgFeed, $wgFeedClasses, $wgFeedLimit, $wgOut, $wgRequest, feedItem(), feedTitle(), SpecialPage::getTitle(), Title::makeTitleSafe(), and wfMsgExt().
Referenced by execute().
| SpecialContributions::feedItem | ( | $ | row | ) | [protected] |
Definition at line 328 of file SpecialContributions.php.
References $revision, $row, $title, feedItemAuthor(), feedItemDesc(), and Revision::newFromTitle().
Referenced by feed().
| SpecialContributions::feedItemAuthor | ( | $ | revision | ) | [protected] |
Definition at line 348 of file SpecialContributions.php.
References $revision.
Referenced by feedItem().
| SpecialContributions::feedItemDesc | ( | $ | revision | ) | [protected] |
Definition at line 352 of file SpecialContributions.php.
References $revision, FeedItem::stripComment(), and wfMsgForContent().
Referenced by feedItem().
| SpecialContributions::feedTitle | ( | ) | [protected] |
Definition at line 321 of file SpecialContributions.php.
References $page, $wgContLanguageCode, $wgSitename, and SpecialPage::getPage().
Referenced by feed().
| SpecialContributions::getForm | ( | ) | [protected] |
Generates the namespace selector form with hidden attributes.
| $this->opts | Array: the options to be included. |
Definition at line 205 of file SpecialContributions.php.
References $name, $wgScript, $wgTitle, ChangeTags::buildTagFilterSelector(), Xml::closeElement(), Xml::dateMenu(), Xml::element(), Xml::hidden(), Xml::input(), Xml::label(), Xml::namespaceSelector(), Xml::openElement(), Xml::radioLabel(), Xml::submitButton(), Xml::tags(), wfEmptyMsg(), wfMsg(), and wfMsgExt().
Referenced by execute().
| SpecialContributions::setSyndicated | ( | ) | [protected] |
Definition at line 127 of file SpecialContributions.php.
References $wgOut, and wfArrayToCGI().
Referenced by execute().
1.5.9