Further fixes to protection expiry:
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 22 Jan 2007 20:59:00 +0000 (20:59 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 22 Jan 2007 20:59:00 +0000 (20:59 +0000)
commit50d9a5ec18cd1e952433b9ee1f22bf04916d1537
treefa22167c1670f9d09cabc5777a5c94b4372d3c89
parentb5ff8bd37d0977e0e8ccfb1331cd20a0ecf7d988
Further fixes to protection expiry:
* Use RFC 2822-style date/time format instead of localized formatting for
  the expiry time in the protection form; while ugly, it actually works;
  a localized time is usually lossy (changing the time on submit) and
  more significantly will fail for any UI language that's not english!
* Rearrange some of the form display logic to handle error conditions
  a little more gracefully; invalid expiry format caused the form to
  be displayed twice.
* Should be nicer on session token expiration as well, showing the
  form instead of just an exception message.
includes/Article.php
includes/ProtectionForm.php