database-reports icon indicating copy to clipboard operation
database-reports copied to clipboard

Updated to the unused template report needed

Open Gonzom opened this issue 3 years ago • 0 comments

Over the past few months there has been work done to the unused template report requirements.

  1. Categories which should be excluded should be:

    WHERE cl_to IN ( 'Wikipedia_substituted_templates', 'Wikipedia_transclusionless_templates', 'Deprecated_templates_kept_for_historical_reasons', 'Inactive project pages', 'Parameter_shared_content_templates', 'Administrative service award templates', 'Computer language user templates', 'Language user templates', 'Level-zero userbox templates', 'Wikipedia administrator statistics', 'Subtemplates of Template RussiaAdmMunRef', 'Subtemplates of Template RussiaBasicLawRef', 'New Pages Feed templates' )

  2. The line "not page_title.endswith('/doc')" should be removed so unused /doc pages will appear. If a /doc page is unused that is usually a sign that something went wrong (sub page of a deleted page, sub page hasn't moved with main page, not needed, etc.).

Gonzom avatar Feb 08 '22 08:02 Gonzom