コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

利用者:AriusConfederation/vector.js

お知らせ: 保存した後、ブラウザのキャッシュをクリアしてページを再読み込みする必要があります。

多くの WindowsLinux のブラウザ

  • Ctrl を押しながら F5 を押す。

Mac における Safari

  • Shift を押しながら、更新ボタン をクリックする。

Mac における ChromeFirefox

  • Cmd Shift を押しながら R を押す。

詳細についてはWikipedia:キャッシュを消すをご覧ください。

mw.loader.load('//ja-two.iwiki.icu/w/index.php?title=User:Hogehoge/hoge.js&action=raw&ctype=text/javascript');
/**
 * Adds a "Download as MOBI" link to the sidebar
 *
 * Generates and starts a download of the current page as an MOBI file.
 * Subpages of the current page (if any) are included as well.
 *
 * Uses the WSExport tool on Wikimedia Labs:
 * http://wsexport.wmflabs.org/tool/book.php
 *
 * See Oldwikisource:Wikisource:WSexport for more information
 * Bug reports should go to fr:Wikisource:Wsexport
 * Tool source code at https://github.com/wsexport
 */
/*global mw, $ */
if ( $.inArray( mw.config.get( 'wgNamespaceNumber' ), [ 0 , 114 ] ) !== -1 ) {
	$( function () {
		mw.util.addPortletLink(
			'p-coll-print_export',
			'//tools.wmflabs.org/wsexport/tool/book.php?' + $.param( {
				lang: 'ja',
				format: 'mobi',
				page: mw.config.get( 'wgPageName' )
			} ),
			'Kindle用に変換',
			'n-epubExport',
			'MOBI形式でこのページをダウンロード',
			'',
			'#t-print'
		);
	} );
}