Handbuch:ChangesList.php
Appearance
| MediaWiki-Datei: ChangesList.php | |
|---|---|
| Speicherort: | includes/recentchanges/ (includes/RecentChanges/ in 1.46 or later) |
| Quellcode: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| Klassen: | MediaWiki\RecentChanges\ChangesList |
ChangesList.php contains the base class for all changes lists. The class is used for formatting recent changes, related changes, and watchlist.
Methoden
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 containNeu,K,B,!respectively, plus it will have an appropriate title and class. $flag ist ein Schlüssel von$wgRecentChangesFlags.