Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/horlicks-p/moelog-wiki-links/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
在 WordPress 文章內文寫 [[詞彙]],自動連到維基百科,並在連結之前先確認條目存在;不存在時輸出 MediaWiki 風格的紅色連結。
已停止維護的 better-wiki-links 的替代品。
語法
| 寫法 | 結果 |
|---|---|
[[初音ミク]] |
連到預設語言維基百科的「初音ミク」 |
[[初音ミク\|ミクさん]] |
同上,但顯示文字為「ミクさん」 |
[[en:Vocaloid]] |
連到英文維基百科的 Vocaloid |
[[zh-tw:輕小說]] |
連到 zh.wikipedia.org/zh-tw/輕小說 |
\[[初音ミク]] |
跳脫,原樣輸出不轉換 |
<pre>、<code>、<kbd>、<samp>、`