Web browser: ---
            Bug ID: 59099
           Summary: mw.notify() with type to get different ui with
                    predefined styles
           Product: MediaWiki
           Version: 1.23-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: JavaScript
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 14188
mw.notify() with type for watch and patrol

mw.notify() is used for success and for fail notifications. But it has always
the same style.

It would be nice to have a set of predefined ui styles for different types. The
types should orient at the API results: For example:

* type "notify": Green. Success. Default style.
* type "warn": Yellow. Success but with warning.
* type "error": Red. Fail.

I created a patch to demonstrate the idea. The styles use different background
colors for the different types. It would be better to have self-explanatory

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to