MediaWiki file: | ChangesList.php|
---|---|
Location: | includes/changes/ |
Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
Classes: | ChangesList |
ChangesList.php contains the base class for all changes lists. The class is used for formatting recent changes, related changes, and watchlist.
Methods
recentChangesFlags( $flags, $nothing= "\u{00A0}" )
- Returns the appropriate flags for new page, minor change and patrolling. $flags is an associative array of 'flag' => Boolean.static flag( $flag, IContextSource $context = null )
- Provide the "<abbr>
" element appropriate to a given abbreviated flag, namely the flag indicating a new page, a minor edit, a bot edit, or an unpatrolled edit. By default it will contain "N", "m", "b", "!" respectively, plus it will have an appropriate title and class. $flag is one key of$wgRecentChangesFlags
.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.