A result of Noohi says that if $\mathsf{X}$ and $\mathsf{Y}$ are topological stacks and $\mathsf{Y}$ admits a groupoid presentation $\mathcal{G}$ in which both $\mathcal{G}_0$ and $\mathcal{G}_1$ are compact, then the mapping stack $\operatorname{Map}(\mathsf{Y},\mathsf{X})$ is again a topological stack.
If $\mathsf{Y}$ is (the stack associated to) a closed, good 2-orbifold or a finite graph of finite groups, then $\mathsf{Y}$ is presented by the action groupoid of a finite group on a compact space (i.e. a closed surface or a finite graph), so Noohi's result applies.
My question arises from the observation that the "usual" ways to write down an étale groupoid representing either a closed 2-orbifold or a finite graph of finite groups do not yield groupoids where even the object space is compact. For example, for an orbifold, the object space is usually a disjoint union of open subsets of $\mathbb{R}^n$. If you're clever you can get away with finitely many open sets, but the open sets are certainly not compact.
My question is: is there a variation on the standard construction of a groupoid associated to an orbifold or a graph of groups that yields a compact space of objects and arrows in the case of a closed, good 2-orbifold or a finite graph of finite groups? I expect this groupoid is likely not étale; that's fine by me.
Even more concretely, consider the groupoid $\mathcal{G}$ whose object space is the disjoint union $[0,1] \sqcup [1,2]$ and which has exactly two nonidentity arrows identifying the copies of ${1}$. Is the stack $\mathsf{B}\mathcal{G}$ isomorphic to (the stack associated to) the closed interval?