Last modified: 2010-05-15 16:03:10 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 T15425, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13425 - feature request: indented sections
feature request: indented sections
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-18 21:19 UTC by James Paige
Modified: 2010-05-15 16:03 UTC (History)
0 users

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


Attachments

Description James Paige 2008-03-18 21:19:37 UTC
Mediawiki provides no way to make an entire section indented. For example it would be nice if:


=Header=
blah blah blah

:==subheader==
therefore furthermore, blah blah

::===deepersubheader===
and also blah blah blah

:==anothersubheader==
foo bar baz

* apples
* puppies
* kittens

=Top level again=
blah

Would render then entire section under the header indented, something sort of like:


Header_____________________________
blah blah blah

   subheader_______________________
   therefore furthermore, blah blah

      deepersubheader______________
      and also blah blah blah

   anothersubheader________________
   foo bar baz

   * apples
   * puppies
   * kittens

Top level again____________________
blah
Comment 1 MER-C 2008-03-19 06:22:54 UTC
You could use <blockquote> to work around, but you have to do some funky CSS tweaks to get it looking like the rest of the article (e.g. increase font size). See [[User talk:MER-C/Sandbox#Some section]].
Comment 2 James Paige 2008-03-19 15:07:31 UTC
Thanks for the <blockquote> workaround suggestion. That does create the formatting I want... it is a shame that it makes the wiki markup so much less readable :(
Comment 3 James Paige 2008-03-19 21:36:00 UTC
I implemented an extension called IndentSections which provides the functionality that I am looking for http://www.mediawiki.org/wiki/Extension:IndentSections

Rather than attempting to support : before = I just made it auto-nest-and-indent all headers.

Thanks again MER-C, this would have been a much bigger pain to implement had I not known about <blockquote> behavior.

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


Navigation
Links