Page MenuHomePhabricator

Page Move does not check if target is a talk page
Closed, InvalidPublic

Description

Author: Astronouth7303

Description:
If you move a page to a namespace that would be a talk page (sepperate from
the main page), it will set up the target to be a article, not a talk page.

See http://furc.zapto.org/Wiki/index.php?
title=Talk:PICSim&redirect=no , .../index.php/Spec_Talk:PICSim ,
and .../index.php/Spec_Talk:PICSim for details.


Version: 1.3.x
Severity: normal
OS: Windows XP
Platform: PC
URL: http://furc.zapto.org/Wiki/index.php?title=Talk:PICSim&redirect=no

Details

Reference
bz790

Event Timeline

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

I was unable to find any details at the linked page; there is only a question about something called PICSim.

Could you please list the exact sequence of steps necessary to reproduce the problem?

Astronouth7303 wrote:

I'm sorry, the pages linked ARE the problem.

To reproduce steps:

  1. Go to talk page
  2. click move tab
  3. Move to another talk page (preferabley one for an article).

I cannot find any problem following the described actions on 1.4alpha or 1.3 test wikis.

However there does seem to be a problem with your Spec_Talk: namespace; when visiting a Spec_Talk
page it shows itself as the 'Article' link, and the plain title as the 'Discussion' link. The first part of this may
be caused by incorrectly using a space instead of an underscore in the $wgExtraNamespaces definition. I'm
not sure what would cause the second part unless you've hardcoded this somehow; I can't reproduce that
part on my test wikis.

Astronouth7303 wrote:

Ah, that's what's up.

I hadn't set $wgExtraNamespaces, though I did set $wgNamespacesWithSubpages,
$wgNamespacesToBeSearchedDefault, and 2 I probably shouldn't of ($wgNamespaceNamesEn and the
constants NS_SPEC & NS_SPEC_TALK).

And yes, the behavior Brion described was what was up.