Page MenuHomePhabricator

By renaming a Lua module the related subpages should be renamed as well.
Closed, DeclinedPublic

Description

  1. Create a Lua module and then a related /doc wiki page.
  1. Rename the Lua module.

EXPECTED

The /doc page gets also renamed/moved, and any other subpages too.

ACTUAL

You have to move everything manually.


Version: unspecified
Severity: enhancement

Details

Reference
bz50150

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:01 AM
bzimport added a project: Scribunto.
bzimport set Reference to bz50150.
bzimport added a subscriber: Unknown Object (MLST).

MediaWiki supports moving pages with all subpages. Wikimedia has this feature disabled for non-privileged users. I cannot trace the exact reason for this, because the only thing the config says is "for now", and this was done before mediawiki-config was managed in git.

I think using the "move subpages" option is the way to go there, rather than having page moves behave differently on Module pages than other namespaces. Also note that you may not actually want to move *all* subpages, it may be that Module:Foo/Bar makes sense there even if Module:Foo is moved elsewhere.

BTW, things like enwiki's {{documentation}} template have the same issue.

Ah well. :) Thank you for the quick and clear answers.