<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.juanweixianshe.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AVector.js</id>
	<title>MediaWiki:Vector.js - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.juanweixianshe.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AVector.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.juanweixianshe.com/index.php?title=MediaWiki:Vector.js&amp;action=history"/>
	<updated>2026-04-11T16:36:46Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.juanweixianshe.com/index.php?title=MediaWiki:Vector.js&amp;diff=245&amp;oldid=prev</id>
		<title>2021年8月4日 (三) 10:48 黯狐</title>
		<link rel="alternate" type="text/html" href="https://wiki.juanweixianshe.com/index.php?title=MediaWiki:Vector.js&amp;diff=245&amp;oldid=prev"/>
		<updated>2021-08-04T10:48:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* 这里的任何JavaScript将为使用Vector皮肤的用户加载 */&lt;br /&gt;
/* 折叠 */&lt;br /&gt;
function makeCollapsibleMwCollapsible( $content ) {&lt;br /&gt;
	var $tables = $content&lt;br /&gt;
		.find( 'table.collapsible:not(.mw-collapsible)' )&lt;br /&gt;
		.addClass( 'mw-collapsible' );&lt;br /&gt;
&lt;br /&gt;
	$.each( $tables, function ( index, table ) {&lt;br /&gt;
		// mw.log.warn( 'This page is using the deprecated class collapsible. Please replace it with mw-collapsible.');&lt;br /&gt;
		if ( $( table ).hasClass( 'collapsed' ) ) {&lt;br /&gt;
			$( table ).addClass( 'mw-collapsed' );&lt;br /&gt;
			// mw.log.warn( 'This page is using the deprecated class collapsed. Please replace it with mw-collapsed.');&lt;br /&gt;
		}&lt;br /&gt;
	} );&lt;br /&gt;
	if ( $tables.length &amp;gt; 0 ) {&lt;br /&gt;
		mw.loader.using( 'jquery.makeCollapsible' ).then( function () {&lt;br /&gt;
			$tables.makeCollapsible();&lt;br /&gt;
		} );&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
mw.hook( 'wikipage.content' ).add( makeCollapsibleMwCollapsible );&lt;br /&gt;
function mwCollapsibleSetup( $collapsibleContent ) {&lt;br /&gt;
	var $element,&lt;br /&gt;
		$toggle,&lt;br /&gt;
		autoCollapseThreshold = 2;&lt;br /&gt;
	$.each( $collapsibleContent, function ( index, element ) {&lt;br /&gt;
		$element = $( element );&lt;br /&gt;
		if ( $element.hasClass( 'collapsible' ) ) {&lt;br /&gt;
			$element.find( 'tr:first &amp;gt; th:first' ).prepend( $element.find( 'tr:first &amp;gt; * &amp;gt; .mw-collapsible-toggle' ) );&lt;br /&gt;
		}&lt;br /&gt;
		if ( $collapsibleContent.length &amp;gt;= autoCollapseThreshold &amp;amp;&amp;amp; $element.hasClass( 'autocollapse' ) ) {&lt;br /&gt;
			$element.data( 'mw-collapsible' ).collapse();&lt;br /&gt;
		} else if ( $element.hasClass( 'innercollapse' ) ) {&lt;br /&gt;
			if ( $element.parents( '.outercollapse' ).length &amp;gt; 0 ) {&lt;br /&gt;
				$element.data( 'mw-collapsible' ).collapse();&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
		// because of colored backgrounds, style the link in the text color&lt;br /&gt;
		// to ensure accessible contrast&lt;br /&gt;
		$toggle = $element.find( '.mw-collapsible-toggle' );&lt;br /&gt;
		if ( $toggle.length ) {&lt;br /&gt;
			// Make the toggle inherit text color&lt;br /&gt;
			if ( $toggle.parent()[ 0 ].style.color ) {&lt;br /&gt;
				$toggle.find( 'a' ).css( 'color', 'inherit' );&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	} );&lt;br /&gt;
}&lt;br /&gt;
mw.hook( 'wikipage.collapsibleContent' ).add( mwCollapsibleSetup );&lt;/div&gt;</summary>
		<author><name>黯狐</name></author>
	</entry>
</feed>