BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
SMWOrderedListPage Class Reference
Inheritance diagram for SMWOrderedListPage:
Collaboration diagram for SMWOrderedListPage:

Public Member Functions

 view ()
 
- Public Member Functions inherited from Article
 __construct (Title $title, $oldId=null)
 
 setRedirectedFrom (Title $from)
 
 getTitle ()
 
 getPage ()
 
 clear ()
 
 getContent ()
 
 getOldID ()
 
 getOldIDFromRequest ()
 
 isCurrent ()
 
 getRevisionFetched ()
 
 getRevIdFetched ()
 
 view ()
 
 adjustDisplayTitle (ParserOutput $pOutput)
 
 getRobotPolicy ($action, $pOutput=null)
 
 showRedirectedFromHeader ()
 
 showNamespaceHeader ()
 
 showViewFooter ()
 
 showPatrolFooter ()
 
 showMissingArticle ()
 
 showDeletedRevisionHeader ()
 
 setOldSubtitle ($oldid=0)
 
 viewRedirect ($target, $appendSubtitle=true, $forceKnown=false)
 
 addHelpLink ($to, $overrideBaseUrl=false)
 
 render ()
 
 protect ()
 
 unprotect ()
 
 delete ()
 
 confirmDelete ($reason)
 
 doDelete ($reason, $suppress=false)
 
 isFileCacheable ()
 
 getParserOutput ($oldid=null, User $user=null)
 
 setParserOptions (ParserOptions $options)
 
 getParserOptions ()
 
 setContext ($context)
 
 getContext ()
 
 __get ($fname)
 
 __set ($fname, $fvalue)
 
 checkFlags ($flags)
 
 checkTouched ()
 
 clearPreparedEdit ()
 
 doDeleteArticleReal ($reason, $suppress=false, $u1=null, $u2=null, &$error= '', User $user=null)
 
 doDeleteUpdates ($id, Content $content=null)
 
 doEdit ($text, $summary, $flags=0, $baseRevId=false, $user=null)
 
 doEditContent (Content $content, $summary, $flags=0, $baseRevId=false, User $user=null, $serialFormat=null)
 
 doEditUpdates (Revision $revision, User $user, array $options=[])
 
 doPurge ()
 
 doQuickEditContent (Content $content, User $user, $comment= '', $minor=false, $serialFormat=null)
 
 doViewUpdates (User $user, $oldid=0)
 
 exists ()
 
 followRedirect ()
 
 getActionOverrides ()
 
 getAutoDeleteReason (&$hasHistory)
 
 getCategories ()
 
 getComment ($audience=Revision::FOR_PUBLIC, User $user=null)
 
 getContentHandler ()
 
 getContentModel ()
 
 getContributors ()
 
 getCreator ($audience=Revision::FOR_PUBLIC, User $user=null)
 
 getDeletionUpdates (Content $content=null)
 
 getHiddenCategories ()
 
 getId ()
 
 getLatest ()
 
 getLinksTimestamp ()
 
 getMinorEdit ()
 
 getOldestRevision ()
 
 getRedirectTarget ()
 
 getRedirectURL ($rt)
 
 getRevision ()
 
 getText ($audience=Revision::FOR_PUBLIC, User $user=null)
 
 getTimestamp ()
 
 getTouched ()
 
 getUndoContent (Revision $undo, Revision $undoafter=null)
 
 getUser ($audience=Revision::FOR_PUBLIC, User $user=null)
 
 getUserText ($audience=Revision::FOR_PUBLIC, User $user=null)
 
 hasViewableContent ()
 
 insertOn ($dbw, $pageId=null)
 
 insertProtectNullRevision ($revCommentMsg, array $limit, array $expiry, $cascade, $reason, $user=null)
 
 insertRedirect ()
 
 insertRedirectEntry (Title $rt, $oldLatest=null)
 
 isCountable ($editInfo=false)
 
 isRedirect ()
 
 loadFromRow ($data, $from)
 
 loadPageData ($from= 'fromdb')
 
 lockAndGetLatest ()
 
 makeParserOptions ($context)
 
 pageDataFromId ($dbr, $id, $options=[])
 
 pageDataFromTitle ($dbr, $title, $options=[])
 
 prepareContentForEdit (Content $content, $revision=null, User $user=null, $serialFormat=null, $useCache=true)
 
 prepareTextForEdit ($text, $revid=null, User $user=null)
 
 protectDescription (array $limit, array $expiry)
 
 protectDescriptionLog (array $limit, array $expiry)
 
 replaceSectionAtRev ($sectionId, Content $sectionContent, $sectionTitle= '', $baseRevId=null)
 
 replaceSectionContent ($sectionId, Content $sectionContent, $sectionTitle= '', $edittime=null)
 
 setTimestamp ($ts)
 
 shouldCheckParserCache (ParserOptions $parserOptions, $oldId)
 
 supportsSections ()
 
 triggerOpportunisticLinksUpdate (ParserOutput $parserOutput)
 
 updateCategoryCounts (array $added, array $deleted)
 
 updateIfNewerOn ($dbw, $revision)
 
 updateRedirectOn ($dbw, $redirectTitle, $lastRevIsRedirect=null)
 
 updateRevisionOn ($dbw, $revision, $lastRevision=null, $lastRevIsRedirect=null)
 
 doUpdateRestrictions (array $limit, array $expiry, &$cascade, $reason, User $user)
 
 updateRestrictions ($limit=[], $reason= '', &$cascade=0, $expiry=[])
 
 doDeleteArticle ($reason, $suppress=false, $u1=null, $u2=null, &$error= '')
 
 doRollback ($fromP, $summary, $token, $bot, &$resultDetails, User $user=null)
 
 commitRollback ($fromP, $summary, $bot, &$resultDetails, User $guser=null)
 
 generateReason (&$hasHistory)
 

