Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 2.16 KB

00-configuration.md

File metadata and controls

39 lines (31 loc) · 2.16 KB

General settings

  • $GLOBALS['scigCitationReferenceCaptionFormat'] specifies the display format for a citation reference to be displayed either as a number (SCI_CITEREF_NUM) or by its key (SCI_CITEREF_KEY)
  • $GLOBALS['scigShowTooltipForCitationReference'] maintains an array for which format the tooltip can be shown (false or an empty array will disable the tooltip)
  • $GLOBALS['scigTooltipRequestCacheTTLInSeconds'] to allow to store tooltip query results from the backend to the local browser cache in order to avoid repeated requests for already queried references. Setting this parameter to false will disable the cache. Items that are cached will show a [+] as indicator.
  • $GLOBALS['scigReferenceListCacheType'] to disable caching for the reference list, use setting CACHE_NONE otherwise the cache is being renewed an each new revision or when the page is purged
  • $GLOBALS['scigEnabledStrictParserValidation'] whether a strict validation of input data for the {{#scite:}} parser should be carried out or not
  • $GLOBALS['scigEnabledCitationTextChangeUpdateJob'] whether an update job should be dispatched for changed citation text entities or not

Reference list

  • $GLOBALS['scigNumberOfReferenceListColumns'] specifies the number of columns to be shown on the reference list
  • $GLOBALS['scigReferenceListType'] either formatted using ul or ol
  • $GLOBALS['scigBrowseLinkToCitationResource'] whether to show a browse link to the citation resource or not

Metadata search

  • $GLOBALS['scigMetadataResponseCacheType'] specifies the type of the cache expected to be used
  • $GLOBALS['scigMetadataResponseCacheLifetime'] specifies the time duration responses are cached from a metadata service provider
  • $GLOBALS['wgGroupPermissions']['user']['sci-metasearch'] = true; to restricted access to users

Configuration