Rosetta Code:Village Pump/Link to task-section: Difference between revisions
Content added Content deleted
No edit summary |
(Test at Template:Task2 + Create a file on magnetic tape) |
||
Line 8:
This is unfortunate, because most task-pages are quite big.
I made an attempt to do this, see Template:Task2.<br>
For testing, I'm using one of the shorter and less popular tasks,
▲task [[Create a file on magnetic tape]]
This gets a link and header "(Task)" at the top of the contents,
but the edit-link points to the template.
Also, it would be nice to give that link the number 0,
so the link to the first solution gets the number 1.
|
Revision as of 00:37, 27 October 2014
Link to task-section
This is a particular discussion thread among many which consider Rosetta Code.
This is a particular discussion thread among many which consider Rosetta Code.
Summary
Change task-template, to create a link to the first section of page
Discussion
Currently, the very first section of task-pages have no edit-link.
So, to make edits there (e.g. to add a new category),
the whole page has to be edited.
This is unfortunate, because most task-pages are quite big.
I made an attempt to do this, see Template:Task2.
For testing, I'm using one of the shorter and less popular tasks,
Create a file on magnetic tape
This gets a link and header "(Task)" at the top of the contents, but the edit-link points to the template.
Also, it would be nice to give that link the number 0, so the link to the first solution gets the number 1.