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
Removed most exit() calls from the MediaWiki core, by replacing them with either...
[lhc/web/wiklou.git]
/
includes
/
Export.php
diff --git
a/includes/Export.php
b/includes/Export.php
index
91eecfa
..
88a83d9
100644
(file)
--- a/
includes/Export.php
+++ b/
includes/Export.php
@@
-634,7
+634,7
@@
class DumpNamespaceFilter extends DumpFilter {
$ns = intval( $key );
$this->namespaces[$ns] = true;
} else {
-
wfDie
( "Unrecognized namespace key '$key'\n" );
+
throw new MWException
( "Unrecognized namespace key '$key'\n" );
}
}
}