Source mode is designed to handle complex HTML codes on an article, allowing to reduce the amount of unwanted code that is sometimes automatically added. Source mode is the best way to edit if you are using templates, or HTML tags such as <span>, <p>, and <div>. Click "Expand" to learn how to you can switch to this mode and make your code look cleaner.
Here are some useful tips:
When copy or pasting content, always use source mode!
When you see in the edit area of visual mode, it refers to a template, or content with code that is not supported or too complex for the visual editor to handle. In source mode you will see this content in full.
When you see in the edit area of visual mode, it refers to a comment. In source mode, you will see this content as <!-- -->.
MediaWiki has a special language called wikitext to make editing more easy. This language is supported in visual mode and will not break as easily as HTML.
Some HTML tags like <u> or <s> are supported in visual mode.
You can also enter source mode when creating or replying to threads in a forum, or when using a message wall by clicking underneath the edit area.
*Disclosure: Some of the links above are affiliate links, meaning, at no additional cost to you, Fandom will earn a commission if you click through and make a purchase. Community content is available under CC-BY-SA
unless otherwise noted.
Fandom may earn an affiliate commission on sales made from links on this page.