User:RFC posting script/source

postingtool.php

RfC posting tool

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 "

\n";

echo "\n";

echo "\n";

echo "\n";

echo "\n";

echo "\n";

echo "\n";

echo "\n";

echo "

";

}

else {

echo "You did not fill out every field. Go back and try again.";

}

}

else {

echo "

\n";

echo "Page for RFC discussion: \n";

echo "

echo "\n";

echo "\n";

echo "Do not forget \"Talk:\" if you are posting to a talk page. Only write the page title, not the full URL.
\n";

echo "RFC category:\n";

echo "\n";

echo "
\n";

echo "Name of RFC: \n";

echo "

echo "\n";

echo "\n";

echo " This is the name of the new discussion section that will be created
\n";

echo "Description: Keep it short and to the point. Don't forget to sign with four tildes: ~~~~
\n";

echo "\n";

echo "\n";

echo "
\n";

echo "
\n";

echo "

echo "\n";

echo "\n";

echo "
\n";

echo "

\n";

}

?>


Copyright © 2009 James Hare.