Page MenuHomePhabricator

Case sensitivity problem with GlobalUsage
Open, MediumPublic


It seems that there are some problems with the Global Usage extension and wikis with case sensitive initial letters (like Wiktionaries).


Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:04 PM
bzimport added a project: GlobalUsage.
bzimport set Reference to bz23947.
bzimport added a subscriber: Unknown Object (MLST).
Lejonel created this task.Jun 13 2010, 7:58 PM

Bryan.TongMinh wrote:

This can either be fixed at insertion, by always capitalizing the input, or at query, by querying both the uncapitalized and capitalized version.

The first one gives a problem if both capitalized and uncapitalized shared repos are used, because the capitalization would need to be fixed when a file is deleted on one of the shared repos and exists on the other.

The second one is just nasty, but I'm still going for that one.

Bryan.TongMinh wrote:

Patch that implements option 2

Patch; needs testing; posting here so I don't lose it.


*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*

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

baltoslavic wrote:

Bulk patch has not corrected problem on "duplicate" Bug 29803. See details there for continued problem. Links TO Wiktionary are case-sensitive, which is fine, but link searches FROM Wiktionary are also made case-sentitive for purposes of checking usage in Commons, and that is a problem. The search fails to find file usage, as is.

Not sure why the other bug was marked "duplicate", since the problem here seems to have been fixed, but the problem over there has not.

baltoslavic wrote:

For the record, this problem has now been around for TWO YEARS without being fixed. Is anyone working on it?

baltoslavic: See "Assigned To: Nobody" above, so nobody is working on this. To get things going, anybody could take the patch in comment 2 and test and improve it on a local test installation of MediaWiki or on a Wikimedia Labs instance.

Bryan: Any plans to pick up your patch again?

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:30 PM
Restricted Application added subscribers: Matanya, Aklapper. · View Herald TranscriptSep 4 2015, 6:30 PM
Meno25 removed a subscriber: Meno25.Feb 19 2016, 5:44 PM