<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AMethod_doclink%2Fdoc</id>
	<title>Template:Method doclink/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AMethod_doclink%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:Method_doclink/doc&amp;action=history"/>
	<updated>2026-04-23T16:44:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Template:Method_doclink/doc&amp;diff=7074&amp;oldid=prev</id>
		<title>Majestix: Created page with &quot;&lt;noinclude&gt;{{Documentation subpage}} {{timw|{{BASEPAGENAME}}}} &lt;/noinclude&gt; This renders a link to a particular anchor in automatically-generated documentation for a class at https://doc.wikimedia.org/mediawiki-core/master/php/ . Like {{tl|class doclink}} it takes a class in &lt;code&gt;mediawiki/core&lt;/code&gt; and an optional &lt;code&gt;type=interface&lt;/code&gt;. It adds an an &lt;code&gt;anchor&lt;/code&gt; parameter to scroll to a particular part of the file (without the &lt;code&gt;#&lt;/code&gt;) and a &lt;cod...&quot;</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:Method_doclink/doc&amp;diff=7074&amp;oldid=prev"/>
		<updated>2026-04-15T09:15:11Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;noinclude&amp;gt;{{Documentation subpage}} {{timw|{{BASEPAGENAME}}}} &amp;lt;/noinclude&amp;gt; This renders a link to a particular anchor in automatically-generated documentation for a class at https://doc.wikimedia.org/mediawiki-core/master/php/ . Like {{tl|class doclink}} it takes a class in &amp;lt;code&amp;gt;mediawiki/core&amp;lt;/code&amp;gt; and an optional &amp;lt;code&amp;gt;type=interface&amp;lt;/code&amp;gt;. It adds an an &amp;lt;code&amp;gt;anchor&amp;lt;/code&amp;gt; parameter to scroll to a particular part of the file (without the &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;) and a &amp;lt;cod...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Documentation subpage}}&lt;br /&gt;
{{timw|{{BASEPAGENAME}}}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
This renders a link to a particular anchor in automatically-generated documentation for a class at https://doc.wikimedia.org/mediawiki-core/master/php/ .&lt;br /&gt;
Like {{tl|class doclink}} it takes a class in &amp;lt;code&amp;gt;mediawiki/core&amp;lt;/code&amp;gt; and an optional &amp;lt;code&amp;gt;type=interface&amp;lt;/code&amp;gt;. It adds an an &amp;lt;code&amp;gt;anchor&amp;lt;/code&amp;gt; parameter to scroll to a particular part of the file (without the &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt;) and a &amp;lt;code&amp;gt;method &amp;lt;/code&amp;gt; parameter for the method name (or any text) to display.&lt;br /&gt;
&lt;br /&gt;
Doxygen generates long &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt; attributes for methods, so you have to click on a link to a method to get its &amp;lt;code&amp;gt;anchor&amp;lt;/code&amp;gt; value from the URL. But the &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt;s seem stable.&lt;br /&gt;
&lt;br /&gt;
It seems you can add whitespace around the &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; to make the template invocation more readable.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Preview&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;pre&amp;gt;{{method doclink | class=Parser | anchor=a4979a4906f0cb0c1823974a47d5bd12f | method=Parser::setFunctionHook }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
| {{method doclink | class=Parser | anchor=a4979a4906f0cb0c1823974a47d5bd12f | method=Parser::setFunctionHook }}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;pre&amp;gt;{{method doclink |class=RCFeedEngine | type=interface|anchor=a654d2f1299fea499b4786db3dcca73a6 |method=&amp;lt;code&amp;gt;RCFeedEngine&amp;lt;/code&amp;gt;&amp;#039;s &amp;lt;code&amp;gt;send()&amp;lt;/code&amp;gt; method}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
| {{method doclink |class=RCFeedEngine | type=interface | anchor=a654d2f1299fea499b4786db3dcca73a6 | method=&amp;lt;code&amp;gt;RCFeedEngine&amp;lt;/code&amp;gt;&amp;#039;s &amp;lt;code&amp;gt;send()&amp;lt;/code&amp;gt; method}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* {{tl|Class doclink}} to link to the class or interface&lt;br /&gt;
* {{tl|File doclink}}&lt;br /&gt;
* {{tl|js doclink}} for Javascript API links&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:External link templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Majestix</name></author>
	</entry>
</feed>