It looks like you have a stray entry in your database labeled as being in
namespace 1000... generateSitemap.php is picking it up because it dumps the
whole database, but since you don't have it defined in the custom
namespaces array, it doesn't show up in your general lists.

Try running maintenance/cleanupTitles.php to renormalize the
namespace/title pairs in your page table; that should fix up the stray
entry.

-- brion


On Sat, Nov 9, 2013 at 12:42 PM, Forest S <[email protected]> wrote:

> Hi everyone,
>
> Our site uses w/maintenance/generateSitemap.php. An error from Google
> Webmaster Tools revealed that generateSitemap is including a sitemap of a
> namespace that doesn't exist.
>
> Specifically, included in the Sitemap
> Index<http://www.tmswiki.org/sitemap/sitemap-index-ptpn_wiki.xml>is a
> sitemap corresponding to namespace 1000:
> http://www.tmswiki.org/sitemap/sitemap-ptpn_wiki-NS_1000-0.xml.gz
>
> However, we don't have a namespace 1000:
>
> http://www.tmswiki.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces
>
> The text of the broken sitemap is simply:
> <?xml version="1.0" encoding="UTF-8"?>
> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9";>
>  <url>
> <loc>http://www.tmswiki.org/ppd/:Guidelines</loc>
>  <lastmod>2011-12-12T00:25:28Z</lastmod>
> <priority>0.5</priority>
> </url>
> </urlset>
>
> When Google tries to read http://www.tmswiki.org/ppd/:Guidelines from the
> above sitemap, it 404s, something I try to avoid, wanting to keep the ship
> running smoothly.
>
> Any idea how I could figure out what is going on? I went back and checked
> the date stamp on generateSitemap to confirm that I hadn't edited it in a
> fit of stupidity (no). The string 1000 doesn't appear either in
> generateSitemap.php or localsettings.php
>
> Not sure where to go from here.
>
> Any ideas?
>
> Forest
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to