Page MenuHomePhabricator

Add all of the Index fields to the Page: namespace so that they can be used to create community specific gadgets
Closed, ResolvedPublic

Description

a minimal viable solution here is to extend T255345 to add the other index parameters to Pages via mw.config, then you just need to add a field to [[MediaWiki:Proofreadpage index data config]] and you can process that with JS however you like.

Per T278179#6941160

Event Timeline

Change 675277 had a related patch set uploaded (by Sohom Datta; author: Sohom Datta):
[mediawiki/extensions/ProofreadPage@master] Provide access to all index fields in mw.config in the Page: namespace

https://gerrit.wikimedia.org/r/675277

Change 675277 merged by jenkins-bot:

[mediawiki/extensions/ProofreadPage@master] Provide access to index fields in mw.config in the Page: namespace

https://gerrit.wikimedia.org/r/675277

This is now working (note that this includes only fields marked js: true in the index data config, so that has to be set locally as needed).

Docs updated: https://www.mediawiki.org/wiki/Extension:Proofread_Page/Index_data_configuration