Page MenuHomePhabricator

wgEnableMWSuggest fails when using shortURLs
Closed, InvalidPublic

Description

Author: sorin.sbarnea

Description:
I have a fully functional MW installation that I upgraded to 1.16 b3 in order to use vector template and the suggestions.

I found out that the suggestions are not working due to the rewrite rules.

I think that we should update the guide for this:
http://www.mediawiki.org/wiki/Manual:Short_URL ( "example.com/Page_title" fromat in my case)

The question is what changes should be made to solve this? What is the URL used by the suggestions?


Version: 1.16.x
Severity: normal

Details

Reference
bz24399

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:09 PM
bzimport set Reference to bz24399.
bzimport added a subscriber: Unknown Object (MLST).

This is not the place to get support, use mediawiki.org, mediawiki-l mailing list or the IRC channel.

Check wgMWSuggestTemplate in page source in any normal page request.

(In reply to comment #0)

I have a fully functional MW installation that I upgraded to 1.16 b3 in order
to use vector template and the suggestions.

I found out that the suggestions are not working due to the rewrite rules.

I think that we should update the guide for this:
http://www.mediawiki.org/wiki/Manual:Short_URL ( "example.com/Page_title"
fromat in my case)

This format (page titles in document root) is flawed for the exact reason that it causes bugs like these. Don't use it, use something like Wikipedia's URL scheme instead.