Last modified: 2007-04-02 06:28:14 UTC
Log into a Wikimedia project and click My watchlist. Note how it is bold. Now
click on My contributions.
Expected result: My contributions is bold
Actual result: My contributions is not bold
which lead me to file the bug. It's really trivial though.
This seems to be explicitly disabled at the moment in SkinTemplate.php:
# FIXME # 'active' => ( $href == $pageurl . '/' . $this->username )
If just uncommented it would fail on usernames with spaces, special chars, etc,
and also on subsequent views with extra parameters because of how the target
gets passed differently.
Use the Title object. Seems trivial to fix... something like
$contributions_title =& Title::makeTitle(NS_SPECIAL, 'Contributions/' .
$contributions_url = $user->escapeLocalURL();
Above fix wouldn't fix the problem on "subsequent views with extra parameters"
though. It's a half-step towards the solution. Somehow, the skin would have to
know that: one, the current page was Special:Contributions and two, the current
page's target was the current username.
(In reply to comment #3)
> ... It's a half-step towards the solution. ...
Maybe a "half-step towards the solution" is better then actual behaviour.
[[Special:Recentchangeslinked/Main_Page]] does not have this problem. It shoes
2468 watched items both in wiki syntax and with special parameters.
Marking as 'depends on':
Bug 2468: The code that generates the namespace form for Special:Contributions,
Special:Allpages and Special:Recentchanges should be merged
best regards reinhardt [[user:gangleri]]
(In reply to comment #4)
> ... It shoes
> 2468 watched items both in wiki syntax and with special parameters.
It shoes *bold* watched items both in wiki syntax and with special parameters.
Sorry wrong "copy and paste".
Remove bogus dependency. Please stop spreading this crap all over the place.
I first noticed this bug. It hadn't been commented on in a while. It seems like
it should be simple to fix. I also noticed that MediaWiki itself doesn't do the
whole bold highlighting thing. Shouldn't it?
*** Bug 8794 has been marked as a duplicate of this bug. ***
*** Bug 9359 has been marked as a duplicate of this bug. ***
Fixed in r20902.