Last modified: 2010-05-15 15:38:32 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 1651 - The items in the 'ipboptions' message should be localizable
The items in the 'ipboptions' message should be localizable
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.5.x
All All
: Normal normal with 3 votes (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
: 2694 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-07 15:44 UTC by Ævar Arnfjörð Bjarmason
Modified: 2010-05-15 15:38 UTC (History)
2 users (show)

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


Attachments
A simple fix for the issue with "other" expiry time (763 bytes, patch)
2005-07-18 14:50 UTC, Mormegil
Details

Description Ævar Arnfjörð Bjarmason 2005-03-07 15:44:19 UTC
The items defined in $wgBlockExpiryOptions should be localizable like other
strings, they're currently hardcoded in SpecialBlockip.php. Perhaps something
like this could be used:

<option value="1 Day">1. Tag</option>
Comment 1 Antoine "hashar" Musso (WMF) 2005-06-27 14:42:41 UTC
The values are gathered from $wgBlockExpiryOption and later
passed to strtotime(). According to the PHP documentation,
the function only accept english text.

We could change the form and let the user choose a date
instead. Eventually we can have a javascript that reuse
the $wgBlockExpiryOption value so a user can fastly set
the date.

Then the function will grab the posted date, convert it
to a timestamp and insert that in the database.
Comment 2 Zigger 2005-07-04 13:29:06 UTC
After 1.5beta1, $wgBlockExpiryOptions was removed.  The 'ipboptions' message is
now used.
Comment 3 Zigger 2005-07-04 13:29:35 UTC
*** Bug 2694 has been marked as a duplicate of this bug. ***
Comment 4 River Tarnell 2005-07-05 05:16:58 UTC
it is now possible to translate these via MediaWiki:Ipboptions.  specify a 
comma-separated list of "local:english,local:english,..." strings. 
Comment 5 Mormegil 2005-07-18 14:43:02 UTC
(In reply to comment #4)
> it is now possible to translate these via MediaWiki:Ipboptions.  specify a 
> comma-separated list of "local:english,local:english,..." strings. 

They work fine, but the "other" option cannot be translated (or it does not work), because the
option value (not only its interface presentation) is localized in some places.
Comment 6 Mormegil 2005-07-18 14:50:33 UTC
Created attachment 726 [details]
A simple fix for the issue with "other" expiry time

The attached patch might solve the problem (untested).
Comment 7 Niklas Laxström 2005-08-19 21:47:19 UTC
The requested functionality seems to be working now fine. Closing bug.

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


Navigation
Links