includes/specials/SpecialWatchlist.php File Reference

Go to the source code of this file.

Functions

 wfSpecialWatchlist ($par)
 Constructor.
 wlShowHideLink ($options, $message, $name, $value)
 wlHoursLink ($h, $page, $options=array())
 wlDaysLink ($d, $page, $options=array())
 wlCutoffLinks ($days, $page= 'Watchlist', $options=array())
 Returns html.
 wlCountItems (&$user, $talk=true)
 Count the number of items on a user's watchlist.


Detailed Description

Definition in file SpecialWatchlist.php.


Function Documentation

wfSpecialWatchlist ( $  par  ) 

wlCountItems ( &$  user,
$  talk = true 
)

Count the number of items on a user's watchlist.

Parameters:
$talk Include talk pages
Returns:
integer

Definition at line 450 of file SpecialWatchlist.php.

References $dbr, $res, and wfGetDB().

wlCutoffLinks ( $  days,
$  page = 'Watchlist',
$  options = array() 
)

Returns html.

Definition at line 424 of file SpecialWatchlist.php.

References $i, $options, $page, $wgLang, wfMsgExt(), wlDaysLink(), and wlHoursLink().

Referenced by wfSpecialWatchlist().

wlDaysLink ( $  d,
$  page,
$  options = array() 
)

Definition at line 403 of file SpecialWatchlist.php.

References $options, $page, $s, $title, $wgContLang, $wgLang, $wgUser, Title::newFromText(), and wfMsgHtml().

Referenced by wlCutoffLinks().

wlHoursLink ( $  h,
$  page,
$  options = array() 
)

Definition at line 386 of file SpecialWatchlist.php.

References $options, $page, $s, $title, $wgContLang, $wgLang, $wgUser, and Title::newFromText().

Referenced by wlCutoffLinks().

wlShowHideLink ( $  options,
$  message,
$  name,
$  value 
)

Definition at line 371 of file SpecialWatchlist.php.

References $name, $options, $title, $wgUser, SpecialPage::getTitleFor(), and wfMsgHtml().

Referenced by wfSpecialWatchlist().


Generated on Sat Apr 30 22:57:26 2011 for MediaWiki by  doxygen 1.5.9