Page MenuHomePhabricator

Add the type string from Z8 Vue code into the PHP side to show below the page title (currently "ZObject: ZObject")
Open, MediumPublic

Event Timeline

DVrandecic raised the priority of this task from Low to Medium.
DVrandecic moved this task from To triage to Un-phased work on the Abstract Wikipedia team board.

If I understand this correctly, the idea is to show the function signature, for example for Z813 ("empty") the Vue code displays "( list: List ): Boolean" - so we want to place that string somewhere near the top of the page under the title...

Actually currently it always says "ZObject: Z2" - because it's calling $zobject->getZType() and they are all Z2's at that level.

As discussed today the plan is to replace this with a type string in the form of "Label (Zxxx)" in general, and for functions ideally add the signature as shown in the Vue code now.

Change 699055 had a related patch set uploaded (by ArthurPSmith; author: ArthurPSmith):

[mediawiki/extensions/WikiLambda@master] Replace 'ZObject' with type label in header

Change 699055 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectContent: Show type label in header


Still needs the type-specific formatting for Z8s and other types.