Help:View source

The view source function, also called the raw function, is a handy way to view the source of a specific article. This forces a specific article to display its source code. "View Source" is only available on the desktop version, and is not accessible through the mobile skin.

Why does "View Source" appear on articles?
The "View Source" icon appears in place of the "Edit" button on pages with a Protection level enabled, be it autoconfirmed or sysop-protected.

However, if the "View Source" icon appears on pages that aren't protected, then the user trying to edit the article is either blocked locally on the wiki the article belongs to, or globally across the Fandom network; or the user does not log in to his/her Fandom account and/or browses the wiki as an IP address/anonymous user (if the feature "Require all contributors to log in" is enabled).

How to view source
On any Fandom article page:
 * 1) At the end of the URL, add the following text:
 * 2) Visit that link; the page should display the source code of the article.

Tips and tricks

 * If you want to make a page or Template by starting with a protected page's source code, you can copy the source code and paste it on source editing area.
 * Copy and pasting the source of the page in VisualEditor will automatically put the  and   between wikitext content. Instead, the copied source should be pasted in using the source editor.
 * To view the source of any page, you can add  to the end of the URL.

Further help and feedback
de:Hilfe:Quelltext anzeigen es:Ayuda:Ver código fr:Aide:Voir le texte source tr:Yardım:Kaynağı görüntüle uk:Довідка:Переглянути код zh:Help:查看源代码