/**@{{
* @private
*/
- private $mComment; //!<
- private $mContent; //!<
- private $mContentLoaded; //!<
- private $mCounter; //!<
- private $mFileCache; //!<
- private $mForUpdate; //!<
- private $mGoodAdjustment; //!<
- private $mId; //!<
- private $mLatest; //!<
- private $mMinorEdit; //!<
- private $mOldId; //!<
- private $mRedirectedFrom; //!<
- private $mRedirectUrl; //!<
- private $mRevIdFetched; //!<
- private $mRevision; //!<
- private $mTable; //!<
- private $mTimestamp; //!<
- private $mTotalAdjustment; //!<
- private $mUser; //!<
- private $mUserText; //!<
+ var $mComment; //!<
+ var $mContent; //!<
+ var $mContentLoaded; //!<
+ var $mCounter; //!<
+ var $mFileCache; //!<
+ var $mForUpdate; //!<
+ var $mGoodAdjustment; //!<
+ var $mId; //!<
+ var $mLatest; //!<
+ var $mMinorEdit; //!<
+ var $mOldId; //!<
+ var $mRedirectedFrom; //!<
+ var $mRedirectUrl; //!<
+ var $mRevIdFetched; //!<
+ var $mRevision; //!<
+ var $mTable; //!<
+ var $mTimestamp; //!<
+ var $mTitle; //!<
+ var $mTotalAdjustment; //!<
+ var $mTouched; //!<
+ var $mUser; //!<
+ var $mUserText; //!<
/**@}}*/
- public $mTitle; //!<
- public $mTouched; //!<
-
-
/**
* Constructor and clear the article
* @param $title Reference to a Title object.
*/
class Block
{
- public
- $mAddress,
- $mAuto,
- $mBy,
- $mExpiry,
- $mId,
- $mRangeEnd,
- $mRangeStart,
- $mReason,
- $mTimestamp,
- $mUser ;
-
- private
- $mByName,
- $mForUpdate,
- $mFromMaster,
- $mIntegerAddr,
- $mNetworkBits ;
+ /* public*/ var $mAddress, $mUser, $mBy, $mReason, $mTimestamp, $mAuto, $mId, $mExpiry,
+ $mRangeStart, $mRangeEnd;
+ /* private */ var $mNetworkBits, $mIntegerAddr, $mForUpdate, $mFromMaster, $mByName;
function Block( $address = '', $user = '', $by = 0, $reason = '',
$timestamp = '' , $auto = 0, $expiry = '' )
* @package MediaWiki
*/
class CacheManager {
- private
- $mTitle,
- $mFileCache;
+ var $mTitle, $mFileCache;
function CacheManager( &$title ) {
$this->mTitle =& $title;
*/
class RCCacheEntry extends RecentChange
{
- private
- $curlink,
- $difflink,
- $lastlink,
- $link,
- $secureName,
- $timestamp,
- $userlink,
- $usertalklink,
- $versionlink,
- $watched ;
-
- function newFromParent( $rc ) {
+ var $secureName, $link;
+ var $curlink , $difflink, $lastlink , $usertalklink , $versionlink ;
+ var $userlink, $timestamp, $watched;
+
+ function newFromParent( $rc )
+ {
$rc2 = new RCCacheEntry;
$rc2->mAttribs = $rc->mAttribs;
$rc2->mExtra = $rc->mExtra;
define( 'DEADLOCK_DELAY_MAX', 1500000 );
class DBObject {
- private $mData;
+ var $mData;
function DBObject($data) {
$this->mData = $data;
/**#@+
* @private
*/
- private $mLastQuery = '';
+ var $mLastQuery = '';
- private $mServer, $mUser, $mPassword, $mConn = null, $mDBname;
- private $mOut, $mOpened = false;
+ var $mServer, $mUser, $mPassword, $mConn = null, $mDBname;
+ var $mOut, $mOpened = false;
- private $mFailFunction;
- private $mTablePrefix;
- private $mFlags;
- private $mTrxLevel = 0;
- private $mErrorCount = 0;
- private $mLBInfo = array();
+ var $mFailFunction;
+ var $mTablePrefix;
+ var $mFlags;
+ var $mTrxLevel = 0;
+ var $mErrorCount = 0;
+ var $mLBInfo = array();
/**#@-*/
#------------------------------------------------------------------------------
* @package MediaWiki
*/
class ResultWrapper {
- private $db, $result;
+ var $db, $result;
/**
* @todo document
/**#@+
* @private
*/
- private
- $mNewid,
- $mNewPage,
- $mNewRev,
- $mNewtext,
- $mNewtitle,
-
- $mOldid,
- $mOldPage,
- $mOldRev,
- $mOldtext,
- $mOldtitle,
-
- $mPagetitle,
- $mRcidMarkPatrolled,
- $mRevisionsLoaded = false, // Have the revisions been loaded
- $mTextLoaded = 0, // How many text blobs have been loaded, 0, 1 or 2?
- $mTitle;
+ var $mOldid, $mNewid, $mTitle;
+ var $mOldtitle, $mNewtitle, $mPagetitle;
+ var $mOldtext, $mNewtext;
+ var $mOldPage, $mNewPage;
+ var $mRcidMarkPatrolled;
+ var $mOldRev, $mNewRev;
+ var $mRevisionsLoaded = false; // Have the revisions been loaded
+ var $mTextLoaded = 0; // How many text blobs have been loaded, 0, 1 or 2?
/**#@-*/
/**
* @subpackage DifferenceEngine
*/
class _DiffOp {
- private
- $closing,
- $orig,
- $type;
+ var $type;
+ var $orig;
+ var $closing;
function reverse() {
trigger_error('pure virtual', E_USER_ERROR);
* @subpackage DifferenceEngine
*/
class _DiffOp_Copy extends _DiffOp {
- public
- $type = 'copy';
+ var $type = 'copy';
function _DiffOp_Copy ($orig, $closing = false) {
if (!is_array($closing))
* @subpackage DifferenceEngine
*/
class _DiffOp_Delete extends _DiffOp {
- public $type = 'delete';
+ var $type = 'delete';
function _DiffOp_Delete ($lines) {
$this->orig = $lines;
* @subpackage DifferenceEngine
*/
class _DiffOp_Add extends _DiffOp {
- public $type = 'add';
+ var $type = 'add';
function _DiffOp_Add ($lines) {
$this->closing = $lines;
* @subpackage DifferenceEngine
*/
class _DiffOp_Change extends _DiffOp {
- private
- $type = 'change';
+ var $type = 'change';
function _DiffOp_Change ($orig, $closing) {
$this->orig = $orig;
*/
class Diff
{
- public $edits;
+ var $edits;
/**
* Constructor.
* This should be left at zero for this class, but subclasses
* may want to set this to other values.
*/
- public $leading_context_lines = 0;
+ var $leading_context_lines = 0;
/**
* Number of trailing context "lines" to preserve.
* This should be left at zero for this class, but subclasses
* may want to set this to other values.
*/
- public $trailing_context_lines = 0;
+ var $trailing_context_lines = 0;
/**
* Format a diff.
*/
class EditPage {
- private
- $allowBlankSummary = false,
- $autoSumm = '',
- $deletedSinceEdit = false,
- $firsttime,
- $formtype,
- $hookError = '',
- $isConflict = false,
- $isCssJsSubpage = false,
- $kblength = false,
- $lastDelete,
- $mArticle,
- $missingComment = false,
- $missingSummary = false,
- $mMetaData = '',
- $mTitle,
- $mTokenOk = true,
- $tooBig = false ;
+ var $mArticle;
+ var $mTitle;
+ var $mMetaData = '';
+ var $isConflict = false;
+ var $isCssJsSubpage = false;
+ var $deletedSinceEdit = false;
+ var $formtype;
+ var $firsttime;
+ var $lastDelete;
+ var $mTokenOk = true;
+ var $tooBig = false;
+ var $kblength = false;
+ var $missingComment = false;
+ var $missingSummary = false;
+ var $allowBlankSummary = false;
+ var $autoSumm = '';
+ var $hookError = '';
# Form values
- private
- $diff = false,
- $editintro = '',
- $edittime = '',
- $minoredit = false,
- $oldid = 0,
- $preview = false,
- $recreate = false,
- $save = false,
- $scrolltop = null,
- $section = '',
- $starttime = '',
- $summary = '',
- $textbox1 = '',
- $textbox2 = '',
- $watchthis = false ;
+ var $save = false, $preview = false, $diff = false;
+ var $minoredit = false, $watchthis = false, $recreate = false;
+ var $textbox1 = '', $textbox2 = '', $summary = '';
+ var $edittime = '', $section = '', $starttime = '';
+ var $oldid = 0, $editintro = '', $scrolltop = null;
/**
* @todo document
$this->watchthis = $request->getCheck( 'wpWatchthis' );
# Don't force edit summaries when a user is editing their own user or talk page
- if( ( $this->mTitle->getNamespace() == NS_USER || $this->mTitle->getNamespace() == NS_USER_TALK ) && $this->mTitle->getText() == $wgUser->getName() ) {
+ if( ( $this->mTitle->mNamespace == NS_USER || $this->mTitle->mNamespace == NS_USER_TALK ) && $this->mTitle->getText() == $wgUser->getName() ) {
$this->allowBlankSummary = true;
} else {
$this->allowBlankSummary = $request->getBool( 'wpIgnoreBlankSummary' );
* is the value, in the case of more than one possible value type they are
* seperated by commas.
*/
- private $mExifTags;
+ var $mExifTags;
/**
* A one dimentional array of all Exif tags
*/
- private $mFlatExifTags;
+ var $mFlatExifTags;
/**
* The raw Exif data returned by exif_read_data()
*/
- private $mRawExifData;
+ var $mRawExifData;
/**
* A Filtered version of $mRawExifData that has been pruned of invalid
* tags and tags that contain content they shouldn't contain according
* to the Exif specification
*/
- private $mFilteredExifData;
+ var $mFilteredExifData;
/**
* Filtered and formatted Exif data, see FormatExif::getFormattedData()
*/
- private $mFormattedExifData;
+ var $mFormattedExifData;
//@}
/**
* The file being processed
*/
- private $file;
+ var $file;
/**
* The basename of the file being processed
*/
- private $basename;
+ var $basename;
/**
* The private log to log to
*/
- private $log = 'exif';
+ var $log = 'exif';
//@}
* @var array
* @private
*/
- private $mExif;
+ var $mExif;
/**
* Constructor
* @var string
* @private
*/
- private
- $Author = '',
- $Date = '',
- $Description = '',
- $Title = 'Wiki',
- $Url = '' ;
+ var $Title = 'Wiki';
+ var $Description = '';
+ var $Url = '';
+ var $Date = '';
+ var $Author = '';
/**#@-*/
/**#@+
* The real object
* @package MediaWiki
*/
-class ConcatenatedGzipHistoryBlob extends HistoryBlob {
- private
- $mCompressed = false,
- $mDefaultHash = '',
- $mFast = 0,
- $mItems = array(),
- $mSize = 0,
- $mVersion = 0 ;
+class ConcatenatedGzipHistoryBlob extends HistoryBlob
+{
+ /* private */ var $mVersion = 0, $mCompressed = false, $mItems = array(), $mDefaultHash = '';
+ /* private */ var $mFast = 0, $mSize = 0;
function ConcatenatedGzipHistoryBlob() {
if ( !function_exists( 'gzdeflate' ) ) {
* @package MediaWiki
*/
class HistoryBlobStub {
- private
- $mHash,
- $mOldId,
- $mRef;
+ var $mOldId, $mHash, $mRef;
/** @todo document */
function HistoryBlobStub( $hash = '', $oldid = 0 ) {
* @package MediaWiki
*/
class HistoryBlobCurStub {
- private
- $mCurId;
+ var $mCurId;
/** @todo document */
function HistoryBlobCurStub( $curid = 0 ) {
/**#@+
* @private
*/
- private
- $name, # name of the image (constructor)
+ var $name, # name of the image (constructor)
$imagePath, # Path of the image (loadFromXxx)
$url, # Image URL (accessor)
$title, # Title object for this image (constructor)
$dataLoaded, # Whether or not all this has been loaded from the database (loadFromXxx)
$lastError; # Error string associated with a thumbnail display error
+
/**#@-*/
/**
}
class Job {
- private
- $command,
+ var $command,
$title,
$params,
$id,
class LinkBatch {
/**
* 2-d array, first index namespace, second index dbkey, value arbitrary
- * @todo FIXME should it really be public ?
*/
- public $data = array();
+ var $data = array();
function LinkBatch( $arr = array() ) {
foreach( $arr as $item ) {
class LinkCache {
// Increment $mClassVer whenever old serialized versions of this class
// becomes incompatible with the new version.
- private
- $mBadLinks,
- $mClassVer = 3,
- $mForUpdate,
- $mGoodLinks,
- $mPageLinks ;
+ /* private */ var $mClassVer = 3;
+
+ /* private */ var $mPageLinks;
+ /* private */ var $mGoodLinks, $mBadLinks;
+ /* private */ var $mForUpdate;
/**
* Get an instance of this class
/**@{{
* @private
*/
- private
- $mId, //!< Page ID of the article linked from
+ var $mId, //!< Page ID of the article linked from
$mTitle, //!< Title object of the article linked from
$mLinks, //!< Map of title strings to IDs for the links in the document
$mImages, //!< DB keys of the images used, in the array key only
* @package MediaWiki
*/
class LoadBalancer {
-
- private
- $mAllowLagged,
- $mConnections,
- $mErrorConnection,
- $mFailFunction,
- $mForce,
- $mGroupLoads,
- $mLaggedSlaveMode,
- $mLastError = 'Unknown error',
- $mLastIndex,
- $mLoads,
- $mReadIndex,
- $mServers,
- $mWaitForFile,
- $mWaitForPos,
- $mWaitTimeout ;
+ /* private */ var $mServers, $mConnections, $mLoads, $mGroupLoads;
+ /* private */ var $mFailFunction, $mErrorConnection;
+ /* private */ var $mForce, $mReadIndex, $mLastIndex, $mAllowLagged;
+ /* private */ var $mWaitForFile, $mWaitForPos, $mWaitTimeout;
+ /* private */ var $mLaggedSlaveMode, $mLastError = 'Unknown error';
function LoadBalancer()
{
$this->mAllowLag = false;
}
- static function newFromParams( $servers, $failFunction = false, $waitTimeout = 10 )
+ function newFromParams( $servers, $failFunction = false, $waitTimeout = 10 )
{
$lb = new LoadBalancer;
$lb->initialise( $servers, $failFunction, $waitTimeout );
*/
class LogPage {
/* @access private */
- private $type, $action, $comment, $params, $target;
+ var $type, $action, $comment, $params, $target;
/* @acess public */
- public $updateRecentChanges;
+ var $updateRecentChanges;
/**
* Constructor
/**
* @static
*/
- static function validTypes() {
+ function validTypes() {
static $types = array( '', 'block', 'protect', 'rights', 'delete', 'upload', 'move' );
wfRunHooks( 'LogPageValidTypes', array( &$types ) );
return $types;
}
/**
- * @param $type
* @static
*/
- static function isLogType( $type ) {
+ function isLogType( $type ) {
return in_array( $type, LogPage::validTypes() );
}
/**
- * @param $type
* @static
*/
- static function logName( $type ) {
+ function logName( $type ) {
static $typeText = array(
'' => 'log',
'block' => 'blocklogpage',
/**
* @static
*/
- static function logHeader( $type ) {
+ function logHeader( $type ) {
static $headerText = array(
'' => 'alllogstext',
'block' => 'blocklogtext',
}
/**
- * @param $type
- * @param $action
- * @param $title (Default: NULL)
- * @param $skin (Default: NULL)
- * @param $params (Default: array() )
- * @param $filterWikilinks (Default: false)
- * @param $translate (Default: false)
* @static
*/
- static function actionText( $type, $action, $title = NULL, $skin = NULL, $params = array(), $filterWikilinks=false, $translate=false ) {
+ function actionText( $type, $action, $title = NULL, $skin = NULL, $params = array(), $filterWikilinks=false, $translate=false ) {
global $wgLang, $wgContLang;
static $actions = array(
'block/block' => 'blocklogentry',
/**
* Create a blob from a parameter array
- * @param $params Need documentation.
* @static
*/
- static function makeParamBlob( $params ) {
+ function makeParamBlob( $params ) {
return implode( "\n", $params );
}
* Extract a parameter array from a blob
* @static
*/
- static function extractParams( $blob ) {
+ function extractParams( $blob ) {
if ( $blob === '' ) {
return array();
} else {
/**#@+
* @access private
*/
- private
- $mBaseRegex,
- $mModified,
- $mRegex,
- $mRegexStart,
- $mVariableRegex ;
+ var $mId, $mSynonyms, $mCaseSensitive, $mRegex;
+ var $mRegexStart, $mBaseRegex, $mVariableRegex;
+ var $mModified;
/**#@-*/
- /** @todo FIXME should they really be public ? */
- public
- $mCaseSensitive,
- $mId,
- $mSynonyms ;
-
-
function MagicWord($id = 0, $syn = '', $cs = false) {
$this->mId = $id;
$this->mSynonyms = (array)$syn;
* Factory: creates an object representing an ID
* @static
*/
- static function &get( $id ) {
+ function &get( $id ) {
global $wgMagicWords;
if ( !is_array( $wgMagicWords ) ) {
* @package MediaWiki
*/
class MessageCache {
- private
- $mCache,
- $mDeferred = true,
- $mDisable,
- $mExpiry,
- $mExtensionMessages = array(),
- $mInitialised = false,
- $mKeys,
- $mMemcKey,
- $mParser,
- $mParserOptions,
- $mUseCache ;
+ var $mCache, $mUseCache, $mDisable, $mExpiry;
+ var $mMemcKey, $mKeys, $mParserOptions, $mParser;
+ var $mExtensionMessages = array();
+ var $mInitialised = false;
+ var $mDeferred = true;
function initialise( &$memCached, $useDB, $expiry, $memcPrefix) {
$fname = 'MessageCache::initialise';
* @package MediaWiki
*/
class OutputPage {
- private $mHeaders, $mMetatags, $mKeywords;
- private $mLinktags, $mPagetitle;
- private $mHTMLtitle, $mRobotpolicy, $mIsarticle, $mPrintable;
- private $mSubtitle, $mRedirect, $mStatusCode;
- private $mLastModified, $mETag ;
- private $mScripts, $mLinkColours;
- private $mSuppressQuickbar;
- private $mOnloadHandler;
- private $mDoNothing;
- private $mContainsOldMagic, $mContainsNewMagic;
- private $mIsArticleRelated;
- private $mShowFeedLinks = false;
- private $mEnableClientCache = true;
- private $mArticleBodyOnly = false;
- private $mNewSectionLink = false;
-
- /** @todo FIXME shouldn't those be private ? */
- public
- $mPageLinkTitle,
- $mCategoryLinks,
- $mDebugtext,
- $mBodytext,
- $mParserOptions // Called in SkinTemplate when using Special::UserLogin
- ;
+ var $mHeaders, $mMetatags, $mKeywords;
+ var $mLinktags, $mPagetitle, $mBodytext, $mDebugtext;
+ var $mHTMLtitle, $mRobotpolicy, $mIsarticle, $mPrintable;
+ var $mSubtitle, $mRedirect, $mStatusCode;
+ var $mLastModified, $mETag, $mCategoryLinks;
+ var $mScripts, $mLinkColours, $mPageLinkTitle;
+
+ var $mSuppressQuickbar;
+ var $mOnloadHandler;
+ var $mDoNothing;
+ var $mContainsOldMagic, $mContainsNewMagic;
+ var $mIsArticleRelated;
+ var $mParserOptions;
+ var $mShowFeedLinks = false;
+ var $mEnableClientCache = true;
+ var $mArticleBodyOnly = false;
+
+ var $mNewSectionLink = false;
/**
* Constructor
print $outs;
}
- static function setEncodings() {
+ function setEncodings() {
global $wgInputEncoding, $wgOutputEncoding;
global $wgUser, $wgContLang;
*/
class PageHistory {
- private
- $lastdate,
- $linesonpage,
- $mArticle,
- $mLatestId = null,
- $mNotificationTimestamp,
- $mSkin,
- $mTitle ;
+ var $mArticle, $mTitle, $mSkin;
+ var $lastdate;
+ var $linesonpage;
+ var $mNotificationTimestamp;
+ var $mLatestId = null;
/**
* Construct a new PageHistory.
* @private
*/
# Persistent:
- private $mTagHooks, $mFunctionHooks;
+ var $mTagHooks, $mFunctionHooks;
# Cleared with clearState():
- private
- $mArgStack,
- $mAutonumber,
- $mDTopen,
- $mIncludeCount,
- $mInPre,
- $mInterwikiLinkHolders,
- $mLastSection,
- $mLinkHolders,
- $mOutput,
- $mStripState = array(),
- $mUniqPrefix,
- $mVariables ;
-
- private
- $mTemplates, // cache of already loaded templates, avoids
+ var $mOutput, $mAutonumber, $mDTopen, $mStripState = array();
+ var $mVariables, $mIncludeCount, $mArgStack, $mLastSection, $mInPre;
+ var $mInterwikiLinkHolders, $mLinkHolders, $mUniqPrefix;
+ var $mTemplates, // cache of already loaded templates, avoids
// multiple SQL queries for the same string
$mTemplatePath; // stores an unsorted hash of all the templates already loaded
// in this path. Used for loop detection.
# Temporary
# These are variables reset at least once per parse regardless of $clearState
- private
- $mOptions, // ParserOptions object
+ var $mOptions, // ParserOptions object
$mTitle, // Title context, used for self-link rendering and similar things
$mOutputType, // Output type, one of the OT_xxx constants
$mRevisionId; // ID to display in {{REVISIONID}} tags
*/
class ParserOutput
{
- private
- $mCacheTime, # Time when this object was generated, or -1 for uncacheable. Used in ParserCache.
- $mCategories, # Map of category names to sort keys
- $mExternalLinks, # External link URLs, in the key only
- $mImages, # DB keys of the images used, in the array key only
+ var $mText, # The output text
$mLanguageLinks, # List of the full text of language links, in the order they appear
+ $mCategories, # Map of category names to sort keys
+ $mContainsOldMagic, # Boolean variable indicating if the input contained variables like {{CURRENTDAY}}
+ $mCacheTime, # Time when this object was generated, or -1 for uncacheable. Used in ParserCache.
+ $mVersion, # Compatibility check
+ $mTitleText, # title text of the chosen language variant
$mLinks, # 2-D map of NS/DBK to ID for the links in the document. ID=zero for broken.
- $mNewSection, # Show a new section link?
- $mSubtitle, # Additional subtitle
$mTemplates, # 2-D map of NS/DBK to ID for the template references. ID=zero for broken.
- $mTitleText, # title text of the chosen language variant
- $mVersion ; # Compatibility check
-
-
- /** @todo FIXME should those be public ? */
- public
- $mContainsOldMagic, # Boolean variable indicating if the input contained variables like {{CURRENTDAY}}
+ $mImages, # DB keys of the images used, in the array key only
+ $mExternalLinks, # External link URLs, in the key only
$mHTMLtitle, # Display HTML title
- $mText ; # The output text // public cause its used in ParserCache::save
+ $mSubtitle, # Additional subtitle
+ $mNewSection; # Show a new section link?
function ParserOutput( $text = '', $languageLinks = array(), $categoryLinks = array(),
$containsOldMagic = false, $titletext = '' )
class ParserOptions
{
# All variables are private
- private
- $mAllowExternalImages, # Allow external images inline
- $mAllowExternalImagesFrom, # If not, any exception?
- $mAllowSpecialInclusion, # Allow inclusion of special pages
- $mDateFormat, # Date format index
- $mEditSection, # Create "edit section" links
- $mInterfaceMessage, # Which lang to call for PLURAL and GRAMMAR
- $mInterwikiMagic, # Interlanguage links are removed and returned in an array
- $mNumberHeadings, # Automatically number headings
- $mSkin, # Reference to the preferred skin
- $mTidy, # Ask for tidy cleanup
- $mUseDynamicDates, # Use DateFormatter to format dates
- $mUseTeX ; # Use texvc to expand <math> tags
+ var $mUseTeX; # Use texvc to expand <math> tags
+ var $mUseDynamicDates; # Use DateFormatter to format dates
+ var $mInterwikiMagic; # Interlanguage links are removed and returned in an array
+ var $mAllowExternalImages; # Allow external images inline
+ var $mAllowExternalImagesFrom; # If not, any exception?
+ var $mSkin; # Reference to the preferred skin
+ var $mDateFormat; # Date format index
+ var $mEditSection; # Create "edit section" links
+ var $mNumberHeadings; # Automatically number headings
+ var $mAllowSpecialInclusion; # Allow inclusion of special pages
+ var $mTidy; # Ask for tidy cleanup
+ var $mInterfaceMessage; # Which lang to call for PLURAL and GRAMMAR
function getUseTeX() { return $this->mUseTeX; }
function getUseDynamicDates() { return $this->mUseDynamicDates; }
* Get parser options
* @static
*/
- static function newFromUser( &$user ) {
+ function newFromUser( &$user ) {
$popts = new ParserOptions;
$popts->initialiseFromUser( $user );
return $popts;
// Save the timestamp so that we don't have to load the revision row on view
$parserOutput->mTimestamp = $article->getTimestamp();
-
- #Â FIXME : attempt to access private parserOutput::mText ?
+
$parserOutput->mText .= "\n<!-- Saved in parser cache with key $key and timestamp $now -->\n";
wfDebug( "Saved in parser cache with key $key and timestamp $now\n" );
*
* @package MediaWiki
*/
-abstract class QueryPage {
+class QueryPage {
/**
* Whether or not we want plain listoutput rather than an ordered list
*
* @var bool
*/
- private $listoutput = false;
+ var $listoutput = false;
/**
* The offset and limit in use, as passed to the query() function
*
* @var integer
*/
- protected $offset = 0;
- protected $limit = 0;
+ var $offset = 0;
+ var $limit = 0;
/**
* A mutator for $this->listoutput;
* @todo document functions and variables
* @package MediaWiki
*/
-class RecentChange {
-
- private
- $mExtra = array(),
- $mMovedToTitle = false,
- $mTitle = false;
-
- /** @todo FIXME should those really be public ? */
- public
- $mAttribs = array();
-
- public
- $numberofWatchingusers = 0 ; # Dummy to prevent error message in SpecialRecentchangeslinked
+class RecentChange
+{
+ var $mAttribs = array(), $mExtra = array();
+ var $mTitle = false, $mMovedToTitle = false;
+ var $numberofWatchingusers = 0 ; # Dummy to prevent error message in SpecialRecentchangeslinked
# Factory methods
- static function newFromRow( $row ) {
+ /* static */ function newFromRow( $row )
+ {
$rc = new RecentChange;
$rc->loadFromRow( $row );
return $rc;
}
- static function newFromCurRow( $row, $rc_this_oldid = 0 ) {
+ /* static */ function newFromCurRow( $row, $rc_this_oldid = 0 )
+ {
$rc = new RecentChange;
$rc->loadFromCurRow( $row, $rc_this_oldid );
$rc->notificationtimestamp = false;
}
# Makes an entry in the database corresponding to an edit
- static function notifyEdit( $timestamp, &$title, $minor, &$user, $comment,
+ /*static*/ function notifyEdit( $timestamp, &$title, $minor, &$user, $comment,
$oldId, $lastTimestamp, $bot = "default", $ip = '', $oldSize = 0, $newSize = 0,
$newId = 0)
{
# Makes an entry in the database corresponding to page creation
# Note: the title object must be loaded with the new id using resetArticleID()
- static function notifyNew( $timestamp, &$title, $minor, &$user, $comment, $bot = "default",
+ /*static*/ function notifyNew( $timestamp, &$title, $minor, &$user, $comment, $bot = "default",
$ip='', $size = 0, $newId = 0 )
{
if ( !$ip ) {
}
# Makes an entry in the database corresponding to a rename
- static function notifyMove( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='', $overRedir = false )
+ /*static*/ function notifyMove( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='', $overRedir = false )
{
if ( !$ip ) {
$ip = wfGetIP();
$rc->save();
}
- static function notifyMoveToNew( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='' ) {
+ /* static */ function notifyMoveToNew( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='' ) {
RecentChange::notifyMove( $timestamp, $oldTitle, $newTitle, $user, $comment, $ip, false );
}
- static function notifyMoveOverRedirect( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='' ) {
+ /* static */ function notifyMoveOverRedirect( $timestamp, &$oldTitle, &$newTitle, &$user, $comment, $ip='' ) {
RecentChange::notifyMove( $timestamp, $oldTitle, $newTitle, $user, $comment, $ip, true );
}
# A log entry is different to an edit in that previous revisions are
# not kept
- static function notifyLog( $timestamp, &$title, &$user, $comment, $ip='',
+ /*static*/ function notifyLog( $timestamp, &$title, &$user, $comment, $ip='',
$type, $action, $target, $logComment, $params )
{
if ( !$ip ) {
* @param string $id
* @return string
*/
- static function escapeId( $id ) {
+ function escapeId( $id ) {
static $replace = array(
'%3A' => ':',
'%' => '.'
* @return string
* @private
*/
- private static function armorLinksCallback( $matches ) {
+ function armorLinksCallback( $matches ) {
return str_replace( ':', ':', $matches[1] );
}
* @param string $text
* @return string
* @private
- * @todo FIXME called from parser.php so not that much private
*/
function normalizeCharReferences( $text ) {
return preg_replace_callback(
* @param string $matches
* @return string
*/
- static function normalizeCharReferencesCallback( $matches ) {
+ function normalizeCharReferencesCallback( $matches ) {
$ret = null;
if( $matches[1] != '' ) {
$ret = Sanitizer::normalizeEntity( $matches[1] );
* @param string $name
* @return string
*/
- static function normalizeEntity( $name ) {
+ function normalizeEntity( $name ) {
global $wgHtmlEntities;
if( isset( $wgHtmlEntities[$name] ) ) {
return "&$name;";
* @param string $text
* @return string
* @public
- * @static
*/
- public static function decodeCharReferences( $text ) {
+ function decodeCharReferences( $text ) {
return preg_replace_callback(
MW_CHAR_REFS_REGEX,
array( 'Sanitizer', 'decodeCharReferencesCallback' ),
* @param string $matches
* @return string
*/
- static function decodeCharReferencesCallback( $matches ) {
+ function decodeCharReferencesCallback( $matches ) {
if( $matches[1] != '' ) {
return Sanitizer::decodeEntity( $matches[1] );
} elseif( $matches[2] != '' ) {
* @return string
* @static
*/
- static function hackDocType() {
+ function hackDocType() {
global $wgHtmlEntities;
$out = "<!DOCTYPE html [\n";
foreach( $wgHtmlEntities as $entity => $codepoint ) {
*/
class SearchUpdate {
- private
- $mId = 0,
- $mNamespace,
- $mTitle,
- $mText,
- $mTitleWords;
+ /* private */ var $mId = 0, $mNamespace, $mTitle, $mText;
+ /* private */ var $mTitleWords;
function SearchUpdate( $id, $title, $text = false ) {
$nt = Title::newFromText( $title );
/** @package MediaWiki */
class SiteConfiguration {
- private $suffixes = array();
- private $wikis = array();
- private $settings = array();
- private $localVHosts = array();
+ var $suffixes = array();
+ var $wikis = array();
+ var $settings = array();
+ var $localVHosts = array();
/** */
function get( $setting, $wiki, $suffix, $params = array() ) {
*/
class SiteStatsUpdate {
- private $mViews, $mEdits, $mGood, $mPages, $mUsers;
+ var $mViews, $mEdits, $mGood, $mPages, $mUsers;
function SiteStatsUpdate( $views, $edits, $good, $pages = 0, $users = 0 ) {
$this->mViews = $views;
/**#@+
* @private
*/
- private
- $lastdate,
- $lastline,
- $rc_cache, # Cache for Enhanced Recent Changes
- $rcCacheIndex, # Recent Changes Cache Counter for visibility toggle
- $rcMoveIndex;
+ var $lastdate, $lastline;
+ var $rc_cache ; # Cache for Enhanced Recent Changes
+ var $rcCacheIndex ; # Recent Changes Cache Counter for visibility toggle
+ var $rcMoveIndex;
/**#@-*/
/** Constructor, call parent constructor */
}
class SpecialAllpages {
- private
- $maxPerPage = 960,
- $name = 'Allpages',
- # Determines, which message describes the input field 'nsfrom' (->SpecialPrefixindex.php)
- $nsfromMsg = 'allpagesfrom',
- $topLevelMax = 50;
+ var $maxPerPage=960;
+ var $topLevelMax=50;
+ var $name='Allpages';
+ # Determines, which message describes the input field 'nsfrom' (->SpecialPrefixindex.php)
+ var $nsfromMsg='allpagesfrom';
/**
* HTML for the top form
* @subpackage SpecialPage
*/
class IPBlockForm {
- private
- $BlockAddress,
- $BlockExpiry,
- $BlockReason;
+ var $BlockAddress, $BlockExpiry, $BlockReason;
function IPBlockForm( $par ) {
global $wgRequest;
* @subpackage SpecialPage
*/
class BookSourceList {
- private $mIsbn;
+ var $mIsbn;
function BookSourceList( $isbn ) {
$this->mIsbn = $isbn;
/** @package MediaWiki */
class contribs_finder {
- private
- $dbr,
- $limit,
- $namespace,
- $offset,
- $username;
+ var $username, $offset, $limit, $namespace;
+ var $dbr;
function contribs_finder($username) {
$this->username = $username;
return $rows[count($rows) - 1]->rev_timestamp;
}
- private function make_sql() {
+ /* private */ function make_sql() {
$userCond = $condition = $index = $offsetQuery = '';
extract($this->dbr->tableNames('page', 'revision'));
* @subpackage SpecialPage
*/
class WikiRevision {
- private
- $comment = '',
- $id = 0,
- $minor = false,
- $text = '',
- $timestamp = '20010115000000',
- $title = NULL,
- $user = 0,
- $user_text = '' ;
+ var $title = NULL;
+ var $id = 0;
+ var $timestamp = "20010115000000";
+ var $user = 0;
+ var $user_text = "";
+ var $text = "";
+ var $comment = "";
+ var $minor = false;
function setTitle( $text ) {
$this->title = Title::newFromText( $text );
* @subpackage SpecialPage
*/
class WikiImporter {
- private
- $lastfield,
- $mPageCallback = null,
- $mRevisionCallback = null,
- $mSource = null ;
+ var $mSource = null;
+ var $mPageCallback = null;
+ var $mRevisionCallback = null;
+ var $lastfield;
function WikiImporter( $source ) {
$this->setRevisionCallback( array( &$this, "importRevision" ) );
* @subpackage SpecialPage
*/
class ListUsersPage extends QueryPage {
- // Variables used by constructor
- public
- $requestedGroup = '',
- $requestedUser = '' ;
+ var $requestedGroup = '';
+ var $requestedUser = '';
function getName() {
return 'Listusers';
* @subpackage SpecialPage
*/
class LogReader {
- private
- $db,
- $joinClauses,
- $title = null,
- $type = '',
- $user = '',
- $whereClauses ;
+ var $db, $joinClauses, $whereClauses;
+ var $type = '', $user = '', $title = null;
/**
* @param WebRequest $request For internal use use a FauxRequest object to pass arbitrary parameters.
/**
* @var LogReader $reader
*/
- private
- $numResults = 0,
- $reader ;
+ var $reader;
+ var $numResults = 0;
/**
* @param LogReader &$reader where to get our data from
* @subpackage SpecialPage
*/
class NewPagesPage extends QueryPage {
- private
- $namespace;
+ var $namespace;
function NewPagesPage( $namespace = NS_MAIN ) {
$this->namespace = $namespace;
* The name of the class, used in the URL.
* Also used for the default <h1> heading, @see getDescription()
*/
- private $mName;
+ var $mName;
/**
* Minimum user level required to access this page, or "" for anyone.
* Also used to categorise the pages in Special:Specialpages
*/
- private $mRestriction;
+ var $mRestriction;
/**
* Listed in Special:Specialpages?
*/
- private $mListed;
+ var $mListed;
/**
* Function name called by the default execute()
*/
- private $mFunction;
+ var $mFunction;
/**
* File which needs to be included before the function above can be called
*/
- private $mFile;
+ var $mFile;
/**
* Whether or not this special page is being included from an article
*/
- private $mIncluding;
+ var $mIncluding;
/**
* Whether the special page can be included in an article
*/
- private $mIncludable;
+ var $mIncludable;
+
/**#@-*/
* Use this for a special page extension
* @static
*/
- static function addPage( &$obj ) {
+ function addPage( &$obj ) {
global $wgSpecialPages;
$wgSpecialPages[$obj->mName] = $obj;
}
* Occasionally used to disable expensive or dangerous special pages
* @static
*/
- static function removePage( $name ) {
+ function removePage( $name ) {
global $wgSpecialPages;
unset( $wgSpecialPages[$name] );
}
* @static
* @param string $name
*/
- static function getPage( $name ) {
+ function getPage( $name ) {
global $wgSpecialPages;
if ( array_key_exists( $name, $wgSpecialPages ) ) {
return $wgSpecialPages[$name];
* @param string $name
* @return mixed Title object if the redirect exists, otherwise NULL
*/
- static function getRedirect( $name ) {
+ function getRedirect( $name ) {
global $wgUser;
$redirects = array(
* Returns a 2d array where the first index is the restriction name
* @static
*/
- static function getPages() {
+ function getPages() {
global $wgSpecialPages;
$pages = array(
'' => array(),
* a redirect.
* @static
*/
- static function capturePath( &$title ) {
+ function capturePath( &$title ) {
global $wgOut, $wgTitle;
$oldTitle = $wgTitle;
* @subpackage SpecialPage
*/
class PreferencesForm {
-
- private
- $mAction,
- $mCols,
- $mDate,
- $mEmailFlag,
- $mHourDiff,
- $mImageSize,
- $mMath,
- $mNewpass,
- $mNick,
- $mOldpass,
- $mPosted,
- $mQuickbar,
- $mRealName,
- $mRecent,
- $mReset,
- $mRetypePass,
- $mRows,
- $mSearch,
- $mSearchChars,
- $mSearchLines,
- $mSearchNs,
- $mSkin,
- $mStubs,
- $mToggles,
- $mUnderline,
- $mUserEmail,
- $mUserLanguage,
- $mUserVariant,
- $mWatchlistEdits ;
+ var $mQuickbar, $mOldpass, $mNewpass, $mRetypePass, $mStubs;
+ var $mRows, $mCols, $mSkin, $mMath, $mDate, $mUserEmail, $mEmailFlag, $mNick;
+ var $mUserLanguage, $mUserVariant;
+ var $mSearch, $mRecent, $mHourDiff, $mSearchLines, $mSearchChars, $mAction;
+ var $mReset, $mPosted, $mToggles, $mSearchNs, $mRealName, $mImageSize;
+ var $mUnderline, $mWatchlistEdits;
/**
* Constructor
* @subpackage SpecialPage
*/
class PageArchive {
- public
- $title;
+ var $title;
function PageArchive( &$title ) {
if( is_null( $title ) ) {
* @subpackage SpecialPage
*/
class UndeleteForm {
- private
- $mAction,
- $mAllowed,
- $mComment,
- $mRestore,
- $mTarget,
- $mTargetObj,
- $mTargetTimestamp,
- $mTimestamp ;
+ var $mAction, $mTarget, $mTimestamp, $mRestore, $mTargetObj;
+ var $mTargetTimestamp, $mAllowed, $mComment;
function UndeleteForm( &$request, $par = "" ) {
global $wgUser;
* @subpackage SpecialPage
*/
class LoginForm {
- private
- $mAction,
- $mCookieCheck,
- $mCreateaccount,
- $mCreateaccountMail,
- $mDomain,
- $mEmail, // Entered user email ??
- $mLoginattempt,
- $mMailmypassword,
- $mName, // Entered username
- $mPassword, // Entered user password
- $mPosted,
- $mRemember, // bool, if user want to be remembered
- $mReturnTo, // article to return to once logged in
- $mRetype ;
+ var $mName, $mPassword, $mRetype, $mReturnTo, $mCookieCheck, $mPosted;
+ var $mAction, $mCreateaccount, $mCreateaccountMail, $mMailmypassword;
+ var $mLoginattempt, $mRemember, $mEmail, $mDomain;
/**
* Constructor
* @subpackage SpecialPage
*/
class WantedPagesPage extends QueryPage {
- private $nlinks;
+ var $nlinks;
function WantedPagesPage( $inc = false, $nlinks = true ) {
$this->setListoutput( $inc );
* @package MediaWiki
*/
class SquidUpdate {
- public $urlArr; // FIXME : is it really public ?
- private $mMaxTitles;
+ var $urlArr, $mMaxTitles;
function SquidUpdate( $urlArr = Array(), $maxTitles = false ) {
global $wgMaxSquidPurgeTitles;
* @access private
*/
- private $mTextform; # Text form (spaces not underscores) of the main part
- private $mUrlform; # URL-encoded form of the main part
- private $mDbkeyform; # Main part with underscores
- private $mNamespace; # Namespace index, i.e. one of the NS_xxxx constants
- private $mInterwiki; # Interwiki prefix (or null string)
- private $mFragment; # Title fragment (i.e. the bit after the #)
- private $mLatestID; # ID of most recent revision
- private $mRestrictions; # Array of groups allowed to edit this article
+ var $mTextform; # Text form (spaces not underscores) of the main part
+ var $mUrlform; # URL-encoded form of the main part
+ var $mDbkeyform; # Main part with underscores
+ var $mNamespace; # Namespace index, i.e. one of the NS_xxxx constants
+ var $mInterwiki; # Interwiki prefix (or null string)
+ var $mFragment; # Title fragment (i.e. the bit after the #)
+ var $mArticleID; # Article ID, fetched from the link cache on demand
+ var $mLatestID; # ID of most recent revision
+ var $mRestrictions; # Array of groups allowed to edit this article
# Only null or "sysop" are supported
- private $mPrefixedText; # Text form including namespace/interwiki, initialised on demand
- private $mDefaultNamespace; # Namespace index when there is no namespace
+ var $mRestrictionsLoaded; # Boolean for initialisation on demand
+ var $mPrefixedText; # Text form including namespace/interwiki, initialised on demand
+ var $mDefaultNamespace; # Namespace index when there is no namespace
# Zero except in {{transclusion}} tags
- private $mWatched; # Is $wgUser watching this page? NULL if unfilled, accessed through userIsWatching()
+ var $mWatched; # Is $wgUser watching this page? NULL if unfilled, accessed through userIsWatching()
/**#@-*/
- /** @todo FIXME should those be public ? */
- public $mArticleID; # Article ID, fetched from the link cache on demand
- public $mRestrictionsLoaded; # Boolean for initialisation on demand
/**
* Constructor
* @static
* @access public
*/
- public static function newFromText( $text, $defaultNamespace = NS_MAIN ) {
+ function newFromText( $text, $defaultNamespace = NS_MAIN ) {
global $wgTitleCache;
$fname = 'Title::newFromText';
* @static
* @access public
*/
- public static function newFromURL( $url ) {
+ function newFromURL( $url ) {
global $wgLegalTitleChars;
$t = new Title();
* @static
* @access public
*/
- public static function &makeTitle( $ns, $title ) {
+ function &makeTitle( $ns, $title ) {
$t =& new Title();
$t->mInterwiki = '';
$t->mFragment = '';
* @static
* @access public
*/
- public static function makeTitleSafe( $ns, $title ) {
+ function makeTitleSafe( $ns, $title ) {
$t = new Title();
$t->mDbkeyform = Title::makeName( $ns, $title );
if( $t->secureAndSplit() ) {
* @param string $title the DB key form the title
* @return string the prefixed form of the title
*/
- public static function makeName( $ns, $title ) {
+ /* static */ function makeName( $ns, $title ) {
global $wgContLang;
$n = $wgContLang->getNsText( $ns );
return (int)$n;
}
- /**
- * Used to grab from the logging facility the date at wich the
- * article got deleted. For special pages and article that never
- * got deleted, return 0.
- * @return date when the title got deleted
- */
- function getDeletedDate() {
- $fname = 'Title::getLastDelete';
- if( $this->getNamespace() < 0 or !$this->isDeleted() ) {
- $n = 0;
- } else {
- $dbr =& wfGetDB( DB_SLAVE );
- $n = $dbr->selectField( 'logging', 'MAX(log_timestamp)', array( 'log_namespace' => $this->getNamespace(),
- 'log_title' => $this->getDBkey() ), $fname );
- }
- return $n;
- }
/**
* Get the article ID for this Title from the link cache,
* adding it if necessary
/**@{{
* @private
*/
- private $mBlockedby; //!<
- private $mBlockreason; //!<
- private $mDataLoaded; //!<
- private $mEmail; //!<
- private $mEmailAuthenticated; //!<
- private $mGroups; //!<
- private $mHash; //!<
- private $mId; //!<
- private $mName; //!<
- private $mNewpassword; //!<
- private $mNewtalk; //!<
- private $mOptions; //!<
- private $mPassword; //!<
- private $mRealName; //!<
- private $mRegistration; //!<
- private $mRights; //!<
- private $mSkin; //!<
- private $mToken; //!<
- private $mTouched; //!<
- private $mVersion; //!< serialized version
+ var $mBlockedby; //!<
+ var $mBlockreason; //!<
+ var $mDataLoaded; //!<
+ var $mEmail; //!<
+ var $mEmailAuthenticated; //!<
+ var $mGroups; //!<
+ var $mHash; //!<
+ var $mId; //!<
+ var $mName; //!<
+ var $mNewpassword; //!<
+ var $mNewtalk; //!<
+ var $mOptions; //!<
+ var $mPassword; //!<
+ var $mRealName; //!<
+ var $mRegistration; //!<
+ var $mRights; //!<
+ var $mSkin; //!<
+ var $mToken; //!<
+ var $mTouched; //!<
+ var $mVersion; //!< serialized version
/**@}} */
/** Constructor using User:loadDefaults() */
* @return User
* @static
*/
- static function newFromName( $name ) {
+ function newFromName( $name ) {
# Force usernames to capital
global $wgContLang;
$name = $wgContLang->ucfirst( $name );
* @return integer|null Database user id (null: if non existent
* @static
*/
- public static function idFromName( $name ) {
+ function idFromName( $name ) {
$fname = "User::idFromName";
$nt = Title::newFromText( $name );
/**
* Initialise php session
- * @static
*/
- static function SetupSession() {
+ function SetupSession() {
global $wgSessionsInMemcached, $wgCookiePath, $wgCookieDomain;
if( $wgSessionsInMemcached ) {
require_once( 'MemcachedSessions.php' );
* Create a new user object using data from session
* @static
*/
- static function loadFromSession() {
+ function loadFromSession() {
global $wgMemc, $wgDBname, $wgCookiePrefix;
if ( isset( $_SESSION['wsUserID'] ) ) {
* @package MediaWiki
*/
class WatchedItem {
- private
- $mTitle,
- $mUser;
+ var $mTitle, $mUser;
/**
* Create a WatchedItem object with the given user and title
* @package MediaWiki
*/
class FauxRequest extends WebRequest {
- private
- $data = null,
- $wasPosted = false ;
+ var $data = null;
+ var $wasPosted = false;
function FauxRequest( $data, $wasPosted = false ) {
if( is_array( $data ) ) {
class MediaWiki {
- public $GET; /* Stores the $_GET variables at time of creation, can be changed */
- public $params = array();
+ var $GET; /* Stores the $_GET variables at time of creation, can be changed */
+ var $params = array();
/**
* Constructor
/* a fake language converter */
class fakeConverter {
- private $mLang;
+ var $mLang;
function fakeConverter($langobj) {$this->mLang = $langobj;}
function convert($t, $i) {return $t;}
function parserConvert($t, $p) {return $t;}
#--------------------------------------------------------------------------
class Language {
- private $mConverter;
+ var $mConverter;
function Language() {
# Copies any missing values in the specified arrays from En to the current language
'anontalkpagetext' => "----''This is the discussion page for an anonymous user who has not created an account yet or who does not use it. We therefore have to use the numerical [[IP address]] to identify him/her. Such an IP address can be shared by several users. If you are an anonymous user and feel that irrelevant comments have been directed at you, please [[Special:Userlogin|create an account or log in]] to avoid future confusion with other anonymous users.''",
'noarticletext' => 'There is currently no text in this page, you can [[{{ns:special}}:Search/{{PAGENAME}}|search for this page title]] in other pages or [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} edit this page].',
'noarticletextanon' => '{{int:noarticletext}}',
-'noarticletextdeleted' => 'There is currently no text in this page, you can [[{{ns:special}}:Search/{{PAGENAME}}|search for this page title]] in other pages or [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} edit this page].',
-'noarticletextdeletedanon' => '{{int:noarticletext}}',
'clearyourcache' => "'''Note:''' After saving, you may have to bypass your browser's cache to see the changes. '''Mozilla / Firefox / Safari:''' hold down ''Shift'' while clicking ''Reload'', or press ''Ctrl-Shift-R'' (''Cmd-Shift-R'' on Apple Mac); '''IE:''' hold ''Ctrl'' while clicking ''Refresh'', or press ''Ctrl-F5''; '''Konqueror:''': simply click the ''Reload'' button, or press ''F5''; '''Opera''' users may need to completely clear their cache in ''Tools→Preferences''.",
'usercssjsyoucanpreview' => '<strong>Tip:</strong> Use the \'Show preview\' button to test your new CSS/JS before saving.',
'usercsspreview' => '\'\'\'Remember that you are only previewing your user CSS, it has not yet been saved!\'\'\'',