dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Implement MW_VERSION constant in Defines.php and use it in preference to $wgVersion...
[lhc/web/wiklou.git]
/
includes
/
Export.php
diff --git
a/includes/Export.php
b/includes/Export.php
index
3a9180a
..
ceda80b
100644
(file)
--- a/
includes/Export.php
+++ b/
includes/Export.php
@@
-406,8
+406,7
@@
class XmlDumpWriter {
}
function generator() {
- global $wgVersion;
- return Xml::element( 'generator', array(), "MediaWiki $wgVersion" );
+ return Xml::element( 'generator', array(), "MediaWiki " . MW_VERSION );
}
function homelink() {