利用者:AriusConfederation/vector.js
表示
お知らせ: 保存した後、ブラウザのキャッシュをクリアしてページを再読み込みする必要があります。
多くの Windows や Linux のブラウザ
- Ctrl を押しながら F5 を押す。
Mac における Safari
Mac における Chrome や Firefox
- ⌘ 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'
);
} );
}