Topic on Extension talk:StructuredDiscussions

Parser function to detect Flow page's status

2
Framawiki (talkcontribs)

Hello.

Is it technically possible to detect in a template code if it's used in a Flow environment (ticket/board desc) ? ie. a parser function ?

Currently I can play with {{#ifeq:{{NAMESPACE}}|Topic|It's in a Flow topic|It's not in}}

but it does not work with board desc, that have a "real" namespace.

Have a method to do this can be really useful to remove adaptations problems of templates that were initially written for classic talk page. These templates do really bad renders like fr:Discussion_utilisateur:Xmen_le_grand.

Is the resolution of this problem foreseen ?

Thanks for your work.

Framawiki (talkcontribs)

Any news here?

Reply to "Parser function to detect Flow page's status"