Page MenuHomePhabricator

&viewsource=1 is not supported
Open, Needs TriagePublic

Description

There is a gadget at zhwiki that makes it easy to view the source of a page, by adding a link that uses the &viewsource=1 code. Editing a page with &viewsource=1 is expected to show the source code without being able to save changes to the page.

The &viewsource=1 doesn't seem to be working correctly; with the 2017WTE enabled (and perhaps with some other settings as well), the page just opens for editing normally.

Reported by User:New visitor of zhwiki at https://www.mediawiki.org/wiki/Topic:U6075nci6qi66lj6

Event Timeline

Restricted Application added subscribers: Stang, Aklapper. · View Herald Transcript