Last modified: 2013-03-26 11:24:12 UTC
At least Special:Search shows the relevance in form 100.0 % while in many languages it should be 100,0 %.
Created attachment 3983 [details] Format percent and size This patch should does the job, but it's untested as I have no LuceneSearch 2.0 installed for my testwiki.
One problem I see with this patch is that if [[MediaWiki:Searchsize]] is already customized (as for instance on English Wikipedia), then you'll get the KB or KiB or Ko or whatever's already there duplicated after the size marker that's added by the new code. The best way to handle messages that are incompatible with previous versions is usually to change the message name, so the old customized value doesn't interfere with the new functionality. For instance, changing 'searchsize' to 'search-result-size' or similar would do the job.
Created attachment 4085 [details] Format percent and size (Message renamed) Message renamed per comment #2.
Applied with r28141.
[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]