|
MediaWiki
REL1_21
|


Public Member Functions | |
| __construct ($page= 'Watchlist') | |
| Constructor. | |
| execute ($par) | |
| Execute. | |
Protected Member Functions | |
| countItems ($dbr) | |
| Count the number of items on a user's watchlist. | |
| cutoffLinks ($days, $options=array()) | |
| Returns html. | |
| daysLink ($d, $options=array()) | |
| getGroupName () | |
| Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'. | |
| hoursLink ($h, $options=array()) | |
| showHideLink ($options, $message, $name, $value) | |
Protected Attributes | |
| $customFilters | |
Definition at line 23 of file SpecialWatchlist.php.
| SpecialWatchlist::__construct | ( | $ | page = 'Watchlist' | ) |
| SpecialWatchlist::countItems | ( | $ | dbr | ) | [protected] |
Count the number of items on a user's watchlist.
| $dbr | A database connection |
Definition at line 514 of file SpecialWatchlist.php.
References $count, $dbr, $res, array(), and SpecialPage\getUser().
Referenced by execute().
| SpecialWatchlist::cutoffLinks | ( | $ | days, |
| $ | options = array() |
||
| ) | [protected] |
Returns html.
Definition at line 491 of file SpecialWatchlist.php.
References $options, array(), as, daysLink(), SpecialPage\getLanguage(), hoursLink(), and SpecialPage\msg().
Referenced by execute().
| SpecialWatchlist::daysLink | ( | $ | d, |
| $ | options = array() |
||
| ) | [protected] |
Definition at line 474 of file SpecialWatchlist.php.
References $options, array(), SpecialPage\getLanguage(), SpecialPage\getTitle(), Linker\linkKnown(), and SpecialPage\msg().
Referenced by cutoffLinks().
| SpecialWatchlist::execute | ( | $ | par | ) |
Execute.
| $par | Parameter passed to the page |
Reimplemented from SpecialPage.
Definition at line 37 of file SpecialWatchlist.php.
References $dbr, $form, $name, $options, $output, $params, $res, $s, $timestamp, $title, $user, $value, SpecialPage\addFeedLinks(), array(), as, SpecialEditWatchlist\buildTools(), Xml\checkLabel(), Xml\closeElement(), countItems(), cutoffLinks(), LogPage\DELETED_ACTION, LogPage\DELETED_RESTRICTED, SpecialEditWatchlist\EDIT_CLEAR, SpecialEditWatchlist\EDIT_RAW, Xml\fieldset(), MWCryptRand\generateHex(), MWNamespace\getAssociated(), SpecialPage\getContext(), SpecialPage\getLanguage(), SpecialEditWatchlist\getMode(), SpecialPage\getOutput(), SpecialPage\getRequest(), SpecialPage\getTitle(), SpecialPage\getTitleFor(), SpecialPage\getUser(), global, Html\hidden(), Linker\linkKnown(), ChangeTags\modifyDisplayQuery(), SpecialPage\msg(), Html\namespaceSelector(), ChangesList\newFromContext(), RecentChange\newFromRow(), Xml\openElement(), SpecialPage\outputHeader(), RecentChange\selectFields(), SpecialPage\setHeaders(), showHideLink(), Xml\submitButton(), text, wfAppendToArrayIfNotDefault(), wfGetDB(), wfGetLB(), wfRunHooks(), and wfTimestampNow().
| SpecialWatchlist::getGroupName | ( | ) | [protected] |
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
Reimplemented from SpecialPage.
Definition at line 524 of file SpecialWatchlist.php.
| SpecialWatchlist::hoursLink | ( | $ | h, |
| $ | options = array() |
||
| ) | [protected] |
Definition at line 463 of file SpecialWatchlist.php.
References $options, array(), SpecialPage\getLanguage(), SpecialPage\getTitle(), and Linker\linkKnown().
Referenced by cutoffLinks().
| SpecialWatchlist::showHideLink | ( | $ | options, |
| $ | message, | ||
| $ | name, | ||
| $ | value | ||
| ) | [protected] |
Definition at line 456 of file SpecialWatchlist.php.
References $name, $options, $value, array(), SpecialPage\getTitle(), Linker\linkKnown(), and SpecialPage\msg().
Referenced by execute().
SpecialWatchlist::$customFilters [protected] |
Definition at line 24 of file SpecialWatchlist.php.