Last modified: 2010-07-16 13:33:21 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 T26393, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24393 - Bullets not supported as first item in textarea fields
Bullets not supported as first item in textarea fields
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-15 18:13 UTC by stlauc
Modified: 2010-07-16 13:33 UTC (History)
1 user (show)

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


Attachments

Description stlauc 2010-07-15 18:13:10 UTC
Semantic Forms (or the responsible extension for fields) adds a space as the first character of a textarea field. Therefore when I try to start a bullet list in the field, the first bullet is not being interpreted properly. E.g., my markup ends up like this:

<nowiki>
<td> *I can't prevent the initial space so the first bullet does not work <ul><li>the second one is fine</li></ul> </td>
</nowiki>

To avoid breaking lists, the initial space should only be added if the textarea is empty.
Comment 1 Yaron Koren 2010-07-15 18:42:14 UTC
After a private discussion, this turned out not to be a bug at all.
Comment 2 stlauc 2010-07-15 18:46:58 UTC
The error was in the form. The textarea field must start in column 1 of a new line, e.g.:

'''My label:''' 
{{{field|Summary|input type=textarea|cols=60}}}
Comment 3 Yaron Koren 2010-07-15 19:53:31 UTC
I doubt that - it's the newline in the template, not the form, that should affect things.
Comment 4 stlauc 2010-07-16 13:33:21 UTC
Correct, my mistake. Template code should be formated as follows:
! Mylabel
| 
{{{Myfield|}}}

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


Navigation
Links