https://bugzilla.wikimedia.org/show_bug.cgi?id=52609

       Web browser: ---
            Bug ID: 52609
           Summary: When getting TemplateData, VE automatically adds
                    "Template:" even if another namespace is provided
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

If you want to add a "template" that is not in the template namespace, for
example: "User:UBX"; VE will make an API request like: "GET
https://en.wikipedia.org/w/api.php?format=json&action=templatedata&titles=Template%3AUser%3AUBX";.

It should automatically detect that "User:" is a valid namespace, and not add
the "Template:" prefix.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to