User:Davidgothberg/Test16

Testing wikitables and padding
Ilmari: You made me doubt my old test results so I reran them. Here are some different calls to /Testbox1 with one parameter that then is used in two tables next to each other. So the exact same input is used both left and right. Blue ones are wikitables, green ones are HTML tables:

Note that blues and greens get the exact same padding problems in most cases, except for case 4 where the green (HTML tables) do better. So sorry Ilmari, but wikitables have more problems. You should perhaps test things in your own sandbox before you think you are certain?

issuebox
I got tired of admins dropping in and breaking the ambox about once an hour. They should not do their test editing on production code, they should do it in their user space. And let others check it before they deploy it. Perhaps even seek consensus?

See the talk page for details.

--David Göthberg 04:31, 17 September 2007 (UTC)

Template talk:Ambox - Wild editing or Why can't admins read?
ambox is now production code and used on perhaps 100000 pages. Right at the top of its documentation it says:


 * Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

Still this template has been subject to wild editing by several admins. Which of course has led to that ambox is currently broken. (See the editprotected requests.)

Can't admins read? Or do they not know what "sandbox" and "user space" means? Never heard of "test before you deploy"?

So let me give you a little help. Here are links to two subpages in your own user space.


 * Special:Mypage/Test1  Special:Mypage/Test2

You can copy the ambox code to one of them, then test inclusion and usage of ambox on the other one. That is how professional programmers do before they deploy code to millions of users. Oh, and that also means you can show your code to others and have them debug it before deploying it. Nifty, isn't it?

--David Göthberg 13:43, 16 September 2007 (UTC)

Template talk:Ambox - New colors
Firstly, ambox does not contain any colours. It is just a thin wrapper for the  CSS classes in MediaWiki:Common.css. (But ambox does handle the default images.)

Secondly, any colour changes should first be discussed at Wikipedia talk:Article templates, consensus reached and then can the  classes in MediaWiki:Common.css be updated. Are you reading this David Levy?

Wikipedia:Article templates
A standard and consistent design for article message boxes has been selected. That is, message boxes or article templates that go on the top of articles and article sections.

Scope
The scope of this page and standardisation effort is the design of article message boxes. That is, message boxes that go on the top of articles and article sections. Other kinds of article templates such as navboxes and infoboxes are not included.

Talk page templates were already standardised last year, see Talk page templates.

Project namespace templates such as the box on the top of this page is not within the scope of this standardisation effort.

New design is ready
The CSS code and meta template are finished and we have now (September 2007) started to convert the old article message boxes to the new design. The design of these article message boxes is controlled by the  CSS classes in MediaWiki:Common.css.

The meta template ambox makes it easy to create article message boxes in the new design. It has usage documentation and examples. Note that ambox is just a thin wrapper for the CSS classes. The classes can just as well be used directly in a wikitable, especially when special functionality is needed.

Browser cache
If these two boxes don't look alike, you need to refresh your web browser cache:

This is a temporary caching problem that should be gone in some days.

Archive summary
This started out as a cut and paste from DragonHawk's old version at Wikipedia talk:Template standardisation dated "03:57, 4 September 2007 DragonHawk".

Archive summary
This section contains refactored discussion from archived discussions. Do not archive this section, instead update it when you archive other sections.


 * History and credit;
 * Started at the village pump.
 * Based on work by Flamurai at User:Flamurai/TS/blanca.
 * Color bar was idea of Sparkit.
 * Template standardisation/article - initial design ideas.
 * Scope of this project in this run;
 * Only the design of the article message box templates; other templates can come later.
 * Content/text of the boxes is not to be changed now, only the design.
 * Discussions about the specifics of the color bar, both sides vs just one side? One color bar on the left side was chosen. Can easily be changed in CSS later.
 * Background color is set to match project namespace, to contrast with article namespace background.
 * Width decided at 80%, can easily be changed in CSS later.
 * It was pointed out that future site-wide changes to appearance will be easier with common CSS and/or meta-templates.
 * Some questions about which existing templates fall into which "color code category".
 * Lots of WP:ILIKEIT along with the occasional WP:IDONTLIKEIT
 * Seeking community approval;
 * It was deemed a "PR campaign" would be overkill.
 * Mentioned this project on wikien-l mailing list.

Wikipedia:Template standardisation
The project to standardise the design of all the article message boxes is in its last stage. That is, all boxes like wikify etc is going to get a new look. We are just some day from starting to convert all article message boxes to the new standard. So pop over to Template standardisation and have your say before it is too late. --David Göthberg 12:05, 14 September 2007 (UTC)

Template standardisation
editprotected

The Template standardisation project is ready to deploy. So we need to have our CSS code added. At the end would be fine, but it would be natural to have it right after the last ".messagebox" class since they are related.

By the way, currently the ".messagebox.small-talk" class is placed far away from the other ".messagebox" classes, why not move it up to the others at the same time? I think it has to be placed as the last of the ".messagebox" classes.

Anyway, here is the "article message box" code:

That was all. --David Göthberg 14:56, 14 September 2007 (UTC)