Jump to content

Help:View source/diq

From Meta, a Wikimedia project coordination wiki

When a page is protected, certain users can't edit it. Semi-protection disallows IPs and new users from editing a page, while full protection stops anyone but sysops. The user can also not edit when they are blocked, and will get "view source" when they are blocked from editing. However, no matter what level of protection a page is given, any user is free to view the source, an action that is denoted view source where the edit tab typically is. In this way, anybody can copy and examine the wikitext of a page to their heart's content, but no changes can be made.

The appearance of view source is not limited to inability to edit due to page protection or blocking. For example, users without the editinterface permission will see "view source" when trying to edit a page in the MediaWiki namespace.

Often, the view source function will be forced to all users when the database is locked down by developers for maintenance or when the slave server needs to catch up to the job queue.

The view source form is shown below.

Picture of "view source" page, with an unchangeable text box.

Help contents
Meta · Wikinews · Wikipedia · Wikiquote · Wiktionary · Commons: · Wikidata · MediaWiki · Wikibooks · Wikisource · MediaWiki: Manual · Google
Versions of this help page (for other languages see further)
What links here on Meta or from Meta · Wikipedia · MediaWiki
Reading
Go · Search · Namespace · Page naming · Section · Backlinks · Redirect · Category · Image page · Special pages · Printing
Tracking changes
Recent changes (enhanced) | Related changes · Watching pages · Diff · Page history · Edit summary · User contributions · Minor edit · Patrolled edit
Logging in and preferences
Logging in · Preferences
Editing
Starting a new page · Advanced editing · Editing FAQ · Export · Import · Shortcuts · Edit conflict · Page size
Referencing
Links · URL ·  · Footnotes
Style and formatting
Wikitext examples · CSS · Reference card · HTML in wikitext · Formula · Lists · Table · Sorting · Colors · Images and file uploads
Fixing mistakes
Show preview · Reverting edits
Advanced functioning
Expansion · Template · Advanced templates · Parser function · Magic words · System message · Substitution · Arrays · Expr parser function syntax · Transclusion
Others
Special characters · Renaming (moving) a page · Preparing a page for translation · Talk pages · Signatures · Sandbox · Legal issues for editors