User:Pascal666/check

Though this project is still active, it has been mostly superseded by Wikipedia:WikiProject Check Wikipedia, a much larger set of tests that extends across many

User:Pascal666/check

Though this project is still active, it has been mostly superseded by Wikipedia:WikiProject Check Wikipedia, a much larger set of tests that extends across many languages. I am currently working to better document the validity checks I have been performing so they can be merged into the larger project.

Reports currently posted on Wikipedia

History

This project dates from June 2006, at which time the only test I was running was looking for template elements inside articles (as documented much more thoroughly on my userpage) indicative of a substituted template. I have expanded it over the years to include many more checks. Most of the problems found I fix myself, but a couple reports are so large I have not attempted to fix all of them. Some of these reports as well as others requested by other Wikipedians can be found above.

Technical details

All of my checks are run in Perl on en.wiki database dumps. When analyzing enwiki-xxxxxxxx-pages-articles.xml.bz2 I use Parse::MediaWikiDump and IO::Uncompress::Bunzip2. The later allows me to analyze the dump without having to expand it to disk; it is instead decompressed into memory on the fly. For the rest of the dump files I use IO::Uncompress::Gunzip to decompress on the fly and access the data directly with my own algorithms.

Many of the below include Perl regexs.

Substituted templates

The original purpose of this project was to find templates that had been substituted into articles when they should have been simply included.

Wikimarkup

Certain wikimarkup should never be found on pages that are not included in other pages. This wikimarkup is usually only found in templates that should never be subst'd.

Interwikis

Templates often exist in multiple languages. When a template gets subst'd its interwikis get placed into the article as well. Since an article should never contain an interwiki pointing to the template namespace in a foreign language, the existence of these interwikis can be indicative of a subst'd template. Example: [1]. They can also be caused by a template not having noincludes around its interwikis. Example: [2]. Both problems need to be fixed.

Categories

Certain elements should never appear inside a "[[Category:xxx]]".

Least wanted categories

Special:WantedCategories only includes the top 1000 wanted categories. Many categories on this list have simply not yet been created. The bottom of the wanted categories list (the least wanted categories) contains mostly typos. That is, categories not are not really wanted, but pages that have simply been miscategorized. This report was requested by a user who planned to fix these typos (but didn't realize how many there are) and is currently posted at User:Pascal666/cats.

Wrong case cats

Categories are case sensitive. If a page is in a non-existent category that has the same name as an existing category just different capitalization, the user probably intended to put the page in the existing category. Example: [3]

Wrong hyphenation cats

If a page is in a non-existent category that has the same name as an existing category just different hyphenation, the user probably intended to put the page in the existing category. Example: [4]

Duplicate categories

Users will sometimes create a new category not knowing that the category already exists, just with a different capitalization or hyphenation.

Included non-templates

Users often accidentally include a page when they intend to instead create link to it, or place an article into a category. This check started as simply a text search for "{{Category:" but turned into examining enwiki-xxxxxxxx-templatelinks.sql.gz for any includes outside template space (though many of these are valid anyway so this has required many exceptions). Example: [5]

Living people

Birth cats

Anyone in Category:Living people should also be in a births category within the last 123 years. This report is currently posted at User:Pascal666/living.

Death cats

Anyone in Category:Living people should not be in a deaths category as well. Example: [6]

Template parameters

By scanning templates for "{{{\w+" a list of parameters each template accepts can be created. You can then scan articles that include each template to find parameters that it is not designed to accept. In many cases the parameter simply has the wrong case. PascalBot (talk · contribs) was created to fix many of these. Example: [7]

Links between Wikipedia articles should be accomplished using wikilinks instead of external links to "http://en.wikipedia.org". This report is currently posted at User:Pascal666/external. Example: [8]

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.