At least Special:Search shows the relevance in form 100.0 % while in many languages it should be 100,0 %.
Version: unspecified
Severity: normal
Danny_B | |
Aug 10 2007, 3:48 AM |
F4026: LuceneSearch_formatnum_renamed.patch | |
Nov 21 2014, 9:49 PM |
At least Special:Search shows the relevance in form 100.0 % while in many languages it should be 100,0 %.
Version: unspecified
Severity: normal
Created attachment 3983
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.
attachment LuceneSearch_formatnum.patch ignored as obsolete
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
Format percent and size (Message renamed)
Message renamed per comment #2.
Attached:
[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]