HomePhabricator

Fix metadataonly parameter and use it in JS

Description

Fix metadataonly parameter and use it in JS

Without declaring it as boolean, getParameter would not return a
boolean.

We don't really need to detect if it's omitted. Omitted and
explicitly false will both cause a backwards-compatibility problem,
so use an appropriate message that covers both.

Use this in JS so we get the benefits before removing it.

Bug: T98534
Change-Id: I97e194e2e1ed0ec5a115a847119fd3d8e7e6bbde
(cherry picked from commit 85fef577cc3825efe0a798ba458ded7a8e95a542)

Details