Page MenuHomePhabricator

Values From Namespace: not recognize all namespace naming
Closed, ResolvedPublicBUG REPORT

Description

What happens?:
If the value in "values from namespaces=" is not the exact name of NS in english (category and not Category) - an error thrown.

to reprocedure
create form with like

{{{field|cats|input type=combobox|values from namespace=category}}}

Save the form and try to fill it with content.

What should have happened instead?:
PageForms should recognize any form of NS name that mediawiki can recognize.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
1.35

Event Timeline

Change 697179 had a related patch set uploaded (by Aklapper; author: Anysite):

[mediawiki/extensions/PageForms@master] Values From Namespace: recognize all namespace naming,

https://gerrit.wikimedia.org/r/697179

Change 697179 merged by jenkins-bot:

[mediawiki/extensions/PageForms@master] Values From Namespace: recognize all namespace naming,

https://gerrit.wikimedia.org/r/697179

Yaron_Koren claimed this task.
Yaron_Koren subscribed.

Thank you for the patch!