ChangeModelButton
< ChangeModelButton | tr
Description
İçerik modelini değiştir sayfasına erişmek için sayfa açılır menüsüne bir düğme ekler.
ChangeModelButton , sayfa başlığı önceden doldurulmuş olarak
Special:ChangeContentModel sayfasına erişmek için sayfa açılır menüsüne bir düğme ekleyen basit bir betikdir.
Bu düğme yalnızca en az content-moderator olan kullanıcılar tarafından görülebilir.
Bu, AjaxContentModel 'in daha az kullanışlı bir sürümüdür.
Installation
Add this to MediaWiki:ImportJS :
dev:ChangeModelButton.js
importArticles:
Add this JavaScript on your wiki (or add the highlighted text to your existing import statement):
importArticles ({ type : 'script' , articles : [ 'u:dev:MediaWiki:ChangeModelButton.js' , ] });
Local:
Special:MyPage/common.js
Importing multiple scripts? This quick guide shows how to combine the imports. For personal use, note that personal JS must be enabled for your account. If the script requires configuration through MediaWiki:Common.js for sitewide use, don't forget to contact Fandom Staff to get it enabled on your wiki, if it isn't already enabled.