[00:24:19] I have: $wgArticlePath = "/$1"; and $wgScriptPath = ""; what's the path to work with in mod_rewrite? [00:24:37] in RewriteRule [00:25:19] We don't generally reccommend to use "/$1" [00:25:36] I know but I'm happy with it [00:26:13] I have something like this: domain.com/index.php?title=article&action=edit [00:26:41] how can I work with it in RewriteRule? [00:27:34] .htaccess is in the same directory as LocalSettings [00:28:45] am I working with index.php?title=... or with just title=.. ? [00:35:34] ostriches, are you intentionally keeping https://phabricator.wikimedia.org/T129715#2113681 open, or was that just an edit conflict? I closed it as a dup and cat'ed the other one. [00:37:46] matt_flaschen: Conflict, sorry :) [00:38:03] No worries, re-duped [01:32:14] hello I desperately need help [01:32:22] for wiki [01:32:29] from [02:34:00] :/ I hate to ask a stupid question, but I have a XAMPP stack running on windows 7 enterprise at work. I'm currently running mediawiki using SQLite and would like to switch to MySQL. I found a python conversion script and created a .sql file from the file, but upon trying to source it into an empty MySQL database it failed. [02:34:05] Any ideas for conversion? [02:40:29] PuppyKun: how much content is on the wiki? [02:46:13] p858snake|L_ https://www.irccloud.com/pastebin/J6O99kND/ [02:46:37] It's small enough to where I'd be comfortable just importing the pages, but it would be nice if everyone I work with didn't have to do thing like re-create user accounts on the new server. [03:08:22] PuppyKun, which script are you using? [03:09:42] One moment my computer blue screened. thanks for the replies [03:11:10] H3O^: justin@LinuxRND:~$ wget http://www.redmine.org/attachments/download/6239/sqlite3-to-mysql.py^C [03:11:17] oops, cut the ^C from the end of that link [03:12:55] That doesn't seem to be a database conversion script. Looks like some sort of syntax translator? [03:13:30] o; oh.. lol.. i honestly didnt check the script > ~< i was linked to that in a stackoverflow.com question [03:13:49] Anyways, I suppose it wouldn't be too difficult to simply read each row from each table in sqlite and just insert them to the MySQL database? [03:15:29] H3O^: like, manually, or? tbh I've used mw maintenance scripts and run some queries mostly just looking at users and stuff, but not exactly sure where to proceed with this.. especially not with sqlite3.. don't even know why i used sqlite3 in the first place [03:15:43] Python can probably do that [03:18:32] this comic is how im feeling since im still not exactly sure where to start http://xkcd.com/1654/ [03:19:01] i currently have a dump of the sqlite3 database, do i even need that or should i just read lines live? or ... make a script? if so how [03:19:13] A quick google search gives https://docs.python.org/2/library/sqlite3.html which you can probably use to read each row and http://stackoverflow.com/questions/5687718/how-can-i-insert-data-into-a-mysql-database to write to the new mysql db [03:20:57] H3O^: thanks for those links.. reading a bit... a link follow amused me http://xkcd.com/327/ [04:02:18] Hope I didn't break that server.. >~< I noticed several Terminal SSH sessions get terminated unexpectedly, and now WinSCP warns that the host is not communicating for more than 15 seconds. Assuming my current issues aren't Mediawiki related. Thanks for the help people [05:07:58] Tried installing Extension:Echo; Wiki failed to load; Debugging information included "Did you forget to run maintenance/update.php after upgrading?". Extension talk page has this issue unresolved. Does anyone here know of a fix? [05:10:26] Did you run update.php? [05:13:15] At the talk page, others tried Update it but didn't work. My problem is that (saying it embarrassingly) I don't have SSH access. Was hoping that maybe there would be some other method. I am running MediaWiki 1.26.2, tried latest stable and development versions of the Extension:Echo. [05:15:59] The entire error code goes something like: "Original exception: [874e0470] /index.php?title=Hauptseite DBQueryError from line 1119 of /data/web/e28582/html/iads-mediawiki-1_26_2/includes/db/Database.php: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: SELECT etp_user,etp_page,etp_event FROM `q [06:36:32] I want to fix this very easy bug, to just get things stared can someone help me where to locate the codebase for this https://phabricator.wikimedia.org/T100326 [06:36:32] Thanks in advance :) [06:43:50] saurabh_ : most probably it is here https://github.com/wikimedia/wikipedia-ios [06:50:55] I want to fix this very easy bug, to just get things stared can someone help me where to locate the codebase for this https://phabricator.wikimedia.org/T100326 [09:15:21] Hi, I am running a bot that is checking whether new articles have categories and links by querying MW api. Not so long ago for some reason MW started returning empty list of links and categories [09:15:28] is it a known problem? [09:15:42] it does not happen for every page [09:15:55] http://pastebin.com/R6bZFcCg <- the query looks like this [11:10:52] I have been working on this : https://phabricator.wikimedia.org/T117747 [ Book Sources ] [11:11:13] How do I change those xml input and submit buttons? [11:32:12] hi [11:32:34] can anyone help me with ooui documentation for mediawiki? [11:32:53] i am unable to get the submit button inside fieldset [12:03:01] sukeesh_, have you already checked "similar" tasks and patches already committed? See the list in https://phabricator.wikimedia.org/T107037 linked from your task [12:25:53] Hi, I have "Invalid token" when my bot try to edit [12:29:19] Wow, this is pretty crazy. We went scorched Earth with our captcha and made it so that people had to email us or ask on IRC for the code to edit our wiki. And our fucking spammers actually emailed us to ask for the code, saying that they wanted to create a company page on our GNU Octave wiki. [12:30:01] lol [12:30:03] lol [12:31:13] yes hello we would like to blatantly advertise ourselves for free using your website [12:31:27] i want to create my company page not Spam things. i heard wiki page has [12:31:27] a good thing to make brands popular like Pepsi, coke, frooti etc. [12:31:28] I hope you understand what i am trying to create. [12:31:52] omg I told them to fuck off and they just emailed me again. [12:32:04] "you are sick get well soon :P" [12:32:15] Yeah, I guess I am sick to be so upset about spam. [12:32:59] sounds like they think "use a wiki for marketing" means "spam on someone else's wiki" [12:33:48] lol [16:20:50] "Fetching a token via action=login is deprecated. Use action=query&meta=tokens&type=login instead" but with these, I have "Unrecognized parameters: 'lgpassword', 'lgname'" [16:30:11] Frakir: correct. :) [16:31:06] Frakir, what are steps to reproduce? [16:33:50] it is broken since thursday, I don't remember all the steps [16:37:30] if I change code with action=query&meta=tokens&type=login, I wonder why I don't have to give the name/password [16:40:24] Frakir: you need to request the token first, then login with the token, username and password [16:40:49] ok Vulpix [16:41:12] that ensures 2 steps, which increases security a bit [17:41:04] In a (sub)section heading, I need to use the equal sign as part of the heading title itself. Considering that the equal sign is part of the wiki markup, are there any special circumstances I should consider before creating the heading? Should I better use sth like {{=}} or similar in the title? Or is it OK to use the equal sign directly with no worries? [17:43:51] You could use = [17:46:04] Hmm, I don't think so (haven't actually tested it). I think the "&" would be a problem (for the link to the heading), and I seem to recall that this type of encoding for titles is discouraged because of this very reason. I could be wrong. [17:46:30] s/titles/heading/ [18:00:00] hello, I booted the Manjaro Linux 16.03 LXQT from an USB stick today, then chose EFI DVD nonfree and pressed ENTER. It started to boot but stop on a line with something like "a start job was fire , MWHD (xxx /no limit) [18:00:22] then it stayed there. I waited 3 min but nothing happened [18:00:48] what is supposed to happen at this stage? does anybody know? [18:03:44] #manjaro [19:39:08] Does an error occur when deleting or trying to restore a page where a few history entries were hidden/suppressed via delete revision? [19:58:39] Shouldn't? [21:27:19] after our last upgrade, to 1.26.0, we had some permissions issues [21:27:45] we solved (i think) most issues for our bureaucrats, etc. [21:27:54] but a new user gets http://i.imgur.com/92r3ywO.png [21:28:04] when attempting to login [21:28:22] permission error: [21:28:34] you do not have permission to edit your private information [21:29:11] it had to do with $wgGroupPermissions [21:29:34] editmyprivateinfo [21:29:37] this user is “Implicit member of: Autoconfirmed users” [21:29:39] viewmyprivateinfo [21:30:11] ok, i am trying $wgGroupPermissions['user' ]['editmyprivateinfo'] = true; [21:30:19] Default permissions are [21:30:19] $wgGroupPermissions['*']['viewmyprivateinfo'] = true; [21:30:19] $wgGroupPermissions['*']['editmyprivateinfo'] = true; [21:30:30] thanks [21:31:01] we had a rather restricted set before due to a near-death experience at the hands of spam [21:32:12] FYI, how I worked this out [21:32:18] I looked up that messages in en.json [21:32:35] "myprivateinfoprotected": "You do not have permission to edit your private information.", [21:32:44] Then looking in includes for 'privateinfo' [21:32:49] ah [21:33:13] Then there was code like [21:33:14] $canViewPrivateInfo = $user->isAllowed( 'viewmyprivateinfo' ); [21:33:14] $canEditPrivateInfo = $user->isAllowed( 'editmyprivateinfo' ); [21:33:23] the isAllowed() is the permission in question [21:34:43] ok i change user to * [21:35:46] if create account is blocked, then i think it’s safe [21:36:02] If '*' doesn't have edit, movepage etc [21:36:37] thanks so much Reedy .. and for teaching me how to fish, not just giving me a fish [21:36:45] :) [21:36:51] Sometimes it's not so easy [21:37:13] But we try and have grep/find-able comments so you can find the relevant code [21:37:22] we have been using mediawiki for like 10 year [21:37:24] years [21:37:42] it has been trying at times but it’s been working and working [21:37:50] thanks agin [21:37:52] again [21:37:55] gotta run