Abstract getCurrentPage for external