Template:Class doclink

{{{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|Wikimedia\Rdbms\Database|Wikimedia\Rdbms\Database::select|anchor=a3b03dd27f434aabfc8d2d639d1e5fa9a}}
Wikimedia\Rdbms\Database::select
{{class doclink|class=Wikimedia\Rdbms\Database|text=Wikimedia\Rdbms\Database::select|anchor=a3b03dd27f434aabfc8d2d639d1e5fa9a}}
Wikimedia\Rdbms\Database::select

See also

  • {{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