be anything exploitable, it's just annoying.
#
# Hashar
+require_once( "Database.php" );
+
class DatabasePgsql extends Database {
var $mInsertId = NULL;
<?php
+if( defined( "MEDIAWIKI" ) ) {
+
# $Id$
# DO NOT EDIT THIS FILE!
# To customize your installation, edit "LocalSettings.php".
# Validation for print or other production versions
$wgUseValidation = false;
+} else {
+ die();
+}
?>
<?php
+if( defined( "MEDIAWIKI" ) ) {
+
# This is a utility class with only static functions
# for dealing with namespaces that encodes all the
# "magic" behaviors of them based on index. The textual
}
}
+}
?>
<?php
+if( defined( "MEDIAWIKI" ) ) {
+
# See design.doc
if($wgUseTeX) require_once( "Math.php" );
return ( $out );
}
}
+
+}
?>
<?php
+if( defined( "MEDIAWIKI" ) ) {
+
# The main wiki script and things like database
# conversion and maintenance scripts all share a
# common setup of including lots of classes and
wfProfileOut( $fname.'-extensions' );
wfProfileOut( $fname );
-
+}
?>
<?php
+if( defined( "MEDIAWIKI" ) ) {
+
# See skin.doc
require_once( 'Feed.php' ); // should not be called if the actual page isn't feed enabled
return $toolbar;
}
+}
+
}
?>
'old_comment' => $this->getComment(),
'old_user' => intval( $user->getId() ),
'old_user_text' => $user->getName(),
- 'old_timestamp' => $this->timestamp
+ 'old_timestamp' => $this->timestamp,
'inverse_timestamp' => wfInvertTimestamp( $this->timestamp ),
'old_minor_edit' => 0,
'old_flags' => ''
<?php
print "<form method=\"post\" action=\"{$wgServer}{$wgScriptPath}/texvc_cgi.phtml\">"
?>
-<textarea name='math' rows='10' cols='80'><?
+<textarea name='math' rows='10' cols='80'><?php
global $math;
$math = preg_replace ("/\\\\\\\\/", '\\', $math);
print $math;