In protect.js:
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 16 Sep 2008 04:09:06 +0000 (04:09 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 16 Sep 2008 04:09:06 +0000 (04:09 +0000)
commitfd30ddc11aa2b4b163d179985a3a209f2fb26b6b
tree27cb33cf78926fdf39cf121a976d93c513b9b89f
parent4b2495dda342cbba9e21aad6fd4a58a8082d55e2
In protect.js:
* Use fragments of English when naming things, instead of a jumble of words vaguely related to the topic
* Use verbs in function names that are related to what the functions do
* Move all functions into an object, to avoid prefixes that look like part of a nonsensical sentence
* Fixed a bug whereby the "move" controls would not be unlocked if the expiry times differed. Refactored the relevant code.
* When the user types something into the "other time" box, automatically select "other time" from the drop-down list.

In ProtectionForm:
* Use the new protect.js interface
* Use accessor instead of Title member variable mRestrictionsExpiry
* Added an "existing expiry" option to the expiry drop-down list, instead of putting the ISO 8601 time in the "other" box
* Formatting
* Fixed convoluted expiry time data flow, documented
* s/List/Selection, for variables containing a value that the user has selected from a list
includes/ProtectionForm.php
includes/Title.php
languages/messages/MessagesEn.php
skins/common/protect.js