I'm trying to update a page for a MediaWiki database running MW version 1.26.4. The MediaWiki is currenty suffering unexplained Internal Server Errors, so I am trying to perform an end-around by updating the database directly.
I logged into the database with the proper credentials. I dumped the table of interest and I see the row I want to update:
MariaDB [my_wiki]> select * from wikicryptopp_page;
+---------+----------------+---------------------------------------------------------------------------+-------------------+------------------+-------------+--------------------+----------------+-------------+----------+--------------------+--------------------+-----------+
| page_id | page_namespace | page_title | page_restrictions | page_is_redirect | page_is_new | page_random | page_touched | page_latest | page_len | page_content_model | page_links_updated | page_lang |
+---------+----------------+---------------------------------------------------------------------------+-------------------+------------------+-------------+--------------------+----------------+-------------+----------+--------------------+--------------------+-----------+
| 1 | 0 | Main_Page | | 0 | 0 | 0.161024148737 | 20161011215919 | 13853 | 3571 | wikitext | 20161011215919 | NULL |
...
| 3720 | 0 | GNUmakefile | | 0 | 0 | 0.792691625226 | 20161030095525 | 13941 | 36528 | wikitext | 20161030095525 | NULL |
...
I know exactly where the insertion should occur, and I have the text I want to insert. The Page Title is GNUmakefile, and the Page ID is 3720.
The text is large at 36+ KB, and its sitting on the filesystem in a text file. How do I manually insert the text into existing table row?
text
table, notpage
.