Page MenuHomePhabricator

Bad link to edit a new page when connecting on a non-standard port
Closed, DeclinedPublic


Author: bouchecl

The link to edit a new page in <div class="noarticletext"> points to an external url containing a full URL (;Action=edit) instead of a local URL, relative to the root of the server (/wiki/index.php?Title=Test&amp;Action=edit), which is the case for the "Edit this page" tab.

When an external user tries to create a new page clicking on the link in <div class="noarticletext"> while using a non-default port (such as port 8889), he/she gets a timeout when the default port 80 is blocked for some reason, such as uptstream ISP restrictions on port 80, which is beyond the control of the server administrator. However, the external user can use the "Edit this page" Tab to create the new page, because this tab uses an URL relative to the root of the server.

A solution to this problem could be to use a URL relative to the root of the server in <div class="noarticletext"> instead of using a full URL.

Version: 1.10.x
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:50 PM
bzimport set Reference to bz10248.
bzimport added a subscriber: Unknown Object (MLST).

Ensure that $wgServer is set correctly. Normally this is autodetected.

EN.WP.ST47 wrote:

Works for me with $wgServer set on 1.19 svn