Semantic MediaWiki and related extensions
Modules | Classes | Functions | Variables
Semantic MediaWiki
Collaboration diagram for Semantic MediaWiki:

Modules

 Api
 
 Store
 
 Formatter
 
 FunctionHook
 
 ParserFunction
 
 SpecialPage
 
 Job
 
 Maintenance
 
 Utility
 
 Test
 
 SMWDataItems
 
 SMWDataValues
 
 SMWQuery
 
 SMWStore
 

Classes

class  SMW\ContentParser
 
class  SMWExpData
 
class  SMWExportController
 
class  SMWExporter
 
class  SMWSerializer
 
class  SMWRDFXMLSerializer
 
class  SMWTurtleSerializer
 
class  SMWParamFormat
 
class  SMW\QueryPage
 
class  SMW\SemanticData
 
class  SMWOutputs
 
class  SMWPageLister
 
class  SMWPageSchemas
 
class  SMW\MediaWiki\Api\ApiQueryResultFormatter
 
class  SMW\MediaWiki\Job
 
class  SMW\MediaWiki\Jobs\RefreshJob
 
class  SMW\MediaWiki\PageInfoProvider
 
class  SMW\MediaWiki\Search\Search
 
class  SMW\MediaWiki\Search\SearchResult
 
class  SMW\MediaWiki\Search\SearchResultSet
 
class  SMW\MediaWiki\Specials\Ask\ParameterInput
 
class  SMW\MediaWiki\TitleLookup
 
interface  SMW\PageInfo
 
class  SMW\Property\Annotators\CategoryPropertyAnnotator
 
class  SMW\Property\Annotators\NullPropertyAnnotator
 
class  SMW\Property\Annotators\PropertyAnnotatorDecorator
 
interface  SMW\Query\ProfileAnnotator
 

Functions

 smwfNormalTitleDBKey ( $text)
 

Variables

const SMW_SERIALIZER_DECL_CLASS 1
 
const SMW_HEADERS_SHOW 2
 
const SMW_HEADERS_PLAIN 1
 
const SMW_HEADERS_HIDE 0
 

Detailed Description

This documentation group collects source code files belonging to Semantic MediaWiki.

For documenting extensions of SMW, please do not use groups starting with "SMW" but make your own groups instead. Browsing at https://doc.semantic-mediawiki.org/ is assumed to be easier this way.

Function Documentation

◆ smwfNormalTitleDBKey()

smwfNormalTitleDBKey (   $text)

Global functions specified and used by Semantic MediaWiki. In general, it is tried to fit functions in suitable classes as static methods if they clearly belong to some particular sub-function of SMW. Most functions here are used in diverse contexts so that they do not have fonud a place in any such class yet. Takes a title text and turns it safely into its DBKey. This function reimplements most of the title normalization as done in Title.php in order to achieve conversion with less overhead. The official code could be called here if more advanced normalization is needed.

Parameters
string$text

Variable Documentation

◆ SMW_HEADERS_SHOW

const SMW_HEADERS_SHOW 2

Constants relevant to Semantic MediaWiki SMW related constants that define how/if headers should be displayed

◆ SMW_SERIALIZER_DECL_CLASS

const SMW_SERIALIZER_DECL_CLASS 1

File holding the SMWSerializer class that provides basic functions for serialising data in OWL and RDF syntaxes.

Author
Markus Krötzsch

About | General disclaimer | Privacy policy