Protected Member Functions

 getTopIndicator ()
 
 getIntroductoryText ()
 
 getNavigationLinks ($msgKey, array $diWikiPages, $default=50)
 
 showList ()
 
 initParameters ()
 
 getHtml ()
 
 getDataItem ()
 
- Protected Member Functions inherited from Article
 newPage (Title $title)
 
 getContentObject ()
 
 fetchContent ()
 
 fetchContentObject ()
 
 showDiffPage ()
 
 showCssOrJsPage ($showCacheHint=true)
 
 tryFileCache ()
 

Protected Attributes

 $limit
 
 $from
 
 $until
 
 $skin
 
 $mProperty = null
 
- Protected Attributes inherited from Article
 $mContext
 
 $mPage
 

Additional Inherited Members

- Static Public Member Functions inherited from Article
static newFromID ($id)
 
static newFromTitle ($title, IContextSource $context)
 
static newFromWikiPage (WikiPage $page, IContextSource $context)
 
static formatRobotPolicy ($policy)
 
static purgePatrolFooterCache ($articleID)
 
static selectFields ()
 
static onArticleCreate ($title)
 
static onArticleDelete ($title)
 
static onArticleEdit ($title)
 
static getAutosummary ($oldtext, $newtext, $flags)
 
- Public Attributes inherited from Article
 $mParserOptions
 
 $mContent
 
 $mContentObject
 
 $mContentLoaded = false
 
 $mOldId
 
 $mRedirectedFrom = null
 
 $mRedirectUrl = false
 
 $mRevIdFetched = 0
 
 $mRevision = null
 
 $mParserOutput
 

Detailed Description

Abstract subclass of MediaWiki's Article that handles the common tasks of article pages for Concept and Property pages. This is mainly parameter handling and some very basic output control.

Author
Nikolas Iwan
Markus Krötzsch
Jeroen De Dauw

Member Function Documentation

SMWOrderedListPage::getDataItem ( )
protected

Like Article's getTitle(), but returning a suitable SMWDIWikiPage.

Since
1.6
Returns
SMWDIWikiPage
SMWOrderedListPage::getHtml ( )
abstractprotected

Returns the HTML which is added to $wgOut after the article text.

Returns
string
SMWOrderedListPage::getIntroductoryText ( )
protected
Since
2.4
Returns
string
SMWOrderedListPage::getNavigationLinks (   $msgKey,
array  $diWikiPages,
  $default = 50 
)
protected
Since
2.4
SMWOrderedListPage::getTopIndicator ( )
protected
Since
2.4
Returns
string
SMWOrderedListPage::initParameters ( )
protected

Initialise some parameters that might be changed by subclasses (e.g. $limit). Method can be overwritten in this case. If the method returns false, nothing will be printed besides the original article.

Returns
true
SMWOrderedListPage::showList ( )
protected

Main method for adding all additional HTML to the output stream.

SMWOrderedListPage::view ( )

Overwrite view() from Article.php to add additional HTML to the output.


The documentation for this class was generated from the following file: