Matěj Suchánek has uploaded a new change for review.
https://gerrit.wikimedia.org/r/283744
Change subject: Kill obsolete check
......................................................................
Kill obsolete check
Was a temporary fix for T126428 and was added in
c940fa8ec1f965ea23a3eb8c2d1eeccd994c124b.
Change-Id: Iad988f69068147cdc24c8829627875274540b16e
---
M includes/changes/EnhancedChangesList.php
1 file changed, 2 insertions(+), 10 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/44/283744/1
diff --git a/includes/changes/EnhancedChangesList.php
b/includes/changes/EnhancedChangesList.php
index d79f316..a808516 100644
--- a/includes/changes/EnhancedChangesList.php
+++ b/includes/changes/EnhancedChangesList.php
@@ -305,18 +305,10 @@
$last = 0;
$first = count( $block ) - 1;
# Some events (like logs and category changes) have an
"empty" size, so we need to skip those...
- while ( $last < $first && (
- $block[$last]->mAttribs['rc_new_len']
=== null ||
- # TODO kill the below check after March
2016 - https://phabricator.wikimedia.org/T126428
- $block[$last]->mAttribs['rc_type'] ==
RC_CATEGORIZE
- ) ) {
+ while ( $last < $first &&
$block[$last]->mAttribs['rc_new_len'] === null ) {
$last++;
}
- while ( $last < $first && (
- $block[$first]->mAttribs['rc_old_len']
=== null ||
- # TODO kill the below check after March
2016 - https://phabricator.wikimedia.org/T126428
- $block[$first]->mAttribs['rc_type'] ==
RC_CATEGORIZE
- ) ) {
+ while ( $last < $first &&
$block[$first]->mAttribs['rc_old_len'] === null ) {
$first--;
}
# Get net change
--
To view, visit https://gerrit.wikimedia.org/r/283744
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad988f69068147cdc24c8829627875274540b16e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Matěj Suchánek <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits