Template talk:Numbered block

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Template talk:NumBlk)


Dashed line[edit]

There is some feeling that the template might look better without the dashed line that follows it in the current default. This was brought up at WT:WPM#NumBlk issue. Is there any consensus to change the default setting? Sławomir Biały (talk) 20:10, 25 April 2010 (UTC)[reply]

I'm neutral on it: it seems unnecessary to me but it's done in a way that's unobtrusive and serves a purpose. What's more on pages where it's used there tend to be a few of them so it's consistent with or without it. I don't think anyone would miss it, as it's been broken for so long and editors (including myself) have been using it without noticing it wasn't there on at least some browsers.--JohnBlackburnewordsdeeds 22:37, 25 April 2010 (UTC)[reply]

How can one use this template on another MediaWiki?[edit]

Apparently, this template does not work on other MediaWiki's. Is there any way to make this possible? —Preceding unsigned comment added by 128.227.125.98 (talk) 21:07, 4 October 2010 (UTC)[reply]

I have the same problem, my website displays code after formulas. for example: http://ourcollegenotes.com/ocn/User:Arvakr/CE_130N/Tension-compression_bars I exported this template and all of the other templates required. Here as a thread where someone got it working, but they don't explain how http://www.mwusers.com/forums/archive/index.php/t-17216.html help would be greatly appreciated by me, and I think many other people

I'm trying to do the same; this post suggested that it probably needs the Scribunto extension, and while my PHP installation supports all the listed prerequisites, the Scribunto download page no longer offers a download for Mediawiki older than 1.31. I may try that, but the notes on the requirement for pcntl support for versions 1.25-1.28 suggest to me the later one is unlikely to work. Hv (talk) 16:34, 19 May 2021 (UTC)[reply]
I tried, it immediately fails with a "requires mediawiki >=1.31.0" error. I've recorded the fact on the discussion page, but I don't expect to get further without a mediawiki upgrade. Hv (talk) 16:58, 19 May 2021 (UTC)[reply]
Do you have a question? MediaWiki 1.31 is three years old and will reach end-of-life status next month. If you want to use modern extensions and plug-ins, you have to deploy a modern version of MediaWiki. That's just how the world works. – Jonesey95 (talk) 18:18, 19 May 2021 (UTC)[reply]
No, I don't have a question - I was only providing what information I could to the original question, which never did get a response in 10 years. I now find that it _does_ work fine on 1.27, but I had to get the appropriate Scribunto release from github, enable it and ParserFunctions via LocalSettings.php, and copy quite a few dependencies in both Template and Module namespaces. It's possible, but it's not for the fainthearted. Hv (talk) 15:14, 21 May 2021 (UTC)[reply]

Incompatability with Template:EquationRef[edit]

There was an incompatibility with {{EquationRef}} as both used ''' to format the equation in bold which broke the nesting of html elements, see Template talk:EquationRef#Incompatability with Template:NumBlk and WP:VE/F#VisualEditor_does_not_handle_equation_numbers_.28.7B.7BEquationRef.7D.7D.29. I've changed {{EquationRef}} to use a span style which shold fix the problem.--Salix alba (talk): 12:04, 15 February 2014 (UTC)[reply]

Nested paragraph tags break template on other wikis[edit]

This template uses <paragraph tags to format sections in a way that does not seem correct (to a html novice). After several days of trying to get the template to work on a sandbox wiki, I found that changing the set of tags that wrap the main table to span tags fixed it. I have some doubts as to the correctness of this fix and hope to hear from more experienced individuals. William A Higgins (talk) 19:42, 31 May 2015 (UTC) On further examination: the problem paragraph tags only serve to specify style="margin:0;" , which is also specified in the table header. Completely removing that pair of tags in my sandbox wiki resulted in a template that correctly handled all the examples in the document page (all of which used to fail in that context - but work on the big wikis). William A Higgins (talk) 20:41, 31 May 2015 (UTC)[reply]

This is not something we can really help you with: there may be any number of differences between this and your own Wiki that are causing this. They are paragraphs because that's how they appear in our articles, as fomulae and equations on their own line, so set apart from other equations/formulae and paragraphs. If changing them to span works better for you on your wiki then you should do that. But it’s not something that needs to be fixed here if it's not causing problems here.--JohnBlackburnewordsdeeds 20:52, 31 May 2015 (UTC)[reply]

"Indentation"[edit]

The way this template does indentation is deeply flawed: the leading colon produces a description list definition without a term, which is invalid HTML and an accessibility error. It should either be removed (relying on {{block indent}} or similar for indentation), or use CSS margins instead. Hairy Dude (talk) 13:02, 3 March 2019 (UTC)[reply]