[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/actions/ -> CreditsAction.php (summary)

Formats credits for articles Copyright 2004, Evan Prodromou <[email protected]>.

Author: <[email protected]>
File Size: 247 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CreditsAction:: (10 methods):
  getName()
  getDescription()
  onView()
  getCredits()
  getAuthor()
  canShowRealUserName()
  getContributors()
  link()
  userLink()
  othersLink()


Class: CreditsAction  - X-Ref


getName()   X-Ref
No description

getDescription()   X-Ref
No description

onView()   X-Ref
This is largely cadged from PageHistory::history

return: string HTML

getCredits( $cnt, $showIfMax = true )   X-Ref
Get a list of contributors

param: int $cnt Maximum list of contributors to show
param: bool $showIfMax Whether to contributors if there more than $cnt
return: string Html

getAuthor( Page $page )   X-Ref
Get the last author with the last modification time

param: Page $page
return: string HTML

canShowRealUserName()   X-Ref
Whether we can display the user's real name (not a hidden pref)

return: bool

getContributors( $cnt, $showIfMax )   X-Ref
Get a list of contributors of $article

param: int $cnt Maximum list of contributors to show
param: bool $showIfMax Whether to contributors if there more than $cnt
return: string Html

link( User $user )   X-Ref
Get a link to $user's user page

param: User $user
return: string Html

userLink( User $user )   X-Ref
Get a link to $user's user page

param: User $user
return: string Html

othersLink()   X-Ref
Get a link to action=credits of $article page

return: string HTML link



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1