跳转到内容

User:無聊龍/common.js

维基百科,自由的百科全书

这是本页的一个历史版本,由無聊龍留言 | 贡献2018年9月11日 (二) 10:41编辑。这可能和当前版本存在着巨大的差异。

注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google ChromeFirefoxMicrosoft EdgeSafari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/* User:WhitePhosphorus/js/rrd.js */
importScript( 'User:WhitePhosphorus/js/rrd.js' ); 
// Backlink: [[User:WhitePhosphorus/js/rrd.js]]

/* User:小躍/Vote-Template/Vote.js */
importScript( 'User:小躍/Vote-Template/Vote.js' ); 
// Backlink: [[User:小躍/Vote-Template/Vote.js]]

/* test only */
mw.loader.using( 'ext.wikiLove.defaultOptions', function() {
$.wikiLoveOptions.types.food.subtypes.falafel = {
    fields: [ 'header', 'message' ], // fields to ask for in form
    option: 'Falafel', // option listed in the select list
    descr: 'Falafel is a popular Middle Eastern street food made from ground chickpeas or fava beans and topped with salads, vegetables, and sauces. It is typically served in a pocket of pita bread.',
    header: 'Some falafel for you!', // header that appears at the top of the talk page post (optional)
    image: 'Falafel award.png', // image for the item
    imageSize: '120px' // size to display image (optional)
};
});