16,874
个编辑
LLWiki正在建设中,欢迎加入我们!
小 |
小 |
||
if (prefix === "" || prefix.startsWith('#')) { return; }
if (ns == '0' && prefix.includes('#')) {
const capture = prefix.match(/^(.+)#(.*)$/);
prefix = capture[2];
(title == capture[1] ? Promise.resolve() : mw.timedQuery(api, {action: 'parse', page:
prop: 'sections'}, wgULS('段落标题', '段落標題')).then(r => {
title = capture[1];
|