Last modified: 2010-05-15 15:41:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7674 - Localized blockIP doesn't work
Localized blockIP doesn't work
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.7.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-23 16:37 UTC by Morten Blaabjerg
Modified: 2010-05-15 15:41 UTC (History)
0 users

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


Attachments

Description Morten Blaabjerg 2006-10-23 16:37:16 UTC
Localized Block IP expiry terms all return "expiry time invalid" whatever is picked as 
expiry term. The only thing that works, is to pick "other" and enter the period in 
English, such as "2 weeks".

This may have something to do with localizing the Block messages and Block terms to 
Danish in Special:Allmessages.

For the first time, I had to block someone today, so this caused a lot of frustration in 
a few moments, when nothing would make the block acceptable.

Test in latest installment : localize block term texts in Special:Allmessages, and try to 
block an IP.
Comment 1 Morten Blaabjerg 2006-10-23 16:42:05 UTC
Localizing this page apparently causes the problem : MediaWiki:Ipboptions
Comment 2 Brion Vibber 2006-10-24 12:28:04 UTC
If you're having problems this usually means you have used invalid syntax, such as reversing the machine-readable and 
localized names of the time units. Please be specific.
Comment 3 Morten Blaabjerg 2006-10-24 14:04:33 UTC
Does this mean that the machine-readable variables are also listed in 
MediaWiki:Ipboptions (in English), along with the localized/translated terms? 

In that case, that ought to be the problem then. I have localized all terms on 
this page, not knowing which ones would appear where.

Thanx!
Comment 4 Morten Blaabjerg 2006-10-24 16:36:14 UTC
Yes this did the trick.

My MediaWiki:Ipboptions page now reads :

2 timer:2 hours,1 dag:1 day,3 dage:3 days,1 uge:1 week,2 uger:2 weeks,1 måned:1 
month,3 måneder:3 months,6 måneder:6 months,1 år:1 year,ubestemt tid:infinite 

As opposed to :

2 timer:2 timer,1 dag:1 dag,3 dage:3 dage,1 uge:1 uge,2 uger:2 uger,1 måned:1 måned,3 
måneder:3 måneder,6 måneder:6 måneder,1 år:1 år,Uendeligt:Uendeligt

Or originally :

2 hours:2 hours,1 day:1 day,3 days:3 days,1 week:1 week,2 weeks:2 weeks,1 month:1 
month,3 months:3 months,6 months:6 months,1 year:1 year,infinite:infinite

Posting this in case other users get the order wrong.
Comment 5 Morten Blaabjerg 2006-10-26 15:06:48 UTC
After this change, BlockIp works fine, but MediaWiki now provides the mixed language 
text "blokerede "Bruger:80.209.90.6" med 2 weeks som udløbstid:", i.e. Danish text 
mixed in with the English "2 weeks".

This is clearly a bug, as MW should use the localized database messages for this 
report, not the machine-readable variable.
Comment 6 Raimond Spekking 2006-10-26 16:36:40 UTC
(In reply to comment #5)
> After this change, BlockIp works fine, but MediaWiki now provides the mixed
language 
> text "blokerede "Bruger:80.209.90.6" med 2 weeks som udløbstid:", i.e. Danish
text 
> mixed in with the English "2 weeks".
> 
> This is clearly a bug, as MW should use the localized database messages for this 
> report, not the machine-readable variable.

This is filed as bug 5387 --> marked this bug as dupe.

*** This bug has been marked as a duplicate of 5387 ***
Comment 7 Morten Blaabjerg 2006-10-26 16:57:15 UTC
OK, thanx!
Comment 8 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-26 21:20:50 UTC
Leaving this WORKSFORME, regarding the original issue (one issue per bug, please).

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


Navigation
Links