Avoid Database::tableName in WikiExporter
authorUmherirrender <umherirrender_de.wp@web.de>
Wed, 4 Sep 2019 16:11:46 +0000 (18:11 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Thu, 12 Sep 2019 18:06:07 +0000 (20:06 +0200)
commit5a4d30ed09e44a10cd6fce5f6b03a864d6a253f6
treef56701e0eac60700dbb51811b1cab0f3ec3edae8
parenta389d94551f1ece9112c66bf8a53f66d3c15c0b2
Avoid Database::tableName in WikiExporter

Using * in select is not the prefered way.
List all needed columns to make the use visible and to avoid issues when
new fields gets added with big data.
As each column name is unique there is no need to get the table name for
prefixing the columns

The following columns no longer selected:
- log_user_text -> not used due to use of ActorMigration class
- log_actor -> Add by ActorMigration class
- log_comment_id -> Added by CommentStore
- log_page -> Unused in the writer, the ns/title pair is used instead

Move the arrays out of the loop, because there are not depending on
values changing in the loop

Change-Id: I140641b7ed75bc2b8db2e7612020d668f1be663b
includes/export/WikiExporter.php