Last modified: 2013-06-25 17:13:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52150, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50150 - By renaming a Lua module the related subpages should be renamed as well.
By renaming a Lua module the related subpages should be renamed as well.
Status: VERIFIED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-25 03:28 UTC by Quim Gil
Modified: 2013-06-25 17:13 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Quim Gil 2013-06-25 03:28:55 UTC
1. Create a Lua module and then a related /doc wiki page.

2. Rename the Lua module.

EXPECTED

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

ACTUAL

You have to move everything manually.
Comment 1 Victor Vasiliev 2013-06-25 03:43:15 UTC
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.
Comment 2 Brad Jorsch 2013-06-25 13:47:14 UTC
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.
Comment 3 Quim Gil 2013-06-25 17:13:30 UTC
Ah well.  :)  Thank you for the quick and clear answers.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links