Skip to content

update-indexes: RC and caching

Tim Starling requested to merge work/tstarling/update-indexes into main
  • Use recentchanges to accelerate high-frequency index updates
  • Cache wish text in the local database and use it when building indexes
  • Fix date parsing
  • Have WishTemplate.getWish() return null on error instead of all-defaults, so that the bot can skip non-wish pages with the same title prefix as wish pages.
  • Have Util.getWishIndexRow() supply a default status, since the template argument default will not work when the status is set to an empty string.
  • In WishlistIntake, set the created parameter to a date, rather than a full user signature.
  • Add npm scripts for DB installation and reinstallation
  • Add HTTP request and SQL query debug logging.

Bug: T361067

Edited by Tim Starling

Merge request reports