Jump to content

Topic on Extension talk:DynamicWikiSitemap

MW 1.24 escapeLocalURL fix

4
Valeriocipriani (talkcontribs)

in order to make it work on mw 1.24 that finally removed the escapeLocalURL function, on sitemap.php find:

$url = $title->escapeLocalURL();

and replace with:

$url = htmlspecialchars( $title->getLocalUrl());

that's all, enjoy.

This post was posted by Raid~mediawikiwiki, but signed as Raid.

84.72.46.32 (talkcontribs)

In my case I also needed to change below: $this->form_action=$title->escapeLocalURL( 'action=submit' ); to: $this->form_action=$title->getLocalUrl( 'action=submit' );

Valeriocipriani (talkcontribs)

Cannot find your code, maybe you are using an older version.

I am using 1.0.1

This post was posted by Raid~mediawikiwiki, but signed as Raid.

Bentstuart1600 (talkcontribs)

Woops >.< I should have read this first before making a post.

Please just delete the post from ip 118.211.87.55

Reply to "MW 1.24 escapeLocalURL fix"