MTG Wiki
MTG Wiki
6,039
pages

Back to profile

  • Page 1 of 1
  • 1-2 of 2
You do not have permission to add comments or reply. Please make sure you are logged in, have validated your email address, and have performed at least one edit to an article.
Avatar for Yandere-sliver

The table wrapper is awesome, because we have a few tables which are this bad. I am thinking about two things. 1. I try to avoid div tags if possible because sometimes people delete the closing tag and that can seriously mess with the page. So is there a possibility to work it without div tags? 2. Tables really can be annoying on mobile view. Could that be used on mobile view as well? Any experience with that?

Avatar for Equazcion

I don't think it's possible without a wrapper, but we could use Javascript to insert the wrapper and not have the DIV in the source code. I've just done that by putting a line in MediaWiki:Common.js (which was empty, i don't know where the javascript for this wiki currently resides...?) Anyway, now any table with the "wrapped-table" class will get an automatic DIV wrapped around it via javascript. If you want every single table -- or every single wikitable -- to automatically get the wrapper (without requiring adding the 'wrapped-table' class), we could do that too, I'm just not sure offhand if it might mess some tables up.

Avatar for Yandere-sliver

I think we don't use any js at the moment. But I really like the solution, because it makes the thing much more editing resilient.

Avatar for Equazcion

Ok great. So I've added an extra line at MediaWiki:Mobile.js that's currently commented out (deactivated). If you un-comment it by removing the "//" at the start of the line, it'll cause all wikitables to be wrapped when viewed on mobile. I don't know offhand whether this might mess some things up, but you can try it out and view a bunch of tables on mobile to see whether it improves things. If it causes problems just remove that line or re-comment it by adding the "//" back.

Avatar for Yandere-sliver

I don't know either if that will mess things up. I would need to do some testing.

Avatar for Yandere-sliver

Just because I mentioned it on the one talk page. I just checked and the keyrune font actually needs an update.

Avatar for Equazcion

If you get me the updated font files you want implemented we'll get that done. A link works, or you can attach it on Slack (if you're not on Gamepedia's Slack yet I can give you an invite). If you want to send via email, email me via the "Email this user" link in the sidebar and I'll reply, that way you can send attachments.

Avatar for Yandere-sliver

The font files can always be found under this link: https://github.com/andrewgioia/Keyrune . It is updated in regular intervals, basically whenever a new magic set is out.

Avatar for Equazcion

Alright, the new font files have been uploaded and replaced the old ones. Caching may or may not be an issue, so there could be a delay.

  • Page 1 of 1
  • 1-2 of 2