On 10/12/06, travis@svn.wikimedia.org travis@svn.wikimedia.org wrote:
$caption = "{{" . $wgTemplateName . "|{$_POST['id']}|" . urldecode($_POST['owner']) . "|{$_POST['name']}" . "}}";
Just a quick note; in general, we use the global $wgRequest instance of the WebRequest class to access $_GET, $_POST and $_REQUEST; the functions perform various useful preprocessing tasks (dealing with magic quotes, for instance) and useful type conversions and so forth.
Rob Church
wikitech-l@lists.wikimedia.org