HTML5
this wiki
Forum page
I just got a notification about HTML5. I thought I should probably create a topic.
Basically, wiki has to stop using certain tags. The tags you should stop using are "center" (no idea why it's still in edittools) and "font". We also shouldn't be using the "big" tag and the other tag ("small"?).
The second thing the wiki must stop doing is more widely-used: using align="left/right/center" shouldn't be done anymore.
As a website developer-of-sorts, and essentially this wiki's involved-person in how tables are coded, you would have thought I would be encouraging the use of CSS ages ago. But no. I just thought align="center" looks so much cleaner, what's the harm?
Of course, there are two different things we can do, we can create a "center", "left", and "right" class, so instead of writing align="center", we'll be writing class="center".
OR we just do it the proper way and type style="text-align:center" each time.
These are all the changes I can think of. JBed 16:44, July 6, 2012 (UTC)
- The small tag is still supported on HTML5. - Henryacores^ 17:08, July 6, 2012 (UTC)
- It is? It is. That seems redundant to me, but ookay. From my standpoint I'd still prefer user's to use span+CSS but nothing's going to get broken by browsers/MediaWiki by still using it.
- For reference. JBed 17:12, July 6, 2012 (UTC)
As long as there are suitable alternatives which won't bamboozle us, I don't see much of a problem other than fixing the coding in EVERY single article. EDIT- Oh, and strikout can't be used either. That's a bummer for those who like their lists. Tia-Lewise
17:17, July 6, 2012 (UTC)
Really? There isn't another way to solve it? JBed 17:55, July 6, 2012 (UTC)
xD Hey, you're the coding expert, not me! Tia-Lewise
18:11, July 6, 2012 (UTC)
No. There isn't. All instances of font, center and big tags must be replaced by alternatives using CSS.
I personally think it's counterproductive and useless to create CSS styles to ammend the aforementioned elemental definitions. - Henryacores^ 18:19, July 6, 2012 (UTC)
My comment was actually meant to be in response to the lack of a strikeout tag alternative. Yes, we'll have to edit every page.
As for what you said about creating CSS styles... you are referring to creating CSS classes and suchlike in our CSS stylesheets? Why would that be bad? JBed 18:48, July 6, 2012 (UTC)
Well, all I can really say on the matter is this means a whole load of work for us... Tia-Lewise
18:57, July 6, 2012 (UTC)
- What you said. Should this go in the Sitenotice?(Cat + meow)(RC + Sbox) = FFW 22:39, July 6, 2012 (UTC)
- We need to figure out what we're going to do. class="center" et al (+edits to Common.css), or style="text-align:center" et al.
- I have decided I'm not inclined either way, however the former might be slightly easier to remember for coding newbies... maybe JBed 22:43, July 6, 2012 (UTC)
- class="center" is quicker, or we could template it: a template called
{{C}}which is<div style="text-align:center;">{{{1}}}</div>. Center is terrible anyways, gave me so much trouble when making walkthrough templates, so maybe it's a hidden blessing that we have to dump it.(Cat + meow)(RC + Sbox) = FFW 22:46, July 6, 2012 (UTC)- Making it a template is a bad idea. It means if you need to apply any other styles it won't work. Besides, we only use "align="center"" on td and th.
- Align=center is never worth using. The only reason I allowed it to go into popular use is because it looked so much cleaner in our tables and I wasn't switching to text-align:center which took like a third of the edit-area-width. And HTML standards didn't matter because the idea of MediaWiki is that you don't need to know HTML to do it. JBed 22:50, July 6, 2012 (UTC)
- class="center" is quicker, or we could template it: a template called
For those who haven't noticed - MW1.19 has been installed and we're already running into trouble. I'm not sure if HTML5 has been set up yet, mostly because Henry's signature uses font and big, yet seems to be working just fine. Strangely, my JS is broken, which is why I'm signing with 4 tildes (I used to have a fixed-positioning box that had links to add in my signature. There are other minor hiccups, mostly in Oasis as far as I can tell. We ought to get to work fixing stuff and probably also add something to the sitenotice or whatever letting our visitors know that if a page is broken, they should let us know on the talk page (or maybe set up a subpage of this forum where we can list broken pages) in lieu of these troubles. Cat (meow ∙ hunt) 19:53, July 9, 2012 (UTC)
- Wikia have either fucked up all their extensions or they've decided on doing lots of things wrong. CSS won't work, you'll have to use community's global CSS. And I assume the same for JS too. RecentChanges also won't collapse in the MAGICCHANGES version.
- Also, Catuse, big tags = 15px font-size. Do that. Also you're not very thorough with your HTML5ing. JBed (talk) 20:03, July 9, 2012 (UTC)
So about fixing my signature.... if the "font" code doesn't work anymore, is there any replacement for it? I am a total noob when it comes to this x_x If not, I guess I'll just remove the custom code. 8bit 02:24, July 11, 2012 (UTC)
{{SL}}. So it should be changed to 8bit (Cat + meow)(RC + Sbox) = FFW 02:25, July 11, 2012 (UTC)- Thanks Cat ^_^ '''{{SUBST:SL|User:8bit BlackMage|color=#6A5ACD|8}}{{SUBST:SL|User talk:8bit BlackMage|color=#00BFFF|bit}}''' (talk) 02:39, July 11, 2012 (UTC)
8bit BlackMage - Beyond the Sky
TALK - Why do chemists call helium, curium, and barium 'the medical elements'? Because, if you can't 'helium' or 'curium', you... um... ._.; - 02:40, July 11, 2012 (UTC) | |||
"big tags = 15px font-size." Just tested it, appears to be 16px actually. AA vs AA. Also, <strike> may no longer work, but <s> does, and I, for one, only ever use that anyway.
Loss of <tt> will be a pest, though, we use that on MSPAWiki >.> -- Sorceror Nobody
