* Fixes and additions to 52 extensions for ar, cs, es, fi, frp, hsb, hu, la, nl, oc, pl, sk, tet
* change indentation for export of a few extension's messages in Translate/MessageGroups.php
* Fixes and additions to 45 extensions for pl, pms, pt, ro, sk, sr-ec, sr-el, su, sv, tet, tr, vi, wa, yue, zh-hans, zh-hant, zh-hk
* export format in extension Translate and indentation changed in a few i18n files (BookInformation, Patroller, SpamBlacklist, SyntaxHighlight_GeSHi, UsernameBlacklist, WebStore)
* Handle bad regexes more gracefully:
- The batched regexes are tested for validity, and if one is bad, the lines from that source are broken out line-by-line. This is slower, but the other lines in that source will still be applied correctly.
- Suppress warnings and be more verbose in the debug log.
- Check for bad regexes when a local blacklist page is edited, and prompt the user to fix the bad lines.
* Caching issues:
- Cache the full regexes per-DB instead of per-site; this should be friendlier to shared environments where not every wiki has the same configuration.
- Hopefully improve the recaching of local pages, which looked like it would preemptively apply the being-edited text to the cache during the filter callback, even though something else might stop the page from being saved. Now just clearing the cache after save is complete, letting it re-load later.
* Split out some of the regex batch functions for clarity.
There are probably still issues with caching of HTTP bits, and in general the local DB loading looks verrrry fragile.
Test this a bit more before syncing. :)
Should save some trouble for annoyed people. :)
The regular message cache behavior is used for this message, so it'll also update immediately, without waiting for the shared caches to time out.
Additionally, added a fix for configurations which don't hardcode the PHP include_path by using $IP in an include for HttpFunctions.php.