MediaWiki
REL1_22
|
Public Member Functions | |
__construct ($page= 'Watchlist', $restriction= 'viewmywatchlist') | |
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' , |
$ | restriction = 'viewmywatchlist' |
||
) |
Constructor.
Definition at line 29 of file SpecialWatchlist.php.
SpecialWatchlist::countItems | ( | $ | dbr | ) | [protected] |
Count the number of items on a user's watchlist.
DatabaseBase | $dbr | A database connection |
Definition at line 523 of file SpecialWatchlist.php.
References $count, $dbr, $res, array(), and SpecialPage\getUser().
Referenced by execute().
SpecialWatchlist::cutoffLinks | ( | $ | days, |
$ | options = array() |
||
) | [protected] |
Returns html.
int | $days | This gets overwritten, so is not used |
array | $options | Query parameters for URL |
Definition at line 500 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 481 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, $key, $name, $options, $output, $params, $res, $s, $timestamp, $title, $user, $value, SpecialPage\addFeedLinks(), array(), as, SpecialEditWatchlist\buildTools(), Xml\checkLabel(), SpecialPage\checkPermissions(), Xml\closeElement(), countItems(), cutoffLinks(), LogPage\DELETED_ACTION, LogPage\DELETED_RESTRICTED, SpecialEditWatchlist\EDIT_CLEAR, SpecialEditWatchlist\EDIT_RAW, Xml\fieldset(), 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 533 of file SpecialWatchlist.php.
SpecialWatchlist::hoursLink | ( | $ | h, |
$ | options = array() |
||
) | [protected] |
Definition at line 470 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 463 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.