This website requires JavaScript.
Explore
Help
Sign in
Thijs
/
wiki.techinc.nl
Watch
1
Star
0
Fork
You've already forked wiki.techinc.nl
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
070f94de80
wiki.techinc.nl
/
includes
/
externalstore
/
ExternalStoreException.php
9 lines
81 B
PHP
Raw
Normal View
History
Unescape
Escape
Make ExternalStore wrap ExternalStoreFactory and create access class * Inject settings and global instances as dependencies to the ExternalStoreMedium instances. This includes the local wiki domain, so that wfWikiId() calls are not scattered around. * Create ExternalStoreAccess service for read/write logic. * Deprecate the ExternalStore wrapper methods. * Add some exception cases for bogus store URLs are used instead of just giving PHP warnings and failing later. * Make moveToExternal.php require the type/protocol to decide which ExternalStoreMedium to use instead of assuming "DB". * Convert logging calls to use LoggerInterface. Change-Id: I40c3b5534fc8a31116c4c5eb64ee6e4903a6197a
2018-02-27 06:24:46 +00:00
<
?
php
Mark exceptions as @newable Exceptions classes are nearly always value objects, and should in most cases by newable. Bug: T247862 Change-Id: I4faa8ec6ea8bc44086cfc8075b32d10eea61e9df
2020-06-29 12:13:29 +00:00
/**
*
@
newable
*/
Make ExternalStore wrap ExternalStoreFactory and create access class * Inject settings and global instances as dependencies to the ExternalStoreMedium instances. This includes the local wiki domain, so that wfWikiId() calls are not scattered around. * Create ExternalStoreAccess service for read/write logic. * Deprecate the ExternalStore wrapper methods. * Add some exception cases for bogus store URLs are used instead of just giving PHP warnings and failing later. * Make moveToExternal.php require the type/protocol to decide which ExternalStoreMedium to use instead of assuming "DB". * Convert logging calls to use LoggerInterface. Change-Id: I40c3b5534fc8a31116c4c5eb64ee6e4903a6197a
2018-02-27 06:24:46 +00:00
class
ExternalStoreException
extends
MWException
{
}
Reference in a new issue
Copy permalink