<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=Template%3AMW_file</id>
	<title>Template:MW file - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=Template%3AMW_file"/>
	<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=Template:MW_file&amp;action=history"/>
	<updated>2026-05-18T16:25:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://performiq.com/kb/index.php?title=Template:MW_file&amp;diff=1207&amp;oldid=prev</id>
		<title>PeterHarding: New page: &lt;div align=&quot;center&quot;&gt; {| style=&quot;border: 1px solid #6666a0; border-collapse: collapse;&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; |- style=&quot;text-align: center; font-size: 110%; background-color: #ffcc...</title>
		<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=Template:MW_file&amp;diff=1207&amp;oldid=prev"/>
		<updated>2008-02-10T06:01:49Z</updated>

		<summary type="html">&lt;p&gt;New page: &amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt; {| style=&amp;quot;border: 1px solid #6666a0; border-collapse: collapse;&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; |- style=&amp;quot;text-align: center; font-size: 110%; background-color: #ffcc...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
{| style=&amp;quot;border: 1px solid #6666a0; border-collapse: collapse;&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- style=&amp;quot;text-align: center; font-size: 110%; background-color: #ffcc99; border-bottom: 1px solid #6666a0;&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; | MediaWiki File: {{{1}}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Location:&amp;#039;&amp;#039;&amp;#039; || {{{2}}}&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Source code:&amp;#039;&amp;#039;&amp;#039; || {{#if: {{{NotInSVN|}}}|Not in SVN ({{{NotInSVN}}})|[[svn:trunk/phase3{{{2}}}{{{1}}}|HEAD]]&lt;br /&gt;
[[svn:tags/{{MW stable release svn}}/phase3{{{2}}}{{{1}}}|{{MW stable release number}}]] &amp;amp;bull; &lt;br /&gt;
[[svn:tags/{{MW legacy release svn}}/phase3{{{2}}}{{{1}}}|{{MW legacy release number}}]] &amp;amp;bull; &lt;br /&gt;
[[svn:tags/{{MW ancient release svn}}/phase3{{{2}}}{{{1}}}|{{MW ancient release number}}]]}}&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Classes:&amp;#039;&amp;#039;&amp;#039; || {{#if: {{{class1|}}}| [http://svn.wikimedia.org/doc/class{{{class1}}}.html {{{class1}}}] {{#if: {{{class2|}}}|  &amp;amp;bull; [http://svn.wikimedia.org/doc/class{{{class2}}}.html {{{class2}}}]| {{#if: {{{class3|}}}| &amp;amp;bull; [http://svn.wikimedia.org/doc/class{{{class3}}}.html {{{class3}}}]|}}|}}|None}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;includeonly&amp;gt;{{#if: {{{example|}}}||[[Category:MediaWiki code|{{{1|PAGENAME}}}]]}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{MW file|FILENAME|PATH|class1=CLASS|class2=CLASS|class3=CLASS|NotInSVN=REASON}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* FILENAME is the name of the file, including extension.&lt;br /&gt;
* PATH is the path to the file including leading &amp;amp; trailing slashes.  Root directory files should use /&lt;br /&gt;
* The three class arguments are all optional, and if supplied will provide a link to the appropriate documentation.  CLASS should be the class name, as used in the URL.  E.g. &amp;quot;Parser&amp;quot; would generate a link to &amp;quot;classParser.html&amp;quot;.  I don&amp;#039;t know the maximum no. of classes defined in a single file, so I have initially allowed for 3.  More can easily be added if needed.&lt;br /&gt;
* The NotInSVN argument is optional and should only be used if the file is not in SVN for some reason (I think this only applies to LocalSettings.php). REASON is the reason that is displayed in the infobox. Note that &amp;#039;NotInSVN&amp;#039; is case sensitive!&lt;br /&gt;
&lt;br /&gt;
Be careful not to include spaces on either side of the PATH/FILE/CLASS parameters.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{MW file|index.php|/}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{MW file|index.php|/|example=true}}&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{MW file|Article.php|/includes/|class1=Article}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{MW file|Article.php|/includes/|class1=Article|example=true}}&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{MW file|LocalSettings.php|/|NotInSVN=created during installation}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
{{MW file|LocalSettings.php|/|NotInSVN=created during installation|example=true}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|Template:MW file}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Info templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>PeterHarding</name></author>
	</entry>
</feed>