Index: trunk/phase3/includes/DifferenceEngine.php |
— | — | @@ -171,13 +171,26 @@ |
172 | 172 | 'diff=next&oldid='.$this->mNewid, '', '', 'id="differences-nextlink"' ); |
173 | 173 | } |
174 | 174 | |
| 175 | + $oldminor = ''; |
| 176 | + $newminor = ''; |
| 177 | + |
| 178 | + if ($this->mOldRev->mMinorEdit == 1) { |
| 179 | + $oldminor = wfElement( 'span', array( 'class' => 'minor' ), |
| 180 | + wfMsg( 'minoreditletter') ) . ' '; |
| 181 | + } |
| 182 | + |
| 183 | + if ($this->mNewRev->mMinorEdit == 1) { |
| 184 | + $newminor = wfElement( 'span', array( 'class' => 'minor' ), |
| 185 | + wfMsg( 'minoreditletter') ) . ' '; |
| 186 | + } |
| 187 | + |
175 | 188 | $oldHeader = "<strong>{$this->mOldtitle}</strong><br />" . |
176 | 189 | $sk->revUserTools( $this->mOldRev ) . "<br />" . |
177 | | - $sk->revComment( $this->mOldRev ) . "<br />" . |
| 190 | + $oldminor . $sk->revComment( $this->mOldRev ) . "<br />" . |
178 | 191 | $prevlink; |
179 | 192 | $newHeader = "<strong>{$this->mNewtitle}</strong><br />" . |
180 | 193 | $sk->revUserTools( $this->mNewRev ) . " $rollback<br />" . |
181 | | - $sk->revComment( $this->mNewRev ) . "<br />" . |
| 194 | + $newminor . $sk->revComment( $this->mNewRev ) . "<br />" . |
182 | 195 | $nextlink . $patrol; |
183 | 196 | |
184 | 197 | $this->showDiff( $oldHeader, $newHeader ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -151,6 +151,7 @@ |
152 | 152 | * (bug 7826) Fix typos in two English messages. |
153 | 153 | * (bug 5365) Stop users being prompted to enter an edit summary for null edits, |
154 | 154 | if they have selected that option in preferences. |
| 155 | +* (bug 5936) Show an 'm' to the left of the edit summary on diff pages for minor edits. |
155 | 156 | |
156 | 157 | == Languages updated == |
157 | 158 | |