Last modified: 2012-07-02 06:32:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38788, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36788 - "Changed since last visit" should be indicated by a class on the line as well as on an element embedded within the line
"Changed since last visit" should be indicated by a class on the line as well...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: 1.20.0 release
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-12 03:33 UTC by Brad Jorsch
Modified: 2012-07-02 06:32 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brad Jorsch 2012-05-12 03:33:56 UTC
The indicator on the watchlist (bolded title) and history pages (green box with "updated since my last visit") is ok, but to allow more comprehensive styling it would be helpful if there were a class on the containing <li> (or <table> for the 'enhanced' watchlist) to indicate this as well.

If CSS had some way to target "any LI element that contains a STRONG.mw-watched" this wouldn't be necessary.

Gerrit change will be posted shortly; I need to file the bug first to get the bug number for the commit message.
Comment 1 Brad Jorsch 2012-05-12 03:35:51 UTC
Gerrit change is https://gerrit.wikimedia.org/r/7357
Comment 2 Equazcion 2012-05-15 02:48:27 UTC
Two thoughts: 

a) I don't think the <strong> tag is necessary and it would help to eliminate it (or change it to a <span>) in favor of styling entirely via CSS. There's no need for it as long as classes are applied properly instead. The styling can then be accomplished using the CSS stylesheets. 

b) A second class should also be added separately to the <li> or <table> lines that are unaffected, ie. watchlist items that have already been checked. This would allow for greater CSS flexibility for those who want to de-emphasize items they've already viewed, instead of -or- in addition to emphasizing new items.
Comment 3 Brad Jorsch 2012-05-19 21:51:08 UTC
Gerrit change #7357 has been updated with the above suggestions and the suggestions provided on code review. (Hope I did it correctly)
Comment 4 Krinkle 2012-06-05 13:03:01 UTC
-patch-need-review:
Now in Gerrit and being reviewed

-version-1.20:
This has been in MediaWiki for a long time, not recently. For lack of an exact version, choosing unspecified for now.

+milestone-1.20.0:
This will be landing in 1.20 if it is merged soon (which it appears to be)
Comment 5 Krinkle 2012-07-02 06:31:54 UTC
Merged in I90bc95db061274d4de782578a4e91f954481adfd.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links