title: How to make mediawiki sitemap URLs match the canonical URLs?
body: <p>From my homepage, links look like &quot;/index.php?title=My_Page_Name&quot;. I turned on $wgEnableCanonicalServerLink, so my pages contain canonical meta data, and the URL is the same. So far so good!</p>
  <p>Unfortunately, generateSitemap.php is making  entries that look like &quot;/index.php/My_Page_Name&quot;, i.e. without the &quot;title=&quot;.</p>
  <p>Google's indexing is mad about this discrepancy. What's the magic incantation to make them all contain &quot;title=&quot;?</p>