From 3a9535d1e6028b3f631d8e79461ad3c8adfd5ea3 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 27 Feb 2008 14:13:10 +0000 Subject: [PATCH] * add svn:keywords 'LastChangedDate' * replace text 'version' in ExtensionCredits with version based on 'LastChangedDate' for automatic version updating --- SpecialNuke.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpecialNuke.php b/SpecialNuke.php index 807b1503..2290f9af 100644 --- a/SpecialNuke.php +++ b/SpecialNuke.php @@ -8,7 +8,7 @@ $wgExtensionMessagesFiles['Nuke'] = dirname(__FILE__) . '/SpecialNuke.i18n.php'; $wgExtensionCredits['specialpage'][] = array( 'name' => 'Nuke', - 'version' => '2008-02-25', + 'version' => preg_replace('/^.* (\d\d\d\d-\d\d-\d\d) .*$/', '\1', '$LastChangedDate$'), #just the date of the last change 'description' => 'Gives sysops the ability to mass delete pages', 'descriptionmsg' => 'nuke-desc', 'author' => 'Brion Vibber',