A_Jelly_Doughnut wrote: ↑Mon Jan 09, 2017 10:03 pm
BBCodes are automatically reparsed when upgrading to 3.2, so maybe it won't be a problem in the end.
I'm not sure if the BBCode re-parsing for the 3.2 updater requires that the BBCodes have been properly parsed in the first place, or if it treats the post as raw text.
As I understand it, reparsing is done in small batches through a cron and not during the upgrade. With literary a million posts, that would take quite long. I took the
reparser_resume
info from the
config_text
table (unserialized):
Code: Select all
array (
'text_reparser.contact_admin_info' =>
array (
'range-min' => 1,
'range-max' => 0,
'range-size' => 100,
),
'text_reparser.forum_description' =>
array (
'range-min' => 1,
'range-max' => 0,
'range-size' => 100,
),
'text_reparser.forum_rules' =>
array (
'range-min' => 1,
'range-max' => 0,
'range-size' => 100,
),
'text_reparser.group_description' =>
array (
'range-min' => 1,
'range-max' => 0,
'range-size' => 100,
),
'text_reparser.poll_title' =>
array (
'range-min' => 1,
'range-max' => 200361,
'range-size' => 100,
),
'text_reparser.user_signature' =>
array (
'range-min' => 1,
'range-max' => 76154,
'range-size' => 100,
),
'text_reparser.post_text' =>
array (
'range-min' => 1,
'range-max' => 1073736,
'range-size' => 100,
),
'text_reparser.pm_text' =>
array (
'range-min' => 1,
'range-max' => 57194,
'range-size' => 100,
),
)
As I understand, each call to cron.php does 100 reparsing actions, and the cron_interval is set to 10. That would mean about 10000 steps. with 10 seconds between each step at minimum (since the cron depends on visitors). That would take weeks. Isn't there a way to speed this up, of maybe even force the reparsing without use of the cron, so I can run it after the conversion process? I would rather take the forum a day completely offline to get things straight than having an ugly forum for weeks (and no doubt dozens of users pointing out unreparsed posts).
Perhaps you could try a dummy IPB install with a handful of posts to test this.
Well, I've done the process several times now (using different approaches) on my local server. Trust me, posts are ugly.
I had the hope that the reparser would take care of this, but unfortunately not right now.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2
Like my work?
Buy me a coffee to keep it coming.
-Don't PM me for support-