[00:32:02] Hi, when upgrading from 1.23 to 1.32 I get the error message: You are missing a required extension to PHP that MediaWiki requires to run. Please install: fileinfo [00:32:53] GuidodB: That's a php extension, not a mediawiki extension [00:33:13] GuidodB: You probably need to install some php package with something like apt [00:35:02] ok because mediawiki has an extension with that name, so that's \not the one [00:36:39] does it? [00:36:55] I will have to ask my provider then, I don't have root access [01:21:55] public static function onBeforePageDisplay( OutputPage &$out, Skin &$skin ) <- is it always good to pass by reference here? or in which case &$out should be $out? thanks [02:29:12] Its basically a hold over from php4 [02:29:35] In php5 it basically never makes sense to pass objects by ref [02:29:54] But we still have old func sigs [02:41:11] php's notion of passing by ref is really weird and counterintuitive anyway [02:44:55] Indeed [02:45:28] I dont like how it can have non local effects even across stack boundries [02:45:32] best I can say is that php pass-by-value is actually passing const *, and pass-by-reference is passing ** [02:45:49] (for those used to C) [02:46:38] not a perfect analogy but it's close [03:12:38] Pellegrino Prevete @tallero posted in Daty Wikidata Editor - https://discourse-mediawiki.wmflabs.org/t/daty-wikidata-editor/1118/1 [04:49:12] Santhosh @Santhosh_lmi posted in Getting 'WrappedString\WrappedString' not found - https://discourse-mediawiki.wmflabs.org/t/getting-wrappedstring-wrappedstring-not-found/1122/1 [07:23:19] Register and looking for me and maybe we will be sex partner ---> http://gg.gg/d0al3 [12:46:36] hi [12:46:54] Skizzerz: thats for the answer [12:47:07] so its not needed then to reference? [14:49:31] Is /query robertparkerx [14:49:33] oshoot [14:49:34] sorry [15:01:16] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @amir1 & @Thiemo_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:51:16] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @amir1 & @Thiemo_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [17:28:58] https://www.mediawiki.org/wiki/Extension:Approved_Revs#Special:ApprovedRevs_page -- I'm trying to mark all articles as approved and I don't understand the answer [17:29:11] "can use the command line script 'ApprovedRevs/maintenance/approveAllPages.php'" [17:34:05] Please can someone help [18:05:12] I figured it out [18:05:16] This place is dead [18:05:26] hi, anyone familiar with a way to count the results in dpl extension? (within the query that shows the results) [18:13:18] moreover, i have two categories and i want to show the pages which exists in both (all pages uses same templates which dynamically decides to which category they should be added). i cant edit the template page to check if they exists in both so add them to new category, or i can use dpl to show pages in both category [18:14:18] but in the last solution (as i know) i cant get page like "category page" and its benefits, like: show the page count near him when watching his parent category page. that possible in some way? [19:39:40] !worstcase [19:39:40] Generally, the worst that can happen is that someone compromises your site, steals your data, deletes it and replaces it with kiddy porn. Then they start a spam service on your server advertising the kiddy porn to twenty million email addresses, daily. Then your home gets raided, you get fired and your wife leaves you. Then you get killed in your sleep by ninjas. [20:13:10] Anyone familiar about the dpl questions? [20:21:42] sorry, DPL is uh, kinda crazy. I don't really understand how it works [21:05:22] Hi, where is the LocalSettings.php supposed to appear during install nowadays? [21:11:29] Anyone? [21:13:40] Please? [21:16:57] GuidodB: Hey! What's up? [21:18:28] Where can I find the LocalSettings.php that I am supposed to move to the root? [21:18:40] GuidodB: It's not created, the installer offers to download it [21:19:10] Except that it doesn't [21:19:17] check if your browser is blocking downloads, or if the download happened automatically and you didn't notice [21:19:28] Will do [21:19:44] the last page of the installation wizard should have a link to re-download it, click on that link [21:20:27] No, not downloaded. I will retry the install [21:21:16] GuidodB: But does the page you're currently on now have a link to re-download it? [21:21:21] As Vulpix mentioned? [21:22:09] hey can i have aside than sysops, bureaucrats, basically Users to require revision approval? [21:22:47] Second try it completely messes up the install process [21:24:00] GuidodB: do you see any PHP warning or error on the page, or similar? [21:24:16] biberao: On mediawiki? [21:24:26] I mean mediawiki.org? [21:25:31] on my mediawiki install [21:25:48] Restarted. There is no option to download anything [21:26:55] "You can now use your wiki" appears [21:29:33] When I click, I get MediaWiki 1.32.0 LocalSettings.php not found. Please complete the installation and download LocalSettings.php. [21:29:45] When I click there, I get back to 1 [21:31:23] did you verify that LocalSettings.php actually exists? [21:32:25] It doesn't [21:32:38] There is no such file anywhere [21:36:45] Is there a clean 1.32 LocalSettings.php somewhere that I can use? [21:37:19] GuidoB: well something is messed up there. Try loading mw-config subdir [21:37:22] If the installer is failing somehow, high chances are that MediaWiki will fail too with LocalSettings.php [21:37:37] Its not just localsettings. Installer does db setup [21:37:42] It worked fine with 1.23 [21:37:52] did you find the link to download LocalSettings.php on the installer? [21:38:01] The db was upgraded without errors [21:38:14] There is no link to download anything [21:39:07] Where and when is this link supposed to appear? [21:40:18] GuidodB: what happened to the localsettings from 1.23 install? [21:40:37] the link should appear on the last page where you have instructions to download and place the LocalSettings.php file on the server [21:40:57] 1.32 can't read it [21:41:07] It gives a thousand syntax errors [21:41:38] Vulpix I get no such page [21:42:05] I'm sent straight to 'now you can use the wiki' [21:42:06] I think something is seriously messed up with your install [21:42:34] You cant regenerate the localsettings if your wiki already exists [21:42:58] OK that's new because I could with 1.23 [21:43:32] Its not new. You can do it if you get rid of your existing db [21:44:19] Well that's that what I intend to do [21:44:58] If you're not upgrading you should be able to just redo the installer [21:45:24] That has always been the case since I started with 1.6 but not his time [21:46:41] The 1.32 installer assumes that LocalSettings.php is already there, it appears [21:47:21] The installer hasnt changed significantly since about 1.15 [21:47:39] This seems rather significant [21:48:06] It should only assume localsettings.php exists if the file is present [21:48:22] The 1.23 installer made a new file, the 1.32 installer doesn't [21:51:23] What your describing is the behaviour of the installer in both 1.23 &1.31 if a LocalSettings.php file already exists [21:52:41] It also describes the 1.32 installer as it currently behaves for me with a LocalSettings.php absent [21:52:54] that is why I came here [21:53:17] otherwise I could just use the wiki ... [21:53:48] Sorry if i came across cross. It was due to something annoying in real life. And i didnt mean to let that leak into the channel :) [21:53:57] ok [21:55:05] GuidodB: just to clarify - do you get to the screen for inserting an upgrade key? [21:55:31] Or is it soley the "you can now use wiki screen"? [21:55:53] Is there a clean LocalSettings.php somewhere? That may be all I need at this point. I can't use my old files because Windows 10's Wordpad makes a mess of them while they were perfect in Windows Vista. [21:56:19] The latter [21:56:30] isn't easier to adapt the existing LocalSettings? [21:56:33] Hmm. Well thats odd [21:56:48] No, 1.32 can't read the old one [21:56:56] Its hard because it depends on db password and options used [21:57:14] I can give you the template used to generate it [21:57:16] I can edit in all those data [21:57:54] If you can, please do, that might help [22:03:13] GuidodB: The template used to generate LocalSettings.php is https://github.com/wikimedia/mediawiki/blob/master/includes/installer/LocalSettingsGenerator.php#L310 [22:04:10] Thanks! [22:04:12] Generally speaking, everything has a default, and you can ommit almost everything if you are ok with the default that comes from DefaultSettings.php [22:04:56] I mostly have to add permissions and such