Page MenuHomePhabricator

CVS-HEAD.diff

Authored By
bzimport
Nov 21 2014, 8:58 PM
Size
3 KB
Referenced Files
None
Subscribers
None

CVS-HEAD.diff

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>&nbsp; &nbsp; &nbsp; &nbsp;';
- $r .= $this->recentChangesFlags( $rc_new, $rc_minor, $rcObj->unpatrolled );
+ $r .= $this->recentChangesFlags( $rc_new, $rc_minor, $rc_bot, $rcObj->unpatrolled );
$r .= '&nbsp;</tt>';
$o = '';
@@ -632,7 +634,7 @@
if( $rc_type == RC_MOVE || $rc_type == RC_MOVE_OVER_REDIRECT ) {
$r .= '&nbsp;&nbsp;&nbsp;';
} 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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2073
Default Alt Text
CVS-HEAD.diff (3 KB)

Event Timeline