fix bugs in pagination and pagination_rewrite
Merge branch 'eng.local' into master.eng
Merge branch 'master.eng' into cht
Merge branch 'cht' into chs