Page MenuHomePhabricator

Use a $1 in the search box text to round the stat
Closed, InvalidPublic

Description

on timeless-search-placeholder message, we should replace the {{THING}} with a $1 that is actually calculated to be a real approximate (rounded) number, at which point the 'approximately' should be inferable anyway

Event Timeline

Per the prototype: use a placeholder string with a specified number of articles, but:

  • Actually round the number ($1)
  • Fall back to default (short) placeholder string at lower resolutions (how? js?)

To do this: set 'placeholder' => $this->getMsg( 'timeless-search-placeholder' )->text() in makeSearchInput call, except with a $1 calculated per above... and the fallback?

We've evidently ditched showing the 'search blah articles' stat regardless, so this sadly no longer applies.