Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to the unused template report needed #31

Open
Gonzom opened this issue Feb 8, 2022 · 0 comments
Open

Updated to the unused template report needed #31

Gonzom opened this issue Feb 8, 2022 · 0 comments

Comments

@Gonzom
Copy link

Gonzom commented Feb 8, 2022

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.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant