There is a proposal at GH
[Proposal] Every List-like wikitext rules shuold be 1 module. That makes it easy to disable them selectively
Since it would be a backwards incompatibility as Saq Imtiaz posted at GH it should be considered for v5.4.0
Crossposted from GitHub
Every List-like wikitext rules shuold be 1 module. That makes it easy to disable them selectively
From GG:
3 - Is a godsend where you to need switch off pragma because of use case. Why? Example: probably the worst pragma to switch-off is the Block Parse Rule for “list” because it disables ALL forms of list construct (*#:;). Example use case: Wiki concerned with posting to social networks where “#” is used all the time you need to switch of processing of “#”. …
Proposal
The /parser/list.js module should be splitted into 4:
- list-bullet.js
- list-hash.js
- list-definition.js
- list-blockquote.js
This will allow users to disable them 1 by 1 in the Control Panel. … It will probably duplicate some code. … BUT I think it would be worth the convenience. At the moment diabling the “list” rule disables 4 different elements, where 2 of them are really important “>” and “*”