Last modified: 2011-01-25 00:58:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23790, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21790 - Special:AdvancedTranslate conflict recognition fails on space/underscore
Special:AdvancedTranslate conflict recognition fails on space/underscore
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Niklas Laxström
:
: 21925 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-07 23:39 UTC by Siebrand Mazeland
Modified: 2011-01-25 00:58 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Siebrand Mazeland 2009-12-07 23:39:06 UTC
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.
Comment 1 Umherirrender 2009-12-22 19:55:24 UTC
*** Bug 21925 has been marked as a duplicate of this bug. ***
Comment 2 Umherirrender 2009-12-22 19:56:18 UTC
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.
Comment 3 Siebrand Mazeland 2010-05-23 15:16:36 UTC
Fixed in r66798.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links