You should be able to return something like this to make your parser
function output raw HTML instead of WikiText.

return array( $output, 'noparse' => true, 'isHTML' => true );

~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]

On 2015-01-27 1:33 PM, Daniel Barrett wrote:
> I'm writing a parser function extension that outputs about 5000 lines of text 
> (an organizational chart of a company) as a nested, bulleted list.
>
> * Bob the CEO
> ** Jane Jones
> ** Mike Smith
> *** etc.
>
> It takes about 3 seconds (real time) for MediaWiki to render this list, which 
> is acceptable. However, if I make it a list of links, which is more useful:
>
> * [[User:Bob | Bob the CEO]]
> ** [[User:Jane | Jane Jones]]
> ** [[User:Mike | Mike Smith]]
>
> the rendering time more than doubles to 6-8 seconds, which users perceive as 
> too slow.
>
> Is there a faster implementation for rendering a large number of links, 
> rather than returning the wikitext list and having MediaWiki render it?
>
> Thanks,
> DanB
>
> ________________________________
> My email address has changed to [email protected]. Please update your address 
> book.
>
> Cimpress is the new name for Vistaprint NV, the world’s leader in mass 
> customization. Read more about Cimpress at www.cimpress.com.
> ________________________________
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to