Page MenuHomePhabricator

Last Edited has a green background based on a freshness algorithm
Closed, ResolvedPublic


Last Edited has a green background based on the following algorithm -

Freshness Algorithm -

article lifetime = AL
number of edits = NE
Time since last edit = T
Average time between edits = AT

Fresh (T) = 1 hour or [(AL/AT)/10] whichever is greater

When Fresh, the background color is #00af8b and the text color is the same.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:26 AM
bzimport set Reference to bz56862.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card

Created attachment 13756
Last Edited Screenshot - Mobile Beta


Indira_Gandhi_-_Wikipedia,_the_free_encyclopedia-1.jpg (797×428 px, 72 KB)

Note: this only makes sense for mainspace, excluding main page, disambigs and probably some other classes of pages (needs investigation).

Talking with Vibha and Kaity it was agreed that the bar should only be green if an edit has occurred in the last 24 hours. This draws attention to the fact that the article is 'fresh' and has recently been edited. If we were to relate this to the birth day of an article the colour loses meaning as it will not be so clear why the bar is green as the day an article was created is nowhere in the UI.

Change 96082 had a related patch set uploaded by Jdlrobson:
Make last modified bar green until page is >= 24 hours

Change 96082 merged by jenkins-bot:
Make last modified bar green until page is >= 24 hours