Page MenuHomePhabricator

Understanding first day: page title not obfuscated for Special:History on mobile
Closed, ResolvedPublic

Description

@kostajh @Catrope

In testing mobile events, I went to the "View history" of an article, and got the following values:

uuid: 315c3983fc785d1fbd3d4e65555269e4
"page_title":"Page history"
"path":"/wiki/Special:History/Ceres_(dwarf_planet)"
"title":"History/Ceres (dwarf planet)"

Event Timeline

Change 473552 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[mediawiki/extensions/WikimediaEvents@master] Handle cases where relevant title is not set by Special page

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

Change 473637 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[mediawiki/extensions/MobileFrontend@master] Set relevant title on Special:History

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

Change 473552 abandoned by Kosta Harlan:
Handle cases where relevant title is not set by Special page

Reason:
Going to fix individual Special pages as needed to set relevant title

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

This should be fixed on beta labs for Special:History, but let's keep this task open as there are other Special pages that will need similar treatment.

Change 473637 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Set relevant title on Special:History

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

Etonkovidova closed this task as Resolved.Nov 15 2018, 6:44 PM

Checked on betalabs - the Special:History/[page title] will be obfuscated:

[log]> select wiki, event_action, event_is_mobile, event_namespace, event_path,event_query, event_title, event_page_title  from  EditorJourney_18504997 where event_user_id=15571 and event_is_mobile=1\G

e.g.

wiki: enwiki
event_action: view
event_is_mobile: 1
event_namespace: -1
event_path: /wiki/Special:History/9e312ad29ed6a7b224fd62aa6f9598ee38ee348a333bd7b2a19c2654a35fcab1356cd9873df935a5b940c7d545d34e8778ebc0d36f7574d2e8faaf89a28543b2
 event_query: 
 event_title: 9e312ad29ed6a7b224fd62aa6f9598ee38ee348a333bd7b2a19c2654a35fcab1356cd9873df935a5b940c7d545d34e8778ebc0d36f7574d2e8faaf89a28543b2
event_page_title: Page history