Community Central
Community Central
Forums: Index Support Requests Accented characters in .css files
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 4651 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.

Hi there. Recently on my wiki, an admin was promoted with the É character in their name, and we've been having troubles finding a way to add their username to the wiki's admin highlight list in the .css file. If you could tell me how to fix this and get their highlight working, that would be great. Thanks! ђ tคlк 10:14, September 21, 2012 (UTC)

Did you try to copy the end of his user page URL to MediaWiki:Wikia.css?
If so, you will probably need to add:
a[href="/wiki/User:User:AsherÉire"] {color: #006600; font-weight: bold !important;}
Penguin-Pal (talk) 12:06, September 21, 2012 (UTC)
Try replacing the the É character in the URL with %C9. It should work then.
a[href="/wiki/User:Asher%C9ire"] {color: #006600; font-weight: bold !important;}
--Dser (talk) 12:09, September 21, 2012 (UTC)
Hmmm. In my experience, that wouldn't be quite right. I'm pretty sure that /wiki/User:User:Username wouldn't work, or at least would be redundant. It's just /wiki/User:Username. And %C9 may not be enough. It could work, but according to the URL encoder I've successfully used for similar cases at w:c:tardis it would be Asher%C3%89ire. So I'm of the opinion that the whole thing would be: a[href="/wiki/User:Asher%C3%89ire"] I'd be interested to hear from Dser whether maybe %C9 is a "legal contraction" of %C3%89, because it could be. czechout    fly tardis 13:03: Fri 21 Sep 2012
CzechOut: According to w3schools.com, %C9 does work for encoding the É character in a URL, but after looking further into the subject, I would recommend your %C3%89 encoding be used instead. Also, you are correct about the extra "User" in the css code being redundant. I must have made a mistake while I was posting my reply, and have now fixed it. :) --Dser (talk) 21:33, September 21, 2012 (UTC)
Managed to get it working now, thanks guys :) ђ tคlк 22:47, September 21, 2012 (UTC)