Last modified: 2009-07-21 11:19:10 UTC
With the recent changes to the way separators have been implemented (bug7509, r47046 and related) there is now an unresolvable inconsistency in the way they are used in watchlist entries. Without ERC, entries show up like this: (diff) (hist) . . Glenn Quagmire; 17:29 . . (+18) . . 86.20.232.82 (talk | block) [rollback] and With ERC, like this: 17:29 Glenn Quagmire (diff; hist) . . (+18) . . 86.20.232.82 (talk | block) [rollback] Note the *horrible* "diff; hist" construct that is now created. *BUT* that semicolon is from the same system message ([[MediaWiki:semicolon-separator]]) that produces the semicolon after the article title without ERC. The bug is that, with ERC, the diff/hist links should use the [[MediaWiki:pipe-separator]] system message for the separator. I've looked through the various code revs associated with these changes, and I can't get my head around where to find the relevant lines; assigning to siebrand 'cos he did them in the first place :D
Not accepting assignment. Reason: Enhanced RC is done by JS as far as I know, and I have never made changes in there.
I propose this solution: (diff | hist) . . Glenn Quagmire; 17:29 . . (+18) . . 86.20.232.82 (talk | block) and with ERC: 17:29 Glenn Quagmire (diff | hist) . . (+18) . . 86.20.232.82 (talk | block)
@Siebrand: I know some of it is done with JS, but there is also a significant amount of different stuff that comes out of the PHP base. JS is AFAIK just for collapsing the multiple operations together. @Raimond: I generally agree, but A) that then makes the display without ERC different to the appearance on page histories (unless you want to change them too), and B) is a separate issue to fixing the diff/hist links with ERC.
Did a quick check on 1.13 and 1.14 installations... Standard RC looks like: (diff) (hist) . . Main Page; 16:44 . . (+9) . . WikiSysop (Talk | contribs | block) Enhanced RC looks like: Main Page (diff; hist) . . (+9) . . WikiSysop (Talk | contribs | block) This is exactly what it looks like now, so apparently there has not in fact been a change; the basis of this bug is incorrect. Resolving INVALID.
Ok, so it's not a recent change, that explains why I couldn't find it in any of Siebrand's commits. It's still Wierd(TM). So remove the dependency, make it an enhancement, and say that it should be *internally* consistent with the "talk/contribs/block" and "rollback/undo" toolbars. Or it should be two separate brackets like without ERC. But it should definitely not be AFAIK the **only place on-wiki** (apart from RC which uses the same code) where a bracketed toolbar is separated by a semicolon.
Created attachment 5963 [details] one-line change to ChangesList.php Found it; one-line change at the end of the longest call stack I've seen for a while (no wonder the HTML output of the watchlist is such a mess!).
Created attachment 6361 [details] updated patch, against r53416 Original patch is 11,000 revisions out of date now :S Updated patch and tested against r53416.
Patch applied with r53582.