use MediaWiki\Logger\LoggerFactory;
use MediaWiki\Session\SessionManager;
use Wikimedia\ScopedCallback;
-use Wikimedia\Rdbms\LBFactory;
// Hide compatibility functions from Doxygen
/// @cond
$wgOut->sendCacheControl();
}
+ MediaWiki\HeaderCallback::warnIfHeadersSent();
header( 'Content-type: text/html; charset=utf-8' );
print '<!DOCTYPE html>' .
'<html><head><title>' .
* or MediaWikiServices::getDBLoadBalancerFactory() instead.
*
* @param string|bool $wiki Wiki ID, or false for the current wiki
- * @return LoadBalancer
+ * @return \Wikimedia\Rdbms\LoadBalancer
*/
function wfGetLB( $wiki = false ) {
if ( $wiki === false ) {
*
* @deprecated since 1.27, use MediaWikiServices::getDBLoadBalancerFactory() instead.
*
- * @return LBFactory
+ * @return \Wikimedia\Rdbms\LBFactory
*/
function wfGetLBFactory() {
return \MediaWiki\MediaWikiServices::getInstance()->getDBLoadBalancerFactory();