Page MenuHomePhabricator

Font at Malayam Wikipedia in the wikitext editing window is kind of small
Closed, DeclinedPublic0 Estimated Story Points

Description

The 2010 WikiEditor and the 2017 new wikitext mode for VisualEditor use a font size (at least at mlwiki) that is slightly smaller than the size that I see when I'm reading the page.

Originally reported by @Ranjithsiji at https://www.mediawiki.org/wiki/Topic:Tqulzi42dlhrg0k0

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Esanders subscribed.

If the Malayam community want to use a larger font size for wikitext editing they should edit their site CSS.

Thanks for the suggessions. Can you give me an instruction that how can I add the css. I mean what is the property . I think that to place the code on the Global.css of the site. Is that correct.

@Ranjithsiji You could add the styles to the <skin>.css of the site where <skin> is vector by default. From what I could dig I think adding the following rule should work,

.mw-editfont-default {
	font-size: <SUITABLE-VALUE>;
}

I guess large would work for you in place of SUITABLE-VALUE. You could refer font-size property at MDN docs for more possible values.

A subtle thing I seemed to have missed is that the vector.css file is used to load custom styles that a user wishes to add. I think @Ranjithsiji asked for site-wide styles for which I'm not sure where to place the CSS rule specified above. But when placed in the right place the rule would work, possibly.

@Kaartic, I believe that an admin could put that in https://ml.wikipedia.org/wiki/MediaWiki:Vector.css (Vector skin only) or https://ml.wikipedia.org/wiki/MediaWiki:Common.css (all skins) to have it automatically work for all users.

Deskana set the point value for this task to 0.Jul 3 2017, 2:42 PM