Page MenuHomePhabricator

Throw warning when edits made to a main page which uses special casing
Closed, DuplicatePublic

Description

If a Main Page is edited throw a warning message with the text
"This page makes use of legacy code to special case the page for mobile users. Please follow the instructions to fix this to avoid future breakage to this page."

the instructions should link to a page on mediawiki.org which documents how editors can use TemplateStyles

Related Objects

StatusSubtypeAssignedTask
DeclinedNone
ResolvedJdlrobson
DeclinedNone
DuplicateNone
ResolvedJdlrobson
DuplicateNone
ResolvedTgr
ResolvedAnomie
Resolvedtstarling
Resolvedcoren
ResolvedAnomie
DeclinedBUG REPORTNone
ResolvedAnomie
ResolvedEsanders
ResolvedEsanders
Resolvedssastry
ResolvedAnomie
ResolvedCKoerner_WMF
Resolvedjhsoby
ResolvedTgr
DeclinedTgr
Resolvedcoren
ResolvedAnomie
ResolvedTgr
DeclinedNone
Resolvedssastry
ResolvedTgr
ResolvedTgr
ResolvedTgr
Resolved Deskana
ResolvedCKoerner_WMF
Resolved Whatamidoing-WMF
ResolvedTgr
ResolvedTgr
ResolvedTgr
ResolvedUrbanecm
ResolvedTgr
ResolvedTacsipacsi
ResolvedTgr
ResolvedCKoerner_WMF

Event Timeline

For mobile editor only or for the desktop editor, too? I think this message should be visible for editors who can edit the page, only (not on viewsource)?

Do you really think, that the message is understandable for a "normal" wiki user? :/ And what is TemplateStyles? Maybe I missed something :]

Hi Florian please see the blocking task and corresponding extension. Yes I think this would only show in the editor after hitting save and I envision it mainly working on desktop interface.

I'm sure the message can be improved. Feel free to have an attempt at a second draft.

Jdlrobson changed the task status from Open to Stalled.Jun 30 2016, 8:49 PM
Jdlrobson changed the task status from Open to Stalled.
Jdlrobson moved this task from Incoming to Triaged but Future on the Web-Team-Backlog board.