16,874
个编辑
LLWiki正在建设中,欢迎加入我们!
(// 使用Wikiplus小工具快速编辑) 标签:移动版网页编辑 移动版编辑 |
|||
(未显示同一用户的2个中间版本) | |||
}).then(function(data) {
const api = new mw.Api(),
dynamicList = data.dynamic ? data.dynamic.map(function(query) {
if (query.type == 'prefixindex') {
return mw.timedQuery(api, {list: 'allpages', apprefix: query.prefix, apnamespace: query.ns})
});
}
}) : [];
if (skin == 'vector') {
menu.children().append( data.static.map(function(entry) {
return $('<li>', {html: $('<a>', {
href: entry.title ? mw.util.getUrl( entry.title ) : entry.href,
html: $('<span>', {text: entry.text})
})});
}) );
return $('<li>', {html: $('<a>', {
href: mw.util.getUrl( entry.title ),
html: $('<span>', {text: entry.text})
})});
})});
}) );
$('#mw-mf-page-left').
});
}
|