Mabinogi World Wiki is brought to you by Coty C., 808idiotz, our other patrons, and contributors like you!!
Keep this wiki going by contributing to our Patreon!
Mouseover box inline behavior
Took me a while to look this over sorry. You're right, changed to spans. I think at some point, MediaWiki must have changed how it handled paragraph breaking and divs, because this didn't used to be an issues, but I've noticed it since the last upgrade elsewhere too. :(
No worries! Thanks for taking the time to look into it and making that change. :D
oh no... okay now that I've looked at how the daily shadow missions template/table behave with with the change, it uh.. seems to have issues rendering the mouseover triggers when the mouseover template uses spans instead of divs, and I apologize for not having checked that when I was doing my testing :s
OTL the more I look into just how many places used mouseoverbox, the less sure I am of whether that edit in that template just created even more tech debt :'(... Something seems to behave a bit poorly in the abbr template as well, I first noticed it in the image policy section Mabinogi_World_Wiki:Policy#Images where there's a multi-line value being passed in for the contents. The contents (with the exception of the first line, which seems to have just disappeared) are just appearing on the page without hovering over the trigger, and the rest of the paragraph looks a bit off.
I noticed that the abbr template was wrapping the mouseoverbox template in some span elements, just like the daily sm template did, but I'm stumped on if the behavior can be fixed by similarly editing abbr, because just switching those elements from spans to divs (and then maybe styling it with display:inline or something so it's not a big ol' wide block) comes with its own set of issues. The trigger shows up in the html dom so hypothetically, it should be somewhere on the page, but it doesn't actually seem to be displaying anywhere :s I'm not too familiar with what else is going on with mouseoverbox's logic, I'm assuming there's some javascript magic somewhere that I don't know about, but I figured I'd just share yet another finding I stumbled upon 😢