Page MenuHomePhabricator

"Show"/"Hide" toggle links in various special pages should be localizable per item
Open, MediumPublic

Description

The "Show"/"Hide" links in various special pages options box should be localizable per item.

Identified special pages:

  • Special:RecentChanges
  • Special:Watchlist
  • Special:Log
  • Special:NewPages
  • Special:WhatLinksHere

Note that Special:NewFiles uses this approach.

Currently, every one of them is produced using the same message ('hide' or 'show'), which makes it impossible to translate them correctly in languages which would require them to be conjugated or something.

Apparently this is a problem on ce.wikipedia, it was reported to me by one of the users there.

https://pl.wikipedia.org/w/?oldid=38131995#Recent_changes
https://ce.wikipedia.org/w/?oldid=150532#re:_pl:Dyskusja_wikipedysty:Matma_Rex.23Recent_changes
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Log-show-hide-thanks/ksh


Version: 1.23.0
Severity: normal
See also: T20577: replace "show/hide" by an icon
Attached:

2013-12-13_15_44_55-Watchlist_-_Wikipedia,_the_free_encyclopedia_-_Opera.png (164×649 px, 6 KB)

Details

Reference
bz58449

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:20 AM
bzimport set Reference to bz58449.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 14085
How it should apparently be translated in Chechen (ce)

(Courtesy of [[:ce:User:Дагиров Умар]]).

Attached:

s-82[1].png (1×1 px, 296 KB)

MatmaRex: Thanks for describing the issue, because I failed to understand it. :(

https://git.wikimedia.org/raw/mediawiki%2Fcore.git/HEAD/languages%2Fmessages%2FMessagesCe.php :
'rcshowhideminor' => '$1 кегийра нисдарш',
'rcshowhidebots' => '$1 шабелхалой',
'rcshowhideliu' => '$1 шайн цӀершца болу декъашхой',
'rcshowhideanons' => '$1 цӀе хьулйина декъашхой',
'rcshowhidepatr' => '$1 хьажжина нисдарш',
'rcshowhidemine' => '$1 айхьа нисдинарш',
'hide' => 'Къайлаяккха',

Change 109296 had a related patch set uploaded by Microchip08:
Make show/hide link in RC individually localizable

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

Hi. What to do next? Sorry if that.

Change 109296 merged by jenkins-bot:
Make show/hide link in RC individually localizable

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

Done now! The new messages should be added on Translatewiki soon. Have fun translating :)

Hm, I'm probably late with my comment, but in Estonian we need to decline the noun differently depending on whether it is preceded by "hide" or "show". So more favourable solution would have been to include the noun also in these new per item messages.

Additional comments here:
[[:translatewiki:Thread:Translating talk:MediaWiki/Split some show/hide messages?]]

Sorry but where to translate the word to hide this message? Should be Къайлабаха

https://translatewiki.net/w/i.php?title=MediaWiki:Wikibase-rc-hide-wikidata/ce&action=edit

Change 116137 had a related patch set uploaded by Bartosz Dziewoński:
SpecialRecentchanges: Don't use nonexistent messages for filter selector

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

Change 116054 had a related patch set uploaded by Bartosz Dziewoński:
Add flaggedrevs-hidereviewed show / hide i18n messages

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

Change 116096 had a related patch set uploaded by Bartosz Dziewoński:
Add missing recent changes show/hide messages

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

This caused some troubles with extensions, see bug 62050. Patches above are to fix them.

