Template:Class doclink

From MediaWiki.org
Jump to navigation Jump to search

{{{1}}}

Template documentation

Given a class name implemented by mediawiki/core, this renders a link to automatically-generated documentation for the class at https://doc.wikimedia.org/mediawiki-core/master/php/

Code Preview
{{class doclink|OutputPage}}
OutputPage
{{class doclink|WebRequest}}
WebRequest
{{class doclink|class=RequestContext}}
RequestContext
{{class doclink|Config|type=interface}}
Config
{{class doclink|DatabaseBase|DatabaseBase::select|anchor=a76f9e6cb7b145a3d9020baebf94b499e}}
DatabaseBase::select
{{class doclink|class=DatabaseBase|text=DatabaseBase::select|anchor=a76f9e6cb7b145a3d9020baebf94b499e}}
DatabaseBase::select

See also[edit]

  • {{Class}} links to the implicit Manual:ClassName.php wiki page
  • {{MW file}} renders a table for a PHP file in core, including doc links for the classes implemented by it
  • {{Method doclink}} to link to a particular method
  • {{File doclink}}
  • {{js doclink}} for Javascript API links