[10:06:53] Hi. I'm getting a warning when I try to run rubuildall.php. "PHP Warning: failed to mkdir "D:home\site\wwwroot\images\temp" mode 0777 [Called from wfMkdirParents in D:\home\site\wwwroot\includes\GlobalFunctions.php at line 2053] in D:\home\site\wwwroot\includes\debug\MWDebug.php on line 309". I am using an Azure web server and can't seem to change [10:06:54] folder permissions despite being listed as owner. Do you think this warning is because of folder permissions? [10:07:34] Commonly its because the user from the commandline is different from the user your webserver runs as [10:07:57] On linux it is usually advised to run the command as: sudo -u www-data php rebuildAll.php [10:08:08] (Assuming that the webserver runs as the www-data user) [10:08:15] I don't know if there is an equivalent for windows [10:08:40] If they are running as different users, you definitely don't want to change the owner of the folder, because then the webserver part will break [10:11:17] I wish I could use the Linux terminal and try that. Unfortunately it only has the sandbox environment for the Linux commands (can't use sudo). I'll see if there's an equivalent for windows [10:12:57] Do you know how I can see if they run as different users? I gotta admit I don't know much about this stuff, especially the Azure webapp part [10:20:56] I don't know much about windows [10:21:16] Everything I know about windows stopped being relavent in the mid 2000's [10:21:17] It seems there are restrictions on the webapp (https://stackoverflow.com/questions/47926121/run-azure-cloud-kudu-with-admin-rights). Maybe I have to upgrade to a virtual machine to get the control I want/need [10:21:32] But I could probably get rid of spyware on your windows 98 PC ;) [10:21:45] Hahaha [10:41:33] Am I doing this wrong when trying to set folder permissions with icacls? https://dpaste.org/YWAh [11:08:10] hey [11:08:48] is it possible to create a big search bar with all the functionality im getting at special page:search ? [11:09:33] i wanna keep search experience as my core to the end users [11:10:12] You could make a custom skin with a larger search bar [11:10:29] Or you can use inputbox to put a search bar on a page (of customizable size) [11:10:34] !e InputBox | kathi1494 [11:10:34] kathi1494: https://www.mediawiki.org/wiki/Extension:InputBox_ [11:11:06] However, it doesn't include the advanced features, you would probably have to do something extra to get the advanced features part of special:Search (E.g. namespace selection) on other pages [11:12:05] tried with input box, it's not showing as auto suggestion [11:12:26] oh hmm [11:12:42] Maybe there is a bug somewhere. Seems like that's something it should do [11:12:52] i just wanna search bar with auto suggestion, doesn't care about namespace [11:13:42] You could file a bug against inputbox, but no clue if anyone would fix it anytime soon [11:13:52] i'm trying to recreate the experience what https://www.wikipedia.org/ homepage gives [11:14:18] sure, will file a bug at their github repo [11:15:08] kathi1494: Use phabricator.wikimedia.org not github [11:15:14] The github repos are unofficial [11:15:42] bawolff search experience, is it possible by changing the code of mediawiki ? [11:16:21] To fix the inputbox, it would be possible by changing the code in extensions/InputBox [11:16:24] sure, i'll use phabricator itself, [11:16:47] If you want to do it just locally, you may be able to do it from the page MediaWiki:Common.js if you know whatever the magic js incantation is [11:18:10] i'll try playing with common.js [11:19:33] any way without using inputbox, is it possible to directly change the code of mediawiki to show search bar in main page with auto suggestion ? [11:19:47] have you tried that ? [11:21:33] Its possible to do anything given enough effort. At some point though it sounds like you want to reinvent inputbox [11:25:30] let me check more on inputbox, how it hows, then let's see [11:25:44] thanks for the input [16:38:23] Hello there! [16:50:43] Hello there! [16:51:00] hi [16:51:08] I have the following error on my mediawiki site: [16:51:19] PHP Warning: Error while sending QUERY packet. PID=855284 in /home1/logosneg/public_html/en/w/includes/libs/rdbms/database/DatabaseMysqli.php on line 46 [16:52:37] An agent from Bluehost wrote me: [16:52:47] "Regarding the below error that you are receiving, yes it is generating due to the limitation set for size of MySQL data on our server. PHP Warning: Error while sending QUERY packet. PID=855284 in /home1/logosneg/public_html/en/w/includes/libs/rdbms/database/DatabaseMysqli.php on line 46In order to resolve this error message, either you need to [16:52:47] break your query in small group of records or max_allowed_packet value needs to be changed.Upon checking further, I could see that 'max_allowed_packet' size is currently set with the value '256M' on our server.I regret to inform you that, we are unable to update the "max_allowed_packet" in MySQL's settings, since this is a global setting for MySQL [16:52:48] on shared server. Should we elect to change this setting on your account it could negatively affect multiple other customers on your shared server.To be able to configure a 'max_allowed_packet' size in your MySQL database as per the requirement of your website and if you would like more control and customization of your hosting experience, then it [16:52:48] is strongly recommended you to consider VPS/Dedicated server." [16:58:28] Unfortrunately, I don't have enough cash to upgrade my hosting account to VPS. [16:58:29] I know exactly the module that's making the big request; it's Module:CS1/configuration file, I got it from wikipedia [17:05:35] what ws the question [17:06:31] in your situation, get rid of the plugin [17:32:47] Anyone know how tables are rendered? Something in my webserver security is blocking the table border. [17:39:51] what do you mean by blocking [17:44:47] harmaahylje: The border does not show. [17:56:31] Anyone know whether the table border is rendered through javasctipt, CSS, or cgi? [17:59:19] quantum: CSS probably [18:00:03] I don't see how Apache security could prevent CSS. [18:07:49] "Thanks for contacting Fandom Support. We're currently in the process of updating the site to MediaWiki 1.33" [18:07:54] * Nemo_bis mindblown [18:10:08] Nemo_bis: They have been for a while [18:11:10] Reedy: not too long though, 1.33 is less than 1 year old. :) [18:11:22] Well, ok [18:11:29] They've been attempting to upgrade from their current version for a while :P [18:13:22] "We currently have an internal test bed running Fandom on MediaWiki 1.33" https://community.fandom.com/wiki/User_blog:MisterWoodhouse/The_first_specifics_on_the_Unified_Community_Platform [18:13:38] This is from October 2019 [18:14:39] Apparently being demoed to users https://yandere-simulator.fandom.com/wiki/User_blog:Jackboog21/Community_Connect_Blog_3_(UCP) [18:15:22] I wonder if the merge with Gamepedia improved anything. Gamepedia was working on moving towards translatewiki.net before being acquired... [18:39:41] are there any particular questions you have about the F/G merger or the update? [19:47:23] DSquirrelGM: I could ask a hundred questions but I doubt it would be useful :) [21:52:52] Nemo_bis: my uneducated guess is that the Gamepedia thing is what set stuff in motion [21:55:06] fixing the whole issue with user-staff interactions, and technical experience on handling updates, were the main reasons for the acquisition [21:56:04] and most of the Gamepedia staff took over primary roles for that, for the most part [21:59:09] when the merger was first announced, most of us on the Gamepedia side were quite skeptical and apprehensive about the whole situation [22:01:53] as I noted in my user page, Gamepedia is where I'm more active [22:11:16] legoktm: it does feel like it... but then maybe it was the opposite "oh we're migrating to MediaWiki 1.33, is there any MediaWiki 1.33 wiki farm we can buy?" (just kidding) [22:12:04] DSquirrelGM: Gamepedia staff took charge of "community management" things at Wikia? [22:12:44] among other things, yes [22:13:19] it certainly is interesting how the HydraWiki platform got (mostly) open-sourced [22:13:29] at least the more user-facing parts of it [22:13:36] it sure would be lovely if Wikia could just contribute back to upstream :) [22:14:13] gamepedia has even considered moving a hundred extensions to gerrit IIRC [22:14:52] I was pretty skeptical as well although the project I was worried about had nothing at all to do with wikis. It pretty much just stayed on course as well though and the acquisition didn't seem to impact it much/at all [22:15:33] they're concerned with pushing fixes sometimes, but not inclined to take over maintenance on extensions in general [22:17:02] ashley: is it all here? https://gitlab.com/hydrawiki [22:17:50] i have a 1.30.0 install using mysql that i want to migrate elsewhere and to sqlite. having a hell of a time. any good resources on doing something like that? [22:18:34] (I guess they're lucky that the more famous "Hydra" renamed to Samvera https://en.wikipedia.org/wiki/Samvera ) [22:19:08] jdv79: what kind of strategies have you considered and how much data do you want to keep^? [22:19:10] jdv79: why sqlite? [22:19:11] I should mention I'm NOT one of the staff at the company, but part of some of the volunteer administrative support groups [22:19:18] DSquirrelGM: yeah got it [22:19:39] sqlite because it doesn't get a lot of traffic and its easier to not need a mysql server at the dest [22:19:58] i would like to keep "most" of the data:) [22:20:11] I ask because oftentime it's easier to export and reimport https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [22:20:13] jdv79: define "not a lot of traffic" -- will you have more than 1 person trying to use the site simultaneously? [22:20:24] if yes, sqlite is the wrong choice for you [22:20:26] Skizzerz: not likely [22:20:35] its just a internal wiki for a small dev grouop [22:21:03] Nemo_bis's suggestion will keep article data and history but wipe users, group memberships, etc. [22:21:05] a dev group who never ever has meetings or other occasions where the wiki is useful at the same time for the group? [22:21:08] it will likely be the easiest method [22:21:33] the simplicity of sqlite is sometimes overstated, as Skizzerz hints :) [22:22:15] if you want to keep the user table and other metadata, you're largely on your own. The schemas are compatible with each other for the most part but you'll likely run into challenges requiring manual SQL fiddling to resolve [22:22:29] certain extensions may not be compatible with sqlite at all [22:22:58] sqlite is mostly supported just to aid with internal mediawiki development and testing, it's not really meant for production use [22:27:46] the approach for that would be to use mysqldump to export the old data, then fiddling with the generated .sql file to get it into sqlite-compatible syntax, then importing it into sqlite [22:28:11] yeah, did that but got errors:( [22:29:29] ok, i'll keep poking around. thanks. [22:31:05] you'll get errors if you try to run it as-is because mysql and sqlite support different flavors of SQL. So you'll need to massage the file into something sqlite understands [22:32:31] the "easiest" way to do that is to run it, see the error, fix it, delete your sqlite database, then repeat until it works [22:32:51] i converted the db to sqlite and it didn't throw any db errors [22:33:08] it threw some random lang/localization cache type errors [22:33:44] after you import the db, the best thing to do after that is grab a fresh copy of the mediawiki files (of the same or any later version), extract them, and run the installer -- pointing it at the existing sqlite database [22:33:58] it'll detect the db, upgrade it if necessary, and generate a fresh LocalSettings.php for you that's compatible with that install [22:34:13] you can then port over any LocalSettings customizations as needed [22:35:04] what i did was get the docker container for the version of the old one, 1.30.0, got that working with sqlite and then swapped in the sqlite db from the old one [22:35:18] maybe i should try a newer version [22:35:42] I would suggest my method instead, as the installer would be able to repair some issues with the db [22:37:03] (although running update.php would have much the same effect) [22:37:16] i ran update and it errored out [22:38:17] what error? [22:38:51] how is your method different from mine exactly? i don't konw how to import a db into a non-existent instance. i'm a bit confused. [22:39:04] something about a syntax error on "cluster" [22:39:07] my method is equivalent to running update.php on the transformed db [22:39:36] the updater does numerous checks to ensure that the schema is what it expects it to be [22:39:47] and if those checks fail, it indicates that it was not transformed from mysql correctly [22:40:47] your method would also generate a fresh LocalSettings.php which is also important because it's good to ensure no mysql-specific cruft remains (or anything else that is specific to your old environment) [22:41:07] it appears the error is from a sqlite file in mw... [22:41:42] I would try a more recent version of mw then [22:41:58] https://nopaste.xyz/?fbd7af1ebe54c4d6#Xlk5nPWgHom8hWOSq8PUtEgdWMdKCzAl0XQmp4HKZ4Y= [22:42:15] i tried to google the error and didn't get too far [22:43:15] jdv79: grab a more recent version of mw [22:43:21] ok [22:43:42] then run update.php again [22:58:56] Nemo_bis: like 90-95% is, but not 100%; some extensions (HydraAuth, Roadblock) are proprietary; additionally I don't know how https://gitlab.com/hydrawiki/hydra/-/blob/master/extensions.json is (supposed to be) used and thus I don't know the answer to the question "how do you set up a HydraWiki instance on localhost?" but a lot of source is there, incl. skins and the slightly customized MW core, which is neat :) [23:02:32] ashley: thanks [23:02:46] How are their core patches marked? [23:04:27] Nemo_bis: judging by https://gitlab.com/hydrawiki/hydra/-/commit/7c4a1879bb3a049275a0056676850b553171afb2 (for example) ...they're not :-/ [23:04:50] Uh have we found something Wikia was better at? ;-) [23:05:33] hah, hardly, I'd say [23:06:14] sure, wikia's got some stuff marked as "wikia patch" or "wikia hack" or "wikia change" (see where I'm going with this?) but then again they have a *lot* of stuff that differs from vanilla 1.19 and is not marked in any way, shape or form [23:06:47] tl,dr: everyone needs to learn to mark their core hacks, or better yet, try to work hard to obsolete those core hacks by submitting patches to upstream! [23:08:56] "but upstream won't accept my 500000 extra hooks that I definitely need to do this thing" [23:12:24] well, total freedom from core hacks is like the Christian concept of freedom from sin...but there's a definite difference between trying and not even trying! (I'm looking at you, wikiHow...) [23:16:33] Hello [23:16:51] Have telegram group? [23:18:02] SamiWey: I don't think so [23:18:18] SamiWey: are you running mediawiki? looking for help with something? [23:18:46] yes, wait [23:19:20] Are you BaWolf? [23:19:30] no [23:20:33] I just installed Nuke extension and when i need delete in mass this appears [23:21:09] [11cceb0a4df1605266a8c64e] /index.php?title-Especial:Eliminar Borrado&action-delete Wikimedia-Rdbms-DBQueryError de la línea 1603 de /home/(user)/public_html/includes/libs/rdbms/database/Database.php: Se ha un error de base de datos de datos de datos de datos datos datos datos. ¿Olvidó el ejecutaron's database schema updater after [23:21:09] upgrading?Query: DELETE FROM `mwxd_approved_revs` WHERE page_id = '199' [23:21:10] Wikimedia-Rdbms-Database->getQueryExceptionAndLog(string, integer, string, string) [23:21:12] Backtrace: [23:21:12] .3 /home//public_html/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia-Rdbms-Database->delete(string, string) [23:21:14] Wikimedia\Rdbms\DBConnRef->delete(string, array) [23:23:18] Skizzerz: now i get https://nopaste.xyz/?bed9b8f2e758c208#dC/Or42SVS57pWdfWDI10rIU3gn9AWzQpoTvVVnTgqU= [23:23:34] should i just add that table somehow and retry? [23:27:02] nvm - my mistake