Page MenuHomePhabricator

Suppress signature expansion when saving JS pages
Closed, InvalidPublic

Description

JavaScript pages never contain discussions and it would be really useful if you could include ~~~~ in JavaScript code, especially code that is used by extensions, like MediaWiki:WikiLove.js, so that you can configure strings that will expand into signatures when used by the end user of the JavaScript.

Event Timeline

Just wrap the script in <nowiki> tags, which also suppress the expansion of {{subst:foo}}

kaldari claimed this task.

Duh, thanks!

DannyS712 changed the task status from Resolved to Invalid.Aug 17 2019, 12:32 AM