Template:LSL conformance script

From Second Life Wiki
Jump to navigation Jump to search


{{LSL conformance script}} is a template which should be included in {{LSL conformance test}} pages

Usage:

{{LSL conformance script
|title=Title of script, used as section header
|intro=Brief introduction
|used_functions=Links to functions used in the script
|used_events=Links to events used in the script
|status=Whether this has been accepted into Linden Lab's official suite.  "accepted" or "draft" are the two values.
|lindensig=Digital signature of the Linden who approved this
|lindensigner=User name of the Linden who signed it
|text=Actual text of the script
|instructions=Instructions for running the script
|notes=Other notes
|related=None
}}

This is a template for posting conformance tests and proposed conformance tests. This will be the start of a program where everyone can pitch in to write coverage testing of the lsl functions so that we can test on every major release.

The template should have:

  • A section for the script text or scripts if there are multiple. This section needs to not modify the contents when looking at the source, and preferably no modify the contents when looking at the page.
  • A section for a linden signature of the text. This way, we can publicly post the text and sign it as an indication that it has been accepted. Anyone with the key for the signer will be able to verify the script text with this section. An armored signature will be the likely content.
  • A section for notes can comments on the behavior. This should be optional.
  • A section for instructions on use. This should be optional.
  • A line of text for putting things like 'accepted', 'not accepted', etc. This should probably be at the top, but I am not sure.

It would be nice to have:

  • A process to list every ll function in use, which would link back to the ll function documentation on the wiki.
  • A way to list related scripts, and link to them. Sort of a see also section.


{{{title}}}

Status: {{{status}}}

Introduction

{{{intro}}}

Script text

{{{text}}}

Authorized Signature: {{{lindensig}}} by {{{lindensigner}}}

Instructions

{{{instructions}}}


Script notes

{{{notes}}}

Events Used

{{{used_events}}}

Functions Used

{{{used_functions}}}

Related

{{{related}}}



Examples

Title of script, used as section header

Status: Whether this has been accepted into Linden Lab's official suite. "accepted" or "draft" are the two values.

Introduction

Brief introduction

Script text

Actual text of the script

Authorized Signature: Digital signature of the Linden who approved this by User name of the Linden who signed it

Instructions

Instructions for running the script

Script notes

Other notes

Events Used

Links to events used in the script

Functions Used

Links to functions used in the script

Related

None

{{{title}}}

Status: {{{status}}}

Introduction

{{{intro}}}

Script text

{{{text}}}

Authorized Signature: (none) by (none)

Instructions

{{{instructions}}}