[11:39:50] Hi. I'm having a problem with a wiki. I have reverted the database and the /var/www back to how it was before I started toying around with how to make Templat:Multiple image, yet it somehow causes just the text '{{#invoke:Multiple image|render}}{{documentation}}' to appear in a page I'm trying to edit. One time I can edit my log page ok, but on the 2nd edit that pops [11:39:51] up [11:43:38] am I missing something... I thought revert the whole /var/www/wikistudy and the database would return the wiki to pre-tinkering-around-with-multiple-images-template. I don't get what's happening [11:43:53] maybe I should restart memcached? [11:46:06] caching could be in play, indeed [11:47:46] starting memcached did not help with the issue [11:49:30] After the revert to old db and directory I am able to edit https://wikistudy.byjuho.fi/regarding/User:Jukeboksi/Log/2021 _one_ time, after that it starts hallucinating the wiki should have Module:Multiple_image [11:50:41] Are you sure your backup is from before you started making any changes? [11:51:41] positive. backup is from 2021-03-23 and my intrawiki notes showed I messed around with the Template:Multiple image on 2021-03-31 [11:52:32] I'm guessing you don't have any caches infront of mediawiki (nginx/varnish/squid etc) either? [11:52:44] no, just memcached [11:53:20] well, it's not hallucinating... [11:53:21] https://wikistudy.byjuho.fi/w/index.php?title=User:Jukeboksi/Log/2021&action=edit [11:53:24] it's clearly there in the page text [11:53:40] https://wikistudy.byjuho.fi/w/index.php?title=User%3AJukeboksi%2FLog%2F2021&type=revision&diff=4713&oldid=4712 [11:53:43] that is not the true source text of the page [11:53:57] How did you restore the database backup? [11:54:50] dumped on backupserver with mysqldump and loaded on target server with mysql [11:56:08] Every edit causes the complete contents of the page to be replaced with that text, eventhough it looks just fine in preview [11:58:42] Did you delete the database before importing again? [11:59:12] just came to think of that same thing... that's prlly what's wrong. [12:00:23] I think it would explain it [12:00:36] and would explain why you're getting suddenly shown random revisions from that previous work [12:00:52] mediawiki is probably silently failling to insert rows that already exist, and results in those being shown [12:01:10] which I admit isn't the best "failure" mode... [12:04:09] * Reedy thinks about how to formulate this into an actionable bug report [12:08:54] https://phabricator.wikimedia.org/T279231 [12:12:13] Thanks Reedy for writing a ticket. Deleting the db before loading the backup into it didn't change the situation [12:12:54] I... don't believe that [12:13:00] Did you restart memcached again? [12:13:04] yes [12:23:49] It definitely doesn't sound like the deleting the database was done properly [12:34:00] drop database wikistudy; is what I used [12:36:22] if that actually suceeded, those rows don't just appear back from nowhere [12:36:38] now I restored a backup from 2021-03-07 and the problem seems to have gone away. I think this may have been due to not deleting the database before loading the new version in. [12:38:46] while this shouldn't be a supported use case, MW is definitely handling it badly [13:18:02] so for the future: drop the databases on the backup verification server before loading new set in? to avoid any previously backupped tables from lingering on [15:54:11] I'm trying to figure out an error and this is an example: why does https://en.wikipedia.org/wiki/Talk:X:Talk work but https://en.wikipedia.org/wiki/Talk:D:Talk throw a "Bad title" error? [15:54:25] what's the difference between the "D" and the "X" letters that one of them gives an error but the other doesn't? [16:00:16] Reception123: d: is an interwiki to wikidata, x is not, and I'd guess it's because the mainspace name "D:Talk" would not be valid [16:02:03] Majavah: oh, that makes sense, thanks [18:20:54] Hi, has anyone encountered this issue before? https://www.mediawiki.org/wiki/Topic:W5lgiqgfoovv4aeg [18:21:26] (apologies if this isn't allowed, but it's been a while) [18:22:27] Thanks in adcance. [18:22:29] *advance. [18:23:00] There's a task somewhere [18:23:16] https://phabricator.wikimedia.org/T279203 [18:23:29] Curl error is different [18:23:33] Weird though [18:52:32] RhinosF1: indeed, and that's not something I've seen in the internet