Merge branch 'patch-3' of github.com:nemobis/wikiq
Typofix
Remove excess semicolon $ make g++ -O3 -c -o wikiq.o wikiq.cpp wikiq.cpp: In function ‘void print_usage(char**)’: wikiq.cpp:549:10: error: expected primary-expression before ‘<<’ token make: *** [wikiq.o] Error 1
updated README file and documentation
remove shannon entropy as something computed It's really just nothing something most people will use it and it's somewhat expensive to compute.
collapse datetime into a single header It's already a single field.
added code and docs to search for regex within the content of revisions
change diff regex options from -n and -r to -N and -R
rename variables so regex/regexes is diff_regex/regex All the code to check for patterns within diff are named regex, regexes, etc. This is problematic because (a) we already have one more place we can check for regex and (b) I'm about to about add code to look for regex in abitrary revisions (/not/ diffs). This change "makes room" for the next one.
renamed variables for title regex The variables used to be called wp_namespace_* which was confusing because the software is not only useful for Wikipedia and is not only useful for matching namespaces.
added support for regex title matching Added support for regex matching of titles to (for example) match only things from particular namespaces. In the process, I changed the "t" option which prints out text to "d" for debug and used the t option for taking title regexes.
lower case N in the usage instructions
fix bug and invoke regex search in first revision Regex search was only being called in diffs. Of course, if something is added in the very first revision, it will never show up in a diff. This was resulting in deletions that don't show up as additions. I've patched the code so that the first revision is treated as one big addition.
dynamically resize article text buffer if we would overflow
updated README
help text updates
regex against article diffs and checksum-based revert detection
added (broken, but running) diff routines for block-level diffs