# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# http://www.gnu.org/copyleft/gpl.html
-
-require_once( 'Revision.php' );
-
/**
*
* @package MediaWiki
* @subpackage SpecialPage
*/
+/** */
+require_once( 'Revision.php' );
+
/**
*
*/
$wgOut->addWikiText( wfMsg( "exporttext" ) );
$titleObj = Title::makeTitle( NS_SPECIAL, "Export" );
- $action = $titleObj->escapeLocalURL();
+ $action = $titleObj->escapeLocalURL( 'action=submit' );
$wgOut->addHTML( "
<form method='post' action=\"$action\">
<input type='hidden' name='action' value='submit' />
$c = xmlsafe( $rev->getComment() );
$xml .= " <comment>$c</comment>\n";
}
+
$t = xmlsafe( $rev->getText() );
+
$xml .= " <text>$t</text>\n";
$xml .= " </revision>\n";
wfProfileOut( $fname );
wfProfileOut( $fname );
return $string;
}
-
-?>
+?>
\ No newline at end of file