< Sandbox(Difference between revisions)
|
|
(43 intermediate revisions not shown.) |
Line 3: |
Line 3: |
| It has REVISIONID [[REVISIONID::{{REVISIONID}}]]. | | It has REVISIONID [[REVISIONID::{{REVISIONID}}]]. |
| | | |
- | * {{subpage|Report/XML validation}}
| + | More input.... |
| | | |
| + | [[Template:Report on this page]]: |
| {{Report on this page|XML validation}} | | {{Report on this page|XML validation}} |
- | ----
| |
- | {{Report on this page/Core
| |
- | |Report name=XML validation
| |
- | |Report page={{FULLPAGENAME}}/Report/XML validation
| |
- | |Reported page revision ID={{REVISIONID}}
| |
- | }}
| |
- | ----
| |
- | {{#ifexist: Sandbox/Error check/Report/XML validation|{{Report/Block
| |
- | | Signed page =
| |
- | | Title =
| |
- | | Signed = {{Property get|Signed state|{{FULLPAGENAME}}/Report/XML validation}}
| |
- | | Signer = {{Property get|Editor|{{FULLPAGENAME}}/Report/XML validation}}
| |
- | | Signatory = XML validation
| |
- | | Date = {{#time: F j, Y|{{Property get|Timestamp|{{FULLPAGENAME}}/Report/XML validation}}}}
| |
- | | Stale = {{#ifexpr: {{Property get|REVISIONID|{{FULLPAGENAME}}/Report/XML validation}} < {{REVISIONID}} | stale }}
| |
- | | Comment = {{Property get|Comment|{{FULLPAGENAME}}/Report/XML validation}}
| |
- | | Signature page = {{FULLPAGENAME}}/Report/XML validation
| |
- | }}|{{Report/Block
| |
- | | Signed page =
| |
- | | Title =
| |
- | | Signed = pending
| |
- | | Signer =
| |
- | | Signatory = XML validation
| |
- | | Date =
| |
- | | Stale =
| |
- | | Comment =
| |
- | | Signature page = {{FULLPAGENAME}}/Report/XML validation
| |
- | }}}}
| |
- | ----
| |
- | {{Report/Block
| |
- | | Signed page =
| |
- | | Title =
| |
- | | Signed = {{Property get|Signed state|{{FULLPAGENAME}}/Report/XML validation}}
| |
- | | Signer = {{Property get|Editor|{{FULLPAGENAME}}/Report/XML validation}}
| |
- | | Signatory = XML validation
| |
- | | Date = {{#time: F j, Y|{{Property get|Timestamp|{{FULLPAGENAME}}/Report/XML validation}}}}
| |
- | | Stale = {{#ifexpr: {{Property get|REVISIONID|{{FULLPAGENAME}}/Report/XML validation}} < {{REVISIONID}} | stale }}
| |
- | | Comment = {{Property get|Comment|{{FULLPAGENAME}}/Report/XML validation}}
| |
- | | Signature page = {{FULLPAGENAME}}/Report/XML validation
| |
- | }}
| |
- | ----
| |
- | <!--
| |
| | | |
- | -->{{standout box|<!--
| + | {{Report on this page|Report type stale}} |
| | | |
- | -->{{#if: <!--
| + | {{Report on this page|Report type not created}} |
- | | + | |
- | -->|{{#if: <!--
| + | |
- | | + | |
- | -->|Signing [[|]]<!--
| + | |
- | | + | |
- | -->|Signing [[]]<!--
| + | |
- | | + | |
- | -->}}<!--
| + | |
- | | + | |
- | -->|{{#if: |Signing }}<!--
| + | |
- | | + | |
- | -->}}<!--
| + | |
- | | + | |
- | -->{{standout box<!--
| + | |
- | | + | |
- | -->|colour={{#switch: <!--
| + | |
- | | + | |
- | -->{{default<!--
| + | |
- | | + | |
- | -->|{{subst:#ask: [[Sandbox/Error check/Report/XML validation]] | ?Signed state= | mainlabel=- | link=none }}<!--
| + | |
- | | + | |
- | -->|<!--
| + | |
- | | + | |
- | -->}}<!--
| + | |
- | | + | |
- | -->
| + | |
- | | yes = PaleGreen
| + | |
- | | declined = LightPink
| + | |
- | | pending = PaleTurquoise
| + | |
- | | #default = Plum
| + | |
- | }}<!--
| + | |
- | | + | |
- | -->|<!--
| + | |
- | | + | |
- | -->{{#switch: {{Property get|Signed state|{{FULLPAGENAME}}/Report/XML validation}}
| + | |
- | | yes = Signed by
| + | |
- | | declined = Signature ''declined'' by
| + | |
- | | pending = Signature ''pending'' for
| + | |
- | | #default = error
| + | |
- | }}<!--
| + | |
- | | + | |
- | -->{{#if: {{Property get|Editor|{{FULLPAGENAME}}/Report/XML validation}}
| + | |
- | |{{#ifeq: {{Property get|Editor|{{FULLPAGENAME}}/Report/XML validation}} | XML validation ||{{~}}[[{{Property get|Editor|{{FULLPAGENAME}}/Report/XML validation}}]] on behalf of}}
| + | |
- | }}<!--
| + | |
- | | + | |
- | | + | |
- | -->{{~}}<!--
| + | |
- | | + | |
- | -->[[XML validation]]<!--
| + | |
- | | + | |
- | -->{{#if: {{#time: F j, Y|{{Property get|Timestamp|{{FULLPAGENAME}}/Report/XML validation}}}} |{{~}}on {{#time: F j, Y|{{Property get|Timestamp|{{FULLPAGENAME}}/Report/XML validation}}}}}}<!--
| + | |
- | | + | |
- | -->{{#if: {{Property get|Comment|{{FULLPAGENAME}}/Report/XML validation}} |{{~}}with comment "''{{Property get|Comment|{{FULLPAGENAME}}/Report/XML validation}}''"}}<!--
| + | |
- | | + | |
- | -->.<!--
| + | |
- | | + | |
- | Insert the "[Edit]" link.
| + | |
- | | + | |
- | -->{{#if: {{FULLPAGENAME}}/Report/XML validation <!--
| + | |
- | | + | |
- | -->|<!--
| + | |
- | | + | |
- | Don't print it.
| + | |
- | | + | |
- | --><span class="noprint"><!--
| + | |
- | | + | |
- | -->{{~}}<!--
| + | |
- | | + | |
- | We have to use index.php parameters to a non-existing page.
| + | |
- | Use an external link, but make it look as much like an internal link as we can.
| + | |
- | | + | |
- | Don't paint the external link fancy (no arrow).
| + | |
- | | + | |
- | --><span class="plainlinks"><!--
| + | |
- | | + | |
- | Create the external link
| + | |
- | | + | |
- | -->[[<!--
| + | |
- | | + | |
- | The URL marked up with parameters.
| + | |
- | Parameters that aren't specified will be blank which defaults to no action.
| + | |
- | | + | |
- | -->{{fullurl:{{FULLPAGENAME}}/Report/XML validation|action=edit&preload=Template:Signature/Boilerplate&editintro=}}<!--
| + | |
- | | + | |
- | A space separates the URL from the link text
| + | |
- | | + | |
- | --> <!--
| + | |
- | | + | |
- | What text to display.
| + | |
- | | + | |
- | -->edit<!--
| + | |
- | | + | |
- | -->]]<!--
| + | |
- | | + | |
- | --></span><!--
| + | |
- | | + | |
- | --></span><!--
| + | |
- | | + | |
- | -->}}<!--
| + | |
- | | + | |
- | -->}}<!--
| + | |
- | | + | |
- | -->{{#if: {{#ifexpr: {{Property get|REVISIONID|{{FULLPAGENAME}}/Report/XML validation}} < {{REVISIONID}} | stale }}|''Changes were made after signing; signature is stale.''}}<!--
| + | |
- | | + | |
- | -->}}<!--
| + | |
- | | + | |
- | -->
| + | |
This is an example page that would be automatically error checked.
It has REVISIONID 30496.
More input....