There seem to be plenty of questions related to namespaces. Would it be helpful to add a tag?


  • Wouldn't object to this. Namespaces come up in contexts outside of PHP directly related to Drupal concepts: module names, plugin IDs, etc. We need to identify some good questions that would be improved (findability wise) by adding this tag.
    – mpdonadio Mod
    Jan 23, 2019 at 22:42
  • @mpdonadio Here is maybe an example. At the moment, it's only tagged 7. I think it would be helpful for some of the questions in the search list to have a tag related to their specific question, rather than just the Drupal version.
    – mbomb007
    Jan 23, 2019 at 23:04
  • 1
    Namespaces is a too vague concept. In fact, between the questions listed from that search link, two are about XML namespaces, another one isn't even about namespaces (since they cannot be called), a fourth one is not about namespaces. Even considering just PHP namespaces, that is not a Drupal-only concept.
    – apaderno Mod
    Jan 24, 2019 at 7:41
  • I'm inclined to agree with @kiamlaluno that namespaces might be a bit too broad (given that that term crops up in various different technologies). I'd be happy with php-namespaces or something, though, because they're intrinsic to D8 IMO
    – Clive Mod
    Jan 25, 2019 at 20:15
  • Here's a good example: drupal.stackexchange.com/questions/124976/…
    – Clive Mod
    Jan 25, 2019 at 20:16
  • I am fine with @Clive suggestion, as long as questions using php-namespaces just because are PHP questions or questions about other namespace types are edited to remove the tag.
    – apaderno Mod
    Jan 25, 2019 at 20:32
  • The tag usage guidelines can be written to clarify the intended use.
    – mbomb007
    Jan 25, 2019 at 22:19
  • The tag guidelines don't prevent users from using the tag when it's not appropriate. Other users need to actively remove the tag when not appropriate.
    – apaderno Mod
    Jan 26, 2019 at 12:00


You must log in to answer this question.

Browse other questions tagged .