Commit graph

815 commits

Author SHA1 Message Date
Siebrand Mazeland a1f4962b08 Localisation updates for extension messages from Betawiki (2007-12-27 12:05 CET) 2007-12-27 11:51:22 +00:00
Siebrand Mazeland 4809912652 Localisation updates for extensions from Betawiki (2007-12-21 23:45 CET) 2007-12-21 23:46:08 +00:00
Siebrand Mazeland 84c26ca799 revert r28371 to r28375 2007-12-16 18:27:23 +00:00
Siebrand Mazeland 03c931aa7c * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-10 21:33:25 +00:00
Siebrand Mazeland 64165317da Localisation updates from Betawiki.
* Fixes and additions to 30 extensions for ar, bg, br, el, grc, hr, it, kn, nl, pt
2007-12-02 23:19:14 +00:00
Tim Starling 1f195dbc54 * Optimised startup
* Use the new EditFilterMerged hook if available, for faster link finding
* Random bits of code were leaking out of the body file into the loader, poked them back in.
2007-11-12 07:44:17 +00:00
Siebrand Mazeland d39301786c Localisation updates from Betawiki.
* Fixes and additions to 23 extensions for gl, hsb, it, kab, kk-kz, la, lv, no
2007-11-11 14:23:02 +00:00
Siebrand Mazeland 5cb7bd941c Localisation updates from Betawiki.
* 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
2007-11-10 18:15:02 +00:00
Siebrand Mazeland a6eb93a41c Localisation updates from Betawiki.
* 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)
2007-11-05 00:05:07 +00:00
Siebrand Mazeland 5e08ab2a53 Localisation updates from Betawiki.
* Fixes and additions to 45 extensions for ast, gl, hsb, hy, it, nl, pl, rm, sv, vls
2007-10-31 14:22:49 +00:00
Siebrand Mazeland 9a626687fb Localisation updates from Betawiki.
* Fixes and additions to 6 extensions for it, sk, zea
2007-10-16 22:25:09 +00:00
Siebrand Mazeland b8b2a02cd2 Localisation updates from Betawiki.
* Fixes and additions to 18 extensions for ar, bcl, br, fr
2007-10-08 07:35:39 +00:00
Brion Vibber f5b96bbd09 * (bug 11545) Don't let everything through if there's a bogus whitelist entry 2007-10-03 00:48:57 +00:00
Brion Vibber cc1ddc1162 Break spam blacklist log info out to a sep file 2007-10-03 00:19:36 +00:00
Siebrand Mazeland 34e61385ba Localisation updates from Betawiki.
* Fixes and additions to 26 extensions for am, cs, ext, fo, hsb, la.
2007-09-28 08:59:16 +00:00
Siebrand Mazeland b5c8dada6f Localisation updates from Betawiki.
* Fixes and additions to 7 extensions for fi, fo, hsb, nds, nl.
2007-09-26 22:45:25 +00:00
Raimond Spekking 676db890ed * (bug 11311) Update Swedish translations
Patch by  Lejonel
2007-09-12 15:34:05 +00:00
Brion Vibber ee8ba1d25f * (bug 11129) Hit spam blacklist on https: links 2007-09-11 18:13:40 +00:00
Raimond Spekking 538532d887 * (bug 11230) Update Chinese translations
Patches by Shinjiman
2007-09-08 04:39:31 +00:00
Siebrand Mazeland 7c000c352a Localisation updates for MediaWiki extension messages from Betawiki
* MinimumNameLength: hsb added
* NewestPages: eo, hsb added
* Newuserlog: eo, hsb added
* OggHandler: hsb added
* Patroller: hsb added
* PicturePopup: hsb added
* Renameuser: bcl eo added, hsb, pl updated
* Resign: hsb added
* SiteMatrix: bcl, eo, hsb added
* SpamBlacklist: hsb added
* Translate: bcl, eo, ext, hsb added
* UserImages: hsb added
* Vote: hsb, pl added


