Topic on Project:Support desk

How to increase rows in Edit Source window?

3
RedKnight7 (talkcontribs)

I've been doing editing for many years and recently updated my tiny site's MediaWiki. I still "Edit Source" a lot, and I now have dual monitors. The one I use for editing is portrait orientation (very tall). I'd like my source edit window to be much taller, but it seems fixed at 25 rows. Years ago, there was a Preferences setting that let you change the number of rows. I can't seem to find it now. Help?

Malyacko (talkcontribs)
RedKnight7 (talkcontribs)

Thank you, Malyacko!

The Tech News did not give a noob like me much to go on. But let me fill in more details here in case it helps someone else.

Bullet #5 says:

  • The "Columns" and "Rows" settings will be removed from the Editing tab in Preferences. If you wish to keep what the "Rows" setting did you can add this code to your personal CSS: #wpTextbox1 { height: 50em; } You can change the number 50 to make it look like you want to. [7]

Don't go searching your wiki site for files called "common.css", laugh. I found two, but they have nothing to do with this.

Instead, in your wiki's search box, search for "Special:MyPage/common.css". This will bring up a page "User:[YourUID]/common.css". If you have never edited your common.css, it will be empty. Hit "Edit Source" and type in

#wpTextbox1 { height: 50em; }

like the bullet shows. That's all; nothing else needed. No wrapper or file header, etc.

If you want to put long comments (like where you got this from) use the

/* [yer text here] */

approach. You can have multiple lines in there.

Reply to "How to increase rows in Edit Source window?"