Fix NS invert on SpecialNewPages

Follow up: I5c03dc543b910aab27a26a5a223341be50893cf3

Bug: T85145
Change-Id: Ia5cec6db48c3e900ebb07169015e55a2fb72b792
Moved "nowait:" key code to PoolCounter in core

Change-Id: I5286e6c6052289e1107314a04d72703b44a8fbc6
Really allow Extensions to make a new gallery format

Adjust GalleryGetModes call to fit Hooks::run() signature.

Follow up: I33462a8b52502ed76aeb163b66e3704c8618ba23

Change-Id: I916dade31d6d67de4bb82582cc71585e83fec1c9
Merge "Moved "nowait:" key code to PoolCounter in core"