r25868 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25867‎ | r25868 | r25869 >
Date:03:37, 15 September 2007
Author:aaron
Status:old
Tags:
Comment:
*Fix typo
*Message tweak
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/flaggedrevs.css (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -756,10 +756,10 @@
757757 # Compress $fulltext, passed by reference
758758 $textFlags = self::compressText( $fulltext );
759759 # Our review entry
760 - $revisionset = array(
761 - 'fr_rev_id' => $rev->getId(),
762 - 'fr_namespace' => $rev->getTitle()->getNamespace(),
763 - 'fr_title' => $rev->getTitle()->getDBkey(),
 760+ $revisionset = array(
 761+ 'fr_rev_id' => $rev->getId(),
 762+ 'fr_namespace' => $rev->getTitle()->getNamespace(),
 763+ 'fr_title' => $rev->getTitle()->getDBkey(),
764764 'fr_user' => $user->getId(),
765765 'fr_timestamp' => wfTimestampNow(),
766766 'fr_comment' => '',
@@ -1456,7 +1456,7 @@
14571457 return true;
14581458 }
14591459 }
1460 - $wgOut->addHTML( '<div id="mw-autoreviewtag" class="flaggedrevs_notice plainlinks">' .
 1460+ $wgOut->addHTML( '<div id="mw-autoreviewtag" class="flaggedrevs_warning plainlinks">' .
14611461 wfMsgExt('revreview-auto-w',array('parseinline')) . '</div>' );
14621462 }
14631463 }
Index: trunk/extensions/FlaggedRevs/flaggedrevs.css
@@ -2,7 +2,8 @@
33 .flaggedrevs_tag1,
44 .flaggedrevs_tag2,
55 .flaggedrevs_tag3,
6 -.flaggedrevs_notice {
 6+.flaggedrevs_notice,
 7+.flaggedrevs_warning {
78 border: 1px solid #aaa;
89 padding: 3px;
910 font-size: 80%;
@@ -11,7 +12,7 @@
1213 text-align: center;
1314 }
1415
15 -.flaggedrevs_tag2 {
 16+.flaggedrevs_tag1 {
1617 background-color: #f0f8ff;
1718 }
1819 .flaggedrevs_tag2 {
@@ -23,6 +24,9 @@
2425 .flaggedrevs_notice {
2526 background-color: #f9f9f9;
2627 }
 28+.flaggedrevs_warning {
 29+ background-color: #fff8c6;
 30+}
2731
2832 .flaggedrevs_notes {
2933 border: 1px solid #aaa;
Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php
@@ -51,8 +51,8 @@
5252 'revreview-update' => 'Please review any changes (shown below) made since stable revision to this page. Templates and images
5353 may have also changed.',
5454 'revreview-auto' => '(automatic)',
55 - 'revreview-auto-w' => "'''Note:''' you are making changes to the stable revision, your edits will automatically be reviewed.
56 - You may want to preview the page before saving.",
 55+ 'revreview-auto-w' => "You are editing to the stable revision, any changes will '''automatically be reviewed.
 56+ You may want to preview the page before saving.'''",
5757
5858 'hist-stable' => '[sighted]',
5959 'hist-quality' => '[quality]',

Status & tagging log