Skip to content

Code-format accepted values, not identifiers, in the config reference - #929

Merged
JeroenDeDauw merged 1 commit into
masterfrom
docs-table-code-formatting
Jul 24, 2026
Merged

Code-format accepted values, not identifiers, in the config reference#929
JeroenDeDauw merged 1 commit into
masterfrom
docs-table-code-formatting

Conversation

@JeroenDeDauw

Copy link
Copy Markdown
Member

On the MediaWiki:Maps reference table, the Setting and LocalSettings.php columns no longer wrap their identifier in inline code (it was the whole cell, so it distinguished nothing). The Accepted value column now renders its literal tokens as code — true/false, units, enum values, language codes, auto — while descriptive text such as "0 or greater" stays plain.

AI-authored — Claude Code, Opus 4.8 (1M context) (max); request from @JeroenDeDauw, no revisions; diff not yet human-reviewed; Config unit + integration suites green locally and the rendered table eyeballed on the dev wiki, phpcs clean, CI pending.

The Setting and LocalSettings.php columns were entirely inline code, which
distinguishes nothing when it is the whole cell. Drop it there, and instead
render the literal tokens within the Accepted value column as code (true,
px, float, ...), while leaving descriptive text such as "0 or greater" plain.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@JeroenDeDauw
JeroenDeDauw marked this pull request as ready for review July 24, 2026 21:24
@JeroenDeDauw
JeroenDeDauw merged commit 0d33313 into master Jul 24, 2026
16 checks passed
@JeroenDeDauw
JeroenDeDauw deleted the docs-table-code-formatting branch July 24, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant