◆ __construct()
SpecialSemanticWatchlist::__construct |
( |
| ) |
|
◆ displayWatchlist()
SpecialSemanticWatchlist::displayWatchlist |
( |
array |
$sets | ) |
|
|
protected |
Displays the watchlist.
- Since
- 0.1
- Parameters
-
◆ execute()
SpecialSemanticWatchlist::execute |
( |
|
$subPage | ) |
|
Main method.
- Since
- 0.1
- Parameters
-
◆ getAndDisplaySets()
SpecialSemanticWatchlist::getAndDisplaySets |
( |
|
$subPage | ) |
|
|
protected |
Obtains the change sets and displays them by calling displayWatchlist. Also takes care of pagination and displaying appropriate message when there are no results.
- Since
- 0.1
- Parameters
-
◆ getChangeSetHTML()
SpecialSemanticWatchlist::getChangeSetHTML |
( |
SWLChangeSet |
$changeSet | ) |
|
|
protected |
Gets the HTML for a single change set (edit).
- Since
- 0.1
- Parameters
-
- Returns
- string
◆ getChangeSetsData()
SpecialSemanticWatchlist::getChangeSetsData |
( |
|
$limit, |
|
|
|
$continue |
|
) |
| |
|
protected |
Returns the response of an internal request to the API semanticwatchlist query module.
- Since
- 0.1
- Parameters
-
integer | $limit | |
string | $continue | |
- Returns
- array
◆ getDescription()
SpecialSemanticWatchlist::getDescription |
( |
| ) |
|
- See also
- SpecialPage::getDescription
- Since
- 0.1
◆ getPagingControlHTML()
SpecialSemanticWatchlist::getPagingControlHTML |
( |
|
$limit, |
|
|
|
$currentContinue, |
|
|
|
$subPage, |
|
|
|
$newContinue, |
|
|
|
$offset |
|
) |
| |
|
protected |
◆ getPropertyHTML()
SpecialSemanticWatchlist::getPropertyHTML |
( |
SMWDIProperty |
$property, |
|
|
array |
$changes |
|
) |
| |
|
protected |
Returns the HTML for the changes to a single propety.
- Parameters
-
- Returns
- string
◆ registerUserView()
SpecialSemanticWatchlist::registerUserView |
( |
User |
$user | ) |
|
|
protected |
Register the user viewed the watchlist, so we know that following chnages should result into notification emails is desired.
- Since
- 0.1
- Parameters
-
◆ setHeaders()
SpecialSemanticWatchlist::setHeaders |
( |
| ) |
|
Sets headers - this should be called from the execute() method of all derived classes!
- Since
- 0.1
◆ userHasWatchlistGroups()
SpecialSemanticWatchlist::userHasWatchlistGroups |
( |
User |
$user | ) |
|
|
protected |
Rteurns if the specified user has any watchlist groups in his notification list.
- Since
- 0.1
- Parameters
-
- Returns
- boolean
The documentation for this class was generated from the following file:
- SpecialSemanticWatchlist.php