About [[MediaWiki:Poll-create-threshold-reason/en]]

Jump to navigation Jump to search

Please summarize the below thread in the editing box. You may use any wikitext in your summary. When you finish, click "Publish changes".

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in the group: Users.


You can view and copy the source of this page.

Return to Summary:Support/About MediaWiki:Poll-create-threshold-reason/en.

This looks like it's a patchwork message. The value of $1 is not referenced, but should be part of this message, and support plural. This is a particularly bad practice that makes it impossible to localise properly into many languages.

Siebrand18:24, 25 July 2013

You're most likely right. This message is related to $wgCreatePollThresholds (the "prevent users from creating new polls if they have less than X Ys" feature, where X is a number and Y is something like edits, votes, etc.).

The code is in /extensions/PollNY/SpecialCreatePoll.php, function execute (lines 56-77). I agree that proper i18n support for this would be very nice, but the feature itself isn't very widely used (if at all, but it's an useful feature to keep around nevertheless), so this isn't exactly a high-priority issue for me, but I'll happily review any and all community-contributed patches to address this issue. :)

Jack Phoenix (Contact)16:08, 31 August 2013