[10:06:28] Hello, I am running into a problem of having PCRE version higher than 8.33, on MediaWiki 1.19.0. Does anyone have advice on how to get around this without upgrading MediaWiki? [10:06:54] https://phabricator.wikimedia.org/T60640 [10:36:04] Hey all, I am trying to confirmEdit to work on my mediaWiki 1.27.0 install but when I load the extension I get an error about renaming a file in the tmp directory. I did some googling and it appears that the error is do to permissions on the tmp directory and so I changed the $wgTmpDirectory variable to point within /images/tmp/ and fixed the permissions on that file to allow it to read/write but I am still getting the error [10:45:06] Well I solved my issue with upgrading to 1.19.24. [14:21:56] Does mediawiki do somekind of random caching? I am experiencing weird issues, I edit pages and nothing happens. And then suddenly a while later you refresh page without any changes and everything changes [14:22:15] harmaahylje: are you referring to an wiki hosted by Wikimedia? [14:22:50] harmaahylje, which MediaWiki version do you run on your server? [14:24:03] andre__: 1.19.24 [14:24:23] Zppix: nope, running a wiki in my dev environment [14:24:37] data loaded from a production version [14:26:23] harmaahylje: You may want to update to a supported version that is actually not full of security issues. See https://www.mediawiki.org/wiki/Download and https://www.mediawiki.org/wiki/Manual:Upgrading [14:27:07] It is not my application, cannot do anything about it [14:27:33] I know about the issues and have reported them to the one hosting it [14:30:22] Well anyway, even restarting the web server did not make the changes happen on the site. But somehow magically they seem to change after some time [14:30:32] according to the changes made to the template [14:30:50] impossible to develope anything though, if you can't see the changes [14:43:29] Hey all, I am trying to confirmEdit to work on my mediaWiki 1.27.0 install but when I load the extension I get an error about renaming a file in the tmp directory. I did some googling and it appears that the error is do to permissions on the tmp directory and so I changed the $wgTmpDirectory variable to point within /images/tmp/ and fixed the permissions on that file to allow it to read/write but I am still getting the error [14:51:50] PonglesEsquire: put the error messages in a pastebin [14:53:42] What permissions the directory have? [14:53:44] Looks near identical to the one on the ConfirmEdit wiki page but I don't get how to fix it https://pastebin.com/xdFBJtxE [14:54:02] should be 777 at the moment as I was annoyed at it not working [14:55:29] wait no, it's not confirmedit page I am thinking of [14:55:46] it's the wgTmpDirectory page [14:57:10] Right now I have wpTmpDirectory set to $wgTempDirectory = "{$wgUploadDirectory}/tmp"; [14:58:43] oh fuck, spelt the variable wrong [14:59:20] well, fixed the spelling and still get the errors [15:00:29] ah ha, found the problem the $wgUploadDirectory variable wasn't set [17:18:48] Is this the right place to ask for help building the luasandbox for the scribunto extension? [17:20:14] sure? [17:20:22] what issues are you having with it [17:21:17] dream_guest: ^ [17:21:26] also what OS are you running [17:21:46] (that is, what OS is your mediawiki install running on, that you are needing to build the luasandbox extension for it) [17:28:10] templeOS [17:58:31] Skizzerz: the host target is x86_64-pc-linux-gnu but I'm not sure what flavor. I'm on dreamhost hosting [17:59:04] dream_guest: what's cat /etc/issue say? [17:59:18] normally that contains the OS in use on the system :P [18:00:21] Ubuntu 12.04.5 LTS \n \l [18:01:01] the issue is that it complains it can't find any version of lua and mentions pkg-config (and pkg-config doesn't know about any lua packages) [18:01:10] yeowch that's a very OLD Ubuntu o.O [18:01:13] that dies in a couple months too [18:02:35] dream_guest: run this: sudo apt-get install lua5.2 liblua liblua5.2-0 [18:02:37] oops [18:02:40] I'm guessing that the lua dev package is not installed, but I don't have sudo access to install it [18:02:40] dream_guest: run this: sudo apt-get install lua5.2 liblua5.2-0 [18:02:53] dream_guest: ah, well, if you don't have the ability to install packages on the system then you need to talk to the host [18:02:59] dream_guest: or give up [18:03:04] because it needs Lua to build [18:03:07] dream_guest: Your operating system is supported for exactly another seven days. I guess you are aware of that? [18:03:08] lua5.1 is installed for sure [18:03:20] dream_guest: also, fwiw, your OS is supported for exactly 7 days [18:03:23] i'd see if they can update it for you [18:03:26] andre__: I'm on shared hosting. I have no control over that [18:03:27] since you don't have sudo access. [18:03:28] dream_guest: There is not much sense to fiddle with a system that is basically dead [18:03:33] dream_guest: go get a new system [18:03:45] if the shared host isn't going to keep you updated you should probably abandon all hope now [18:03:51] (or a hosting service that cares about your safety) [18:03:59] hell I'd even give you space on a server, one I keep up to date, if I had a server to spare :P [18:04:11] * teward has all his servers updating automatically daily with security updates. [18:04:25] (and that's at least 32 servers AND THE COUNT KEEPS RISING) [18:07:32] dream_guest: so you have two options: (1) talk to dreamhost and see if they can get the requisites installed, and then update their systems, or (2) go to a different provider who will have you on ***more secure infrastructure*** [18:10:38] is there a way to check which packages have been installed (such as via apt-get) without root privileges? I know there is a lua5.1 executable but not sure about liblua [18:12:42] a combination of grep and dpkg maybe? [18:16:28] dream_guest: apt-cache info pkgname should show you if a package is installed without needing root iirc [18:16:56] in any case, if you cannot install new packages, then luasandbox isn't going to work well for you. Scribunto ships with standalone lua binaries so you should still be able to use luastandalone [18:18:36] scribunto works with standalone, both the packaged binaries and the system ones [18:19:15] I can build packages and install them into (for ex) $home/local, I just can't install things in system folders [19:00:06] Hi there. I've got someone who is in my office 2 times a week and we have an internal mediawiki instance. Is there a way for him to be able to create content offline while not in the office and easily import it when he is on location? [19:03:58] mr_pinc: Doesn't VPN access sound like a more sustainable solution? [19:04:31] andre_: this network is completely isolated and does not have any external endpoint [19:04:39] https://meta.wikimedia.org/wiki/Help:Import [19:04:52] and maybe https://www.mediawiki.org/wiki/Manual:Importing_external_content [19:05:12] I think hexmode was working on some sort of work offline and then import later thing [19:07:12] Well the import could work - https://meta.wikimedia.org/wiki/Help:Export - is blank tho :P [19:08:03] no, it redirects. [19:08:38] Ah redirects off. thank you [19:27:44] Reedy: can this be closed https://phabricator.wikimedia.org/T69758 ? [20:07:25] matanya: It still has T69772 for MarkAsHelpful open. [20:07:26] T69772: Add UserMerge support to MarkAsHelpful - https://phabricator.wikimedia.org/T69772 [20:07:52] ah, thanks James_F [20:08:19] Though I think that's not on the cluster any more, so we could just Decline and mark the top-level one as Resolved. [20:09:27] matanya: Done! [20:09:42] thanks James_F ! [20:10:29] and now, lets do user merge :) [20:30:40] James_F: what about https://phabricator.wikimedia.org/T21725 ? [20:37:12] move the page to "AAAAAAA" (or whatever), delete it and then supress the move log? [21:03:06] using scribunto, can the lua get a list of groups that have a certain permission? [21:46:34] Is there any premade infobox/alertbox/etc package that I can import so I don't have to remake my own? [21:46:45] Hi PonglesEsquire. [21:46:46] Nope. [21:46:56] Hey Yvette. [21:46:58] Poop. [21:48:12] I am trying to get a hesitant group to switch from wikia to a mediawiki and that would have made the transition easier [21:52:12] why not just copy templates? of course if you haven't been forced to use "portable infoboxes" [21:54:54] creating infoboxes is not that hard. Just avoid copying them from wikipedia unless you want a headache! [21:58:49] who should I copy from? [21:59:34] Also, what's a "portable infobox" and how does it differ from a normal one? [22:01:59] PonglesEsquire: well, if you want to switch from wikia to a mediawiki, you'll copy the templates from the wikia one... [22:02:04] copy from their source wiki? [22:03:00] The source wikia got stopped before it got too far. [22:03:16] stopped means deleted? [22:03:31] Not deleted but nothing put on it [22:03:43] Are wikia's infoboxes directly compatible with mediawiki? [22:05:28] Portable Infoboxes is... well, a "propietary" syntax (as I call it) created by wikia, definitively not compatible with MediaWiki [22:05:48] normal infoboxes with wiki syntax or Lua templates are compatible [22:15:22] My main issue is that I just don't want to reinvent the wheel, ya'know? [22:16:07] that's why we suggest to copy the templates from the original wiki... [22:16:26] the original wiki is a wikia with no Template:Infobox [22:16:31] there is nothing to copy [22:16:55] I don't care about making subversions to fine tunes to my needs, I just need the base to work off of [22:17:53] if you maintain the license and import the complete history of the pages, you can export the contents on wikia and import them on your wiki