Hi Sami,

I have some questions about your extension.

If I input the following in the wiki edit window,
* <collapsmi ExpandByDefault="false">
text to be collapsed ...
</collapsmi>

What is finally displayed on the page is
* [+] Expand
text to be collapsed ...

Looks like anything before <collapsmi ExpandByDefault="false"> will kill
the functioning of the extension.

Also, if I type the following:
This is a test. The result is <collapsmi ExpandByDefault="false"> text to
be collapsed ... </collapsmi> Test at the ending ...

It is displayed as

This is a test
. The result is [+] Expand
Test at the ending ...
There is a dot appeared there and also those two unwanted line breaks.

Do you have any idea of how to fix these? Thanks.

Jiuning Hu
--
ECE Graduate Student, Purdue University



On Sun, Jan 8, 2012 at 6:59 PM, Jiuning Hu <[email protected]> wrote:

> Hi Sami,
>
> Thanks for letting me know your extension. It very good. But, it looks
> that the browser would load the whole page rather than section by section
> even I use your extension.
>
> Jiuning Hu
> --
> ECE Graduate Student, Purdue University
>
>
>
>
> On Sun, Jan 8, 2012 at 6:07 AM, Sami Islam <[email protected]> wrote:
>
>> Hello Jiuning,
>>
>> I am not sure if you can use the extension Collapsmi to do that, but you
>> can give it a try.
>> Regards,
>> Sami
>>
>> On 7 January 2012 22:41, Jiuning Hu <[email protected]> wrote:
>>
>> > Hello All,
>> >
>> > Is there any extension or gadget that can implement "Display/render only
>> > one section upon click the table of content of a long page?"
>> >
>> > This is quite useful. For example, for long article with many LaTeX
>> > equations, when using mathjax to do equation rendering, it will take
>> quite
>> > long time to finish rendering the whole page. So, if the long article
>> can
>> > be displayed/rendered section by section, it will manage the rendering
>> > resource and time more properly if people are trying to read that long
>> page
>> > section by section.
>> >
>> > I know long article can be split into short pages and then gathering
>> them
>> > by linking. But this is not very convenient.
>> >
>> > Thanks!
>> > _______________________________________________
>> > MediaWiki-l mailing list
>> > [email protected]
>> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> >
>> >
>> _______________________________________________
>> MediaWiki-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to