User:RFC posting script/source
postingtool.php
Requests for comment
RfC posting tool
ini_set("display_errors", 1);
error_reporting(E_ALL ^ E_NOTICE);
include("./botclasses.php");
$rfctype = $_GET['rfctype'];
$page = $_GET['page'];
$section = $_GET['section'];
$reason = $_GET['reason'];
if (isset($_GET['submit'])) {
if (($_GET['rfctype'] != "") && ($_GET['page'] != "") && ($_GET['section'] != "") && ($_GET['reason'] != "")) {
echo "You are almost done. Click the \"Go to Wikipedia\" button, where you will be sent to an edit window with your RfC prepared.
";
echo "
";}
else {
echo "You did not fill out every field. Go back and try again.";
}
}
else {
echo "
\n";}
?>
Copyright © 2009 James Hare.