[08:51:07] is this the room for opnsense? [08:52:28] Issue with opnsense: Tried to install in xenserver 6.5. Does not install with error in cpdup command stating that it cannot write to disk. pfsense works in same vm. [08:53:11] VM: 1 cpu, 512MB ram, 10G virtual disk. [08:53:28] opnsense: latest amd64 is version. [08:54:07] have used amd64 version of pfsense also. thsi works. [08:56:58] BuddyButterfly: /join #opnsense [08:57:14] ah, ok. [08:58:49] tnx [10:08:20] still looking for a solution if anyone has time! :) [12:40:12] hi there, is it possible to see on a mediawiki frontpage what version is running=? [12:42:15] ahhh 1.22.2. Is that an old version? Should I upgrade? [12:43:37] Also, any recommendations on a good markdown or rst editor for mediawiki? [12:46:21] the Special:Version page will give you lots of info, and it's a good idea to stay up-to-date, yes [12:46:58] 1.23 is LTS iirc, so that might be a good option if you do not plan to do significant updates often [12:48:35] the upcoming 1.25 has a new editor, but there is WikiEditor in current versions, which works well [12:49:28] (1.22 does have WikiEditor bundled btw) [13:02:32] RobotsOnDrugs: is there a new editor? [13:04:31] yes, in not-yet-released versions [13:04:36] i don't have a link handy though [13:04:55] are you talking about VisualEditor? [13:05:26] yes [13:05:31] couldn't remember the name [13:05:53] that's still an extension and has been in MW since at least 1.23 [13:06:39] hmm, maybe i'm thinking of something else [13:07:59] i could swear there was something new for 1.25 (or possibly 1.26) [14:07:57] Niharika: Hello, I just wanted to ask you that bonding evaluation report should be in the form of a ticket or what? [14:12:45] ok, got it :P [14:16:50] s1991: (Y) [14:32:00] Also, any recommendations on a good markdown or rst editor for mediawiki? [14:46:06] good morning, hopefully I've found the right place to find some mediawiki.org help. I'm a new user, and I created my account a few days ago. I tried to create my user page which I did. Then the next day an admin "blocked" my account for spamming, and I'm not sure what I did wrong. Suggestions for getting my account unblocked? [14:48:33] kevstoy: what's your user name there? [14:48:42] same as my handle here: kevstoy [14:52:34] kevstoy: well, the text you put on the user page does read like an advertizement fro yourself. Since your connection with mediawiki is unclear, the assumption was probably that you were just looking for a place to put your resume that would rank high on google searches. [14:52:49] I find an immediate infinite block a bit harsh. [14:53:27] kevstoy: if you plan to contribute to mediawiki.org, perhaps talk to the admin in question, and discuss what you want to do, and how to improve your use page. [14:54:25] oh that makes sense, actually I was just "copying" the format of text from my colleagues user page (updated for myself of course) as I thought that would be "safe". I just wanted a basic user page as I'm contributing to some extensions and wanted to have a bit of text there so people would see who was "posting" on some of the extension pages. [14:54:39] kevstoy: note that the admin who deleted your user page as spam is not the same as the admin who blocked you for spamming, though. You can contact Stemoc and Syum90 on their user pages, without logging in. [14:54:58] If you are polite and patient, chances are that you can get the block lifted [14:55:28] I can easily add more to my user page (if I wasn't banned), I've looked at Stemoc's page, but I didn't see a "contact" link. The "FAQ" says "email user" but I can't access that being blocked. [14:55:37] kevstoy: I'd recommend against using the third person on your user page, btw. make it personal, and make your involvement with mediawiki clear. [14:56:11] kevstoy: just use the "discussion" tab of the user page to contact the user [14:57:55] thanks Daniel for the help. however, when I try the discussion tab of the user page I get: "You do not have permission to edit this page, for the following reason: "Your account or IP address has been blocked. The block was made by Stemoc. The reason given is Spamming. " [14:59:30] kevstoy: oh, right, ip block. *sigh* [14:59:57] kevstoy: you can try to contact Syum here on irc i suppose [15:00:56] Daniel: agreed. I could alternatively ask a colleague to post for me, I suppose. [15:02:17] kevstoy: i'd be willing to post a message on your behalf. should include some way to contact you, and the extensions you contributed to. put it on a pastebin somewhere and let me know. [15:12:55] Any recommendations on a good markdown or rst editor for mediawiki? [15:14:24] stangeland: mediawiki doesn't support rst or markdown... [15:14:41] it could, but i don't think anyone has written a handler for that yet [15:14:49] DanielK_WMDE, really? why not....thats pretty mad [15:15:46] stangeland: because mediawiki's own syntax is a lot older than md or rst. and the assumption that all page content uses that syntax has only been relaxed relatively recently. [15:16:05] writing handlers for new content models (such as markdown) is now possible, but not many people know how to do it [15:16:53] DanielK_WMDE, one huge problem is also that if i were to install a rst or markdown plugin, then what about all my existing pages? would they need to be rewritten? [15:16:57] stangeland: in any case, the handler would help with parsing/rendering md or rst. the editor would be the standard mediawiki text editor [15:17:06] hello there [15:17:08] I need help [15:17:08] Hi Gothicspeaker, just ask! There is no need to ask if you can ask [15:17:28] I 'm an admin of a wiki and I want a script at the front page which views an article from a list each dayt [15:17:30] *day [15:17:56] stangeland: if the handler is written nicely, no. but currently, there is no mechanism to specify an alternative content model (syntax) when creating a page. the model is currently determined based on the namespace, or a "file extension" in the title. This is e.g. used for on-wiki JS and CSS code. [15:17:56] our wiki is too small to vote for an article each week, instead, I want to make a selection out of the best articles and show them in a random order each day [15:18:13] Daniel: thank you for the help. I was able to have a colleague post my "unblock" request to both Stemmoc and Syum on their Discussion pages. thank you for the help. Hopefully, I will get unblocked soon. Have a great day! [15:18:19] I know some PHP and my Javascript is basic, but a page rotating script doesn't look too difficult to me [15:18:30] kevstoy: good luck! [15:18:44] DanielK_WMDE, aha, so what would that mean? [15:19:21] stangeland: it would mean that the page title would determin the syntax used on the page. You'd have to use Foo.md for markdown. Not so pretty. [15:19:32] Daniel: :) thanks again. signing off. [15:20:04] stangeland: I don't think anyone has yet used different markup languages on a single mediawiki. I'm not even aware of extensions for alternative markup languages at all. [15:20:26] Where to start is my question [15:20:42] !ex DPL | Gothicspeaker [15:20:42] There are multiple keys, refine your input: exclamation, export, ext, extensiondistributor, extensionmatrix, extensions, externalauth, externaleditor, externalimages, extranamespace, [15:20:55] orr. i havn't used the bot in a while [15:20:59] !extension DPL | Gothicspeaker [15:20:59] Gothicspeaker: MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See http://www.mediawiki.org/wiki/Manual:Extensions for instructions to install extensions, as well as for writing them. See http://www.mediawiki.org/wiki/Extension_Matrix for an overview of known extensions. [15:21:08] not really what i wanted [15:21:39] Gothicspeaker: https://www.mediawiki.org/wiki/Extension:DynamicPageList might support this [15:21:44] Hmmm, what should the page with a list of articles to use for an article rotation look like? [15:21:45] not sure if it has a "random" option [15:22:35] !backup [15:22:35] See http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki for information about backing up your wiki. For restoring your wiki, see http://www.mediawiki.org/wiki/Manual:Moving_a_wiki#Import_the_database_backup for more. If you don't have database access, try !grabber. [15:22:36] it doesn't [15:22:59] !grabber [15:23:00] See http://mediawiki.org/wiki/Manual:Grabbers for a way to export a wiki without necessarily having access to a database or database dump. If you have access, see !backup. [15:23:26] oh, it sounded much more exciting than it was [15:27:07] Can anyone help out? [15:27:12] I still don't know what to do [15:27:22] MC8: needed to answer an email question which was basically !backup [15:28:18] Gothicspeaker: what kind of list? [15:30:06] Betacommand: Well, this is the idea. I 'm the admin of got.wikipedia.org, a relatively small wiki [15:30:21] not many people master Gothic, but we have some good articles and there aren't even a lot of activities each week [15:30:31] so instead of a weekly vote for an article, I had the idea to have an article rotation [15:30:34] either each day or each week [15:30:39] with the best articles written on the wiki [15:30:43] being displayed randomly [15:30:49] But, how to do it? [15:31:19] So that could be done by a list of which the system randomly picks an article [15:31:22] Simple English Wikipedia has/used to have something similar [15:31:46] it used magic words and mod to pick a random subpage each time [15:31:56] magic words? [15:32:20] Gothicspeaker: MC8 stole my idea [15:32:40] !magic | Gothicspeaker [15:32:40] Gothicspeaker: For more information about creating magic words and their inner workings, see . For a list of magic words, please see . [15:34:27] Gothicspeaker: https://simple.wikipedia.org/w/index.php?title=Wikipedia%3ASandbox&type=revision&diff=5138535&oldid=5138075 [15:35:19] and then they have the article they want to include at [[Main Page/Article 1]]] and so on [15:35:21] {{:Main Page/Article {{#expr: {{CURRENTTIMESTAMP}} mod 10}}}} [15:35:45] So what do I do with that code? [15:35:46] {{:Main Page/Article {{#expr: {{CURRENTTIMESTAMP}} mod 10}}}} [15:38:21] MC8: What do I do with that code [15:40:59] Betacommand: I still have no idea what to do [15:41:08] put it where you want the text to be transcluded, then add the first one to Main Page/Article 0, the second to Main Page/Article 1, and so forth [15:41:15] Betacommand: That Magic words is for localization [15:41:51] MC8: So I need to copy that code to an article which can be viewed at the front page? [15:41:51] not all magic words are for localisation [15:42:25] So I need to copy paste {{#expr: {{CURRENTTIMESTAMP}} mod 10}}}} to an article which I want to be viewed at the front page randomly [15:42:26] ? [15:42:28] Gothicspeaker: magic words can do a LOT [15:42:47] Yes, but it's completely unclear to me how to use them [15:46:11] Gothicspeaker: here's an example https://got.wikipedia.org/wiki/User:Microchip08/Alternating_text [15:46:15] {{#expr: {{CURRENTWEEK}} mod 10}}}} [15:46:21] So it should be like that if I want it each week? [15:47:40] MC8: So mod is an abbreviation of modify? [15:48:19] nope, it's an abbreviation of "modulo". It means "divide the first number by the second and tell me the remainder" [15:49:15] so 10 mod 3 would be 1, because 10/3 is 9, with one left over [15:51:41] MC8: So, like this? https://got.wikipedia.org/wiki/%F0%90%8C%BD%F0%90%8C%B9%F0%90%8C%BF%F0%90%8D%84%F0%90%8C%B0%F0%90%8C%BD%F0%90%8C%B3%F0%90%8D%83:Bokareis/article/1 [15:58:30] MC8: doesn't work [15:58:33] https://got.wikipedia.org/wiki/%F0%90%8C%B7%F0%90%8C%B0%F0%90%8C%BF%F0%90%8C%B1%F0%90%8C%B9%F0%90%8C%B3%F0%90%8C%B0%F0%90%8D%83%F0%90%8C%B4%F0%90%8C%B9%F0%90%8C%B3%F0%90%8C%B0 [15:59:57] MC8: Now it works [16:00:01] after changing some things [16:00:05] MC8: Great, thanks :) [16:00:36] MC8: But I don't really see it rotating.... [16:01:55] MC8: But I see that it works when I set it to current day [16:03:43] Gothicspeaker: I think it roates on a weekly basis [16:21:44] hey if anyone's here can you troubleshoot our wiki commons? I think it isn't working properly, images aren't showing up and whatnot [16:23:21] Betacommand: How can I make it like, if article = 0 show this text? [16:23:46] Betacommand: Nevermind, I have a better idea [16:27:45] Musushi: known issue, see https://phabricator.wikimedia.org/T99761 [17:50:56] good day. I have a backup of an old documentroot and an old database (v5.0.77). I'm tasked with trying to recover this site with the old database. What is the smartest best approach to this? Do I need to install the old versions of mediawiki, overwrite the documentroot where applicable, and import the database into mysql v5.0.77? Am I able to install a new version of mediawiki and import the v5.0 [17:51:02] .77 database into a mysql 5.5.43? [18:01:50] . [18:58:45] d [19:44:54] hey can anybody help me configure image uploads and thumbnailing for debian? i've recently changed server's OS from amazon-linux to debian and coming across some issues [19:45:33] "Could not acquire lock" error on new uploads, and MW is failing to generate thumbnails. my images directory is chowned by www-data:www-data at chmod 775 [19:48:06] PJosepherum: are you using SELinux? [19:49:54] no [19:50:10] http://psychonautwiki.org/wiki/Test [19:50:23] http://hastebin.com/utociketon.pas [19:51:58] PJosepherum: enable a debug log to see exactly what file it's trying to access. Also check if you're using symbolic links for the upload directory, it may cause problems [19:52:00] !debug [19:52:00] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [19:52:58] in apache's errir kig"[Wed May 20 19:32:00.201255 2015] [:error] [pid 8444] [client 181.164.208.220:51588] PHP Warning: failed to mkdir "/w/images/thumb/5/57/1-propionyl-lysergic-acid-diethylamide.png" mode 0777 [Called from wfMkd [19:52:58] irParents in /var/www/html/w/includes/GlobalFunctions.php at line 2582] in /var/www/html/w/includes/debug/MWDebug.php on line 302, referer: https://www.google.com.ar/" [19:53:03] error log* [19:57:45] PJosepherum: I think you have a wrong $wgUploadDirectory. it should be a physical path inside the server, not the virtual path of the URL. See https://www.mediawiki.org/wiki/Manual:$wgUploadDirectory [19:58:16] it should be probably "/var/www/html/w/images" for you [20:00:00] nice one, that fixed the page dying but still nothing was written to the server, nor thumbnails [20:01:06] here is my localsettings image section http://hastebin.com/lezufodugo.php [20:02:10] well, and $wgUploadPath is the virtual directory from the URL, so you had them reversed [20:02:19] oh it was written! :3 [20:02:55] so thanks, upload now works; just thumbnails failing http://psychonautwiki.org/wiki/Test [20:04:36] look at the debug log/error log again, for this URL http://psychonautwiki.org/w/thumb.php?f=Files-o.svg&w=50 and see if paths make sense now or if there's a different error message http://psychonautwiki.org/w/thumb.php?f=Files-o.svg&w=50 [20:08:22] [Wed May 20 19:57:49.848432 2015] [:error] [pid 10617] [client 90.214.103.249:40850] PHP Warning: fopen(/w/images/lockdir/2bkez62k1uibujvvy2vl1iq01yqhrei.lock): failed to open stream: Permission denied in /var/www/html/w/includes/filebackend/lockmanager/FSLockManager.php on line 125, referer: http://psychonautwiki.org/wiki/Special:Upload [20:09:07] it's still trying to access /w/images/ ... that's wrong [20:09:27] i see [20:10:28] PJosepherum: that log seems to be before the change, looking at the timestamp [20:10:47] sorry nothing new had been written to the log yet. lemme see if i can get it to print something [20:11:19] so with Cloud.svg we get "Error creating thumbnail: Unable to save thumbnail to destination" [20:11:20] and.. [20:13:41] no this php warning is the only thing appearing. timestamps might be misconfigured [20:14:27] well, double check if you changed the right LocalSettings.php, if you corrected the paths, it shouldn't try to go to that path [20:16:07] woop http://psychonautwiki.org/w/thumb.php?f=Cloud.svg&w=50 works now after changing $wgTmpDirectory to the full path [20:17:29] i set back $wgUploadPath = "$wgScriptPath/images"; [20:18:06] good! [20:19:17] so now, if the thumb.php is working, does it not work from the test page? o.O [20:19:29] http://psychonautwiki.org/wiki/Test [20:20:18] nothing new is appearing in logs [20:20:34] it works, but it has been throttled for the SVG image: http://psychonautwiki.org/w/thumb.php?f=Files-o.svg&w=50 [20:20:51] ah! :D [20:20:53] great [20:20:55] thanks so much [20:21:30] yw [21:09:29] if i wanted a superold version of mediawiki, 1.8, where would i get it. Mediawiki.org only has as far back as 1.18 [21:10:21] maybe downloading from git, checking out such old branch [21:12:59] found it. thanks. [21:18:49] I think the download folder also has the old versions [21:19:23] yep, https://releases.wikimedia.org/mediawiki/ [21:20:33] it would be unwise to run a version 6 years old, but I guess it may be interesting for documentation/history [21:21:38] installed 1.23 and tried to hook into a 7 year old DB [21:25:34] no dice. wouldnt go past the “upgrade DB” portion of the install script. I’d figure this is the next best bet [22:30:14] * Fiona waves Platonides. [22:46:23] bye Fiona [23:42:02] when upgrading an existing installation, it hangs at:: “...have user_last_timestamp field in user_newtalk table.” No error msg. Suggestions on where to start troubleshooting this? [23:52:01] beruce: that looks like array( 'addField', 'user_newtalk', 'user_last_timestamp', 'patch-user_last_timestamp.sql' ), [23:52:19] in MysqlUpdater.php [23:52:40] beruce: what version are you upgrading from, it's an old DB change [23:52:52] the DB is 1.8 [23:53:26] beruce: how large is it? the script will take a while depending on db size and number of updates that need to be applied [23:53:38] 1.8-->1.24 will be a lot...... [23:54:11] 4m? [23:54:48] beruce: whoa, that's pretty old. Use a process monitor (`ps alx -w ` on Linux) to see if it's still going. I think the updater uses LocalSettings.php, so you could enable DB logging and such [23:55:23] what i did was imported the old DB. and running a fresh mediawiki install. and within the installer, i selected the old DB [23:55:30] so there’s no localsettings.php yet [23:57:17] I want to import an image from mediawiki.org (not commons). Special:Import of File:wanted_image imports the page about the file but not the file itself. Must I save the original file and re-upload?