Index: trunk/mwdumper/src/org/mediawiki/importer/NamespaceFilter.java |
— | — | @@ -35,6 +35,8 @@ |
36 | 36 | super(sink); |
37 | 37 | |
38 | 38 | invert = configString.startsWith("!"); |
| 39 | + if (invert) |
| 40 | + configString = configString.substring(1); |
39 | 41 | matches = new HashMap(); |
40 | 42 | |
41 | 43 | String[] namespaceKeys = { |
Index: trunk/mwdumper/README |
— | — | @@ -168,6 +168,7 @@ |
169 | 169 | |
170 | 170 | |
171 | 171 | Change history (abbreviated): |
| 172 | +2007-07-06: Fixed namespace filter inversion (brion) |
172 | 173 | 2007-03-09: Added PostgreSQL support (river) |
173 | 174 | 2006-10-25: Added before and after filters by Aurimas Fischer |
174 | 175 | 2005-10-25: Switched SqlWriter.sqlEscape back to less memory-hungry StringBuffer |