Commit graph

25 commits

Author SHA1 Message Date
Alexandre Emsenhuber c52acec944 Big changes to extensions' documentation:
* changed all @addtogroup to @ingroup
* added some @file where needed
* changed some @package/@subpackage to @ingroup
2010-06-06 15:12:22 +00:00
Alexandre Emsenhuber 650409f2a3 * (bug 18822) Title::newFromString() doesn't exist; changed to Title::newFromText() 2009-05-17 14:12:38 +00:00
Fran Rogers 97a9812b69 Fixes for problems mentioned in r38967 2008-08-09 01:54:39 +00:00
Brion Vibber 1c2794eb00 Revert r38636 and following for now, doesn't work at present.
Aug  8 23:22:25 srv35 httpd[5547]: PHP Fatal error:  Using $this when not in object context in /home/wikipedia/common/php-1.5/extensions/TitleBlacklist/TitleBlacklist.list.php on line 98 

Fatal error: Call to private method TitleBlacklist::parseBlacklist() from context 'TitleBlacklistHooks' in /Library/WebServer/Documents/trunk/extensions/TitleBlacklist/TitleBlacklist.hooks.php on line 90
2008-08-08 23:26:44 +00:00
Aaron Schulz f8bb839af7 this is static 2008-08-08 23:24:19 +00:00
Fran Rogers 129796f76b Added username blacklist capabilities to TitleBlacklist. Since the
UsernameBlacklist extension is unmaintained, rather brittle, and only 
supports a single local blacklist, and also on most wikis both 
blacklists will be closely intertwined if not identical, it seems 
logical that TitleBlacklist take over both functions. :)
2008-08-05 15:57:10 +00:00
Ilmari Karonen d28982948c Disallow angle brackets within options, to avoid breaking regexps which contain '<'. 2008-05-29 20:23:05 +00:00
Ilmari Karonen afac00b084 Remove verifyUpload hook, just check images using the normal userCan hook. This closes a loophole that allowed creation of blacklisted image pages via normal editing. Note that combining this version with MediaWiki revisions prior to r35167 breaks the 'reupload' option and produces uninformative output for blacklisted uploads. 2008-05-22 01:35:48 +00:00
Ilmari Karonen f4ef120e59 Add new option "moveonly" to forbid moves but allow ordinary creation (should be good against pagemove vandalism). 2008-05-21 23:23:24 +00:00
Ilmari Karonen ce6ce05dfa Add non-capturing parentheses to ensure even expressions like "Foo|Bar" get fully anchored. 2008-05-21 23:00:39 +00:00
Bryan Tong Minh b89489091c (bug 13803) Add 'reupload' parameter to allow reuploads of existing blacklisted images. 2008-04-20 21:21:16 +00:00
Victor Vasiliev 2381cc0693 * Use this (see prev commit) hook in the TitleBlacklist
* Fix profiling
2008-01-14 13:52:05 +00:00
Victor Vasiliev b7bc8af616 TitleBlacklist:
* Add title whitelist
* Add profiling
* Make cache version check really work
2008-01-08 18:00:59 +00:00
Brion Vibber f74f0713fd * (bug 12483) Transform '_' to ' ' in blacklist regexes for convenience 2008-01-03 00:58:52 +00:00
Brion Vibber 75527ed14b Use wfMemcKey() rather than hardcoding database name. 2007-12-31 23:02:22 +00:00
Niklas Laxström 648a7b824a * Converted to UTF-8 2007-12-31 10:03:10 +00:00
Brion Vibber d97448856c * Use UTF-8 option on regex matches, not just validation. Fixes case-insensitivity and character class matches for non-ASCII chars.
* Invalidate cached blacklist after save completion of MediaWiki:Titleblacklist rather than during edit filtering. Should help avoid race conditions which would leave you with the old version cached.
* Some minor whitespace & style cleanup
* Some output escaping cleanup
2007-12-29 04:23:57 +00:00
Victor Vasiliev e0c312c5fd Validate MediaWiki:TitleBlacklist and delete it from cache before saving 2007-12-23 09:47:36 +00:00
Victor Vasiliev b4340da579 TitleBlacklist v1.3: add caching 2007-12-19 18:35:44 +00:00
Victor Vasiliev 6dc375766b TitleBlacklist:
* Add errmsg option
* Some cleanup
2007-12-17 18:38:34 +00:00
Victor Vasiliev 8f35929085 Fix a typo 2007-12-15 15:29:56 +00:00
Victor Vasiliev 9ecaa4f5b2 TitleBlacklist:
* Add {{ns}} and {{int}} support to blacklist (for interlingual blacklists)
* Add "caseinsenitive" attribute
2007-12-14 17:54:06 +00:00
Victor Vasiliev d6a7b33f91 TitleBlacklist:
* Add TitleBlacklistEntry class
* Add entry attributes
* Temporary remove error message for userCan. Needs better hook
* Changed configuration structure
2007-12-10 19:02:38 +00:00
Victor Vasiliev dc99a5a329 TitleBlacklist:
* Allow to use different sources of blacklist: local page, URL, file
2007-12-09 12:15:13 +00:00
Victor Vasiliev ef2a6402e5 TitleBlacklist:
* Refactor code
* Filter images with incorrect titles
2007-12-08 21:06:21 +00:00