Page MenuHomePhabricator

FancyCaptcha constructs an FSFileBackend in deprecated way
Closed, ResolvedPublic

Description

Deprecated: Use of FileBackend::construct called without "wikiID". was
deprecated in MediaWiki 1.23. [Called from FileBackendStore::
construct in
/var/www/w/git/includes/filebackend/FileBackendStore.php at line 68] in
/var/www/w/git/includes/debug/Debug.php on line 301

Deprecated: Use of FileBackend::construct called with non-object
"lockManager". was deprecated in MediaWiki 1.23. [Called from
FileBackendStore::
construct in
/var/www/w/git/includes/filebackend/FileBackendStore.php at line 68] in
/var/www/w/git/includes/debug/Debug.php on line 301


Possiblly a good gci bug. Needs to modify getBackend(), so that the default
config doesn't create a new FSFileBackend object without specifying wikiID and
a lockManager. The appropriate values are probably just wfWikiId() and new
NullLockManager( array() ) respectively.


Version: unspecified
Severity: minor

Details

Reference
bz58614

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:30 AM
bzimport set Reference to bz58614.
Bawolff created this task.Dec 18 2013, 1:34 AM

Change 104535 had a related patch set uploaded by 01tonythomas:
Fix depreciation warnings in FileBackend construction for ConfirmEdit

https://gerrit.wikimedia.org/r/104535

Change 104535 merged by jenkins-bot:
Fix depreciation warnings in FileBackend construction for ConfirmEdit

https://gerrit.wikimedia.org/r/104535