new feature! a blank special page! (thanks to everyone, who made Special:Version...
authorDomas Mituzas <midom@users.mediawiki.org>
Tue, 1 Jul 2008 19:55:17 +0000 (19:55 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Tue, 1 Jul 2008 19:55:17 +0000 (19:55 +0000)
RELEASE-NOTES
includes/SpecialPage.php
includes/specials/SpecialBlankpage.php [new file with mode: 0644]
languages/messages/MessagesEn.php

index 969f1c6..12e5fc9 100644 (file)
@@ -484,6 +484,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 14651) apprefix and similar parameters are now canonicalized
 * Added clprop=timestamp to prop=categories
 * (bug 14678) API errors now respects $wgShowExceptionDetails and $wgShowSQLErrors
+* Added blank special page
 
 === Languages updated in 1.13 ===
 
index 4a50b81..ce1e2b3 100644 (file)
@@ -136,6 +136,7 @@ class SpecialPage
                'Categories'                => array( 'SpecialPage', 'Categories' ),
                'Export'                    => array( 'SpecialPage', 'Export' ),
                'Version'                   => array( 'SpecialPage', 'Version' ),
+               'Blankpage'                 => array( 'SpecialPage', 'Blankpage' ),
                'Allmessages'               => array( 'SpecialPage', 'Allmessages' ),
                'Log'                       => array( 'SpecialPage', 'Log' ),
                'Blockip'                   => array( 'SpecialPage', 'Blockip', 'block' ),
diff --git a/includes/specials/SpecialBlankpage.php b/includes/specials/SpecialBlankpage.php
new file mode 100644 (file)
index 0000000..08bf517
--- /dev/null
@@ -0,0 +1,6 @@
+<?php
+
+function wfSpecialBlankpage() {
+       global $wgOut;
+       $wgOut->addHTML('intentionallyblankpage');
+}
index 19407ef..ffc8e63 100644 (file)
@@ -3447,4 +3447,7 @@ Enter the filename without the "{{ns:image}}:" prefix.',
 'specialpages-group-redirects'   => 'Redirecting special pages',
 'specialpages-group-spam'        => 'Spam tools',
 
+# Special:Blank
+'blankpage'              => 'Blank page',
+'intentionallyblankpage' => 'This page is intentionally left blank',
 );