Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:$wgRecentChangesFlags

From mediawiki.org
Translate this page
Languages:
Recent changes, new pages, watchlist and history: $wgRecentChangesFlags
Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
Introduced in version:1.22.0 (Gerrit change 66038;git #bb0ab45e)
Removed in version:Still in use
Allowed values:(array)
Default value:(see below)
Other settings:Alphabetical |By function

Details

[edit]

Allow modification of flags onSpecial:RecentChanges,Special:Watchlist andSpecial:RecentChangesLinked.

  • The 'letter' key is a message, which is used as text of theabbr.
  • The 'title' key is a message, which is used as title attribute of theabbr.
  • The optional 'class' key allows to set a CSS class different than the flag name.
  • The optional 'grouping' key allows to set how top-level flag is determined.
    • 'any' will set the top-level flag if any line contains the flag.
    • 'all' will only be set if all lines contain the flag.

Default value

[edit]
MediaWiki version:
1.27
$wgRecentChangesFlags=['newpage'=>['letter'=>'newpageletter','title'=>'recentchanges-label-newpage','legend'=>'recentchanges-legend-newpage','grouping'=>'any',],'minor'=>['letter'=>'minoreditletter','title'=>'recentchanges-label-minor','legend'=>'recentchanges-legend-minor','class'=>'minoredit','grouping'=>'all',],'bot'=>['letter'=>'boteditletter','title'=>'recentchanges-label-bot','legend'=>'recentchanges-legend-bot','class'=>'botedit','grouping'=>'all',],'unpatrolled'=>['letter'=>'unpatrolledletter','title'=>'recentchanges-label-unpatrolled','legend'=>'recentchanges-legend-unpatrolled','grouping'=>'any',],];
MediaWiki versions:
1.24 – 1.26
$wgRecentChangesFlags=array('newpage'=>array('letter'=>'newpageletter','title'=>'recentchanges-label-newpage','legend'=>'recentchanges-legend-newpage',),'minor'=>array('letter'=>'minoreditletter','title'=>'recentchanges-label-minor','legend'=>'recentchanges-legend-minor','class'=>'minoredit',),'bot'=>array('letter'=>'boteditletter','title'=>'recentchanges-label-bot','legend'=>'recentchanges-legend-bot','class'=>'botedit',),'unpatrolled'=>array('letter'=>'unpatrolledletter','title'=>'recentchanges-label-unpatrolled','legend'=>'recentchanges-legend-unpatrolled',),);
MediaWiki versions:
1.22 – 1.23
$wgRecentChangesFlags=array('newpage'=>array('letter'=>'newpageletter','title'=>'recentchanges-label-newpage'),'minor'=>array('letter'=>'minoreditletter','title'=>'recentchanges-label-minor','class'=>'minoredit'),'bot'=>array('letter'=>'boteditletter','title'=>'recentchanges-label-bot','class'=>'botedit'),'unpatrolled'=>array('letter'=>'unpatrolledletter','title'=>'recentchanges-label-unpatrolled'),);

See also

[edit]
Setup
Implementation
Extension points
General
Pages
Content
Wiki markup
Moderation
Authentication
Best practices
Tools
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:$wgRecentChangesFlags&oldid=7665032"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp