Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#360 Followlive: improve edit summary and update templates

closed-accepted
nobody
General (277)
5
2012-08-30
2007-02-01
Anonymous
No

Currently some of followlive.py's English language templates are outdated and are redirects. Also, English Wikipedia policy strongly suggests that the edit summaries of bot-assisted make it very clear that that edit was bot-assisted - currently none of followlive.py's messages seem to make that clear. Included inline is a diff for fixing the redirected templates, and also improving the messages - I did what I could for the foreign language messages, but I just don't understand Hebrew or Dutch nearly well enough to prepend "Robot-assisted tagging:" to the messages.

I've also taken the liberty of considerably expanding and updating the list of English templates to ignore.

Following inline and attached is my patch. It compiles and seems to run without any errors, so I am submitting it:

34c34
< # templates contains a message and its position
---
> # templates contains a message and its position
36,44c36,44
< 'en':{'{{delete}}' :{ 'msg' : 'This article should be deleted','pos': 'top'},
< '{{cleanup}}' :{ 'msg' : 'This article need cleanup','pos': 'top'},
< '{{stub}}' :{ 'msg' : 'This article is a stub','pos': 'bottom'},
< '{{categorize}}' :{ 'msg' : 'This article needs to be [[Wikipedia:Categorization|categorized]]', 'pos' : 'top'},
< '{{notability}}' :{'msg' : 'The [[Wikipedia:Notability|notability]] of this article is unclear.', 'pos': 'top'},
< '{{verify}}' :{'msg' : 'This article needs to be checked for factuality.', 'pos': 'top'},
< '{{copyedit}}' :{ 'msg' : 'The writing of this article needs to be [[Wikipedia:How to copy-edit|copyeditted]] and improved.','pos' : 'top'},
< '{{unreferenced}}':{ 'msg' : 'This article needs [[Wikipedia:Citing sources|references]] so it can be verified.', 'pos': 'bottom'},
< '{{wikify}}' :{ 'msg' : 'This article needs to be wikified per the [[Wikipedia:Manual of Style|Manual of Style]]', 'pos' : 'top'},
---
> 'en':{'{{db-reason}}' :{ 'msg' : 'Robot-assisted tagging: this article should be deleted','pos': 'top'},
> '{{cleanup}}' :{ 'msg' : 'Robot-assisted tagging: this article need cleanup','pos': 'top'},
> '{{stub}}' :{ 'msg' : 'Robot-assisted tagging: this article is a stub','pos': 'bottom'},
> '{{uncategorized}}' :{ 'msg' : 'Robot-assisted tagging: This article needs to be [[Wikipedia:Categorization|categorized]]', 'pos' : 'top'},
> '{{notability}}' :{ 'msg' : 'Robot-assisted tagging: the [[Wikipedia:Notability|notability]] of this article is unclear.', 'pos': 'top'},
> '{{not verified}}' :{ 'msg' : 'Robot-assisted tagging: this article needs to be checked for factuality.', 'pos': 'top'},
> '{{copyedit}}' :{ 'msg' : 'Robot-assisted tagging: the writing of this article needs to be [[Wikipedia:How to copy-edit|copyedited]] and imp
roved.','pos' : 'top'},
> '{{unreferenced}}':{ 'msg' : 'Robot-assisted tagging: this article needs [[Wikipedia:Citing sources|references]] so it can be verified.', 'pos'
: 'bottom'},
> '{{wikify}}' :{ 'msg' : 'Robot-assisted tagging: this article needs to be wikified per the [[Wikipedia:Manual of Style|Manual of Style]]',
'pos' : 'top'},
47,49c47,49
< 'fr':{u'{{suppression}}' :{ 'msg' : u'Cet article devrait être supprimé','pos': 'top'},
< u'{{à vérifier}}' :{ 'msg': u'Cet article est à vérifier','pos': 'top'},
< u'{{ébauche}}' :{ 'msg': u'Cet article est une ébauche','pos': 'bottom'},
---
> 'fr':{u'{{suppression}}' :{ 'msg' : u'à l\'aide du robot: cet article devrait être supprimé','pos': 'top'},
> u'{{à vérifier}}' :{ 'msg': u'à l\'aide du robot: cet article est à vérifier','pos': 'top'},
> u'{{ébauche}}' :{ 'msg': u'à l\'aide du robot: cet article est une ébauche','pos': 'bottom'},
58,61c58,61
<
< 'ia':{'{{Eliminar}}' :{ 'msg' : 'Iste articulo debe esser eliminate','pos': 'top'},
< '{{Revision}}' :{ 'msg' : 'Iste articulo require revision','pos': 'top'},
< '{{Stub}}' :{ 'msg' : 'Iste articulo es in stato embryonic','pos': 'bottom'},
---
>
> 'ia':{'{{Eliminar}}' :{ 'msg' : 'Assistite per robot: iste articulo debe esser eliminate','pos': 'top'},
> '{{Revision}}' :{ 'msg' : 'Assistite per robot: iste articulo require revision','pos': 'top'},
> '{{Stub}}' :{ 'msg' : 'Assistite per robot: iste articulo es in stato embryonic','pos': 'bottom'},
63c63
<
---
>
72,77c72,77
< 'pt': {u'{{wikificar}}' : {'msg': '{{wikificar}}', 'pos':'top'},
< u'{{reciclar}}' : {'msg': '{{reciclar}}', 'pos':'top'},
< u'{{lixo|~~~~}}' : {'msg': '{{lixo}}', 'pos':'top'},
< u'{{revisão}}' : {'msg': '{{revisão}}', 'pos':'top'},
< u'{{impróprio}}' : {'msg': '{{impróprio}}', 'pos':'top'},
< u'{{apagar vaidade}}' : {'msg': '{{apagar vaidade}}', 'pos':'top'},
---
> 'pt': {u'{{wikificar}}' : {'msg': 'Assistida por bot: {{wikificar}}', 'pos':'top'},
> u'{{reciclar}}' : {'msg': 'Assistida por bot: {{reciclar}}', 'pos':'top'},
> u'{{lixo|~~~~}}' : {'msg': 'Assistida por bot: {{lixo}}', 'pos':'top'},
> u'{{revisão}}' : {'msg': 'Assistida por bot: {{revisão}}', 'pos':'top'},
> u'{{impróprio}}' : {'msg': 'Assistida por bot: {{impróprio}}', 'pos':'top'},
> u'{{apagar vaidade}}' : {'msg': 'Assistida por bot: {{apagar vaidade}}', 'pos':'top'},
80c80
<
---
>
91c91,103
< '{{VfD}}', '{{AfD}}', '{{cleanup}}', '{{nonsense}}', '{{deletedpage}}'),
---
> '{{VfD}}', '{{AfD}}', '{{AfD1}}', '{{cleanup}}', '{{nonsense}}', '{{deletedpage}}',
> '{{db-reason}}', '{{notability}}', '{{not verified}}', '{{unreferenced}}', '{{db-empty}}',
> '{{db-nocontext}}', '{{db-foreign}}', '{{db-notenglish}}', '{{db-nocontent}}', '{{db-blankcsd}}',
> '{{db-transwiki}}', '{{db-attack}}', '{{db-band}}', '{{db-club}}', '{{db-bio}}', '{{db-bio-notenglish}}',
> '{{db-inc}}', '{{db-bio-photo}}', '{{db-catempty}}', '{{db-c2}}', '{{db-catfd}}', '{{badname}}', '{{db-pagemove}}',
> '{{db-nonsense}}', '{{db-spam}}', '{{db-copyvio}}', '{{db-test}}', '{{db-vandalism}}', '{{db-repost}}', '{{db-banned}}',
> '{{db-histmerge}}', '{{db-move}}', '{{db-g6}}', '{{db-afd}}', '{{db-disambig}}', '{{db-authora}}', '{{db-author}}',
> '{{db-blanked}}', '{{csd:g7}}', '{{db-talk}}', '{{db-botnomain}}', '{{db-redundantimage}}', '{{db-noimage}}', '{{db-noncom}}',
> '{{db-ccnoncom}}', '{{db-unksource}}', '{{db-norat}}', '{{db-badfairuse}}', '{{duplicate}}', '{{db-meta}}',
> '{{db-emptyportal}}', '{{db-redirnone}}', '{{db-rediruser}}', '{{db-redirtypo}}', '{{csd-c3}}', '{{cc-by-nc-sa}}',
> '{{cc-nd-nc}}', '{{cc-nc}}', '{{cc-by-nc-2.0}}', '{{cc-by-nc-sa-2.0}}', '{{cc-by-nd-nc-2.0}}', '{{cc-by-2.0-nc-nd}}',
> '{{cc-by-nc-nd-2.0}}', '{{db-contact}}', '{{db-i2}}', '{{db-i1}}', '{{communityuseonly}}', '{{db-disparage}}', '{{db-web}}',
> '{{db-userreq}}', '{{db-nouser}}', '{{db-u3}}', '{{db-unfree}}'),
110c122
< # Display informations about an article
---
> # Display informations about an article
205c217
<
---
>

Discussion

  • The diff of today's CVS version of followlive.py and my version.

     
    Attachments
  • Logged In: YES
    user_id=1136737
    Originator: NO

    Update in SVN r3963

     
    • status: open --> open-accepted
     
  • xqt
    xqt
    2012-08-30

    • status: open-accepted --> closed-accepted