Extension:MsInsert/ja

The MsInsert extension adds a dropdown menu to the editor (both the and the regular editor), that allows you to insert into the wikitext the content of any wiki page listed in the dropdown menu.

The wiki pages are added to the dropdown menu from LocalSettings.php

設定
To add a page to the dropdown menu, add it to the $wgTemplates array in your LocalSettings.php, like so:

Or alternatively:

If the page does not exist yet, then it will not be added to the dropdown menu, even if it's listed in the $wgTemplates array. By default, the array is empty.

使用法
Once a page has been added to the, it will appear listed in the dropdown menu whenever you edit a page. By selecting it in the dropdown menu, the extension will fetch its contents and insert them into the wikitext, wherever you had the cursor.