Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a231d8339997a3ae

Jump to content

Template:Csdcheck/doc

From Wikipedia, the free encyclopedia
CodeTemplateDescriptiontagnotice
G1{{db-nonsense}}Patent nonsenseYesYes
G2{{db-test}}Test pagesYesYes
G3{{db-vandalism}}VandalismYesYes
G4{{db-repost}}Previously deleted by consensusYesYes
G5{{db-banned}}Posts by banned userYesNo
G6{{db-maintenance}}HousekeepingYesNo
G7{{db-author}}Request by page authorYesNo
G8{{db-g8}}Talk page of or redir to deleted pageYesNo
G9--Office actionsNoNo
G10{{db-attack}}Attack pageYesYes
G11{{db-spam}}Blatant promotionYesYes
G12{{db-copyvio}}Obvious copyright infringementYesYes
G13{{db-afc}}Abandoned Articles for creation submissionYesYes
G14{{db-disambig}}Unnecessary disambiguation pagesYesYes
G15{{db-llm}}Unreviewed LLM-generated contentYesYes
A1{{db-nocontext}}Can't determine subjectYesYes
A2{{db-foreign}}From another WikipediaYesYes
A3{{db-nocontent}}Empty or no useful contentYesYes
A7{{db-a7}}No claim of significanceYesYes
A9{{db-album}}Album with no claim of significanceYesYes
A10{{db-same}}Duplicates an existing articleYesYes
A11{{db-madeup}}Obviously inventedYesYes
F1{{db-redundantimage}}Duplicates an existing imageYesYes
F2{{db-noimage}}Corrupt or empty imageYesYes
F3{{db-noncom}}Media with unacceptable licenseYesYes
F4{{db-unksource}}Media with unknown sourceNoNo
F5{{db-f5}}Non-free license not used in articlesNoNo
F6{{db-norat}}Fair use rationale neededNoNo
F7{{db-badfairuse}}Inappropriate fair useYesYes
F8{{db-nowcommons}}Moved to commonsYesNo
F9{{db-filecopyvio}}Image copyright infringementYesYes
F11{{db-nopermission}}Missing evidence of permissionNoNo
C1{{db-catempty}}Empty categoryYesYes
C2{{cfr-speedy}}Renaming/merging of categoryNoNo
C4{{db-c4}}Unused maintenance categoryYesNo
T5{{Db-t5}}Unused template subpageYesNo
U1{{db-userreq}}Requested by userYesNo
U2{{db-nouser}}Non-existent userYesNo
U5{{db-notwebhost}}WP:NOTWEBHOST violationYesYes
R2{{db-rediruser}}Cross-namespace redirectYesYes
R3{{db-redirtypo}}Implausible redirectYesYes
R4{{db-redircom}}File namespace redirect that shadows a Commons file or redirectYesYes

This template checks whether any given input strings are valid speedy deletion (CSD) criteria. If any of the input strings are valid, the template outputs "yes"; if none of them are valid, it does not output anything. Valid CSD criteria take the form of a letter plus a number, e.g. "G6" or "A7" (see the table to the right for a list). This template accepts both uppercase and lowercase letters as valid, so both "G3" and "g3" would return "yes". It accepts any number of input strings. It is also possible to compare the input strings to a custom selection of CSD criteria.

Usage

[edit]
Basic usage

{{csdcheck|string to be compared}}

Checking multiple strings

{{csdcheck|string1|string2|string3|string4|etc.}}

Using a specific subset of CSD criteria

{{csdcheck|string1|string2|string3|string4|set=desired subset of CSD criteria}}

Searching for specific CSD criteria

{{csdcheck|string1|string2|string3|string4|crit1=first criteria to search for|crit2=second criteria to search for|etc.}}

This template can be either substituted or transcluded.

Parameters

[edit]
  • set:- This parameter can take the value "all", "tag", or "notice". A value of "all" returns "yes" for all valid CSD criteria; a value of "tag" returns "yes" for all criteria supported by the template {{db-multiple}}; and a value of "notice" returns "yes" for all criteria supported by the template {{db-notice-multiple}}. The default value is "all". See the table to the right for which criteria are supported for each value of the parameter.
  • crit1, crit2, crit3, etc.:- These parameters are used to check for specific speedy deletion criteria. It is possible to search for both single and multiple criteria. For example, if |crit1=g1 is specified, the template will search to see if any of the input strings match CSD criterion G1, and if they do it will output "yes". If |crit1=g11 and |crit=a7 are both specified, the template will search to see if any of the input strings match either CSD criteria G11 or A7, and if there are any matches it will output "yes". You can add any number of criteria. If any of the "crit" parameters are specified then the "set" parameter has no effect on the template's output.

Examples

[edit]
InputOutput
{{csdcheck|a7}}yes
{{csdcheck|foo}}
{{csdcheck|g9}}yes
{{csdcheck|g9|set=tag}}
{{csdcheck|foo|bar|g5}}yes
{{csdcheck|foo|bar|g5|set=notice}}
{{csdcheck|g1|crit1=g1}}yes
{{csdcheck|g1|crit1=g2}}
{{csdcheck|foo|crit1=foo}}
{{csdcheck|g9|crit1=g9|set=tag}}yes
{{csdcheck|g1|g2|g3|g4|crit1=a7}}
{{csdcheck|g1|g2|g3|g4|crit1=g3}}yes
{{csdcheck|g1|g2|g3|g4|crit1=a7|crit2=a10|crit3=g2}}yes
{{csdcheck|g1|u5}}
{{csdcheck|g1|u5|crit1=U5}}

See also

[edit]