Manual:ChangesList.php

Other languages:

ChangesList.php contains the base class for all changes lists. The class is used for formatting recent changes, related changes, and watchlist.

MethodsEdit

  • recentChangesFlags ($flags, $nothing= ' ') - Returns the appropriate flags for new page, minor change and patrolling. $flags is an associative array of 'flag' => Boolean.
  • static ChangesList::flag() - 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 .