Page MenuHomePhabricator

Bogus script path shown on "entry point urls"
Closed, ResolvedPublic

Description

Screenshot of entry points

Was on a wiki today and was curious what version they were running. I took a look at Special:Version and was pleased to see 1.20.2.

However, the entry point urls showed something incorrect for $wgScriptPath (see attachment).

Again, this is a $randomWiki I was looking at so I don't know what they've actually got the script path set to, but "[ ]" looks like its wrong. We should probably show "/" if we're using that as the script path.

CC'ing Roan since he wrote the feature.


Version: 1.20.x
Severity: trivial

Attached:

Screen_Shot_2012-12-16_at_7.01.35_PM.png (404×438 px, 35 KB)

Details

Reference
bz43184

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 12:51 AM
bzimport set Reference to bz43184.

karun.84 wrote:

Hello, This looks like it occurs when in the configuration file it is blank, so the path should be the default value.

karun.84 wrote:

(In reply to comment #1)

Hello, This looks like it occurs when in the configuration file it is blank,
so
the path should be the default value.

I have made a change so that the path of / is displayed when it is empty in the configuration file, as this is the path used.

It is now in gerrit for review

https://gerrit.wikimedia.org/r/39153