Last modified: 2008-09-11 06:50:48 UTC
Please change default time protection from infinite to 1 month (http://pl.wikipedia.org/w/index.php?title=PAGENAME&action=protect) or add this option to change (by polish admins) on [[Special:Allmessages]]. Or better: add a selection box a time for protection (like on a page to block users).
Repurposing to the "better" option.
*** Bug 11866 has been marked as a duplicate of this bug. ***
I like the "better" idea, this would make it easier for admin's to apply protection.
Created attachment 4620 [details] Adds dropdown expiry time to the protection form I copied the basic structure from SpecialBlockip.php and renamed some of the variables for the protection page. It still uses the same system messages from SpecialBlockip.php (MediaWiki:Ipboptions, MediaWiki:Ipbother and MediaWiki:Ipbotheroption) which will need to be updated.
Created attachment 4621 [details] Adds function considerChangingExpiryFocus from block.js Adds the function considerChangingExpiryFocus from block.js to protect.js to enable hiding the other expiry time box when a value is selected from the dropdown box.
Created attachment 4622 [details] fixes unprotection bug $this->mExpiry returned 'other' instead of a string with zero length.
Created attachment 4623 [details] Adds dropdown expiry time to the protection form Sorry for the inbox spam, I managed to attatch the correct file this time.
Attachement seems good, but I haven't tested it on a wiki yet.
Done in r40555