are in Special:Recentchanges
* Allow an $error message to be passed to ArticleDelete hook
* Allow extensions to modify the user creation form by calling addInputItem();
+* Add meta generator tag to HTML output
=== Bug fixes in 1.13 ===
public function headElement() {
global $wgDocType, $wgDTD, $wgContLanguageCode, $wgOutputEncoding, $wgMimeType;
global $wgXhtmlDefaultNamespace, $wgXhtmlNamespaces;
- global $wgUser, $wgContLang, $wgUseTrackbacks, $wgTitle, $wgStyleVersion, $wgVersion;
+ global $wgUser, $wgContLang, $wgUseTrackbacks, $wgTitle, $wgStyleVersion;
if( $wgMimeType == 'text/xml' || $wgMimeType == 'application/xhtml+xml' || $wgMimeType == 'application/xml' ) {
$ret = "<?xml version=\"1.0\" encoding=\"$wgOutputEncoding\" ?>\n";
}
$ret .= "xml:lang=\"$wgContLanguageCode\" lang=\"$wgContLanguageCode\" $rtl>\n";
$ret .= "<head>\n<title>" . htmlspecialchars( $this->getHTMLTitle() ) . "</title>\n";
- $ret .= "<meta name=\"generator\" content=\"MediaWiki " . $wgVersion . "\" />\n";
array_push( $this->mMetatags, array( "http:Content-type", "$wgMimeType; charset={$wgOutputEncoding}" ) );
$ret .= $this->getHeadLinks();
* @return string HTML tag links to be put in the header.
*/
public function getHeadLinks() {
- global $wgRequest, $wgFeed;
- $ret = '';
+ global $wgRequest, $wgFeed, $wgVersion;
+ $ret = "<meta name=\"generator\" content=\"MediaWiki " . $wgVersion . "\" />\n";
foreach ( $this->mMetatags as $tag ) {
if ( 0 == strcasecmp( 'http:', substr( $tag[0], 0, 5 ) ) ) {
$a = 'http-equiv';
* @access private
*/
function execute() {
- global $wgUser, $wgVersion;
+ global $wgUser;
$skin = $wgUser->getSkin();
// Suppress warnings to prevent notices about missing indexes in $this->data
<meta http-equiv="Content-Type" content="<?php $this->text('mimetype') ?>; charset=<?php $this->text('charset') ?>" />
<?php $this->html('headlinks') ?>
<title><?php $this->text('pagetitle') ?></title>
- <meta name="generator" content="MediaWiki <?php echo $wgVersion ?>" />
<?php if(empty($this->data['printable']) ) { ?>
<style type="text/css" media="screen, projection">/*<![CDATA[*/
@import "<?php $this->text('stylepath') ?>/common/shared.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";
* @access private
*/
function execute() {
- global $wgUser, $wgVersion;
+ global $wgUser;
$skin = $wgUser->getSkin();
// Suppress warnings to prevent notices about missing indexes in $this->data
<meta http-equiv="Content-Type" content="<?php $this->text('mimetype') ?>; charset=<?php $this->text('charset') ?>" />
<?php $this->html('headlinks') ?>
<title><?php $this->text('pagetitle') ?></title>
- <meta name="generator" content="MediaWiki <?php echo $wgVersion ?>" />
<style type="text/css" media="screen, projection">/*<![CDATA[*/
@import "<?php $this->text('stylepath') ?>/common/shared.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";
@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/main.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";