Last modified: 2005-01-11 19:20:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T3276, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1276 - Feature Request: CSS and wiki markup for red warning text.
Feature Request: CSS and wiki markup for red warning text.
Status: CLOSED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-07 03:27 UTC by Toby Bartels
Modified: 2005-01-11 19:20 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Toby Bartels 2005-01-07 03:27:35 UTC
First, the red warning text that appears in some places (like the edit preview)
should always be properly done with CSS. (Aside from simple correctness, see
feature request [[989]] for a reason.) I'll suggest <class = "warning">.

But this only works in system text. Red warning text is also used in wiki-edited
text (see the top of [[w:en:Donations for victims of the 2004 Indian Ocean
earthquake]] for an example). So we should have a wiki markup for it. I'll
suggest "<warn>...</warn>", and if anybody objects to that on the grounds that
wiki tags shouldn't look like HTML tags (as <nowiki> does), then I'll let them
suggest an alternative ^_^.
Comment 1 Brion Vibber 2005-01-07 03:54:41 UTC
<p class="error">bla bla</p>
Comment 2 Toby Bartels 2005-01-11 19:20:45 UTC
Thanks, Brion! It works great.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links