[01:53:44] hello [04:44:04] there is one commit (which is currently under review). Now I checkout from this topic and make another commit which is dependent on this previous in-review commit. Now there are changes in the previous commit how can I get it in my another branch. Like I know of `git pull --rebase origin branch` but in gerrit branch is treated as topic so how to do [04:44:05] it? [04:51:36] please someone help with the above [17:06:55] when im using visual edtior its not loading it just goes to edit but not pulling up visual edtior is there a way to fix this [17:07:04] I've restored an old wiki database.sql, but it does not show up in my new MW site. [17:07:26] Anyone know how MW accesses the database? [17:08:14] All my old articles seem to be in the 'text' table. [17:08:15] gonna put it this way when i use visual edtior it puts me in reader view how do i fix this [17:08:36] rooter0_: do you have an idea of your old MediaWiki version? [17:09:38] rip [17:10:40] Cocopuff2018: open the error console of your browser (usually bi hitting the F12 key) and reload. Look for any relevant error [17:12:17] rooter0_: do you have an idea of your old MediaWiki version? [17:12:21] arg [17:12:50] I hope it's not the HL [17:13:59] lol [17:16:38] Do you have an idea of your old MediaWiki version? You've to run update.php maintenance script to adapt the schema. To answer your base question, https://www.mediawiki.org/w/index.php?title=Manual:Database_layout/diagram&action=render and https://www.mediawiki.org/wiki/MediaWiki_architecture_document/text/revision_2#Database_and_text_storage [17:18:23] Dereckson: Don't know what version but maybe there's a way I can find out. Great lead, Ty. [17:20:02] https://www.mediawiki.org/wiki/Manual:Update.php explains how to run it, be careful for the output, if it complains about some upgrade (actors migration for example, you'll have something else to fix). Don't delete your old sql dump as long as migration isn't successfully done. [17:21:02] Understand. [17:25:44] Dereckson: Old sql was MySQL dump 10.14 Distrib 5.5.64-MariaDB, for Linux (x86_64) [17:29:46] Agh, having ISP problems... [17:30:06] that's your MariaDB version it seems, not MediaWiki one, so run update.php and see what it says [17:30:23] Will do, Ty. [17:30:48] You can test a setup like your computer --- mosh ---> a remote server --- irssi or weechat ---> IRC [17:34:11] Don't understand. My TCP keeps dropping out. Seems ICMP is unaffected. [17:38:37] q [18:24:59] https://www.mediawiki.org/wiki/Extension:UserGroups [18:25:11] this extension isnt applying any of the changes how do i fix it [18:59:53] Dereckson: # php upgrade.php seems to have gone well: https://paste.ec/paste/RSIkY9xV#ZdD7afOEb4VbGhDbGiDfAcZs1mttUbPAj9Tnba97JUZ [19:01:25] ... but my wiki works just as good as it did before... that is, nothing. https://unofficial-tesla-tech.dark-energy.info/ [19:02:19] rip [19:11:37] Anyone know why restoring an old mysql.sql on a new MW site.... would just show the default MW page? [19:22:10] rooter0_: did you wipe the db first [19:22:20] or import over existing [19:23:02] Imported over existing. [19:23:32] that's likely why [19:23:56] if you're doing an sql import, unless there's good reason, drop everything else first [19:24:22] meh? How can it work with nothing? Or is the idea to just set up the schema then import the data? [19:24:50] If the latter, how does the sql know where to put things in the new schema? [19:24:57] rooter0_: schema too, you can include the schema in a dump [19:25:40] which by default mysqldump includes [19:26:05] RhinosF1: meh? How can it work with nothing? Or is the idea to just set up the schema then import the data? [19:26:13] If the latter, how does the sql know where to put things in the new schema? [19:26:42] rooter0_: mysqldump will include a create database line if you use -A or --databases [19:27:05] no idea about others [19:27:13] but yes, include the schema [19:27:25] Ok so that will sort where things go? [19:28:15] When you say 'include the schema' do you mean drop the database, update, then restore the .sql? [19:28:30] rooter0_: yes, it won't include the drop command by default [19:28:41] stop quitting [19:31:24] rooter0_: drop isn't included by default but the create database / tables should be [19:31:33] depends on how you exported though [19:36:27] Ok I've created the database and tried to upgrade, but it says, "Can not upgrade from versions older than 1.31, please upgrade to that version or later first.". The OS and mariadb are both at the current versions. [19:36:41] ... and there is nothing in the database. [19:37:18] rooter0_: there can't be nothing there [19:37:29] This is concerning: https://unofficial-tesla-tech.dark-energy.info/index.php?title=Main_Page&action=history see main page first edit. And the number of edits: https://unofficial-tesla-tech.dark-energy.info/index.php?title=Special:Statistics . This means the backup was made just after the wiki was installed, it contains no edits [19:37:30] and what version are you restoring [19:37:46] you should use the same version of mediawiki [19:38:04] Vulpix: i get a fatal error [19:38:28] Table 'unofficialTT.l10n_cache' doesn't exist [19:38:38] But you said that the reason the upgrade didn't change my wiki was because the database was populated. [19:38:40] I get that too. That message was written several minutes ago, and I was waiting rooter0_ to come back after constantly leaving [19:39:22] (I have a terrible ISP problem, which I'm trying to solve) [19:39:51] rooter0_: i said the reason your restore didn't work was that [19:40:05] what do you actually want to do [19:40:17] So you're saying restore my old database?MySQL dump 10.14 Distrib 5.5.64-MariaDB, for Linux (x86_64) [19:40:19] this feels like an XY problem [19:40:35] I want to restore this old wiki and make it live again. [19:40:55] rooter0_: do you know what mediawiki version it was created with [19:41:03] well for not with [19:41:11] No. It as around 2021. [19:41:25] rooter0_: go back to 1.31 then [19:41:29] first [19:41:33] run upgrade.php [19:41:47] then you can try on a supported mediawiki version, ideally 1.39 [19:43:36] Ugh [19:43:46] Confused. [19:44:13] rooter0_: your database is only good for the mediawiki version it was made for [19:44:34] * RhinosF1 gives up [19:51:01] Number of edits might be zero because I rebuilt the database from a sql dump. [19:52:07] Well there's just not enough info in the instructions. [19:52:19] if the sql dump was taken with mysqldump, it would restore the database with the same data it had when the backup was done, containing all the edits. That doesn't seem to be the case here [19:57:30] Ok, I guess I'm too stupid to run mediawiki. [21:06:13] (also, at the current state of the wiki, rooter neeeds first to reinstall extensions, like UserMerge) [21:06:34] (or if not needed anymore, remove them from config) [21:36:01] Well, to upgrade my old database dump, I need MW 1.31. And to do the actual upgrade I need the Math extension for 1.31. But I can't find it anywhere. [22:37:28] b [22:43:14] c [22:47:42] d