Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2497
CVS-HEAD.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 8:58 PM
2014-11-21 20:58:41 (UTC+0)
Size
3 KB
Referenced Files
None
Subscribers
None
CVS-HEAD.diff
View Options
Index: includes/ChangesList.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/ChangesList.php,v
retrieving revision 1.36
diff -u -r1.36 ChangesList.php
--- includes/ChangesList.php 16 Dec 2005 23:56:44 -0000 1.36
+++ includes/ChangesList.php 4 Jan 2006 17:54:07 -0000
@@ -46,11 +46,13 @@
/**
* Returns the appropiate flags for new page, minor change and patrolling
*/
- function recentChangesFlags( $new, $minor, $patrolled, $nothing = ' ' ) {
+ function recentChangesFlags( $new, $minor, $bot, $patrolled, $nothing = ' ' ) {
$f = $new ? '<span class="newpage">' . wfMsgHtml( 'newpageletter' ) . '</span>'
: $nothing;
$f .= $minor ? '<span class="minor">' . wfMsgHtml( 'minoreditletter' ) . '</span>'
: $nothing;
+ $f .= $bot ? '<span class="botedit">' . wfMsgHtml( 'boteditletter' ) . '</span>'
+ : $nothing;
$f .= $patrolled ? '<span class="unpatrolled">!</span>' : $nothing;
return $f;
}
@@ -297,7 +299,7 @@
$this->insertDiffHist($s, $rc, $unpatrolled);
# M, N and ! (minor, new and unpatrolled)
- $s .= ' ' . $this->recentChangesFlags( $rc_type == RC_NEW, $rc_minor, $unpatrolled, '' );
+ $s .= ' ' . $this->recentChangesFlags( $rc_type == RC_NEW, $rc_minor, $rc_bot, $unpatrolled, '' );
$this->insertArticleLink($s, $rc, $unpatrolled, $watched);
wfProfileOut($fname.'-page');
@@ -484,7 +486,7 @@
# Main line
$r .= '<tt>';
- $r .= $this->recentChangesFlags( $isnew, false, $unpatrolled );
+ $r .= $this->recentChangesFlags( $isnew, false, false, $unpatrolled );
# Timestamp
$r .= ' '.$block[0]->timestamp.' ';
@@ -526,7 +528,7 @@
$r .= $this->spacerArrow();
$r .= '<tt> ';
- $r .= $this->recentChangesFlags( $rc_new, $rc_minor, $rcObj->unpatrolled );
+ $r .= $this->recentChangesFlags( $rc_new, $rc_minor, $rc_bot, $rcObj->unpatrolled );
$r .= ' </tt>';
$o = '';
@@ -632,7 +634,7 @@
if( $rc_type == RC_MOVE || $rc_type == RC_MOVE_OVER_REDIRECT ) {
$r .= ' ';
} else {
- $r .= $this->recentChangesFlags( $rc_type == RC_NEW, $rc_minor, $rcObj->unpatrolled );
+ $r .= $this->recentChangesFlags( $rc_type == RC_NEW, $rc_minor, $rc_bot, $rcObj->unpatrolled );
}
$r .= ' '.$rcObj->timestamp.' </tt>';
Index: languages/Language.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/languages/Language.php,v
retrieving revision 1.768
diff -u -r1.768 Language.php
--- languages/Language.php 2 Jan 2006 20:58:29 -0000 1.768
+++ languages/Language.php 4 Jan 2006 17:56:59 -0000
@@ -999,6 +999,7 @@
'tableform' => 'table',
'listform' => 'list',
'nchanges' => "$1 changes",
+'boteditletter' => 'b',
'minoreditletter' => 'm',
'newpageletter' => 'N',
'sectionlink' => '→',
Index: skins/chick/main.css
===================================================================
RCS file: /cvsroot/wikipedia/phase3/skins/chick/main.css,v
retrieving revision 1.9
diff -u -r1.9 main.css
--- skins/chick/main.css 13 Oct 2005 01:54:40 -0000 1.9
+++ skins/chick/main.css 4 Jan 2006 18:05:41 -0000
@@ -425,7 +425,7 @@
font-size: 75%;
text-align: right;
}
-span.newpage, span.minor {
+span.newpage, span.minor , span.botedit {
font-weight: bold;
}
Index: skins/monobook/main.css
===================================================================
RCS file: /cvsroot/wikipedia/phase3/skins/monobook/main.css,v
retrieving revision 1.85
diff -u -r1.85 main.css
--- skins/monobook/main.css 2 Jan 2006 14:54:38 -0000 1.85
+++ skins/monobook/main.css 4 Jan 2006 18:05:13 -0000
@@ -1160,7 +1160,7 @@
font-size: 75%;
text-align: right;
}
-span.newpage, span.minor, span.searchmatch {
+span.newpage, span.minor, span.botedit, span.searchmatch {
font-weight: bold;
}
span.unpatrolled {
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2073
Default Alt Text
CVS-HEAD.diff (3 KB)
Attached To
Mode
T6054: [[MediaWiki:Boteditletter]] (default ''b'') to mark entries attributed to bots
Attached
Detach File
Event Timeline
Log In to Comment