dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa311b2
)
Special:Export produces a particular output format which is the raw wikitext. Outputt...
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 9 Mar 2005 02:16:44 +0000
(
02:16
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 9 Mar 2005 02:16:44 +0000
(
02:16
+0000)
includes/SpecialExport.php
patch
|
blob
|
history
diff --git
a/includes/SpecialExport.php
b/includes/SpecialExport.php
index
368f345
..
2dd079f
100644
(file)
--- a/
includes/SpecialExport.php
+++ b/
includes/SpecialExport.php
@@
-140,8
+140,6
@@
function revision2xml( $rev, $full ) {
$fname = 'revision2xml';
wfProfileIn( $fname );
- global $wgParser , $wgUseXMLparser ; # So we can return *real* XML
-
$xml = " <revision>\n";
if( $full )
$xml .= " <id>" . $rev->getId() . "</id>\n";
@@
-166,12
+164,7
@@
function revision2xml( $rev, $full ) {
$xml .= " <comment>$c</comment>\n";
}
- $t = $rev->getText() ;
- if ( $wgUseXMLparser )
- {
- $wgParser->runXMLparser ( $t ) ;
- }
- $t = xmlsafe( $t ) ;
+ $t = xmlsafe( $rev->getText() );
$xml .= " <text>$t</text>\n";
$xml .= " </revision>\n";