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

       Web browser: ---
            Bug ID: 43893
           Summary: Clean up canHaveGrandchildren mess
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Technical Debt
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

"Can have grandchildren" is a misnamed check that should be cleaned up. What it
really appears to mean is "is this a non-content-containing branch node", given
that it checks that the node can have children, is not content, and is not a
content container.

canHaveGrandchildren seems to still be used in some places, it should be
renamed and documented adequately.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to