(In reply to Umar from comment #9)

Sorry but where to translate the word to hide this message? Should be
Къайлабаха

https://translatewiki.net/w/i.php?title=MediaWiki:Wikibase-rc-hide-wikidata/
ce&action=edit

Yeah, we forgot about this. One of the new patches above is for this, you will be able to translate the text at https://translatewiki.net/w/i.php?title=MediaWiki:Wikibase-rc-hide-wikidata-hide/ce&action=edit

(In reply to Pikne from comment #7)

Hm, I'm probably late with my comment, but in Estonian we need to decline
the noun differently depending on whether it is preceded by "hide" or
"show". So more favourable solution would have been to include the noun also
in these new per item messages.

Additional comments here:
[[:translatewiki:Thread:Translating talk:MediaWiki/Split some show/hide
messages?]]

Please file a separate bug for this :)

(In reply to Bartosz Dziewoński from comment #13)

(In reply to Pikne from comment #7)

Hm, I'm probably late with my comment, but in Estonian we need to decline
the noun differently depending on whether it is preceded by "hide" or
"show". So more favourable solution would have been to include the noun also
in these new per item messages.

Please file a separate bug for this :)

I filed bug 62067 and CC'd you.

Change 116054 merged by jenkins-bot:
Add flaggedrevs-hidereviewed show / hide i18n messages

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

Change 116096 merged by jenkins-bot:
Add missing recent changes show/hide messages

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

Change 116215 had a related patch set uploaded by Hoo man:
SpecialRecentchanges: Don't use nonexistent messages for filter selector

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

Change 116137 merged by jenkins-bot:
SpecialRecentchanges: Don't use nonexistent messages for filter selector

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

Change 116215 merged by jenkins-bot:
SpecialRecentchanges: Don't use nonexistent messages for filter selector

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

For future, please state what you observe and what you expect to see.

Since this change includes a code change, it will take a week from now to appear.

Comment 21 said:
Since this change includes a code change, it will take a week from now to appear.

Hence no need to add further comments to this bug report in the next seven days.

Sorry. You know what I mean?

I'm afraid I don't understand what the issue is :(

I think the issue is that [[Special:RecentChanges]] has the new translations, but the otherwise identical filters at [[Special:Contributions]] do not.

My apologies, when I previously stated [[Special:Contributions]], I meant to say [[Special:Watchlist]].

Hi. I want to tell you about that in two special pages still nothing has changed.

Sorry. When can we expect a change?

Hi. Somebody fix this error?

(In reply to Douglas Gardner from comment #28)

I think the issue is that [[Special:RecentChanges]] has the new
translations, but the otherwise identical filters at
[[Special:Watchlist]] do not.

Why is this bug RESOLVED FIXED then? reopening.

If you do not understand what to do I will try to bring the question correctly.

Status changed again for some reason Sorry

(In reply to Umar from comment #36)

If you do not understand what to do I will try to bring the question
correctly.

I think the issue here is clear: the change needs to be done for [[Special:Watchlist]] too. You only need to wait for some developer to take this bug and fix it. It may have passed unnoticed during some days because of the fact that it was marked as RESOLVED. Please, have a bit of patience :)

why not have a single message for filters of both recentchanges and watchlist?

  • Bug 62067 has been marked as a duplicate of this bug. ***

I'm sorry but I'm waiting for a very long time, I know that nobody will pay but you took this job you please let me finish this work.

Sorry if I'm disturbing you.

Regards Administrator Chechen Wikipedia.

Chechen Wikipedia nothing fixed!

Why not fix it and close the query remains a little?

Let's not wait another two years.

Nemo_bis renamed this task from "Show"/"Hide" links in recent changes / watchlist options box should be localizable per item to "Show"/"Hide" links in recent changes / watchlist / log options box should be localizable per item.May 14 2015, 7:31 AM
Nemo_bis updated the task description. (Show Details)
Nemo_bis set Security to None.

Somebody deals with this problem?

I think we should just get rid of those links and change them to checkboxes or some such. Having links for this type of controls is weird and not user friendly.

Using checkboxes would also allow to change several options at once without having to reload the page for each change, which is a plus

This would solve the problem. Thank you

For recent changes, this would be invalidated by T119084.

Ciencia_Al_Poder renamed this task from "Show"/"Hide" links in recent changes / watchlist / log options box should be localizable per item to "Show"/"Hide" links in recent changes / watchlist / log / newpages options box should be localizable per item.Jan 12 2016, 8:29 PM
Ciencia_Al_Poder updated the task description. (Show Details)
Ciencia_Al_Poder renamed this task from "Show"/"Hide" links in recent changes / watchlist / log / newpages options box should be localizable per item to "Show"/"Hide" toggle links in various special pages should be localizable per item.Jan 23 2016, 1:43 PM
Ciencia_Al_Poder updated the task description. (Show Details)
Ciencia_Al_Poder updated the task description. (Show Details)

Prblemy not solved.

@Umar: We all know that, hence no need to tell us. Could you please refrain from adding such comments that do not add any helpful information to bug reports and just create notifications for everybody subscribed? Thank you. :)
If you would like to get this problem solved, please consider contributing patches or explain why this task should be more urgent than solving other tasks in the long list of unsolved tasks.

Good. Thanks for the clarifications.

@Amire80: This issue has been assigned to you a while ago.
Could you please share a status update? Are you still working (or still plan to work) on this issue? Is there anything that others could help with? If you do not plan to work on this issue anymore, please remove yourself as assignee (via Add Action...Assign / Claim in the dropdown menu) so others could work on it. Thanks a lot!

is this bug still valid? (nowdays there are checkboxes in many places)

is this bug still valid? (nowdays there are checkboxes in many places)

It still affects the non-JavaScript version of Special:RecentChanges (available on an opt-in basis and as a fallback), also Special:NewPages and Special:WhatLinksHere are without checkboxes. For recent changes, as mentioned above, T119084 should be a viable solution.