THIS IS NOT A RELEASE YET
=== Changes since MediaWiki 1.31.2 ===
+* (T202211) Fix SQLite patch-(image|page|template)links-fix-pk.sql column order.
== MediaWiki 1.31.2 ==
PRIMARY KEY (pl_from,pl_namespace,pl_title)
) /*$wgDBTableOptions*/;
-INSERT INTO /*_*/pagelinks_tmp
- SELECT * FROM /*_*/pagelinks;
+INSERT INTO /*_*/pagelinks_tmp (pl_from, pl_from_namespace, pl_namespace, pl_title)
+ SELECT pl_from, pl_from_namespace, pl_namespace, pl_title FROM /*_*/pagelinks;
DROP TABLE /*_*/pagelinks;
PRIMARY KEY (tl_from,tl_namespace,tl_title)
) /*$wgDBTableOptions*/;
-INSERT INTO /*_*/templatelinks_tmp
- SELECT * FROM /*_*/templatelinks;
+INSERT INTO /*_*/templatelinks_tmp (tl_from, tl_from_namespace, tl_namespace, tl_title)
+ SELECT tl_from, tl_from_namespace, tl_namespace, tl_title FROM /*_*/templatelinks;
DROP TABLE /*_*/templatelinks;