Page MenuHomePhabricator

generateSitemaps.php includes pages marked with __NOINDEX__
Closed, ResolvedPublic

Description

generateSitemaps.php includes pages that have the __NOINDEX__ magic word. The idea of a sitemap is to provide pages you want to index, not pages that you don't want to index. In fact, Google's search console warns about them.

The correct behavior should be to skip pages marked with the __NOINDEX__ magic word.

Event Timeline

Change 620746 had a related patch set uploaded (by Ostrzyciel; owner: Ostrzyciel):
[mediawiki/core@master] generateSitemap.php: ignore pages with NOINDEX switch

https://gerrit.wikimedia.org/r/620746

Change 620746 merged by jenkins-bot:
[mediawiki/core@master] generateSitemap.php: ignore pages with NOINDEX switch

https://gerrit.wikimedia.org/r/620746

Ostrzyciel claimed this task.