Rosetta Code:Village Pump/C sharp bug: Difference between revisions

From Rosetta Code
Content added Content deleted
(bug)
 
(Need more info)
Line 13: Line 13:


[[User:Toucan|Toucan]] 20:09, 30 June 2011 (UTC)
[[User:Toucan|Toucan]] 20:09, 30 June 2011 (UTC)
:I don't quite understand the problem with the header template. The arguments for the template are the category name first (which should be "C sharp") and the optional display text second. The display text should be "C#" because that's how people type the language name. Recently someone changed the header template to automatically add "C#" as the display text when the first argument is "C sharp", so making these changes to the header template should not do anything. Where are you looking for "C#" tasks? Can you provide links to pages with problems? --[[User:Mwn3d|Mwn3d]] 20:42, 30 June 2011 (UTC)

Revision as of 20:42, 30 June 2011

C sharp bug
This is a particular discussion thread among many which consider Rosetta Code.

Summary

Some problems arising with C# pages, especially headers

Discussion

  • I noticed several users adding C# to their preferred language, but they appear as C tasks : comes from a syntax peculiarity of wiki code.
  • Worse, C# tasks don't appear at all. I strongly suspect a problem with the notation "C sharp|C#" in headers.

The first problem is documented in C# comment at the top of the page. As a matter of fact, this comment is wrong: one should not write {{header|C sharp|C#}} but {{header|C sharp}}, as in the only five tasks that appear in C#. I'll change the comment and, some day, correct the headers, but I thought it should be noticed here first, for discussion.

Toucan 20:09, 30 June 2011 (UTC)

I don't quite understand the problem with the header template. The arguments for the template are the category name first (which should be "C sharp") and the optional display text second. The display text should be "C#" because that's how people type the language name. Recently someone changed the header template to automatically add "C#" as the display text when the first argument is "C sharp", so making these changes to the header template should not do anything. Where are you looking for "C#" tasks? Can you provide links to pages with problems? --Mwn3d 20:42, 30 June 2011 (UTC)