Rosetta Code/List authors of task descriptions: Difference between revisions

Content added Content deleted
m (fix file open error handling)
m (→‎{{header|Perl 6}}: Add internal anchors for easy vanity searches)
Line 120: Line 120:
$out.say:
$out.say:
$author ~~ /\d/
$author ~~ /\d/
?? "|-\n|data-sort-value=\"{ sort-key $author }\"|[[User:$author|$author]]\n"~
?? "|- id=\"$author\"\n|data-sort-value=\"{ sort-key $author }\"|[[User:$author|$author]]\n"~
"|data-sort-value=\"{ +@these }\"|[[Special:Contributions/$author|"~
"|data-sort-value=\"{ +@these }\"|[[Special:Contributions/$author|"~
"{ +@these } task{ $s }]]"
"{ +@these } task{ $s }]]"
!! "|-\n|[[User:$author|$author]]\n"~
!! "|- id=\"$author\"\n|[[User:$author|$author]]\n"~
"|data-sort-value=\"{ +@these }\"|[[Special:Contributions/$author|"~
"|data-sort-value=\"{ +@these }\"|[[Special:Contributions/$author|"~
"{ +@these } task{ $s }]]"
"{ +@these } task{ $s }]]"