Page MenuHomePhabricator

Standardize use of ‘hist’ and ‘history’ in RecentChanges
Open, In Progress, Needs TriagePublic3 Estimated Story PointsBUG REPORT

Description

On RecentChanges, individual page edits shorten ‘history’ to ‘hist’. When grouping edits by page, ‘history’ is used. We should pick one or the other.

I’ve highlighted it below for clarity

B3648C0B-E0FC-4CC1-B931-5E5A9ED2FC6F.jpeg (1×750 px, 780 KB)

———ORIGINAL REPORT———
Please don't sometimes say "hist", sometimes say "history"

5 February 2020
   ! 14:08 	高雄市警察局旗山分局‎ diffhist  -35‎  Kenchen1017 talk contribs block →‎呼號 rollback 1 edit Tags: Mobile web edit Mobile edit
1 February 2020
   ! 20:50 	台南市消防局‎‎ 3 changes history  -355‎  [Hs‎ (3×)]
30 January 2020
   ! 14:02 	嘉義縣警察局竹崎分局‎ diffhist  +8‎  Kenchen1017 talk contribs block rollback 1 edit Tags: Mobile web edit Mobile edit
29 January 2020
     22:34 	User creation log  User account S6452559 talk contribs block was created ‎
   ! 12:34 	台北市消防局‎ diffhist  -28‎  Hs talk contribs block rollback 1 edit Tags: Mobile web edit Mobile edit
   ! 12:33 	屏東縣消防局‎‎ 2 changes history  -33‎  [Hs‎ (2×)]

Please be consistent and use only one or only the other. Thanks.

Seen in
https://radioscanningtw.miraheze.org/wiki/%E7%89%B9%E6%AE%8A:%E8%BF%91%E6%9C%9F%E8%AE%8A%E5%8B%95

P.S., odd that I can't copy the "|" separators with my mouse.

Acceptance Criteria

  • Change all instances of hist to history.

Event Timeline

Restricted Application added subscribers: RhinosF1, Aklapper. · View Herald Transcript
RhinosF1 renamed this task from Please don't sometimes say "hist", sometimes say "history" to Standardize use of ‘hist’ and ‘history’ in RecentChanges.Feb 5 2020, 9:16 PM

Updated and made description clearer but it’d be nice to mock the change up first because I don’t know whether the status quo actually looks better from a neatness and design perspective.

P.S., odd that I can't copy the "|" separators with my mouse.

It was declared via CSS

Change #1223197 had a related patch set uploaded (by Dillon; author: Dillon):

[mediawiki/core@master] Standardize use of 'hist' and 'history' in RecentChanges

https://gerrit.wikimedia.org/r/1223197

Change #1223204 had a related patch set uploaded (by Dillon; author: Dillon):

[mediawiki/extensions/Wikibase@master] Update edit-histlink text contents in integration tests

https://gerrit.wikimedia.org/r/1223204

Samwalton9-WMF changed the task status from Open to Stalled.Jan 6 2026, 4:33 PM
Samwalton9-WMF changed the point value for this task from 5 to 3.
Samwalton9-WMF moved this task from Ready to In Progress on the Moderator-Tools-Team (Kanban) board.
Dillon changed the task status from Stalled to In Progress.Jan 7 2026, 8:00 PM

Change #1230374 had a related patch set uploaded (by Jsn.sherman; author: Jsn.sherman):

[mediawiki/extensions/Wikibase@master] client: update hist link text rc changeline

https://gerrit.wikimedia.org/r/1230374

Change #1223204 abandoned by Dillon:

[mediawiki/extensions/Wikibase@master] Update edit-histlink text contents in integration tests

Reason:

Superseded by I0835b5b0c442fb73d9a99616ef1a2460e6ca9290

https://gerrit.wikimedia.org/r/1223204

Change #1230374 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] client: use i18n hist link text in rc test

https://gerrit.wikimedia.org/r/1230374

Change #1223197 merged by jenkins-bot:

[mediawiki/core@master] Standardize use of 'hist' and 'history' in RecentChanges

https://gerrit.wikimedia.org/r/1223197

For historical context, this screenshot used the "Group changes by page" (usenewrc) preference enabled, which was recently changed from opt-in to default in MediaWiki core (and is still opt-in on enwiki and other wikis today via wmgEnhancedRecentChanges).

B3648C0B-E0FC-4CC1-B931-5E5A9ED2FC6F.jpeg (1×750 px, 780 KB)

These short labels were until now consistent with "diff", "cur", and "prev" elsewhere in MediaWiki change lists for user contributions, page history, recent changes, and watchlist. The inconsistency referred to in this task, was historically an inconsistency in the opposite direction. It is only this new layout that spells out "history".

capture-3.png (546×980 px, 146 KB)

capture-0.png (480×1 px, 66 KB)

The more common layout, is a flat list with changes formatted like this:

capture-1.png (458×1 px, 85 KB)

Or, after this change:

capture-2.png (458×1 px, 88 KB)

I'm not disagreeing with the change. However, given the brevity and specificness of the task, it is not clear whether this was understood and intended as part of the change, hence recording it here.

So, it is now not intended to be a shourcut? What with translations? See /qqq to check whether to update.

Scardenasmolinar subscribed.

While QAing this task, we noticed inconsistencies in several languages (es and fr). Moving this back to Ready. The behavior is shown in both the Group by view and the non-grouped view.

Screenshot 2026-01-28 at 12.23.29.png (94×907 px, 35 KB)

Screenshot 2026-01-28 at 12.24.13.png (91×852 px, 40 KB)

Screenshot 2026-01-28 at 12.24.38.png (98×857 px, 43 KB)

The "history" links now look a little bit out of touch with "diff", "cur", "prev", "contribs", as Krinkle has noted above. I think it would have been better to change enhancedrc-history to "hist" and not hist to "history".

Change #1235042 had a related patch set uploaded (by Dillon; author: Dillon):

[mediawiki/core@master] RecentChanges: Revert 'hist' back to 'history'

https://gerrit.wikimedia.org/r/1235042

Test wiki created on Patch demo by KGraessle-WMF using patch(es) linked to this task:
https://e7f747e1d3.catalyst.wmcloud.org/w/

Change #1235042 merged by jenkins-bot:

[mediawiki/core@master] RecentChanges: Revert 'hist' back to 'history'

https://gerrit.wikimedia.org/r/1235042

jsn.sherman subscribed.

We verified in testwiki that the correct message id is being used, however the translations will need to be updated to use the abbreviated version to completely resolve the issue.