<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://megaten.sesshou.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://megaten.sesshou.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ShowHide%2FCode.js</id>
		<title>ShowHide/Code.js - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://megaten.sesshou.com/wiki/index.php?action=history&amp;feed=atom&amp;title=ShowHide%2FCode.js"/>
		<link rel="alternate" type="text/html" href="http://megaten.sesshou.com/wiki/index.php?title=ShowHide/Code.js&amp;action=history"/>
		<updated>2026-05-15T22:30:13Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://megaten.sesshou.com/wiki/index.php?title=ShowHide/Code.js&amp;diff=4495&amp;oldid=prev</id>
		<title>Sesshou: Automatic page editing</title>
		<link rel="alternate" type="text/html" href="http://megaten.sesshou.com/wiki/index.php?title=ShowHide/Code.js&amp;diff=4495&amp;oldid=prev"/>
				<updated>2012-03-04T13:47:09Z</updated>
		
		<summary type="html">&lt;p&gt;Automatic page editing&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:47, 4 March 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 71:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 71:&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Polish&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Polish&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		pl: {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		pl: {&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			show: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Pokaż&lt;/del&gt;&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			show: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Poka?&lt;/ins&gt;&amp;quot;,&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hide: &amp;quot;Ukryj&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hide: &amp;quot;Ukryj&amp;quot;,&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			showAll: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Pokaż &lt;/del&gt;wszystko&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			showAll: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Poka? &lt;/ins&gt;wszystko&amp;quot;,&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hideAll: &amp;quot;Ukryj wszystko&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hideAll: &amp;quot;Ukryj wszystko&amp;quot;&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		},&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		},&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Russian&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Russian&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		ru: {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		ru: {&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			show: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Открыть&lt;/del&gt;&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			show: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;???????&lt;/ins&gt;&amp;quot;,&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hide: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Скрыть&lt;/del&gt;&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hide: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;??????&lt;/ins&gt;&amp;quot;,&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			showAll: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Открыть все&lt;/del&gt;&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			showAll: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;??????? ???&lt;/ins&gt;&amp;quot;,&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hideAll: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Скрыть все&lt;/del&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hideAll: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;?????? ???&lt;/ins&gt;&amp;quot;&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		}&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Make a post on the talkpage if you have i18n updates&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Make a post on the talkpage if you have i18n updates&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sesshou</name></author>	</entry>

	<entry>
		<id>http://megaten.sesshou.com/wiki/index.php?title=ShowHide/Code.js&amp;diff=2775&amp;oldid=prev</id>
		<title>Sesshou: Created page with &quot;/*&lt;source lang=&quot;javascript&quot;&gt;*/ /*  * Copyright © 2009, Daniel Friesen  * All rights reserved.  *   * Redistribution and use in source and binary forms, with or without  * mod...&quot;</title>
		<link rel="alternate" type="text/html" href="http://megaten.sesshou.com/wiki/index.php?title=ShowHide/Code.js&amp;diff=2775&amp;oldid=prev"/>
				<updated>2012-03-04T11:10:24Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;- ‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;: &lt;/span&gt; /*  * Copyright © 2009, Daniel Friesen  * All rights reserved.  *   * Redistribution and use in source and binary forms, with or without  * mod...&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/*&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;*/&lt;br /&gt;
/*&lt;br /&gt;
 * Copyright © 2009, Daniel Friesen&lt;br /&gt;
 * All rights reserved.&lt;br /&gt;
 * &lt;br /&gt;
 * Redistribution and use in source and binary forms, with or without&lt;br /&gt;
 * modification, are permitted provided that the following conditions are met:&lt;br /&gt;
 *     * Redistributions of source code must retain the above copyright&lt;br /&gt;
 *       notice, this list of conditions and the following disclaimer.&lt;br /&gt;
 *     * Redistributions in binary form must reproduce the above copyright&lt;br /&gt;
 *       notice, this list of conditions and the following disclaimer in the&lt;br /&gt;
 *       documentation and/or other materials provided with the distribution.&lt;br /&gt;
 *     * Neither the name of the script nor the&lt;br /&gt;
 *       names of its contributors may be used to endorse or promote products&lt;br /&gt;
 *       derived from this software without specific prior written permission.&lt;br /&gt;
 * &lt;br /&gt;
 * THIS SOFTWARE IS PROVIDED BY DANIEL FRIESEN ''AS IS'' AND ANY&lt;br /&gt;
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED&lt;br /&gt;
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE&lt;br /&gt;
 * DISCLAIMED. IN NO EVENT SHALL DANIEL FRIESEN BE LIABLE FOR ANY&lt;br /&gt;
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES&lt;br /&gt;
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;&lt;br /&gt;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND&lt;br /&gt;
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT&lt;br /&gt;
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS&lt;br /&gt;
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;br /&gt;
 */&lt;br /&gt;
(function($) {&lt;br /&gt;
&lt;br /&gt;
	// CONFIG&lt;br /&gt;
	var config = window.ShowHideConfig = $.extend(true, {&lt;br /&gt;
		autoCollapse: 2,&lt;br /&gt;
		userLang: true,&lt;br /&gt;
		brackets: '[]',&lt;br /&gt;
		linkBefore: false,&lt;br /&gt;
		// German&lt;br /&gt;
		de: {&lt;br /&gt;
			show: &amp;quot;anzeigen&amp;quot;,&lt;br /&gt;
			hide: &amp;quot;verbergen&amp;quot;,&lt;br /&gt;
			showAll: &amp;quot;alle anzeigen&amp;quot;,&lt;br /&gt;
			hideAll: &amp;quot;alle verbergen&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		// English&lt;br /&gt;
		en: {&lt;br /&gt;
			show: &amp;quot;show&amp;quot;,&lt;br /&gt;
			hide: &amp;quot;hide&amp;quot;,&lt;br /&gt;
			showAll: &amp;quot;show all&amp;quot;,&lt;br /&gt;
			hideAll: &amp;quot;hide all&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		// Spanish&lt;br /&gt;
		es: {&lt;br /&gt;
			show: &amp;quot;Mostrar&amp;quot;,&lt;br /&gt;
			hide: &amp;quot;Ocultar&amp;quot;,&lt;br /&gt;
			showAll: &amp;quot;Mostrar todo&amp;quot;,&lt;br /&gt;
			hideAll: &amp;quot;Ocultar todo&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		// French&lt;br /&gt;
		fr: {&lt;br /&gt;
			show: &amp;quot;montrer&amp;quot;,&lt;br /&gt;
			hide: &amp;quot;cacher&amp;quot;,&lt;br /&gt;
			showAll: &amp;quot;montrer tous&amp;quot;,&lt;br /&gt;
			hideAll: &amp;quot;cacher tous&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		// Dutch&lt;br /&gt;
		nl: {&lt;br /&gt;
			show: &amp;quot;tonen&amp;quot;,&lt;br /&gt;
			hide: &amp;quot;verbergen&amp;quot;,&lt;br /&gt;
			showAll: &amp;quot;alles tonen&amp;quot;,&lt;br /&gt;
			hideAll: &amp;quot;alles verbergen&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		// Polish&lt;br /&gt;
		pl: {&lt;br /&gt;
			show: &amp;quot;Pokaż&amp;quot;,&lt;br /&gt;
			hide: &amp;quot;Ukryj&amp;quot;,&lt;br /&gt;
			showAll: &amp;quot;Pokaż wszystko&amp;quot;,&lt;br /&gt;
			hideAll: &amp;quot;Ukryj wszystko&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		// Russian&lt;br /&gt;
		ru: {&lt;br /&gt;
			show: &amp;quot;Открыть&amp;quot;,&lt;br /&gt;
			hide: &amp;quot;Скрыть&amp;quot;,&lt;br /&gt;
			showAll: &amp;quot;Открыть все&amp;quot;,&lt;br /&gt;
			hideAll: &amp;quot;Скрыть все&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
		// Make a post on the talkpage if you have i18n updates&lt;br /&gt;
	}, window.ShowHideConfig || {});&lt;br /&gt;
&lt;br /&gt;
	// i18n function&lt;br /&gt;
	function msg(name) {&lt;br /&gt;
		if ( config.userLang &amp;amp;&amp;amp; wgUserLanguage in config &amp;amp;&amp;amp; name in config[wgUserLanguage] ) {&lt;br /&gt;
			return config[wgUserLanguage][name]; }&lt;br /&gt;
		if ( wgContentLanguage in config &amp;amp;&amp;amp; name in config[wgContentLanguage] ) {&lt;br /&gt;
			return config[wgContentLanguage][name]; }&lt;br /&gt;
		return config.en[name];&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	// common&lt;br /&gt;
	$.fn.onLink = function(fn) {&lt;br /&gt;
		return this.bind('click keypress', function(e) {&lt;br /&gt;
			if ( e.type === 'click' || ( e.type === 'keypress' &amp;amp;&amp;amp; ( e.keyCode === 13 || e.charCode === 32 ) ) ) {&lt;br /&gt;
				fn.call(this, e); }&lt;br /&gt;
		});&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
	/** Collapsible tables using jQuery&lt;br /&gt;
	 *&lt;br /&gt;
	 *  Description: Allows tables to be collapsed, showing only the header.&lt;br /&gt;
	 */&lt;br /&gt;
	function collapseTable( node, state ) {&lt;br /&gt;
		var $table = $(node);&lt;br /&gt;
		var $button = $table.find(&amp;quot;tr:first &amp;gt; th:first .collapseLink&amp;quot;);&lt;br /&gt;
	&lt;br /&gt;
		if (!$table.length || !$button.length) {&lt;br /&gt;
			return false;&lt;br /&gt;
		}&lt;br /&gt;
		&lt;br /&gt;
		if ( typeof state === 'boolean' ) {&lt;br /&gt;
			$table.toggleClass('collapsed', !state);&lt;br /&gt;
		}&lt;br /&gt;
		else {&lt;br /&gt;
			$table.toggleClass('collapsed');&lt;br /&gt;
		}&lt;br /&gt;
		var hidden = $table.hasClass('collapsed');&lt;br /&gt;
		$table.find('&amp;gt; * &amp;gt; tr:not(:first):not(.nocollapse)')[hidden?&amp;quot;hide&amp;quot;:&amp;quot;show&amp;quot;]();&lt;br /&gt;
		$button.text( msg( hidden ? &amp;quot;show&amp;quot; : &amp;quot;hide&amp;quot; ) );&lt;br /&gt;
		return true;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	function createCollapseButtons() {&lt;br /&gt;
		var NavigationBoxes = [];&lt;br /&gt;
		$(&amp;quot;table.collapsible&amp;quot;).each(function() {&lt;br /&gt;
			NavigationBoxes.push(this);&lt;br /&gt;
			var $buttonLink = $('&amp;lt;span tabIndex=0 class=collapseLink /&amp;gt;').text( msg(&amp;quot;hide&amp;quot;) ).css({ cursor: &amp;quot;pointer&amp;quot; }).onLink(function(e) { collapseTable( $(this).closest('table') ); });&lt;br /&gt;
			var $button = $(&amp;quot;&amp;lt;span class=collapseButton /&amp;gt;&amp;quot;).css({&lt;br /&gt;
				&amp;quot;float&amp;quot;: &amp;quot;right&amp;quot;,&lt;br /&gt;
				textAlign: &amp;quot;right&amp;quot;,&lt;br /&gt;
				fontWeight: &amp;quot;normal&amp;quot;,&lt;br /&gt;
				width: &amp;quot;6em&amp;quot;,&lt;br /&gt;
				marginLeft: &amp;quot;-100%&amp;quot;&lt;br /&gt;
			});&lt;br /&gt;
			$button.append( document.createTextNode(config.brackets.substr(0, config.brackets.length/2)), $buttonLink, config.brackets.substr(config.brackets.length/2) );&lt;br /&gt;
&lt;br /&gt;
			var $header = $(this).find('tr:first &amp;gt; th:first').prepend($button);&lt;br /&gt;
		});&lt;br /&gt;
	&lt;br /&gt;
		// if more Navigation Bars found than Default: hide all&lt;br /&gt;
		if ($(NavigationBoxes).filter('.autocollapse').length &amp;gt;= config.autoCollapse) {&lt;br /&gt;
			$(NavigationBoxes).filter('.autocollapse').each(function() { collapseTable( this, false ); });&lt;br /&gt;
		}&lt;br /&gt;
		else {&lt;br /&gt;
			$(NavigationBoxes).filter('.collapsed').each(function() { collapseTable( this, false ); });&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	$( createCollapseButtons );&lt;br /&gt;
&lt;br /&gt;
	/*&amp;lt;/pre&amp;gt;*/&lt;br /&gt;
&lt;br /&gt;
	/*&amp;lt;pre&amp;gt;*/&lt;br /&gt;
&lt;br /&gt;
	/** Dynamic Navigation Bars with jQuery&lt;br /&gt;
	 *&lt;br /&gt;
	 *  Base Description: See Wikipedia:Wikipedia:NavFrame.&lt;br /&gt;
	 */&lt;br /&gt;
&lt;br /&gt;
	// shows and hides content and picture (if available) of navigation bars&lt;br /&gt;
	function toggleNavigationBar( node ) {&lt;br /&gt;
		var $navFrame = $(node);&lt;br /&gt;
		var $navToggle = $navFrame.find(&amp;quot;.NavHead:first .collapseLink&amp;quot;);&lt;br /&gt;
	&lt;br /&gt;
		if (!$navFrame.length || !$navToggle.length) {&lt;br /&gt;
			return false;&lt;br /&gt;
		}&lt;br /&gt;
	&lt;br /&gt;
		$navFrame.toggleClass('NavVisible');&lt;br /&gt;
		$navFrame.find('.NavPic, .NavContent').not($navFrame.find('.NavFrame .NavPic, .NavFrame .NavContent')).slideToggle();&lt;br /&gt;
		$navToggle.text( msg( $navFrame.hasClass('NavVisible') ? &amp;quot;hide&amp;quot; : &amp;quot;show&amp;quot; ) );&lt;br /&gt;
		return true;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	// adds show/hide-button to navigation bars&lt;br /&gt;
	function createNavigationBarToggleButton() {&lt;br /&gt;
		var NavFrames = $('.NavFrame').addClass('NavVisible').each(function() {&lt;br /&gt;
			var $navHead = $(this).find('.NavHead:first');&lt;br /&gt;
			$navHead.filter('legend').append(' - ');&lt;br /&gt;
			var $buttonLink = $('&amp;lt;span tabIndex=0 class=collapseLink /&amp;gt;').text( msg(&amp;quot;hide&amp;quot;) ).onLink(function(e) { toggleNavigationBar( $(this).closest('.NavFrame') ); });&lt;br /&gt;
			var $button = $('&amp;lt;span class=&amp;quot;NavToggle collapseButton&amp;quot; /&amp;gt;');&lt;br /&gt;
			if ( config.brackets ) {&lt;br /&gt;
				$button.append( document.createTextNode(config.brackets.substr(0, config.brackets.length/2)), $buttonLink, config.brackets.substr(config.brackets.length/2) );&lt;br /&gt;
			}&lt;br /&gt;
			else {&lt;br /&gt;
				$button.append( $buttonLink );&lt;br /&gt;
			}&lt;br /&gt;
			$navHead[config.linkBefore?&amp;quot;prepend&amp;quot;:&amp;quot;append&amp;quot;]($button);&lt;br /&gt;
		});&lt;br /&gt;
		// if more Navigation Bars found than Default: hide all&lt;br /&gt;
		if (NavFrames.length &amp;gt;= config.autoCollapse) {&lt;br /&gt;
			NavFrames.not('.noautocollapse').each(function() { toggleNavigationBar(this); });&lt;br /&gt;
		}&lt;br /&gt;
		else {&lt;br /&gt;
			NavFrames.filter('.collapsed').each(function() { toggleNavigationBar(this); });&lt;br /&gt;
		}&lt;br /&gt;
		return true;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	$( createNavigationBarToggleButton );&lt;br /&gt;
&lt;br /&gt;
	$(function() {&lt;br /&gt;
		$('.NavGlobal').each(function() {&lt;br /&gt;
			$('&amp;lt;span class=NavGlobalShow /&amp;gt;').append(&lt;br /&gt;
				document.createTextNode('['),&lt;br /&gt;
				$('&amp;lt;span tabIndex=0 class=collapseLink /&amp;gt;').text( msg(&amp;quot;showAll&amp;quot;) ).onLink(function(e) {&lt;br /&gt;
					$('.NavFrame').each(function() { if ( !$(this).hasClass('NavVisible') ) toggleNavigationBar(this); });&lt;br /&gt;
				}),&lt;br /&gt;
				']'&lt;br /&gt;
			).appendTo(this);&lt;br /&gt;
			$(this).append(' ');&lt;br /&gt;
			$('&amp;lt;span class=NavGlobalHide /&amp;gt;').append(&lt;br /&gt;
				document.createTextNode('['),&lt;br /&gt;
				$('&amp;lt;span tabIndex=0 class=collapseLink /&amp;gt;').text( msg(&amp;quot;hideAll&amp;quot;) ).onLink(function(e) {&lt;br /&gt;
					$('.NavFrame').each(function() { if ( $(this).hasClass('NavVisible') ) toggleNavigationBar(this); });&lt;br /&gt;
				}),&lt;br /&gt;
				']'&lt;br /&gt;
			).appendTo(this);&lt;br /&gt;
		});&lt;br /&gt;
	});&lt;br /&gt;
	&lt;br /&gt;
})(jQuery);&lt;br /&gt;
/*&amp;lt;/source&amp;gt;*/&lt;/div&gt;</summary>
		<author><name>Sesshou</name></author>	</entry>

	<entry>
		<id>http://megaten.sesshou.com/wiki/index.php?title=ShowHide/Code.js&amp;diff=8071&amp;oldid=prev</id>
		<title>Kuenaimaku: New page: /*&lt;source lang=&quot;javascript&quot;&gt;*/ /*  * Copyright © 2009, Daniel Friesen  * All rights reserved.  *   * Redistribution and use in source and binary forms, with or without  * modification, ar...</title>
		<link rel="alternate" type="text/html" href="http://megaten.sesshou.com/wiki/index.php?title=ShowHide/Code.js&amp;diff=8071&amp;oldid=prev"/>
				<updated>2011-05-02T00:57:31Z</updated>
		
		<summary type="html">&lt;p&gt;New page: - ‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;: &lt;/span&gt; /*  * Copyright © 2009, Daniel Friesen  * All rights reserved.  *   * Redistribution and use in source and binary forms, with or without  * modification, ar...&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 00:57, 2 May 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='4' style='text-align: center;' class='diff-multi'&gt;(One intermediate revision by one user not shown)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 71:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 71:&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Polish&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Polish&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		pl: {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		pl: {&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			show: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Poka?&lt;/del&gt;&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			show: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Pokaż&lt;/ins&gt;&amp;quot;,&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hide: &amp;quot;Ukryj&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hide: &amp;quot;Ukryj&amp;quot;,&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			showAll: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Poka? &lt;/del&gt;wszystko&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			showAll: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Pokaż &lt;/ins&gt;wszystko&amp;quot;,&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hideAll: &amp;quot;Ukryj wszystko&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hideAll: &amp;quot;Ukryj wszystko&amp;quot;&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		},&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		},&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Russian&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Russian&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		ru: {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		ru: {&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			show: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;???????&lt;/del&gt;&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			show: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Открыть&lt;/ins&gt;&amp;quot;,&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hide: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;??????&lt;/del&gt;&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hide: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Скрыть&lt;/ins&gt;&amp;quot;,&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			showAll: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;??????? ???&lt;/del&gt;&amp;quot;,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			showAll: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Открыть все&lt;/ins&gt;&amp;quot;,&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;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hideAll: &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;?????? ???&lt;/del&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;			hideAll: &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Скрыть все&lt;/ins&gt;&amp;quot;&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		}&lt;/div&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Make a post on the talkpage if you have i18n updates&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;		// Make a post on the talkpage if you have i18n updates&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kuenaimaku</name></author>	</entry>

	</feed>