Thread:Grunny/@comment-3361105-20150224180114

Hey Grunny, I hope you're well. A while ago, I noticed that the module you created for us to do snippets to be captured by metadata scrapers has unexpected results on the mobile skin, since that skin can't read in-line style and just outputs the text we had hidden with display:none tags at the top of pages.

I contacted the wikia dev team twice about this issue, and it was suggested to me that if we used a verbatim to call on a mediawiki page with the display none tags in it, it might work, because the mobile skin doesn't show that stuff (or so I was told).

Simply shoving the invoke function onto a mediawiki page doesn't work, because the variable it calls on isn't on the mediawiki page. Having two mediawiki pages, one with an opening display none tag, and one with the closing div doesn't work to hide the text either.

So, is there anything we can do, either by a combination of the two, or some whole new plan to make this work?

I know something about the way our character pages are written ensures that scrapers just skip straight to body text (presumably lua related) but none of our other templates use lua (which is good, because I like to change them a lot, and I don't understand lua). Maybe there's something we can do in that vein, without going full-blown lua like the character templates are. 