Topic on Manual talk:Short URL

Short URL and MediaWiki 1.26

5
Michael Eh? (talkcontribs)

Seems short URL and 1.26 don't work as previously. Trying to get to Special:SpecialPages no longer works but browsers like Firefox errors after a long wait "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." Any ideas what changes were made and how to fix?

Along with : %3A the apostrophe also errors the same way.

87.123.46.30 (talkcontribs)

Works for me. I do not see problems with redirect loops for this page. If this is an issue for you, you should check, which URLs you are redirected to and which rule is responsible for the according redirects.

Dantman (talkcontribs)
87.123.56.104 (talkcontribs)
Fireflyt (talkcontribs)

I have the same problem with ampersands and comma's on the new 1.27.0 version of Mediawiki, with Server 2008 and IIS 7.5. I wrote a new rewrite rule that fixes all but the comma and ampersand. Any suggestions would be great.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
       <rewrite>
          <rules>
              <clear />			
              <rule name="Pretty URL rewrite" enabled="true" stopProcessing="true">
                  <match url="^/?wiki/([^/]*)(/.*)?$" />
                  <conditions>
                      <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                      <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                  </conditions>
                  <action type="Rewrite" url="/index.php" logRewrittenUrl="true" />				
                  <serverVariables>
                      <set name="REQUEST_URI" value="/wiki/{UrlEncode:{R:1}}{R:2}" />
                  </serverVariables>					
             </rule>
          </rules>
      </rewrite>
  </system.webServer>
</configuration>
Reply to "Short URL and MediaWiki 1.26"