Add legal reference
add_legal_referencePut a reference to a legal act on an issue or a wiki page — as «Add» in the block «Legal acts» does: it is yours, accepted at once. 'url' is the act's address on one of the official sites acts are read from (a refusal lists them); an act not read yet is read in the background, so 'hasText' may be false at first. 'place' is the place in the act in words («Article 18»). With 'commentId' the reference stands in that comment instead of the issue's or the page's own text. The same place of the same act already there is that reference ('added' false). Requires permission to edit the issue or the page — to comment, for a comment's — and a project that keeps legal references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The act's address, e.g. 'https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32015L0849'. | |
| page | No | Wiki page id. Either this or 'issue'. | |
| issue | No | Issue key, e.g. 'UK-1'. Either this or 'page'. | |
| place | No | The place in the act, in words, e.g. 'Article 18'. | |
| commentId | No | A comment on that issue or page the reference stands in (an id from get_comments), instead of the issue's or the page's own text. |