Wikibooks:Reading room/Technical Assistance

Latest comment: 8 days ago by Codename Noreste in topic Is this CSS code necessary?
ArchivesWikibooks Discussion Rooms
Discussions Assistance Requests
General | Proposals | Projects | Featured books Administrative | Technical Deletion | Undeletion | Import | Upload | Permissions

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: #mediawikiconnect for issues about the software, and #mediawiki-coreconnect for WMF server or configuration issues.

Templates: Refbegin and Refend.

These DO NOT seem to work as the documentation indicates throwing lints when used with the form indicated.

These templates need to be behave consistently, or thrown out and re-written entirely.

It would be NICE to have ONE set of templates and documentation to accompany them, currently this does not apparently exist, with the relevant templates getting confused between definition lists : and standard lists  • .

CONSISTENT behaviour would also be nice.

ShakespeareFan00 (discuss • contribs) 09:39, 19 March 2026 (UTC)

@ShakespeareFan00 I temporarily reduced the protection down for these templates (semi-protection), so you can do the necessary changes. :) Codename Noreste (discuss • contribs) 17:38, 21 March 2026 (UTC)
Thats the thing I'm not sure what the 'stable' repair is, without breaking other stuff :( ShakespeareFan00 (discuss • contribs) 11:44, 22 March 2026 (UTC)

Action Required: Update templates/modules for electoral maps (Migrating from P1846 to P14226)

Hello everyone,

This is a notice regarding an ongoing data migration on Wikidata that may affect your election-related templates and Lua modules (such as Module:Itemgroup/list).

The Change:
Currently, many templates pull electoral maps from Wikidata using the property P1846, combined with the qualifier P180: Q19571328.

We are migrating this data (across roughly 4,000 items) to a newly created, dedicated property: P14226.

What You Need To Do:
To ensure your templates and infoboxes do not break or lose their maps, please update your local code to fetch data from P14226 instead of the old P1846 + P180 structure. A list of pages was generated using Wikimedia Global Search.

Deadline:
We are temporarily retaining the old data on P1846 to allow for a smooth transition. However, to complete the data cleanup on Wikidata, the old P1846 statements will be removed after May 1, 2026. Please update your modules and templates before this date to prevent any disruption to your wiki's election articles.

Let us know if you have any questions or need assistance with the query logic. Thank you for your help! ZI Jony using MediaWiki message delivery (discuss • contribs) 17:09, 3 April 2026 (UTC)

plainlist and unbulleted list

Hi,
The plainlist and unbulleted list templates don't work in a sandbox. PeterEasthope/sandbox for example. What is the simplest solution?
Thanks, ... PeterEasthope (discuss • contribs) 17:04, 18 April 2026 (UTC)

The unbulleted list relies on a module, and the plainlist relies on a TemplateStyles CSS page. What were you trying to test on your sandbox? Codename Noreste (discuss • contribs) 18:47, 18 April 2026 (UTC)
Aiming to make a list without bullets. Whether it works by a module or a template or some other device is probably not a significant concern. Certainly a list is needed rather than empty space. Thx, ... PeterEasthope (discuss • contribs) 21:29, 18 April 2026 (UTC)
The plain list works; the thing is, I believe the span class tags might be conflicting with that plain list, possibly... Codename Noreste (discuss • contribs) 22:11, 18 April 2026 (UTC)
Yes, thanks. Removed some span tags to test. Lines without span tags are displayed. If you see a way to have a background color for a string within a list, please let me know. Otherwise I think of making the list with line breaks rather than a template.
Thx, ... PeterEasthope (discuss • contribs) 15:35, 19 April 2026 (UTC)

Is this CSS code necessary?

Is this line of CSS code on MediaWiki:Common.css necessary? What this does is that it removes the comment box when looking at the edit/book review interface. Is this currently needed?

/* Hack to remove comment box for FlaggedRevs, since we seem unable to remove it from configuration. */
#mw-fr-commentbox { display:none; }
label[for="mw-fr-commentbox"]{display: none;}

Codename Noreste (discuss • contribs) 21:18, 19 April 2026 (UTC)