r23804 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23803‎ | r23804 | r23805 >
Date:22:14, 6 July 2007
Author:brion
Status:old
Tags:
Comment:
Fix namespace filter inversion (bug 10484)
Modified paths:
  • /trunk/mwdumper/README (modified) (history)
  • /trunk/mwdumper/src/org/mediawiki/importer/NamespaceFilter.java (modified) (history)

Diff [purge]

Index: trunk/mwdumper/src/org/mediawiki/importer/NamespaceFilter.java
@@ -35,6 +35,8 @@
3636 super(sink);
3737
3838 invert = configString.startsWith("!");
 39+ if (invert)
 40+ configString = configString.substring(1);
3941 matches = new HashMap();
4042
4143 String[] namespaceKeys = {
Index: trunk/mwdumper/README
@@ -168,6 +168,7 @@
169169
170170
171171 Change history (abbreviated):
 172+2007-07-06: Fixed namespace filter inversion (brion)
172173 2007-03-09: Added PostgreSQL support (river)
173174 2006-10-25: Added before and after filters by Aurimas Fischer
174175 2005-10-25: Switched SqlWriter.sqlEscape back to less memory-hungry StringBuffer

Status & tagging log