Extension talk:IndentSections

how to use this?
 * Save it to the LocalSettings.php on your wiki. Sections should be automatically indented from then on without any more work. &mdash; Anonymous Dissident  Talk 11:52, 5 October 2008 (UTC)

this extension only works if you have edit permissions, i had to do this to make it work without edit permissions: --- IndentSections.php.orig	2008-11-10 20:36:39.000000000 +0100 +++ IndentSections.php	2008-11-10 20:36:32.000000000 +0100 @@ -40,12 +40,12 @@ function fnIndentSectionsBeforePageDisplay(&$out) { $text =& $out->mBodytext; for($i = 6; $i > 1; $i -= 1){ -   $pattern = sprintf('/( ? .*?)()/ms', $i, $i-1); +   $pattern = sprintf('/( ?.*?)()/ms', $i, $i-1); $text = preg_replace_callback($pattern, fnIndentSectionsCallback, $text); }  return true; } function fnIndentSectionsCallback($matches){ - return '"' . $matches[1] . '"'. $matches[2]; + return '"' . $matches[1] . '"'. $matches[3]; } should i make these changes to the code?
 * The changes in question don't seem to work with the latest MediaWiki.

Extension - coding changes killed the wiki.
I followed instructions and after modifying the LocalSetting.php file (as instructed), my wiki will no longer load. I am given a message that reads, "Error, Setup.php must be included from the file scope, after DefaultSettings.php"

IndentSections is incompatible with "HeaderTabs"
IndentSections worked as advertised on basic pages, but when I tried to view a page that was using the Headertabs exention ala the "&lt;headertabs /&gt;" the article text failed to display. The page loaded all the overhead like the banner, login tools, sidebar, footer, and even the category tags... it was just the main article content in the middle that was completely missing.

Unless there is a fix for this incompatibility to be issued relatively soon, I would actually like to consider hacking the core mediawiki code to insert the &lt;blockquote&gt; tags manually.

Can anyone tell me which file this simple change could be made?

OR - is there a way to modify the function so that it IGNORES the level 1 (e.g. &lt;h1&gt;) level... this seems to be the only level that the headertabs works on.

Otherewise, this is a great and much desired extension! thanks! -Rich (revansx)