Timestamp links should go to the correct oldid links in grouped RC.
See T94452 for more info.
| • DannyH | |
| Jun 10 2015, 5:34 PM |
| F177546: grouped rc oldid link.jpg | |
| Jun 10 2015, 5:34 PM |
Timestamp links should go to the correct oldid links in grouped RC.
See T94452 for more info.
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | • DannyH | T99117 Turn Flow on for Catalan's Viquipèdia talk namespace | |||
| Resolved | SBisson | T102021 D4. Edit patrolling links in grouped RC (CA) |
EnhancedChangesList.php, L303-378 is what builds the output HTML for individual lines.
L334-339 format this specific link (from $params in L320-324)
Most straightforward solution would probably be to break apart the rendering of the individual lines into a separate method (it's part of a 200+ lines method) and - in there - introduce a new hook (similar to EnhancedChangesList::getLogText) that would allow Flow to alter the links/text.
Change 220766 had a related patch set uploaded (by Sbisson):
Add 'EnhancedChangesList::getTimestampLink' hook
Change 220769 had a related patch set uploaded (by Sbisson):
[WIP] Fix timestamp link on Enhanced RC
Change 220769 abandoned by Sbisson:
[WIP] Fix timestamp link on Enhanced RC
Reason:
See https://gerrit.wikimedia.org/r/220780
Change 220931 had a related patch set uploaded (by Sbisson):
[WIP] Add 'EnhancedChangesList::getRecentChangeEntryLineData' hook
Change 220766 abandoned by Sbisson:
[WIP] Add 'EnhancedChangesList::getTimestampLink' hook
Reason:
New approach: https://gerrit.wikimedia.org/r/#/c/220931/1
Change 220953 had a related patch set uploaded (by Sbisson):
[WIP] Fix timestamp link in grouped RC lines
Checked in beta - Timestamp links for Grouped patrolled edits correctly redirect to pages with [Mark this page as patrolled] .