Diffs checked by Raymond
2007-09-04 17:45:45 +00:00
Raimond Spekking dedbd1a0e0 * (bug 11068) i18n updates/additions Dutch/nld for extensions
Patch by Siebrand
2007-08-27 07:48:23 +00:00
Raimond Spekking 08c31da572 * (bug 10939) Update French for SpamBlacklist 2007-08-15 11:21:13 +00:00
Brion Vibber 1783cc7627 suppress warnings 2007-08-08 15:42:36 +00:00
Raimond Spekking 6af93e13c5 Updates German 2007-07-24 11:18:26 +00:00
Raimond Spekking 7df7acb6e0 Use $badLines instead of $badList for PLURAL: counting.
count( $badList ) is always 1 as it is a string.
2007-07-24 10:32:37 +00:00
Brion Vibber bde084c272 Some polishing and refactoring on this monstrosity, it's been allowed to grow without some good snipping in a while. :)
* 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. :)
2007-07-20 21:13:26 +00:00
Ivan Lanin 57f84def12 Bug #10623: id translations for Spam-Blacklist extension (patch by Borgx) 2007-07-18 02:15:04 +00:00
Brion Vibber 72ca079b97 Add a local blacklist at MediaWiki:Spam-blacklist which can always be used, just as the local whitelist at MediaWiki:Spam-whitelist.
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.
2007-07-07 17:21:49 +00:00
Raimond Spekking 48689b2bca Make the long existing message 'spam-whitelist' available to [[Special:Allmessages]]. 2007-07-04 11:28:52 +00:00
Aryeh Gregor 740736ecd9 Extensions too! 2007-06-29 01:36:09 +00:00
Raimond Spekking 1676db1b55 Update/Add extension credits URLs 2007-06-26 10:38:04 +00:00
Brion Vibber 20b1b3c108 add a compatibility note 2007-03-05 19:56:56 +00:00
Brion Vibber 8285ddcd0f * (bug 8375) Reduce spamblacklist's regex size quite a bit; the actual limit seems very hard to predict and may vary based on version, os, architecture, or phase of the moon. Now breaking at 4096 bytes rather than the previous 20000; this makes 12 regexes for the current Wikimedia set. 2007-01-13 05:24:09 +00:00
Antoine Musso 6aa7b3badc Add descriptions for some extensions used on wikipedia 2007-01-07 13:57:35 +00:00
Antoine Musso 55fbcdc9a6 remove some ending whitespaces 2007-01-06 20:56:46 +00:00
Brion Vibber 9bb2bc11fa Split giant regexes so PCRE stops screaming about them.
Haven't tested cleanup.php
2006-09-18 09:56:57 +00:00
Antoine Musso c475409997 credits + url 2006-06-23 22:22:09 +00:00
Brion Vibber 18bd5bf9ef Apply pre-save transform for more thorough checks 2006-06-22 21:12:18 +00:00
Brion Vibber 5eb474a2f7 Run text through the parser and get the actual links recorded instead of trying to second-guess behavior 2006-06-22 20:35:49 +00:00
Brion Vibber 9036c0242b Add a local whitelist, editable by admins at [[MediaWiki:Spam-whitelist]] 2006-06-22 19:59:43 +00:00
Antoine Musso c92ee8cc03 allow '-' in database name 2006-05-21 11:04:56 +00:00
Rob Church 641a3f7bee (reopened bug 5185) Match on two or more slashes on the protocol to prevent another blacklist workaround 2006-04-28 23:18:47 +00:00
Rob Church 992a1ac684 (bug 5185) Strip out SGML comments before scanning the text for matches so some nutter can't circumvent the lot with a well placed <!-- --> 2006-04-12 04:59:27 +00:00
Brion Vibber 3f5145d746 Live fix: improved reporting 2006-04-02 03:50:06 +00:00
Tim Starling f3219927ae Updated DB: for the 1.5 schema, fixed a few bugs 2006-01-23 01:35:39 +00:00
Tim Starling 233eeb2262 some tweaks 2006-01-21 23:27:39 +00:00
Tim Starling 9c1a3d9cb9 Script to quickly and aggressively clean spam off a wiki. Well, reasonably quickly, it needs to do a linear search of the entire text which might take a while. But there is no human interaction required. 2006-01-19 17:17:03 +00:00
Tim Starling 05a1bf5f1f split the regex fetching part of the filter into its own function 2006-01-19 17:14:10 +00:00
Tim Starling 25eaa74056 fixed blank line at end of file 2006-01-19 07:24:25 +00:00
Brion Vibber 0e53200a91 * (bug 3934) Check _ in hostname prefixes; it's illegal but seems to be accepted by browsers 2005-11-16 09:56:13 +00:00