<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.5/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.5/ http://www.mediawiki.org/xml/export-0.5.xsd" version="0.5" xml:lang="en">
  <siteinfo>
    <sitename>Wikibooks</sitename>
    <base>http://en.wikibooks.org/wiki/Main_Page</base>
    <generator>MediaWiki 1.18wmf1</generator>
    <case>first-letter</case>
    <namespaces>
      <namespace key="-2" case="first-letter">Media</namespace>
      <namespace key="-1" case="first-letter">Special</namespace>
      <namespace key="0" case="first-letter" />
      <namespace key="1" case="first-letter">Talk</namespace>
      <namespace key="2" case="first-letter">User</namespace>
      <namespace key="3" case="first-letter">User talk</namespace>
      <namespace key="4" case="first-letter">Wikibooks</namespace>
      <namespace key="5" case="first-letter">Wikibooks talk</namespace>
      <namespace key="6" case="first-letter">File</namespace>
      <namespace key="7" case="first-letter">File talk</namespace>
      <namespace key="8" case="first-letter">MediaWiki</namespace>
      <namespace key="9" case="first-letter">MediaWiki talk</namespace>
      <namespace key="10" case="first-letter">Template</namespace>
      <namespace key="11" case="first-letter">Template talk</namespace>
      <namespace key="12" case="first-letter">Help</namespace>
      <namespace key="13" case="first-letter">Help talk</namespace>
      <namespace key="14" case="first-letter">Category</namespace>
      <namespace key="15" case="first-letter">Category talk</namespace>
      <namespace key="102" case="first-letter">Cookbook</namespace>
      <namespace key="103" case="first-letter">Cookbook talk</namespace>
      <namespace key="108" case="first-letter">Transwiki</namespace>
      <namespace key="109" case="first-letter">Transwiki talk</namespace>
      <namespace key="110" case="first-letter">Wikijunior</namespace>
      <namespace key="111" case="first-letter">Wikijunior talk</namespace>
      <namespace key="112" case="first-letter">Subject</namespace>
      <namespace key="113" case="first-letter">Subject talk</namespace>
    </namespaces>
  </siteinfo>
  <page>
    <title>MediaWiki:Common.css</title>
    <id>50984</id>
    <revision>
      <id>2178322</id>
      <timestamp>2011-10-09T16:42:56Z</timestamp>
      <contributor>
        <username>Adrignola</username>
        <id>169232</id>
      </contributor>
      <comment>reduce category spacing from 1.18; retains no-wrap of individual categories that was provided by 1.18</comment>
      <text xml:space="preserve" bytes="5455">@import url(&quot;/w/index.php?title=MediaWiki:Common.css/Autocount.css&amp;action=raw&amp;ctype=text/css&quot;) screen;
@import url(&quot;/w/index.php?title=MediaWiki:Common.css/Hoverbox.css&amp;action=raw&amp;ctype=text/css&quot;) screen;
@import url(&quot;/w/index.php?title=MediaWiki:Common.css/Infobox.css&amp;action=raw&amp;ctype=text/css&quot;) screen;
@import url(&quot;/w/index.php?title=MediaWiki:Common.css/Mboxes.css&amp;action=raw&amp;ctype=text/css&quot;) screen;
@import url(&quot;/w/index.php?title=MediaWiki:Common.css/Media.css&amp;action=raw&amp;ctype=text/css&quot;) screen;
@import url(&quot;/w/index.php?title=MediaWiki:Common.css/Multilingual.css&amp;action=raw&amp;ctype=text/css&quot;) screen;
@import url(&quot;/w/index.php?title=MediaWiki:Common.css/Nav.css&amp;action=raw&amp;ctype=text/css&quot;) screen;
@import url(&quot;/w/index.php?title=MediaWiki:Common.css/toc.css&amp;action=raw&amp;ctype=text/css&quot;) screen;
@import url(&quot;/w/index.php?title=MediaWiki:Common.css/References.css&amp;action=raw&amp;ctype=text/css&quot;) screen;
@import url(&quot;/w/index.php?title=MediaWiki:Common.css/top.css&amp;action=raw&amp;ctype=text/css&quot;) screen;
@import url(&quot;/w/index.php?title=MediaWiki:Common.css/search.css&amp;action=raw&amp;ctype=text/css&quot;) screen;

