[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Remove the "edit source" button from Jade pages.
Closed, ResolvedPublic

Event Timeline

Halfak triaged this task as Medium priority.Mar 24 2020, 5:17 PM
Halfak moved this task from Unsorted to Ready to go on the Machine-Learning-Team board.

Alternatively, we can change "edit source" to "view source". This happens on protected pages when an editor doesn't have sufficient writes to edit. E.g. try loading https://en.wikipedia.org/w/index.php?title=Main_Page&action=edit without a admin account. It says "view source" and doesn't let you save.

We could maybe do this by making all Jade pages require super advance rights (bureaucrat).

kevinbazira subscribed.

For now, I have removed the "edit source" link from Jade pages.

I will continue to look into the best way to protect Jade pages and show "view source" for all users but "edit" for bureaucrats.

Change 583982 had a related patch set uploaded (by Kevin Bazira; owner: Kevin Bazira):
[mediawiki/extensions/Jade@master] Remove the "edit source" link from pages in the Jade namespace

https://gerrit.wikimedia.org/r/583982

Change 583982 merged by jenkins-bot:
[mediawiki/extensions/Jade@master] Remove the "edit source" link from pages in the Jade namespace

https://gerrit.wikimedia.org/r/583982

I will continue to look into the best way to protect Jade pages and show "view source" for all users but "edit" for bureaucrats.

I don't think we need this given that we can hack the URL. So we can consider it done.