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
Declare visibility on all properties in ForkController
[lhc/web/wiklou.git]
/
maintenance
/
renderDump.php
diff --git
a/maintenance/renderDump.php
b/maintenance/renderDump.php
index
2039a21
..
0cde28c
100644
(file)
--- a/
maintenance/renderDump.php
+++ b/
maintenance/renderDump.php
@@
-28,7
+28,7
@@
* @ingroup Maintenance
*/
* @ingroup Maintenance
*/
-require_once
( __DIR__ . '/Maintenance.php' )
;
+require_once
__DIR__ . '/Maintenance.php'
;
/**
* Maintenance script that takes page text out of an XML dump file
/**
* Maintenance script that takes page text out of an XML dump file
@@
-105,11
+105,10
@@
class DumpRenderer extends Maintenance {
$output = $content->getParserOutput( $title, null, $options );
file_put_contents( $filename,
$output = $content->getParserOutput( $title, null, $options );
file_put_contents( $filename,
- "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" " .
- "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n" .
- "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n" .
+ "<!DOCTYPE html>\n" .
+ "<html lang=\"en\" dir=\"ltr\">\n" .
"<head>\n" .
"<head>\n" .
- "<meta
http-equiv=\"Content-Type\" content=\"text/html; charset=utf
-8\" />\n" .
+ "<meta
charset=\"UTF
-8\" />\n" .
"<title>" . htmlspecialchars( $display ) . "</title>\n" .
"</head>\n" .
"<body>\n" .
"<title>" . htmlspecialchars( $display ) . "</title>\n" .
"</head>\n" .
"<body>\n" .
@@
-120,4
+119,4
@@
class DumpRenderer extends Maintenance {
}
$maintClass = "DumpRenderer";
}
$maintClass = "DumpRenderer";
-require_once
( RUN_MAINTENANCE_IF_MAIN )
;
+require_once
RUN_MAINTENANCE_IF_MAIN
;