Page MenuHomePhabricator

The logout button and the mobile view button contains the markasread parameter
Open, Needs TriagePublic

Description

When I click on a link from the Echo notification it has a parameter markasread. The HTML body contains the following links:

  • //m.wikidata.org/w/index.php?title=Q1234567&markasread=1234567&mobileaction=toggle_view_mobile
  • /w/index.php?title=Special:UserLogout&returnto=Q1234567&returntoquery=markasread%3D1234567

The parameter here are useless because the page is already read.

I suspect a robust way to remove the markasread parameter is a HTTP 302 to the location without the markasread parameter. Then the location manipulation in JavaScript can omitted.

Related Objects