Page MenuHomePhabricator

{{SUBPAGENAME}}, still fails
Closed, InvalidPublic

Description

Author: loustyx

Description:
{{SUBPAGENAME}} returns {{PAGENAME}} in some namespaces : Help, Templates

note: {{SUBPAGENAME}} is ok in namespace User

for example :
http://127.0.0.1/STyxWiki/index.php?title=Aide:Test/test/foo&action=edit
if I write {{SUBPAGENAME}} and submit. Result is "Test/test/foo" instead of
"foo"

for more example, see
http://test.wikipedia.org/wiki/User:STyx/Tests
http://test.wikipedia.org/wiki/Template:Qif/SUBPAGENAME
http://test.wikipedia.org/wiki/Help:Autocomment/SUBPAGENAME
http://fr.wikipedia.org/wiki/Aide:Question/contributeur/travaille

see also
http://bugzilla.wikimedia.org/show_bug.cgi?id=5510 (previously reported)
http://bugzilla.wikipedia.org/show_bug.cgi?id=5530


Version: 1.7.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz5630

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:11 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz5630.
bzimport added a subscriber: Unknown Object (MLST).

These namespaces don't have subpages enabled, so this behavior is
normal.