Page MenuHomePhabricator

Special:AdvancedTranslate conflict recognition fails on space/underscore
Closed, ResolvedPublic

Description

Special:AdvancedTranslate should treat underscore and space as the same character for conflict recognition.

Observed: "a b" and "a_b" can be used as names for two different special pages without getting an error notice.

Expected: because MediaWiki does not distinguish between a space and an underscore in special page aliases, unexpected conflicts should be avoided and 'save time', Translate should do some magic (replace spaces by underscores?) to not allow saving when the less clear conflicts are present.


Version: unspecified
Severity: minor

Details

Reference
bz21790

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:49 PM
bzimport set Reference to bz21790.
  • Bug 21925 has been marked as a duplicate of this bug. ***

I think it is a good idea to create Title objects and compare these objects.
Also it is possible to add a check of valid titles.