User talk:ClickerClock

From RationalWiki
Jump to navigation Jump to search
Troll
This user likes a troll-free talk page. Revert away!


Archives for this talk page: , (new)


Thanks[edit]

for your work on the transgender glossary article! Th hug.gif It's in the mainspace now.—CheeseburgerPlate Spinning-Burger.gif (talkstalk) 22:26, 6 April 2018 (UTC)

You're welcome. —ClickerClock (talk) 03:50, 7 April 2018 (UTC)

New template for you[edit]

{{tech pledge}}. —Kazitor, pending 01:46, 12 July 2018 (UTC)

k. —ClickerClock (talk) 05:31, 13 July 2018 (UTC)

New User Signature[edit]

Testing. It cute. —ClickerClock💾 talk.txt 07:27, 13 July 2018 (UTC)

Semantic HTML not supported[edit]

You seem like the person I should discuss this with :)

I'm trying to improve the markup of {{navsidebar}} (tables! Yuck!) and sketched it out with a nav, header and sections and... MediaWiki doesn't like that, it just escapes them. Do you know if it's possible to get RW's configuration/MW files changed to support those tags? Or should I try to make do with divs? —Kazitor, pending 03:04, 15 July 2018 (UTC)

@Kazitor Oh yeah. I tried to do the same thing a year ago. I can't exactly see how a section tag could lead to an vulnerability. Now we could play with the Mediawiki stuff or make do with ARIA and the role attribute. —ClickerClock💾 talk.txt 03:47, 15 July 2018 (UTC)
Yep, the files exposed to github don't include includes/parser/sanitizer.php. So should we email someone with server access, or...? —Kazitor, pending 03:56, 15 July 2018 (UTC)
David Gerard is a lazy cat. —ClickerClock💾 talk.txt 04:02, 15 July 2018 (UTC)
Of which I am fully aware. We need someone else; I know Trent doesn't hang around much but he probably still checks his email. Or we could say something to a board member. But before that, what should the plan be? Propose changes to that file or suggest a particular extension? —Kazitor, pending 04:06, 15 July 2018 (UTC)
Only 3 have been updated since 2016. Extension:Secure HTML requires this ugly hash. I have a feeling that Extension:HTMLets will cause an annoyance in the future. We could use Extension:Widgets but that extension seems to powerful for what we need. —ClickerClock💾 talk.txt 04:32, 15 July 2018 (UTC)
All we need is to allow the use of a few tags. —ClickerClock💾 talk.txt 04:34, 15 July 2018 (UTC)
I'm pretty sure that adding some entries to the $htmlpairsStatic array in the sanitisation file would achieve the desired effect. As far as I'm aware, MW files have been altered on this site in the past to fix/change things. I haven't researched MW extensions, but it's possible a simple (custom) extension could override the array as necessary. —Kazitor, pending 04:40, 15 July 2018 (UTC)
Go for it. —ClickerClock💾 talk.txt 08:04, 15 July 2018 (UTC)
Which, look into writing an extension or try to get the files modified directly? —Kazitor, pending 09:16, 15 July 2018 (UTC)
A small extension. —ClickerClock💾 talk.txt 09:24, 15 July 2018 (UTC)
Alright, added to my ever-expanding projects.txt —Kazitor, pending 09:33, 15 July 2018 (UTC)
@Kazitor Actually I change my mind. We'll leg it with ARIA and role. You're not going to manage to get the extension done in a reasonable amount of time. —ClickerClock💾 talk.txt 10:41, 15 July 2018 (UTC)
──────────────────────────────────────────────────────────────────────────────────────────────────── Thanks for the vote of confidence... though admittedly part of that plan hinges on somebody with server access. So you're saying stick with divs and add aria- attributes? Because from the links above it seems those attributes might not be allowed either. View source on this spanKazitor, pending 10:47, 15 July 2018 (UTC)
I'm just going to scream in a pillowcase. —ClickerClock💾 talk.txt 10:57, 15 July 2018 (UTC)
Finally managed to find the supported attributes: https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/parser/Sanitizer.php$1749 The allowed ARIA attributes should be sufficient, they are
  • aria-describedby
  • aria-flowto
  • aria-label
  • aria-labelledby
  • aria-owns
  • role
What I mainly wanted to do was fix up the markup (rather than hacky tables) and style them properly. So I'd really appreciate it if, after you do something, you tell me first so I can have a look at it :) —Kazitor, pending 10:58, 15 July 2018 (UTC)
Thanks. —ClickerClock💾 talk.txt 12:14, 15 July 2018 (UTC)

And just so you know, here's what I originally wrote (incomplete and indented):

<nav class="navsidebar">
  <header style="color:{{{textcolor}}}; background-color:{{{barcolor}}}">
    {{{title}}}
    <h1>{{{name}}}</h1>
  </header>
  [[File:{{{icon}}}|100px|link=:category:{{{category}}}]]
  <section>
    <h2 style="color:{{{textcolor}}};  background-color:{{{barcolor}}};">{{{title2}}}</h2>
    {{{content}}}
  </section>
</nav>

Idea being to edit common.css for all the static styles. —Kazitor, pending 00:03, 16 July 2018 (UTC)

Tech[edit]

I've removed you as a tech since you've been inactive on the wiki for more than 2 years, per the Community Standards. If you wish to rejoin, just re-request on RW:BASEMENT and we'll give you the group back without going through the usual process. Rabbitseatcarrots (talk) 11:51, 6 August 2023 (UTC)