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
--list : list special pages names
[lhc/web/wiklou.git]
/
maintenance
/
importDump.php
diff --git
a/maintenance/importDump.php
b/maintenance/importDump.php
index
3a58550
..
f4e8d3c
100644
(file)
--- a/
maintenance/importDump.php
+++ b/
maintenance/importDump.php
@@
-111,6
+111,10
@@
class BackupReader {
}
}
+if( wfReadOnly() ) {
+ die( "Wiki is in read-only mode; you'll need to disable it for import to work.\n" );
+}
+
$reader = new BackupReader();
if( isset( $options['quiet'] ) ) {
$reader->reporting = false;