MediaWiki REL1_34
|
Feed to Special:RecentChanges and Special:RecentChangesLinked. More...
Public Member Functions | |
__construct ( $format) | |
getFeedObject ( $title, $description, $url) | |
Get a ChannelFeed subclass object to use. | |
Static Public Member Functions | |
static | buildItems ( $rows) |
Generate the feed items given a row from the database. | |
Private Attributes | |
$format | |
Feed to Special:RecentChanges and Special:RecentChangesLinked.
Definition at line 31 of file ChangesFeed.php.
ChangesFeed::__construct | ( | $format | ) |
string | $format | Feed's format (either 'rss' or 'atom') |
Definition at line 37 of file ChangesFeed.php.
References $format.
|
static |
Generate the feed items given a row from the database.
object | $rows | IDatabase resource with recentchanges rows |
Definition at line 71 of file ChangesFeed.php.
References $title, FeedUtils\formatDiff(), RC_EDIT, RC_EXTERNAL, and wfMessage().
Referenced by ApiFeedRecentChanges\execute().
ChangesFeed::getFeedObject | ( | $title, | |
$description, | |||
$url ) |
Get a ChannelFeed subclass object to use.
string | $title | Feed's title |
string | $description | Feed's description |
string | $url | Url of origin page |
Definition at line 49 of file ChangesFeed.php.
References $format, $wgFeedClasses, $wgLanguageCode, and $wgSitename.
|
private |
Definition at line 32 of file ChangesFeed.php.
Referenced by __construct(), and getFeedObject().