Last modified: 2013-06-20 23:28:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51908, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49908 - Make $wgAccountCreationThrottle work with APC cache (works only with memcached)
Make $wgAccountCreationThrottle work with APC cache (works only with memcached)
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.22.0
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-20 20:27 UTC by Kipmaster
Modified: 2013-06-20 23:28 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kipmaster 2013-06-20 20:27:48 UTC
Hi! Currently $wgAccountCreationThrottle (http://www.mediawiki.org/wiki/Manual:$wgAccountCreationThrottle) works only with memcached.

Do we want to make it work with other cache systems?

If yes: I have modified my private MediaWiki to have it work with APC cache as well. My modification is explained at http://www.mediawiki.org/wiki/Manual_talk:$wgAccountCreationThrottle but I can submit a patch if needed.
Comment 1 Sam Reed (reedy) 2013-06-20 21:41:59 UTC
I'm slightly confused. Although it says "Requires memcached" in the config, the code shows a slightly different situation. $wgMemc isn't actually always an object to interact with Memcached, it can be other types..

As long as you have set $wgMainCacheType correctly, it should be able to use that to cache...
Comment 2 Kipmaster 2013-06-20 23:28:58 UTC
Ah... Hmm yes it does work without any modification...

Given its name, I had the feeling that $wgMemc was only for Memcached (there is no http://www.mediawiki.org/wiki/Manual:$wgMemc )

Then maybe just update the documentation, thanks :-)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links