Page MenuHomePhabricator

Unable to save translation if identical to original content
Closed, ResolvedPublic

Description

On twn I am unable to save a translation if it's identical to original content, whether via Translate interface or directly on a MediaWiki: page.

Example: [[translatewiki:MediaWiki:Prefs-tokenwatchlist/pl]] (Polish translation is "Token", just like original message).

This is probably caused by I070036f3 (fix for T52124), but I'm not sure if this should be changed in core or in Translate and how, so I'm filing a bug here.


Version: unspecified
Severity: normal
URL: https://translatewiki.net/wiki/FAQ#How_do_I_save_a_translation_which_is_the_same_as_the_English_source?
See Also:

Details

Reference
bz52223

Event Timeline

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

I would be fine disabling this behavior in Translate if there is a way to do it.

Assigning to Niklas in the meanwhile per comment 1 and "I'll leave this open to see if I can easily allow creation of empty pages" on https://translatewiki.net/w/i.php?title=Thread:Support/How_can_I_translate_a_message_as_the_empty_string%3F

That has nothing to do with this bug though.

We once had the plan to move translations for MediaWiki out of the MediaWiki: namespace. That would resolve this issue.

In the meantime, here's a work-around:

  1. Save with a small change.
  2. Edit again, and revert to the same content as the source content.

(In reply to Niklas Laxström from comment #1)

I would be fine disabling this behavior in Translate if there is a way to do
it.

This issue was caused in/by core (I always look for it in that product and get confused): moving back to core until we have certainty that core provides such an easy way to override the thing.

Nikerabbit claimed this task.

I can no longer reproduce this.

Thanks, I will do that (unless someone manages to reproduce it).