Commit graph

42 commits

Author SHA1 Message Date
Sam Reed fa270c9728 Swap Fran Rogers to Fran McCrory per request 2012-02-23 01:23:53 +00:00
Sam Reed c06c850910 Swap
version_compare($wgVersion, '1.17alpha', '>=') ? 'antispam' : 'other'

for

'antispam'
2012-02-13 14:06:45 +00:00
Brion Vibber 8e1afc2a8f Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/ 2011-12-13 23:49:33 +00:00
Alexandre Emsenhuber 661285c2db Added TitleBlacklist::singleton() to get an instance of the TitleBlacklist instead of having to use $wgTitleBlacklist and call efInitTitleBlacklist() 2011-07-30 15:13:28 +00:00
Ian Baker 00242b75f1 Added an API to TitleBlackList to make it possible to check the blacklist in advance. Makes for more responsive UI. 2011-07-21 22:08:44 +00:00
Brion Vibber 5cd6dc1b6b * (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by
other extensions by handling the 'AbortAutoAccount' hook, similar to the
  'AbortNewAccount' triggered by explicit account creations. (They are separate
  to avoid loops and confusion; auth plugins like CentralAuth need to handle
  AbortNewAccount separately.
2011-04-05 01:18:40 +00:00
Sam Reed c8d5112717 Documentation, braces, unused globals 2011-03-17 22:20:01 +00:00
Daniel Friesen 803a3488ce Followup r78590, apparently the code that puts unknown categories of extensions into 'other' was not implemented until MediaWiki 1.17... *sigh* So we need to include a version check on these extensions until they stop supporting pre-1.17 versions of MediaWiki. 2010-12-20 04:05:54 +00:00
Daniel Friesen f5ea0f452c Change extension group 'other' for some of our antispam extensions into the new 'antispam' extension groups. Pre trunk wiki will just keep displaying them in 'other' anyways till release. 2010-12-19 01:59:11 +00:00
Victor Vasiliev 3219bf6dcb Title blacklist:
* (bug 22141) Introduce a separate user right for overriding title blacklist on account creations only
* Some minor refactorings
2010-11-08 21:55:05 +00:00
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
Liangent 0dd93b246d Use the hook CentralAuthAutoCreate to prevent blacklisted user names to be created from global users 2010-06-04 13:36:29 +00:00
Siebrand Mazeland 79e435968c * Remove $wgExtensionCredits['description'] where $wgExtensionCredits['descriptionmsg'] present. This feature was introduced in MediaWiki 1.12, and 'description' is not used if 'descriptionmsg' is present.
* Random indentation updates and trailing whitespace removed
2010-02-22 23:41:51 +00:00
Shinjiman 79eab4dc38 Follows up r49890, adding file location itself to obtaining the revision number shown in the Special:Version 2009-04-27 04:45:10 +00:00
Andrew Garrett eb3153baf8 Revert "Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions."
Uses $dir in extension files, and assumes that it remains unchanged in require_once( 'maintenance/commandLine.inc' ).
In fact, it is likely that '$dir' will be set when setting up command-line, as some extensions will use the same var.

Recommended fix: Use $CentralAuth_dir, $EmailPage_dir, etc.
2008-11-30 03:15:22 +00:00
Siebrand Mazeland 2d4b05df10 Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions. 2008-11-26 23:17:15 +00:00
Fran Rogers 85d29ce237 self-rv; mixed up diffs 2008-09-14 01:43:21 +00:00
Fran Rogers dc41069d3c Block redirects to blacklisted nonexistent titles as well. 2008-09-14 01:39:00 +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
Siebrand Mazeland a71b2dd437 Use author array in credits. 2008-08-05 17:08:29 +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
Alexandre Emsenhuber 9330fc0c7f Like UsernameBlacklist, remove useless extension function 2008-06-11 21:02:36 +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
Raimond Spekking f470da2558 Add description message for [[Special:Version]] 2008-02-18 20:43:36 +00:00
Victor Vasiliev f883ab0abd Create object when necessary 2008-02-01 14:24:59 +00:00
Victor Vasiliev 2381cc0693 * Use this (see prev commit) hook in the TitleBlacklist
* Fix profiling
2008-01-14 13:52:05 +00:00
Niklas Laxström c8bc2845f3 * Delay message loading 2008-01-10 23:16:48 +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
Siebrand Mazeland cb9d0faebe * use wfLoadExtensionMessages for TitleBlacklist
* update support for TitleBlacklist in Translate
2007-12-26 16:50:58 +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
Siebrand Mazeland 2ed55fa43f revert r28306, r28308, r28309, r28312 2007-12-16 18:45:23 +00:00
Siebrand Mazeland a341978ca9 revert 28376, 28377, 28378 2007-12-16 18:21:11 +00:00
Victor Vasiliev 281c040bd2 TitleBlacklist:
Use a better hook (getUserPermissionsErrors)
2007-12-15 06:16:19 +00:00
Siebrand Mazeland 9a723566ac * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-10 23:04:24 +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
Siebrand Mazeland fa92faaf0c * complete $wgExtensionCredits 2007-12-09 13:21:34 +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
Victor Vasiliev 3299f7bc9a TitleBlacklist:
* Extend and prettify messages
* Refactor code
* Handle page moves correctly
2007-12-08 18:38:05 +00:00
Victor Vasiliev b2a4496817 * (bug 11431) API for Extension:SiteMatrix
* Initial revision for TitleBlacklist extension
2007-11-05 16:38:38 +00:00