aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Database.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Database.php')
-rw-r--r--includes/Database.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/includes/Database.php b/includes/Database.php
index 21256c0fd4b7..c2d87301ccf9 100644
--- a/includes/Database.php
+++ b/includes/Database.php
@@ -1196,6 +1196,20 @@ class Database {
return new ResultWrapper( $this, $result );
}
}
+
+ /**
+ * @return string wikitext of a link to the server software's web site
+ */
+ function getSoftwareLink() {
+ return "[http://www.mysql.com/ MySQL]";
+ }
+
+ /**
+ * @return string Version information from the database
+ */
+ function getServerVersion() {
+ return mysql_get_server_info();
+ }
}
/**