View Raw
Description
Adds a "Raw" link to the "Edit" menu.
English (en) العربية (ar) беларуская (be) català (ca) Deutsch (de) Ελληνικά (el) emiliàn e rumagnòl (eml) español (es) suomi (fi) français (fr) galego (gl) हिन्दी (hi) Bahasa Indonesia (id) italiano (it) 日本語 (ja) ქართული (ka) 한국어 (ko) Latina (la) молдовеняскэ (mo) Napulitano (nap) polski (pl) português (pt) português do Brasil (pt-br) русский (ru) Türkçe (tr) українська (uk) 中文(简体) (zh-hans) 中文(繁體) (zh-hant) 中文(香港) (zh-hk) 中文(臺灣) (zh-tw) Translate! [
View ]
View Raw , similarly to View Source , adds a link to the edit dropdown to view the raw page source. Useful for source pages where you don't want to see the rest of the page.
Installation
Add this to MediaWiki:ImportJS :
dev:View_Raw/code.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:View_Raw/code.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.
Text above can be found
here (edit )