Thread:Hatebunny/@comment-171752-20150224164521/@comment-3361105-20150224171753

Well, in theory that works - but I'm not sure how to execute it in practice.

The way it works is a lua module (that someone on the wikia dev team wrote for us) that scans through text from a given wiki variable (for example, "StoryTitle1" on comic pages), strips it of reference tags and headings, and then outputs the first 300 characters of the result within the display:none tags which are themselves built in to that module.

So, I tried just inserting the invoke function onto a Mediawiki page, and while it effectively hides the output from that function, it fails to retrieve the text from the given variable (because the variable doesn't exist on the mediawiki page, presumably).

The only way I can think of would be to have two separate mediawiki pages, one for the opening div tag, and the other for the closing div tag, but mobile preview shows me that doesn't work.

Any thoughts?