ಟೆಂಪ್ಲೇಟು:Chembox/doc/bot-verification: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ

ವಿಕಿಪೀಡಿಯದಿಂದ, ಇದು ಮುಕ್ತ ಹಾಗೂ ಸ್ವತಂತ್ರ ವಿಶ್ವಕೋಶ
Content deleted Content added
No edit summary
೧ ನೇ ಸಾಲು: ೧ ನೇ ಸಾಲು:
{{right|<small>This page:</small> {{view||edit|template=Chembox/doc/bot-verification}}}}{{clear}}
{{right|<small>This page:</small> {{view||edit|template=Chembox/doc/bot-verification}}}}{{clear}}
By {{tl|Chembox}} and {{tl|Drugbox}} settings, a [[User:CheMoBot|bot]] checks articles for '''parameter validation'''. The bot then adds and sets templates like {{tlf|cascite}} to the article. Depending on the template settings, articles are categorized for maintenance.
By {{tl|Chembox}} and {{tl|Drugbox}} settings, a [[User:CheMoBot|bot]] checks articles for '''parameter validation'''. The bot then adds and sets templates like {{tlf|cascite}} to the article. Depending on the template settings, articles are categorized for maintenance.
== Usage ==
A template is added and set by [[User:CheMoBot]] automatically after certain edits. Depending on the earlier data checks, the template will be marked "correct" or "changed" (ie, to be checked). 'changed' articles are categorized.
A template is added and set by [[User:CheMoBot]] automatically after certain edits. Depending on the earlier data checks, the template will be marked "correct" or "changed" (ie, to be checked). 'changed' articles are categorized.



೧೯:೩೧, ೧೧ ಫೆಬ್ರವರಿ ೨೦೧೫ ನಂತೆ ಪರಿಷ್ಕರಣೆ

This page:

By {{Chembox}} and {{Drugbox}} settings, a bot checks articles for parameter validation. The bot then adds and sets templates like {{cascite}} to the article. Depending on the template settings, articles are categorized for maintenance. A template is added and set by User:CheMoBot automatically after certain edits. Depending on the earlier data checks, the template will be marked "correct" or "changed" (ie, to be checked). 'changed' articles are categorized.

For example, when parameter |CASNo= is changed in the article, the bot sets |CASNo_Ref={{cascite|changed|??}} initially. See WP:WikiProject Chemicals/Chembox validation.

Bot-set templates
Note: {{drugbox}} (is {{infobox drug}}) is not yet normalized into this pattern (February 2015).
Bot-set templates in {{Chembox}} [and {{Drugbox}}*]
template Verified fields (parameter) Category 'changed' default
source
{{Chembox}}
conforms
{{Drugbox}}
conforms
{{Cascite}} |CASNo= changed CAS number CAS checkY Question?
{{Ebicite}} |ChEBI= changed EBI identifier EBI checkY Question?
{{Chemspidercite}} |ChemSpiderID= changed ChemSpider identifier ChemSpider checkY Question?
{{Drugbankcite}} |DrugBank= changed DrugBank identifier DrugBank checkY Question?
{{Keggcite}} |KEGG= changed KEGG identifier KEGG checkY Question?
{{Stdinchicite}} |StdInChI=, |StdInChIKey=,
|InChIKey=, |InChI=
changed InChI identifier ChemSpider checkY Question?
{{Fdacite}} |UNII= changed FDA identifier FDA checkY Question?
{{Chemboximage}} |ImageFile[L/R]= changed Chembox image file (none) Red XN N/A
{{drugboximage}} to be checked for this (none) N/A Red XN
{{pubchemcite}} |PubChem=
Added by the bot (_Ref=cite templates)

The bot-template is added as input for a purpose-added parameter:

|CASNo=1234-56-7 (editors input)
|CASNo_Ref={{cascite|...|...}} (bot parameter added + tempalte set)

Initially the parameters are set {{cascite|changed|??}}

The primary parameter can have an index (see its documentation):

|CASNo3=1234-56-7
|CASNo3_Ref={{cascite|...|...}}

Indexed parameters like |CASNo1= and |CASNo2= are verified too, and are treated independently. So an article can have: |CASNo={{cascite|correct|CAS}} and |CASNo3={{cascite|changed}}.

Data 'correct' or 'changed' (parameter #1)

The first parameter is either correct checkY or changed N always: {{cascite|correct|CAS}}. Cross-marked articles are categorized as 'changed'. With any other text like monkey N, again the cross is shown and the article is categorized, now sorted under "?".

Correct by source (parameter #2)

Initially, the bot sets this to |?? (='source unknown'). Parameter #2 has the source that confirms the statement. By confirmation, the parameter can mention the confirming source. When that source is not the standard (as listed above), the input source is mentioned in a superscript linked:

|CASNo_Ref={{cascite|correct|CDC85}} → 1234-56-7 checkY[CDC85]

This source name is case-insensitive: CAS=cas.

Known issues (February 2015)
  • Normalization steps are being implemented or considered (instead of case-by-case template setup) to create a more systematic pattern.
  • Categories may or may not be overlapping {{Chembox}} and {{Drugbox}} pages.
  • {{chemboximage}} is bot-applied, but not read by the template (article won't show up in the category).
  • Category naming is not consistent. For example, words "pages" and "articles" are used both. Consistently used words are: "without" and "changed".
  • {{drugbox}} is not yet checked or edited to fit this pattern.
See also