Last modified: 2010-10-19 17:22:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12449 - request for markup addition in lists
request for markup addition in lists
Status: RESOLVED DUPLICATE of bug 1115
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-30 01:25 UTC by FT2
Modified: 2010-10-19 17:22 UTC (History)
2 users (show)

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


Attachments

Description FT2 2007-12-30 01:25:29 UTC
Yes this is not a huge item. 

It's mostly because a situation exists where you _can't_ get mediawiki to render aligned, and sometimes it would be nice to. So a request for a minor markup addition to allow it.

Situation: for whatever reason you're presenting a bullet or numbered list where one item spans multiple lines. For example, a long analysis of an article issue or dispute, where point 1 might be 2 paragraphs, or (paragraph + indented quote from policy + paragraph) for example.

The only way to do this is <br /> code inline, or bullets/numbers with an appended ":" to prevent the bullet or number being rendered. But this is problematic for alignment. Examples:


:* Your first point is good, but your second is wrong. This was the actual quote:
:*: '''"(longish extract from policy indented for readability)"'''
:: Please check and let me know if that makes sense. ~~~~

OR

:* Your first point is good, but your second is wrong. This was the actual quote:<br />'''"(longish extract from policy indented for readability)"'''<br />Please check and let me know if that makes sense. ~~~~

We get by it by either using <br /> which doesn't allow indenting for ease of reading, or by using :: rather than :* to continue. 

But note that :* and :: don't indent to the same position.

Now suppose the list is numbered. Now you simply can't do it at all. This is the best you can do with markup if the indent would be helpful, and it renders * horribly *:

# Your first point is good, but your second is wrong. This was the actual quote:
#:: '''"(longish extract from policy indented for readability)"'''
#: Please check and let me know if that makes sense. ~~~~


So a request, to create one extra markup item, that can be used like this:


# Your first point is good, but your second is wrong. This was the actual quote:
#: '''"(longish extract from policy indented for readability)"'''
#! Please check and let me know if that makes sense. ~~~~

or some suitable symbol that doesn't often follow a # * or :, which the rendering engine interprets as "Indent to the same position as if it were a bullet or number, but do NOT add the bullet or number to the left, and do not increment the number". Thus:


:* Your first point is good, but your second is wrong. This was the actual quote:
:*: '''"(longish extract from policy indented for readability)"'''
:*! Please check and let me know if that makes sense. ~~~~

would cause the "please" to be alligned to the same position as an ordinary :* but without a bullet showing, so it would look like a continuation of the first line.

And:

# Your first point is good, but your second is wrong. This was the actual quote:
#: '''"(longish extract from policy indented for readability)"'''
#! Please check and let me know if that makes sense.
# Your second point is valid though. ~~~~

would treat the third line a bit like a "#:" only indented to the same position as the text after a normal #, so it is clearly a continuation of point 1.


I think this would be very useful. Willing to clarify if needed.
Comment 1 FT2 2007-12-30 01:29:21 UTC
To clarify, basically 

[any :*# codes]<! or other symbol>

would render _identically_ to

[:*# codes]:

with the difference being the indent would be to the same position as the root [:*# codes] so it would automatically align nicely with any previous items in a list.
Comment 2 Chad H. 2010-10-19 17:22:20 UTC

*** This bug has been marked as a duplicate of bug 1115 ***

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


Navigation
Links