Page MenuHomePhabricator

Deficiencies in the handling of multiple warning messages when editing
Closed, ResolvedPublic

Description

Author: leercontainer-bugzilla

Description:
When editing an old version of a page the [[Mediawiki:Editingold|Editingold]]
system message is shown. If the page is also longer than 32KB or protected from
editing warning messages for that will also be shown
([[Mediawiki:longpagewarning|longpagewarning]] and
[[Mediawiki:protectedpagewarning|protectedpagewarning]], there's also
[[Mediawiki:readonlywarning|readonlywarning]]. However these messages will be
displayed without spacing or linebreaks (WARNING: You are editing an out-of-date
revision of this page. If you save it, any changes made since this revision will
be lost.WARNING: This page is 84 kilobytes...), thus breaking the textflow and
making it harder for the user to read.

It is not necessary to know that a page is long or old if you can't edit it
anyway, nor is it necessary to know that the database is locked if you can't
edit a page because it is protected.

I propose that you:

  • Add <br /> to all the warningmessages.
  • Make it so that more than one message is only shown when it is necessary.

Version: unspecified
Severity: minor

Details

Reference
bz741

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 7:01 PM
bzimport set Reference to bz741.
bzimport added a subscriber: Unknown Object (MLST).

These are now shown as wikitext, so each is its paragraph. Read-only mode doesn't seem
to show the other messages.

Resolving FIXED.

epriestley added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:20 AM