.PrettyTextBox { background-color:#F9F9F9; color:#000000; border:1px solid #AAAAAA; padding:0.2em; }
 
.archive-box {
  border: 1px solid #aaaaff;
  background-color: #f2f2f9;
  color: black;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0.2em;
  float: right;
  clear: right;
  text-align: center;
}
 
/* Style for horizontal UL lists */
.horizontal ul, .DPLFlat ul { padding:0em; margin:0em; }
.horizontal li, .DPLFlat li { display:inline; padding:0em 0.6em 0em 0.4em; border-right:1px solid #AAA; }
.horizontal li:last-child, .DPLFlat li:last-child { border-right:0em; padding-right:0em; }

/* Style for vertical UL lists */
.vertical ul { list-style:none; padding:0px; margin:0px; }
.vertical li { padding:0.6em 0em 0.4em 0em; border-bottom:1px solid #aaaaaa; }
.vertical li:last-child { border-bottom:0px; }

/* Add arrows to toggle-blocks for collapsible elements */
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-expanded {
 padding-left: 20px !important;
 background-image: url('http://upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png');
 background-repeat: no-repeat;
 background-position: center left;
}
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-collapsed {
 padding-left: 20px !important;
 background-image: url('http://upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png');
 background-repeat: no-repeat;
 background-position: center left;
}

/* Fixes for portal pages */
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
body.page-Main_Page #firstHeading,
body.page-Wikijunior #deleteconfirm,
body.page-Wikijunior #t-cite,
body.page-Wikijunior #footer-info-lastmod,
body.page-Wikijunior #firstHeading {
  display: none;
}
body.page-Main_Page h2,
body.page-Wikijunior h2 { font-size:16pt; margin:0; padding: 0; border-bottom:0; font-weight: bold; }
body #siteSub { display: none; }

/* Fix the background color on the sitenotice */
table#mw-dismissable-notice { background-color: transparent; }

/* For template documentation */
.template-documentation { clear:both; margin:1em 0em 0em 0em; border: 1px solid #aaddff;  background-color:#eef5ff; padding:1em; }

/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext { border:none; background:transparent; padding:0px; }

/* Selectively hide headers in WikiProject banners */
.wpb .wpb-header             { display: none; }
.wpbs-inner .wpb .wpb-header { display: block; }     /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for other browsers */
.wpbs-inner .wpb-outside     { display: none; }      /* hide things that should only display outside shells */

.nowraplinks a, .nowraplinks .selflink { white-space: nowrap; }

/* Hack to remove comment box for FlaggedRevs, since we seem unable to remove it from configuration. */
#mw-fr-commentbox { display:none; }

/* User block messages */
div.user-block { padding: 5px; margin-bottom: 0.5em; border: 1px solid #A9A9A9; background-color: #FFEFD5; }

/* Keep menus in toolbox from growing too long */
.wikiEditor-ui-toolbar .group .menu .options { height:300px; overflow: auto; }

/* Accessibility experiment: make diff changes not just color-based */
.diffchange { font-weight:bold; background-color: inherit; }
td.diff-addedline, td.diff-deletedline, td.diff-context { font-size:85%; color: inherit; }

/* Show only when printing */
@media screen, projection, handheld {
  .printonly { display: none !important; }
}

/* Disable the automatic text-size adjust of WebKit on iPhones etc.
   It scales some text, and not the other. Use none, or fixed percentage instead.
   Use media selector, because defining a value, overwrites platform defaults. */
@media only screen and (max-device-width: 480px) {
    body {
        -webkit-text-size-adjust: none;
    }
}

/* Fix so &lt;syntaxhighlight&gt; tags and .css and .js pages get normal text size.
   [[Bugzilla:26204]]. */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript {
    font-family: monospace, &quot;Courier New&quot; !important;
}

/* Re-bold-en minor and bot edits in contributions, history, recent changes */
abbr.minoredit, abbr.botedit {
  font-weight: bold;
}

#catlinks li {
    padding:0 .3em;
    margin:0;
}
#catlinks li:first-child {
    padding-left:0;
}</text>
    </revision>
  </page>
  <page>
    <title>MediaWiki:Common.js</title>
    <id>104018</id>
    <revision>
      <id>2175516</id>
      <timestamp>2011-10-04T00:45:05Z</timestamp>
      <contributor>
        <username>Darklama</username>
        <id>7662</id>
      </contributor>
      <comment>problem solved, rm completely</comment>
      <text xml:space="preserve" bytes="2399">/**
 * Redirect User:Name/skin.js and skin.css to the current skin's pages
 * (unless the 'skin' page really exists)
 * @source: http://www.mediawiki.org/wiki/Snippets/Redirect_skin.js
 * @rev: 2
 */
if ( mw.config.get( 'wgArticleId' ) == 0 &amp;&amp; mw.config.get( 'wgNamespaceNumber' ) == 2 ) {
        var titleParts = mw.config.get( 'wgPageName' ).split( '/' );
        // Make sure there was a part before and after the slash
        // And that the latter is 'skin.js' or 'skin.css'
        if ( titleParts.length == 2 ) {
                var userSkinPage = titleParts.shift() + '/' + mw.config.get( 'skin' );
                if ( titleParts.slice(-1) == 'skin.js' ) {
                        window.location.href = mw.util.wikiGetlink( userSkinPage + '.js' );
                } else if ( titleParts.slice(-1) == 'skin.css' ) {
                        window.location.href = mw.util.wikiGetlink( userSkinPage + '.css' );
                }
        }
}

// Book specific
var wgBookName = ( mw.config.get( 'wgPageName' ).split( '/', 1)[0] || '' ).split( ':', 2 ).join( ':' );
importStylesheet('MediaWiki:Common.css/' + wgBookName);

// Imported scripts
importScript('MediaWiki:Common.js/Relics.js');
importScript('MediaWiki:Common.js/ExtraTools.js');
importScript('MediaWiki:Common.js/CollapseElements.js');
importScript('MediaWiki:Common.js/NavigationTabs.js');
importScript('MediaWiki:Common.js/Displaytitle.js');
importScript('MediaWiki:Common.js/RandomBook.js');
importScript('MediaWiki:Common.js/Perbook.js');
importScript('MediaWiki:Common.js/tabs.js');
importScript('MediaWiki:Common.js/top.js');
importScript('MediaWiki:Common.js/review.js');
importScript('MediaWiki:Common.js/Categories.js');
importScript('MediaWiki:Common.js/use.js');

if ( mw.config.get( 'wgCanonicalSpecialPageName' ) == 'Watchlist' ) {
	importScript('MediaWiki:Common.js/WatchlistNotice.js');
} else if ( $.inArray( mw.config.get( 'wgAction' ), ['edit', 'submit', 'upload'] ) != -1 ) {
	importScript('MediaWiki:Common.js/Special_characters.js');
	importScript('MediaWiki:Common.js/Toolbox.js');
}

// Load sysop-specific JavaScript/CSS from [[MediaWiki:Common.js/Sysop.js]] and [[MediaWiki:Common.css/Sysop.css]]
if ( $.inArray( 'sysop', wgUserGroups) &gt; -1 ) {
 importStylesheet('MediaWiki:Common.css/Sysop.css');
 if ( !window.disableSysopJS ) {
  $(function(){
   importScript('MediaWiki:Common.js/Sysop.js');
  });
 }
}</text>
    </revision>
  </page>
  <page>
    <title>MediaWiki:Common.css/Nav.css</title>
    <id>229709</id>
    <revision>
      <id>2050434</id>
      <timestamp>2011-02-19T02:39:07Z</timestamp>
      <contributor>
        <username>Adrignola</username>
        <id>169232</id>
      </contributor>
      <comment>Single pixel border between adjacent navboxes and fixed margin</comment>
      <text xml:space="preserve" bytes="1881">/* Collapsible Containers */
.collapsible { margin:0px; padding:0px; }
.collapsible .title, .collapsible tr:first-child th, .collapsible tr:first-child td { cursor:pointer; padding-right:16px; color:#4D4D4D; }
.collapsible.selected .title, .collapsible.selected tr:first-child th, .collapsible.selected tr:first-child td { color:#0645AD; }
.collapsible span.action { display:block; float:left; white-space:nowrap; text-align:left; height:16px; margin:auto 5px auto 0px; padding:0px; }
.collapsible span.action img { height:16px; width:16px; margin:0px; padding:0px; }

/* Default skin for navigation boxes */
table.navbox { border:1px solid #aaaaaa; width:100%; margin:auto; clear:both; font-size:88%; text-align:center; padding:1px; }
.navbox .collapsible{border:none;}
table.navbox + table.navbox { margin-top: -1px; }
.navbox-title, .navbox-abovebelow, table.navbox th { text-align:center; padding-left:1em; padding-right:1em; }
.navbox-group { white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em; }
.navbox, .navbox-subgroup { background:#fdfdfd; }
.navbox-list { border-color:#fdfdfd; }
.navbox-title, table.navbox th { background:#ccccff; }
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: #ddddff; }
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #e6e6ff; }
.navbox-even { background: #f7f7f7; }
.navbox-odd { background: transparent; }

/* Navigation Tabs */
.navtabs .tabs li { list-style:none; }
.navtabs .tabs a { text-decoration:none; text-transform:uppercase; outline-width:0px; font-size:x-small; font-weight:bold; color:black; } 
.navtabs .tabs .inactive { background:#bbb; padding:1ex; }
.navtabs .tabs .selected { background:#999; padding:1.1ex; }
.navtabs .tabs .inactive:hover { background:#f75; }
.navtabs .contents { padding:1ex; border:3px solid #999; }</text>
    </revision>
  </page>
  <page>
    <title>MediaWiki:Common.js/CollapseElements.js</title>
    <id>134407</id>
    <revision>
      <id>2011164</id>
      <timestamp>2011-01-02T15:13:33Z</timestamp>
      <contributor>
        <username>Darklama</username>
        <id>7662</id>
      </contributor>
      <comment>set initial width if its not already set to keep width consistent between collapsed and expanded states</comment>
      <text xml:space="preserve" bytes="2276">//&lt;source lang=&quot;javascript&quot;&gt;
// Faster Collapsible Containers
// Maintainer: [[User:Darklama]]

// images to use for hide/show states
var collapse_action_hide = 'http://upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png';
var collapse_action_show = 'http://upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png';
 
// toggle state of collapsible boxes
function collapsible_boxes()
{
	$('div.collapsible').each( function() {
		var $that = $(this), css_width = $that.css('width'), attr_width = $that.attr('width');
		var which = $that.hasClass('selected') ? collapse_action_show : collapse_action_hide;

		if ( (!css_width || css_width == 'auto') &amp;&amp; (!attr_width || attr_width == 'auto') ) {
			$that.css('width', $that.width() );
		}

		$(this).children('.title').each( function() {
			$(this).prepend('&lt;span class=&quot;action&quot;&gt;&lt;a&gt;&lt;img src=&quot;'+which+'&quot; /&gt;&lt;/a&gt;&lt;/span&gt;').click( function() {
				var which = $that.toggleClass('selected').hasClass('selected')
					? collapse_action_show : collapse_action_hide;
				$(this).find('span.action img').attr('src', which);
				if ( which == collapse_action_show ) {
					$(this).siblings(':not(.title)').stop(true, true).fadeOut();
				} else {
					$(this).siblings(':not(.title)').stop(true, true).fadeIn();
				}
			}).click();
		});
	});

	$( &quot;table.collapsible&quot; ).each( function() {
		var $table = $(this), rows = this.rows, cell = rows.item(0).cells.item(0);
		var which = $table.hasClass('selected') ? collapse_action_show : collapse_action_hide;
		var css_width = $table.css('width'), attr_width = $table.attr('width');

		if ( (!css_width || css_width == 'auto') &amp;&amp; (!attr_width || attr_width == 'auto') ) {
			$table.css('width', $table.width() );
		}

		$(cell).prepend('&lt;span class=&quot;action&quot;&gt;&lt;a&gt;&lt;img src=&quot;'+which+'&quot; /&gt;&lt;/a&gt;&lt;/span&gt;');
		$(rows.item(0)).click( function() {
			var which = $table.toggleClass('selected').hasClass('selected')
				? collapse_action_show : collapse_action_hide;
			$(cell).find('span.action img').attr('src', which);
			if ( which == collapse_action_show ) {
				$(rows).next().stop(true, true).fadeOut();
			} else {
				$(rows).next().stop(true, true).fadeIn();
			}
		}).click();
	});
}

$(document).ready( collapsible_boxes );

//&lt;/source&gt;</text>
    </revision>
  </page>
</mediawiki>

