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

From Rosetta Code
Content added Content deleted
No edit summary
No edit summary
Line 14: Line 14:
[[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)
: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)
::[[:Category:C sharp]] : here there are 42 tasks for now, yesterday there were 5 tasks (I changed some headers). I don't know why, but adding "|C#" to the header prevents the task to be shown in the language page. Just try [[:Category:Tasks not implemented in C sharp]] and pick anything at random, for example [[Hello world/Text]]. [[User:Toucan|Toucan]] 05:46, 1 July 2011 (UTC)
::[[:Category:C sharp]] : here there are 42 tasks for now, yesterday there were 5 tasks (I changed some headers). I don't know why, but adding "|C#" to the header prevents the task to be shown in the language page. Just try [[Reports:Tasks not implemented in C sharp]] and pick anything at random, for example [[Hello world/Text]]. [[User:Toucan|Toucan]] 05:46, 1 July 2011 (UTC)

Revision as of 05:47, 1 July 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)
Category:C sharp : here there are 42 tasks for now, yesterday there were 5 tasks (I changed some headers). I don't know why, but adding "|C#" to the header prevents the task to be shown in the language page. Just try Reports:Tasks not implemented in C sharp and pick anything at random, for example Hello world/Text. Toucan 05:46, 1 July 2011 (UTC)