Fix duplicated page have same display order as original
Merge pull request #1823 from hissy/copy-page

Fix duplicated page have same display order as original
Added datadict for the DB_TYPE 'mysqli'.
Merge pull request #1826 from ahukkanen/mysqli_fix

Added datadict for the DB_TYPE 'mysqli'.