User:Leucosticte/Sandbox

if ( array_key_exists ( 'printable', $_REQUEST ) ) { if ( $_REQUEST['printable'] = 'yes' ) { die; } } Perhaps this could also be the basis for a system that would allow users to save drafts of articles. These drafts could be (1) publicly accessible, or (2) accessible only to the user who added them and to privileged users. There could be a Draft: namespace and drafts could be saved to it using a code corresponding to the article name and user id.

Thus, for example, Draft:Foo/1 would be user #1's draft of Foo. Saving a new draft would add another revision to that page. The saving of drafts could be similar to bot edits in that it would not show up in RecentChanges by default. Also, the Draft: namespace could be excluded from search engines by robots policy, to discourage attempts to circumvent anti-spam measures. Of course, another scheme that would obviate the need for a new namespace would be to save drafts under User:Bar/Drafts/Foo.

A draft could be saved upon encountering the CAPTCHA, and unless it were retrieved and saved as a revision to the article, or manually deleted by someone, perhaps it would automatically expire and get moved to the archive table, or get purged from the database entirely, after a certain length of time.

// This code is necessary to get it to produce a printable version that // doesn't have the Mises.org header taking up half the first page. if ( array_key_exists ( 'printable', $_REQUEST ) ) { if ( $_REQUEST['printable'] == 'yes' ) { $skipTheRest = true; // Vector.printable.php is simply the Vector.php from MW v1.19.2. require_once ( "Vector.printable.php" ); } } if ( !$skipTheRest) {