<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Template_talk%3AKernelconf2</id>
	<title>Template talk:Kernelconf2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Template_talk%3AKernelconf2"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Template_talk:Kernelconf2&amp;action=history"/>
	<updated>2026-04-12T21:30:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Template_talk:Kernelconf2&amp;diff=18713&amp;oldid=prev</id>
		<title>Wyrfel: /* Inner Workings */</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Template_talk:Kernelconf2&amp;diff=18713&amp;oldid=prev"/>
		<updated>2006-01-22T19:27:53Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Inner Workings&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:27, 22 January 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l46&quot; &gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Inner Workings==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Inner Workings==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The template calls [[:Template:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;kc&lt;/del&gt;]] where the bigger part of the logic happens. This template only sets all the possible parameters (which match all kernel config variable names) to the empty string (which is necessary because of MediaWikis suboptimal parsing behavior). Finally, the parameter (variable name) given ain the first parameter value of the template call is assigned the value 2. All other parameters are just forwarded to [[:Template:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;kc&lt;/del&gt;]], thereby naming them so they get position independent for further processing.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The template calls [[:Template:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;kc2&lt;/ins&gt;]] where the bigger part of the logic happens. This template only sets all the possible parameters (which match all kernel config variable names) to the empty string (which is necessary because of MediaWikis suboptimal parsing behavior). Finally, the parameter (variable name) given ain the first parameter value of the template call is assigned the value 2. All other parameters are just forwarded to [[:Template:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;kc2&lt;/ins&gt;]], thereby naming them so they get position independent for further processing.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key c1thinkwiki:diff::1.12:old-18709:rev-18713 --&gt;
&lt;/table&gt;</summary>
		<author><name>Wyrfel</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Template_talk:Kernelconf2&amp;diff=18709&amp;oldid=prev</id>
		<title>Wyrfel at 19:06, 22 January 2006</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Template_talk:Kernelconf2&amp;diff=18709&amp;oldid=prev"/>
		<updated>2006-01-22T19:06:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
{{WARN|Do not use this template, yet!&lt;br /&gt;
&lt;br /&gt;
It is in development and the name and contents of it are subject to change.}}&lt;br /&gt;
&lt;br /&gt;
This template is used to automatically determine the menuconfig path for a kernel option given as variable. It also formats the output properly and allows specification if the option should be built into the kernel, as module or not at all.&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
The goal is to provide a template that can automatically determine the output format so that&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 standard wiki text&lt;br /&gt;
 {{kernelconf2|Device Drivers|}}&lt;br /&gt;
 {{kernelconf2|USB support|}}&lt;br /&gt;
 {{kernelconf2|CONFIG_USB|m}}&lt;br /&gt;
 {{kernelconf2|CONFIG_USB_DEVICEFS|m}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 continuing wiki text&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
would result in something like:&lt;br /&gt;
&lt;br /&gt;
standard wiki text&lt;br /&gt;
:&amp;lt;tt style=&amp;quot;padding:0px;background-color:#eeeeee;&amp;quot;&amp;gt;Device Drivers â†’&amp;lt;/tt&amp;gt;&lt;br /&gt;
::&amp;lt;tt style=&amp;quot;padding:0px;background-color:#eeeeee;&amp;quot;&amp;gt;USB support â†’&amp;lt;/tt&amp;gt;&lt;br /&gt;
:::&amp;lt;tt style=&amp;quot;padding:0px;background-color:#eeeeee;&amp;quot;&amp;gt;Support for Host-side USB&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(CONFIG_USB=m)&amp;lt;/tt&amp;gt;&lt;br /&gt;
:::&amp;lt;tt style=&amp;quot;padding:0px;background-color:#eeeeee;&amp;quot;&amp;gt;USB device file system&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(CONFIG_USB_DEVICSFS=m)&amp;lt;/tt&amp;gt;&lt;br /&gt;
continuing wiki text&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 standard wiki text {{kernelconf2|CONFIG_USB|m}}&amp;lt;/nowiki&amp;gt; continuing wiki text&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
would result in&lt;br /&gt;
&lt;br /&gt;
standard wiki text &amp;lt;tt style=&amp;quot;padding:0px;background-color:#eeeeee;&amp;quot;&amp;gt;Support for Host-side USB&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(CONFIG_USB=m)&amp;lt;/tt&amp;gt; continuing wiki text&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
====Scheme====&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{kernelconf2|&amp;lt;CONFIG-Variable&amp;gt;|&amp;lt;BuildMode&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; with&lt;br /&gt;
*&amp;lt;tt&amp;gt;&amp;lt;CONFIG-Variable&amp;gt;&amp;lt;/tt&amp;gt; being a variable name as found in the kernels {{path|.config}} file,&lt;br /&gt;
*&amp;lt;tt&amp;gt;&amp;lt;BuildMode&amp;gt;=[y,m, ]&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;:{{kernelconf2|CONFIG_USB_UHCI_HCD|m}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; shows as&lt;br /&gt;
&lt;br /&gt;
:{{kernelconf2|CONFIG_USB_UHCI_HCD|m}}&lt;br /&gt;
&lt;br /&gt;
==Inner Workings==&lt;br /&gt;
The template calls [[:Template:kc]] where the bigger part of the logic happens. This template only sets all the possible parameters (which match all kernel config variable names) to the empty string (which is necessary because of MediaWikis suboptimal parsing behavior). Finally, the parameter (variable name) given ain the first parameter value of the template call is assigned the value 2. All other parameters are just forwarded to [[:Template:kc]], thereby naming them so they get position independent for further processing.&lt;/div&gt;</summary>
		<author><name>Wyrfel</name></author>
		
	</entry>
</feed>