Home Features Demos Download Installation User Manual Developer Manual Relation function Credits

Anmelden

Variables

The following variables are used in the URI or in the cookies and are accessible globally:

  • $name
  • $name2
  • $revision
  • $action
  • $lang (cookies)
  • $skin (cookies)
  • $query
  • $username (session)
  • $pass (session)

The following global variables are created in index.php and are used internally

  • $swFunctions (plural = array)
  • $swParsers
  • $swSpecials
  • $db
  • $wiki
  • $templatefile

The following global variables are created in index.php and can be modified in the configuration.php

  • $swMainName
  • $swLanguages (array)
  • $swDefaultLang
  • $swSkins (array)
  • $swDefaultSkin
  • $swTranscludeNamespaces (array)
  • $swSearchNamespace (array)
  • $swNewUserFormFields (array)
  • $swAllUserRights (array)
  • $swNewUserRights (array)
  • $swNotifyMail
  • $swNotifyAcions (array)

" $swUserCookieExpiration (default 4*60*60 = 4 hours)

The following global variables are created in api.php and can be modified in the configuration.php

  • $swMaxFileSize (default 8000000 == 8 MB) for Upload
  • $swMaxBigFileSize (default 1024*1024*1024*10 = 10 GB) for Upload Big
  • $swMemoryLimit (default 1000000000 = 100 MB) for all memory expensive loops

The system messages array defines some system messages for localization, which can be overriden by using System pages. They can also be used in the skin, to localize site-particular menu items.

  • $swSystemDefaults (array)

The following global variables are created in index.php and can be used in the skin

  • $swError
  • $swStatus
  • $swVersion
  • $swMainName
  • $swParsedName
  • $swParsedContent
  • $swHomeMenu
  • $swLoginMenus
  • $swEditMenus
  • $swLangMenus
  • $swSearchMenu
  • $swFooter
  • $swDebug