Page MenuHomePhabricator

Use local magic words in global user pages
Closed, DeclinedPublic

Description

Currently, magic words on global user pages come from the remote wiki (meta). It'd be nice if they were rendered from the local userpage.

One use-case for this would be {{#babel:{{CONTENTLANG}}-0}}. Another might be to show certain messages on e.g. all Tamil projects, but not on others.

Event Timeline

MC8 created this task.Apr 10 2015, 12:40 PM
MC8 raised the priority of this task from to Needs Triage.
MC8 updated the task description. (Show Details)
MC8 added a project: GlobalUserPage.
MC8 added a subscriber: MC8.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 10 2015, 12:40 PM
Legoktm closed this task as Declined.Aug 2 2015, 7:46 AM
Legoktm claimed this task.
Legoktm added a subscriber: Legoktm.

GlobalUserPages are 100% parsed remotely, meaning that everything is parsed in the context of meta. The only exception to this is that the page will be parsed in the language of the user viewing the page, so you can use {{int:lang}} hacks on meta to get the interface language of the user viewing the page.