This project page is move-protected.

Wikibooks:Reading room/Technical Assistance

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Replacement filing cabinet.svgArchivesWikibooks Discussion Rooms
Discussions Assistance Requests Announcements
General | Proposals | Projects | Featured books General | Technical | Administrative Deletion | Undeletion | Import | Permissions Bulletin Board

Welcome to the Technical Assistance reading room. Get assistance on questions related to MediaWiki markup, CSS, JavaScript, and such as they relate to Wikibooks. This is not a general-purpose technical support room.

To submit a bug notice or feature request for the MediaWiki software, visit Phabricator.

To get more information about the MediaWiki software, or to download your own copy, visit MediaWiki

There are also two IRC channels for technical help: #mediawiki for issues about the software, and #wikimedia-tech for WMF server or configuration issues.

Improving the maps of Template:Wikijunior:Asia/Header[edit source]

Dear @Liam987: , notice that the header would just highlight the whole Asia instead highlight the actual county. I select the few for case-in-point. Can you help to modify the template header to show the correct maps in the header?

I select some of the wikijunior page and attach the maps on the header and actual maps that highlight the locations.

Singapore -> Singapore on the globe (Southeast Asia centered) zoom.svg
Myanmar -> Myanmar on the globe (Southeast Asia centered).svg
Russia -> Russia on the globe (Eurasia centered).svg
Azerbaijan -> Azerbaijan on the globe (Afro-Eurasia centered) (zoomed).svg
Turkmenistan -> Turkmenistan on the globe (Eurasia centered).svg

Requested by Encik Tekateki (discusscontribs) 16:24, 28 December 2022 (UTC)Reply[reply]

Books that break on new visual style[edit source]

Should anything be done for pages that break on the new visual style such as Pinyin? Mbrickn (discusscontribs) 17:24, 2 January 2023 (UTC)Reply[reply]

I forgot to mention, but the page is initially fine until you scroll down, at which point title text is clipped off. Mbrickn (discusscontribs) 17:26, 2 January 2023 (UTC)Reply[reply]
This also occurs with the title of The Computer Revolution (Right hand side clips) Mbrickn (discusscontribs) 20:54, 7 January 2023 (UTC)Reply[reply]

Background color of text and height of rows in a table.[edit source]

This morning added a page named FTP.Tool and have difficulty adjusting two details.

(1) At the top and bottom of the page is a pale grey background. How can that be made white to match the rest of the page?

(2) Most of the content is formatted as a table and I want to reduce the height of all rows. According to,_height the height of a row is adjusted by replacing "|-" with "|- style=height:0.8em". Also I imagined "|- style=height:0.8rem" might allow proportionality to text height. Tried both with no effect. Ideas?

Thanks, ... PeterEasthope (discusscontribs) 20:23, 15 January 2023 (UTC)Reply[reply]

@PeterEasthope Is it possible to use a decimal value when specifying with "em"?. I fiddled around, and it seemed like only integer values worked. Also, is there a reason you're not using wiki markup to italicize things on that page? Cheers! —Kittycataclysm (discusscontribs) 23:41, 15 January 2023 (UTC)Reply[reply]
Decimal rem works. Decimal em should also. Eg. Oberon/ETH Oberon/2.3.7/Tutorials.Tool. In fact I should format FTP.Tool similar to Tutorials.Tool, including Wikimedia markup for italics.
The markup in question is created automatically by MediaWiki.Markup. Revising to italicize with apostrophes rather than the style attribute should be possible. Not sure the result will be simpler. The style attribute can include color, emboldening, size and vertical offset. Apostrophes won't fit that pattern. I'll revise manually analogous to Tutorials.Tool.
Thx, ... PeterEasthope (discusscontribs) 05:40, 16 January 2023 (UTC)Reply[reply]
Formatting is revised. Closer to MediaWiki markup and rendering closer to original Oberon document. FTP.Tool

Thanks for the help, ... PeterEasthope (discusscontribs) 17:03, 17 January 2023 (UTC)Reply[reply]

Modifying a template[edit source]

Hello! Many recipes in the cookbook include the templates Nutrition Summary and Nutritionsummary. I imagine they are helpful to some people, but I am a little concerned that having them automatically fully displayed could be detrimental/discouraging to those with eating disorders (the goal of a cookbook is to get people to cook!)—is there a way these templates could be modified so they exist as a dropdown that is automatically hidden but that can be expanded for anyone who wants to see the information? Thanks! —Kittycataclysm (discusscontribs) 18:35, 20 January 2023 (UTC)Reply[reply]

It shouldn't be too hard to make them collapsed, but I'm disinclined to hide information, especially for someone who may have motor difficulties trying to click on it to expand. —Justin (koavf)TCM 18:58, 20 January 2023 (UTC)Reply[reply]
@Koavf That's a fair point! I'm not quite sure how to resolve this technical conflict, though, since having it open could negatively impact one disabled population while having it collapsed could impact a second disabled population with conflicting needs. I wonder if any more experienced users than myself have any thoughts or know of any technical way to address this (@JackPotte @MarcGarver @Xania @Atcovi @Leaderboard @SHB2000). Thanks! —Kittycataclysm (discusscontribs) 19:41, 23 January 2023 (UTC)Reply[reply]
@Kittycataclysm: I do not have a specific opinion either way; I am unfamiliar with how the presence of nutrition summaries impact those with eating disorders. I agree with Koavf in that should it be needed to collapse by default, this should not be difficult.
That being said, I think the summaries won't be easy to understand without a reference point (like is 10 g of sodium good or bad?). Leaderboard (discusscontribs) 19:48, 23 January 2023 (UTC)Reply[reply]
I think I'd prefer this collapsed by default, but I'm not married to this. SHB2000 (discusscontribs) 22:18, 23 January 2023 (UTC)Reply[reply]