Module talk:Babel
Template-protected edit request on 6 January 2015
![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
I went ahead and improved the raw semantics of how the module works. Removed several extraneous assignments and methods to improve the code. I added several comments to the module as well. The one functionality change made is that the colspan attribute in the header and footer are now dynamic (currently technically limited to 10).
The new code to replace this is on Module:Babel/sandbox, and it is performing exactly as expected. moluɐɯ 18:18, 6 January 2015 (UTC)
Done. Do let me know of any problems — Martin (MSGJ · talk) 13:47, 8 January 2015 (UTC)
Template-protected edit request on 22 August 2018
![]() | It is requested that an edit be made to the template-protected module at Module:Babel. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
Parameter to suppress categories in userboxes |nocat=yes
is not supported by Module:Babel. It seems from this edit of Template:Babel, that it was supported some time ago.
I've added support of parameter "nocat". The new code is on Module:Babel/sandbox, and it is performing as expected. Note, that in new testcase page is added to Category:User pas and Category:User haskell, but not added to Category:User java and Category:User bash. My changes also include a small refactoring: extraction of function showUserbox
. —andrybak (talk) 15:27, 22 August 2018 (UTC)