<?php
/**
- * See user.doc
+ * See user.txt
*
* @package MediaWiki
*/
* And it's cheaper to check slave first, then master if needed, than master always.
*/
function getBlockedStatus() {
- global $wgIP, $wgBlockCache, $wgProxyList, $wgEnableSorbs;
+ global $wgIP, $wgBlockCache, $wgProxyList, $wgEnableSorbs, $bFromSlave;
if ( -1 != $this->mBlockedby ) { return; }
# DNSBL
if ( !$this->mBlockedby && $wgEnableSorbs ) {
if ( $this->inSorbsBlacklist( $wgIP ) ) {
- $this->mBlockedBy = wfMsg( 'sorbs' );
- $this->mBlockereason = wfMsg( 'sorbsreason' );
+ $this->mBlockedby = wfMsg( 'sorbs' );
+ $this->mBlockreason = wfMsg( 'sorbsreason' );
}
}
$confstr .= '!' . $this->getOption( 'date' );
$confstr .= '!' . $this->getOption( 'numberheadings' );
$confstr .= '!' . $this->getOption( 'language' );
+ $confstr .= '!' . $this->getOption( 'thumbsize' );
// add in language specific options, if any
$extra = $wgContLang->getExtraHashOptions();
$confstr .= $extra;