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

       Web browser: ---
            Bug ID: 57786
           Summary: VisualEditor:  The category tool should automatically
                    strip the namespace "Category:" out of the cat name,
                    if the editor types it in
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Intention:
Add a category to a page

Steps to Reproduce:
1. Open the page in VisualEditor and choose the categories tool.
2. Type the full name of the category, including the namespace: 
Category:Example


Actual Results:  
VisualEditor adds a non-existent, malformed category named
[[Category:Category:Example]].

Expected Results:  
That VisualEditor would recognize that "Category:Example" already contained the
namespace, and thus omit the duplication.  Ideally, at non-English wikis, it
would recognize and remove both the local name for the namespace and the
English name, since both are typically valid (e.g., strip out both "Kategorie"
and "Category" at the German Wikipedia).

Reproducible: Always

-- 
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