Friday, January 17, 2025

Call for Judgment: Fixing form for wiki misinterpretation

If the CFJ “Form and Formatability” is still pending, fail it.

Amend “The Bank {M}” to read as follows:

^^^All text in this rule, other than this sentence and its punctuation, are flavour text, and are additionally considered to be valid English words.$$$

Amend “Bolted to the Ground {M}” to read as follows:

^^^Any attempt by a Heist Action to modify protected text instead does nothing. Text is protected if it appears between a matching caret (^) and dollar sign ($) when carets and dollar signs are matched in the same way that opening and closed parentheses usually are (with a caret acting like an opening parenthesis and a dollar sign acting like a closing parenthesis).$$$

Carets and dollar signs can be matched only within a single rule, not between rules.

Change all { in the dynastic ruleset to ^, and all } in the dynastic ruleset to $, except where a) they are part of an {I} or {M}, or b) they are being used as MediaWiki template markup rather than as part of the text of a rule.

In “Tools of the Trade {M}”, change “curly brackets” (or whatever sequence of characters “curly brackets” was edited into via dynastic actions, if it is not present) to “dollar signs, carets”.

 

MediaWiki has unexpectedly started mis-rendering part of the ruleset due to misinterpreting {{…}} as wikimarkup. In order to prevent this becoming a recurring problem, change the characters used to something that it doesn’t treat as special. This specific choice was suggested by JonathanDark as being easy to type and not being likely to be used in rule text otherwise.

The two existing cases which are arguably/potentially template markup are explicitly replaced by this CFJ, in order to prevent there being any dispute about the resulting form of the rule.

Warning This post is still within the four-hour edit window, which will close early if any votes are cast. Consider delaying your vote until after that time.

Comments

Josh: Mastermind he/they

17-01-2025 22:35:52 UTC

^^^Any attempt by a Heist Action to modify protected text instead does nothing. Text is protected if it appears after a caret (^) and before a dollar sign ($), with no other carets or dollar signs in between.$$$

This text is not protected as it contains both a ^ and a $.

Or rather, the text that is protected is “) and before a dollar sign (”.

ais523: Mastermind

17-01-2025 22:41:04 UTC

Good point – it’s hard to word this to work as we’d want! Hopefully this new wording works.

Josh: Mastermind he/they

17-01-2025 22:52:08 UTC

I would not say that it has changed the way that the rule interprets at all, to my eyes. It may even be worse as the matching is now subjective, as parentheses can contain parentheses.

Ultimtately this is starting to become what I feared when I started drafting my CfJ: which is to say, not a CfJ, in that rather than fixing the proximate issue attemtping to address fundamental underlying issues that should really be handled by proposal.

The intent of my CfJ was only ever to be a good-enough patch while proper proposals readdressed how the mechanic works, because fundamentally all strings-of-symbols approaches I think will end up on this exact kind of issue. I’d like to see proposals that reimagine the way that layered protection works

On that basis I’ll probably vote against this, because it’s misconceieved - we shouldn’t be iterating on the curly brace formulation, we should be reimagining the mechanic of protection, and also grasping the nettle of how the ruleset handles copy-pasted mediawiki markup.

ais523: Mastermind

17-01-2025 23:19:48 UTC

It crosses my mind that the best fix would probably be to have a symbol that can be placed anywhere in a sentence and protects the entire sentence – that way, we don’t need to mess around with matching pairs. That might be too big a fix to do by CFJ, though.

ais523: Mastermind

17-01-2025 23:31:48 UTC

FWIW, I’d say that this wording does work – text can be inside the outer set of “parentheses” and that protects it just as well as being inside the inner set. But I’d also think it should only be temporary until we can find a better solution.

ais523: Mastermind

18-01-2025 01:36:42 UTC

(And I’ve now submitted the better solution as a proposal, “Golden Bolts”.)

You must be registered and logged in to post comments.