[00:36:20] Hi. [00:36:29] I am trying to put the line of code called :$wgEmailConfirmToEdit [00:36:38] However I have 2 questions. [00:37:09] 1. The article about it does not clarify where to put the code. It says to put it in LocalSettings.php but next to what? And EXACTLY where to add it in the code? [00:37:50] It can go anywhere in LocalSettings.php. Literally anywhere, add "$wgEmailConfirmToEdit = true;" [00:38:25] I also do not understand. [00:38:35] Whether it allows only users. [00:38:39] To edit at all. [00:38:48] So if I add this. [00:38:55] Does that mean no more IP addresses can edit? [00:39:27] Uh....good question. I don't know for sure, but I'd imagine IP address would not be able to edit. [00:39:42] Okay, that's okay for now [00:39:59] I'm sort of desperate right now because hundreds of spammers are coming to my site every day. [00:40:12] So I'm willing to risk taking away IP addresses from editing. [00:40:18] I'll fix it back later though. [00:40:20] Anyway. [00:40:23] Let's try this. [00:40:40] Just checked. Indeed IP addresses will no longer be able to edit. [00:41:07] Is there a way you can make it so that IP addresses can once again edit? [00:41:28] h.o. will check [00:41:33] While only if people make accounts [00:41:48] Should they use an email. [00:42:18] I do not think so. If you turn on $wgEmailConfirmToEdit, then anons cannot edit no matter what. [00:42:28] Oh okay. [00:42:35] Well I'll just enable this for now. [00:42:50] But if blocking spam is your goal, then you wouldn't want IP addresses editing anyway. [00:43:01] Well [00:43:27] There are only about 1 or less IP addresses who spam every day anyway so they'd be easier to get rid of. [00:43:41] Oh, well you can just block that IP range then [00:43:45] But when I have to waste my time going through 50 pages and delete, protect, block, delete, protect, block. [00:43:52] Then that's where it becomes a problem. [00:44:03] Block the entire IP range rather than individual addresses. [00:44:13] (Unless the IPs are all over the place.) [00:44:22] How exactly do you do that? [00:44:29] https://www.mediawiki.org/wiki/Help:Range_blocks [00:44:35] They actually all seem to be coming from 188 IP addresses but I'm not sure. [00:45:21] Meh, that article I just linked is a bit technical, but the gist is that on Special:Block you enter something like "192.168.0.0/16" or something like that. [00:46:05] Yeah. [00:46:33] That could probably help some. [00:46:38] Let me try that. [00:47:12] But wait. [00:47:26] How do I know that the spammers don't have several varying IP addresses that they use? [00:51:18] And um [00:51:48] The $wgEmailConfirmToEdit is not working for some reason. [00:52:01] This is what the lines of code look like: [00:52:14] From the start: [00:52:15] # $wgRightsCode = ""; # Not yet used # Path to the GNU diff3 utility. Used for conflict resolution. $wgDiff3 = "/usr/bin/diff3"; # Query string length limit for ResourceLoader. You should only set this if # your web server has a query string length limit (then set it to that limit), # or if you have suhosin.get.max_value_length set in php.ini (then set it to # that value) $wgResourceLoaderMaxQueryLength = -1; # End of aut [00:52:54] Wait a minute. [00:52:57] That wasn't it. [00:53:11] " settings. # Add more configuration options below. ;# $wgBlockOpenProxies = true $wgEmailConfirmToEdit = true;" [00:53:54] What's wrong with this code? I don't understand. [00:59:09] Sorry, could you post it in pastebin or something? [00:59:11] :) [01:00:51] Hi parent5446. [01:00:59] Hi [01:05:20] Okay I tried again. [01:05:25] But it still didn't work. [01:05:30] So here I go to pastebin. [01:08:29] http://pastebin.com/MkGdZnEA [01:08:33] Please see this. [01:08:39] What am I doing wrong here? [01:15:08] Whoah [01:15:27] Is there some line wrapping going on here? [01:15:47] Because there's a "track in case you" on line 5 that does not seem to belong anywhere [01:16:12] Anyway, remove the "#" from in front of the wgEmailConfirmToEdit line. [01:16:32] Wherever you see #, anything after that is a comment, and is ignored by PHP. [01:33:07] Sorry I was away. [01:33:11] Okay let me try this now. [01:36:27] AHA [01:36:28] Got it! [01:36:31] Thank you so much! [01:38:39] Awesome [01:38:58] Um. [01:39:00] But wait. [01:39:05] When I test it. [01:39:12] It doesn't actually send me any emails... [01:40:32] Well that's a different issue entirely. :P [01:42:42] Well it's time to find me a new method. [01:42:53] BlockOpenProxy could get my server shut down? [01:44:35] AHA. Absolutely perfect. [01:44:40] I just found ConfirmAccount [01:44:43] Where I myself [01:44:51] Get to decide who registers and who doesn't. [02:44:43] special:extensiondistributor doesn't seem to be working, download does not appear after 5 sec [08:18:06] please see this page https://www.mediawiki.org/wiki/Manual:Interface/Sidebar [08:18:13] i want to have contents [08:18:15] like that [08:18:17] ? [08:28:54] sasan: you can use the monobook skin or employ your own js [08:29:18] https://www.mediawiki.org/wiki/Skin:MonoBook [08:51:01] : i add mono book [08:51:06] but i can not see it [08:56:24] please see this website [08:56:26] https://www.mediawiki.org/wiki/Manual:Interface/Sidebar [08:56:35] i want to know how can i add content [08:56:40] could anybody help? [08:56:45] i have used monobook [08:56:47] also [09:03:09] sasan: what website? [09:03:20] MediaWiki:Sidebar is a page you can edit [09:03:24] https://www.mediawiki.org/wiki/Manual:Interface/Sidebar [09:03:26] please see [09:03:27] this [09:03:41] i want to have content part like that [09:03:45] how can i do that? [09:03:46] You want to edit the mediawiki.org sidebar? [09:03:57] no [09:04:03] please see that website [09:04:08] it has content [09:04:10] part [09:04:11] yes? [09:04:26] understand? [09:04:35] 11.03 < Nemo_bis> MediaWiki:Sidebar is a page you can edit [09:04:51] Do you know how to edit a page on your wiki given its title? [09:05:55] [09:06:14] in my wiki page, i want to have content part like that website [09:06:17] understand? [09:09:20] could you help? [09:09:34] sasan: what languages do you speak [09:09:43] farsi [09:10:58] : understand my question? [09:11:01] don't be afraid to look for fa-N people on IRC [09:12:17] https://www.mediawiki.org/wiki/Special:PrefixIndex/MediaWiki:mw https://www.mediawiki.org/wiki/MediaWiki:Sidebar [09:12:26] I understand your aim, I don't understand your question [09:14:23] have you seen that website [09:14:24] that link [09:14:26] ? [09:15:24] I know that website and page by heart [09:15:40] in that link, the designer use a content part in the begining of his wiki [09:15:57] which link to the files in his wiki [09:16:07] i want to have such option [09:16:14] i think you understand my question [09:16:16] yes? [09:22:03] why no body can help me?? [09:22:55] Okay, I think I understand the question. [09:23:05] You want a table of contents, sasan? [09:25:59] yes [09:26:18] which in each, i can link to where is related to my note [09:26:33] could you help me [09:26:35] ? [09:26:52] Nemo_bis: Is there a template for this? [09:28:06] what happened? [09:28:10] no answer [09:28:11] ? [09:28:50] sasan: I am not aware if there´s a template which does this. I´ll wait for Nemo to answer. [09:29:46] https://www.mediawiki.org/wiki/Manual:Table_of_contents [09:29:55] By default, a table of contents (sometimes abbreviated to TOC) is automatically generated on a page when more than three section headings are used. Typically, the table reproduces and numbers these headings. [09:30:09] sasan: Are you editing the page in wikitext or not? [09:30:35] yes, i am editing in my wiki [09:30:39] sasan: Do you want to talk in Hindi? [09:30:56] i do not know what you mean? [09:31:43] Okay. In Wikipedia, when you edit text, you should edit in Wikitext, not plain text. [09:31:49] Let me find a doc for that. [09:32:28] i am in mediawiki [09:32:32] not wekipedia [09:32:51] Yes, yes. My bad. [09:32:56] Mediawiki. [09:33:04] https://help.wikispaces.com/Wikitext [09:33:08] See this. [09:33:57] Whenever you write something as ==ABC==, ABC becomes a heading(type 2) and you see a table of contents with that in it. [09:34:06] Understand, sasan? [09:34:13] yes, i understand [09:34:18] i add ==Title> [09:34:32] but content was not shown [09:34:34] ==Title== [09:34:50] yes [09:34:54] ==Title== [09:35:04] but the content was not shown [09:35:10] you could enter in my wiki [09:35:16] Can you show me the wikitext you pasted exactly? [09:35:19] 84.241.45.8/pars_wiki [09:35:34] __TOC__ [09:35:35] = Heading 1 = [09:35:37] == Heading 2 == [09:35:39] === Heading 3 === [09:36:10] == dfds== dsaasas == dfsds== sdasa [09:36:16] exactly i add these [09:36:22] but heading was not shown [09:36:50] sasan: Add a __TOC__ at the top. [09:36:52] i see dfds as heading [09:37:48] yes, you are right:-) [09:37:52] it is OK, Thanks [09:38:33] if only unicode had better rtl [09:43:47] ah, wifi already down... [09:45:12] <^d> thedj: RESOLVED WFM [09:45:33] resolved WMF [09:45:45] resolved WWF [09:46:35] <^d> brion: WWF or WWE? [09:47:13] brion: please merge Bug 69073 we effected mass Vandalism and we need abuse filter blocker [09:47:13] ^d: http://media-cache-ec0.pinimg.com/736x/e7/67/7b/e7677b92926a0108fe5f34c0bf63099a.jpg [09:48:01] <^d> brion wins. [09:48:21] reza1615: i’m not familiar with the current protocol; do config merges need to be manually deployed or is all that automatic? ^ ^d [09:48:32] <^d> Needs a merge + deploy [09:48:34] <^d> Was just looking [09:48:57] ok you go ahead and do that, unless you want me to +2 it and you deploy [09:49:26] <^d> Reviewing still [09:49:38] we added patch and it need a user who has shell access [09:49:39] ok [09:50:04] <^d> IF ONLY WE KNEW SOME SHELL USERS ;-) [09:50:54] :) [09:52:17] <^d> Go go gadget scap! [09:54:43] <^d> reza1615, brion: {{done}} [09:54:52] thnaks [09:54:53] :) [09:55:37] All the staff :O [10:48:29] for Abuse filter extension for block access should we creat user:Abuse filter? [10:48:36] or extension makes? [10:48:58] Now we set [10:48:59] $wgAbuseFilterAvailableActions[] = array( 'flag', 'throttle', 'warn', 'disallow', 'blockautopromote', 'block', 'degroup', 'tag', 'rangeblock' ); [10:49:14] but it can not block! [10:49:38] <^d> Op party! [10:53:55] op pajama party? :D [10:57:35] Too many ops! [10:59:43] does any one know the answer? [11:01:38] reza1615: Hang on, I don't have much AF experience but I'll check the one wiki I've got it working on successfully. [11:01:57] :( [11:02:11] we set this option but the last option [11:03:01] As far as I can tell, it's supposed to autocreate the account and grant it admin rights. Is this wiki public? [11:05:22] exuse me i disconected [11:05:31] I am sysop in fa.wikipedia [11:05:44] when i go to one of the abus filters [11:06:03] the last option is [11:06:05] <abusefilter-edit-action-Array> [11:06:36] I don't know how can i translate it! [11:07:09] also the block option dosen't exist! [11:10:49] I found the problem the patch was wrong [11:10:58] it should be corrected [11:14:05] at abusefilter.php [11:14:16] $wgAbuseFilterAvailableActions[] = array( 'flag', 'throttle', 'warn', 'disallow', 'blockautopromote', 'block', 'degroup', 'tag', 'rangeblock' ); [11:14:22] should be replaced by [11:14:30] $wgAbuseFilterAvailableActions = array( 'flag', 'throttle', 'warn', 'disallow', 'blockautopromote', 'block', 'degroup', 'tag', 'rangeblock' ); [11:16:56] reza1615_: yikes, let’s fix that [11:17:04] ^d: ^ problem with the abusefilter patch from before [11:17:11] yes [11:17:18] please solve that [11:17:24] it has [] [11:17:42] <^d> wherps. [11:18:00] i’ll amend the patch [11:18:39] brion: thanks [11:19:07] oh right it’s merged… i’ll make a followup patch rather :D [11:19:37] calck done [11:19:49] please merge it [11:20:35] ah perfect [11:20:36] https://gerrit.wikimedia.org/r/#/c/152031/ [11:21:39] ^d: can you push that fix? it looks right [11:21:48] <^d> Yeah can. [11:21:51] thanks [11:23:37] * ^d twiddles thumbs, waiting on the jenkinzzzz [11:25:36] ^d: thanks it merged [11:25:49] <^d> Sync'd. [11:26:23] I couldn't find mediawiki:Abusefilter-edit-action-Array [11:26:43] in translatwiki [11:26:59] now it shows <abusefilter-edit-action-Array> [11:27:15] do you the english phrase? [11:28:24] reza1615_: it should (either already or very shortly) update to show the proper version [11:28:32] instead of ‘Array’ it’ll have the actual actions [11:28:45] thanks now it is ok :) [11:28:48] thank you [11:28:55] great :D [11:29:19] ok i gotta find someplace quieter and less humid for a moment :D [12:12:11] Hello, world :) [13:44:22] /me reads through his backlog and finds " Then again, maybe hexmode and mglaser just have their shit together :)" [13:44:23] [13:44:40] /me reads through his backlog and finds " Then again, maybe hexmode and mglaser just have their shit together :)" [13:44:41] [13:45:12] /me reads through his backlog [13:45:13] [13:45:17] what? [13:45:26] oh, now I can talk! [13:48:48] hexmode: You sent that message three times, FYI. :) [13:49:13] hexmode: Also, hi! [13:50:27] Ohai hexmode. [15:08:55] https://etherpad.wikimedia.org/p/wm2014-3rdparty [15:23:14] !bug 66992 [15:23:14] https://bugzilla.wikimedia.org/buglist.cgi?quicksearch=66992 [15:28:34] Lcawte: are you spying on us o.O [15:28:45] oh [15:28:49] it was in the etherpad [15:29:08] What was in Etherpad? [15:29:16] Oh, bug number? [15:29:22] Yeah, I'm following the etherpad [15:32:07] hmm. I'm trying to do something with templates and variables that may not be possible. :( [15:33:04] Vulpix: Are you at Wikimania or just following the etherpad? [15:33:15] following etherpad :P [15:33:26] just my 5¢ [15:34:49] ialdabaoth: hey, can you give more details? if you tell us more about the prob we may have ideas [15:34:53] on how to fix it [15:35:20] sumanah: Okay, so. Let's say I'm building a wiki for my RPG (because I am) [15:35:27] ialdabaoth: cool :) [15:35:33] so I make a template page for 'feats' (powers/whatever) [15:36:12] and that template page has a BUNCH of variables, because I want to be able to have the base template page control layout and then have various flags control things like the color or whatnot. That all works great [15:36:13] Right. Template:Feats or something. [15:36:17] Bingo. [15:36:26] ialdabaoth: are you using Scribunto (and Lua) or just the built-in wiki template stuff? [15:36:33] So you have {{feat|1|2|3|4|5|6}} [15:36:44] built-in. I can code, but I want to try to accomplish this just through the template stuff [15:36:58] !lua [15:36:58] Scribunto is a new extension that makes it easier to write repeatable code in Lua, rather than in complex wikitext templates. See http://www.mediawiki.org/wiki/Lua_scripting and http://www.mediawiki.org/wiki/Extension:Scribunto for more information. [15:37:07] so then I have different kinds of feats, so I make a second-layer template [15:37:10] Just so you know, in case you want to switch to that. That makes making complicated templates easier [15:37:41] like say one type of feat is called a "Maneuver", I'd have Template:Maneuver and it'd just say {{Feat|Maneuver|2|3|4|5}} [15:38:01] * marktraceur listens [15:38:17] er, you know, actually {{Feat|Maneuver|{{{2|}}}|{{{3|}}}|{{{not typing that all out... [15:38:20] but you get the point [15:38:22] so! [15:39:07] Now my actual maneuvers can just do {{Maneuver|Hit him in the head|attack action|1 fatigue|blah blah whatever}} right? [15:39:33] ialdabaoth: Sure [15:39:52] And I have this really clever thing where when I build a character class page I can just say {{Class|Fighter|Maneuver}} and EVERY feat tagged with 'Maneuver' automatically gets included [15:40:01] Well, assuming you don't want "Hit him in the head" to go anywhere [15:40:07] Because you skipped {{{1|}}} [15:40:20] Ah right, sorry. [15:40:23] but yeah [15:40:29] Anyway, all that is working GREAT [15:40:35] but here's what I'd love to be able to do [15:40:47] so I have a page called Hit Him In The Head [15:40:54] (for example) [15:41:08] and it just looks like {{Maneuver|Hit Him In The Head|Stuff|Stuff...}} [15:41:34] Did I ever deploy Scribunto on ShoutWiki? [15:41:34] And then I have another page called Slash Everybody (these are all deliberately horrible examples to explain easily) [15:41:49] And it just looks like {{Maneuver|Slash Everybody|Stuff|Stuff}} [15:41:52] etc. [15:42:18] So it occurs to me that I'd love to just be able to have the template be for Maneuver be {{Feat|Maneuver|{{PAGENAME}}|1|2|3|etc}} [15:42:21] you following me so far? [15:42:34] Yup. [15:42:39] since the page name is always the name of the feat which is always the first parameter passed [15:42:41] so, I do that [15:42:46] and then the Fighter page pulls them up [15:42:54] and it has 50 feats, all of which are named 'Fighter'. [15:42:59] Hrm. [15:43:04] Because the pagename is 'Fighter' [15:43:06] Oh, because it's transcluded there, right. [15:43:20] because the Fighter page is what you're on, and it's just including all the Maneuver pages. [15:43:25] Exactly. [15:43:36] So what I want is for it to grab the page name of the FIRST NON-TEMPLATE page [15:43:38] you see? [15:43:38] ialdabaoth: Maybe you could use {{subst:PAGENAME}} but I'm not sure how that will manifest [15:43:53] It might happen that the page name will get transcluded as the template's page title, but worth a shot [15:44:04] Oh, no, wait, that'll get PST'd on the first save of the template [15:44:06] Ignore me. :) [15:44:19] marktraceur: Well, actually I do that, sort of! I have a "create new feat" page that does exactly that. But what I REALLY want is, when I rename a feat, I just have to rename the page name and it automatically changes that first variable name inside [15:44:30] Yeah. [15:44:33] (You see what kind of madman I am) [15:44:44] ialdabaoth: I understand what you mean, I just don't think it's something we've thought of [15:45:03] ialdabaoth: FWIW this sounds like the sort of thing that people, in the past, have tortured the templating system to be able to do. :P [15:45:19] marktraceur: Well, that's definitely the kind of guy I am. [15:45:23] I wouldn't even use Lua, probably - it sounds like a Wikibase sort of thing [15:46:06] but yeah, basically I have pages transcluding lists of other pages based on queries, that then are transcluded into other pages as queries [15:46:16] which means that my dev time for building new classes / features / etc. is INSANELY fast [15:46:36] like, I can type in a single line and define a new feat, and it instantly appears in all the feat lists it's supposed to, and in all the classes it's supposed to [15:46:39] which is awesome [15:46:52] Cool. [15:47:05] But sometimes I decide I want to rename something and it takes about 30 seconds instead of the 5 seconds I want it to (because that's the kind of guy I am) [15:47:19] I think your experience with Wikibase would probably be a little slower on development but faster for renaming [15:47:38] Plus it wouldn't be based on templates which is good. [15:47:54] and if this was just me I'd be fine, but I kinda want to be able to pull in other people to help with making this game, and so it needs to be something that non-experts can easily work with [15:47:57] does that make sense? [15:49:27] Oh, sure. [15:49:39] here, let me reify. [15:49:41] ialdabaoth: I don't think many people have had issues with Wikibase, though [15:49:47] This is my base feat page: http://open4e.wikia.com/wiki/Template:Feat [15:50:18] ialdabaoth: Here's an example of a Wikibase item: https://www.wikidata.org/wiki/Q1092 [15:50:37] (I randomly typed in the Q for Star Trek, I'm very happy about that) [15:51:37] hmm. That looks like it'd take time for me to understand what's going on under the hood [15:52:47] marktraceur: But do you see what I'm doing with mine? [15:54:19] * marktraceur looks. [15:54:20] Here's an example of it in use: http://open4e.wikia.com/wiki/Two-Weapon_Fighting_Style [15:54:45] Sure. [15:54:49] if you click 'show' next to 'Leveling Up' it expands a section that is doing all the dynamic search-and-transclude [15:55:08] (and then this page itself gets dynamically transcluded into other pages that are doing their own searches) [15:55:44] Right. [15:56:21] And that whole page is just one line: {{feature|Two-Weapon Fighting Style|Fighter|Maneuver}} [15:57:02] ialdabaoth: I dunno, I think you won't be able to do the fancy page name stuff with just templates [15:57:09] You're gonna need Lua or Wikibase for that [15:57:16] marktraceur: Aright. Well, it was worth a try. [15:59:00] *nod* [15:59:05] ialdabaoth: But it's a cool concept! [15:59:08] I like the idea [16:21:11] join #wikimedia-research [16:21:39] NO. [16:21:42] You can't make me [16:34:40] So I'm using HTMLForm, even with it's evil, evil, EVIL restrictions on ids and names, but I was wondering if anyone could direct me to where I can find documentation on how to output once the form has been submitted [16:44:46] Ah, it would appear I simply need to return. Carry on. [16:45:00] I'm pretty sure you can change most of the ids and names [16:45:00] * Ulfr_ needs to get out of the habit of asking stupid questions just before he figures it out himself :D [16:45:20] parent5446: Oh, you can. It's the restrictions on chars you can use that drove me up a wall. [16:45:31] Ah, didn't know there was a restriction like that. [16:45:42] it accepts numbers, letters, dashes, and underscores. Anything else? Verboten. [16:46:00] and if you run it through the cleaner, it appears to make up char substitutions. [16:46:10] why would you use anything else for an ID? [16:46:31] Vulpix: It was for a name, I've got an app that takes anything after the / in index.php/ as an argument [16:47:11] which has things like ? and = in it. [16:47:50] Vulpix: https://doc.wikimedia.org/mediawiki-core/master/php/html/classSanitizer.html#ae091dfff62f13c9c1e0d2e503b0cab49 [16:49:05] well, I see that html5 accepts anything as an ID, except space characters [16:49:17] but that wasn't true for XHTML [16:49:49] anyway, the idea of using any other character on an ID makes me frighten [16:50:26] Ulfr_: well, that doc explains it pretty well: This will use HTML5 validation if $wgExperimentalHtmlIds is true, allowing anything but ASCII whitespace. Otherwise it will use HTML 4 rules, which means a narrow subset of ASCII, with bad characters escaped with lots of dots. [16:50:48] Vulpix: Except I did that, and it was all like, nope. [16:51:37] if ( $wgExperimentalHtmlIds && !in_array( 'legacy', $options ) ) { ... [16:51:50] maybe you're running an old MW version? [16:51:56] Vulpix: 1.23.1 or .2 [16:52:04] Sorry, i'll stop tabbing your name [16:52:23] idk, maybe I just goofed it up while I was being incredulous, but at this point I'm just including a hidden input that carries values [17:02:38] ^d: Does CirrusSearch require a seperate elasticsearch ( daemon|| config ) for each wiki or is it cool? [17:02:58] * Lcawte is still looking for WMF config [17:03:11] https://noc.wikimedia.org/conf/highlight.php?file=CirrusSearch-common.php [17:03:45] <^d> Lcawte: No, one cluster. We use the $wgDBname as our index name, for the most part. [17:03:55] <^d> So as long as you're not naming all your wikis wikidb, you're fine. [17:04:22] But wikidb is the best db name :( [17:04:39] ^d: No $wgDBprefix too? [17:04:49] <^d> wfWikiId(), actually. [17:04:54] I guess wikidb.foo_ [17:05:22] But I need a job queue that updates right, and doesn't just create jobs that will never get run? [17:05:32] <^d> Yes. [17:07:21] A job queue that never runs... [17:12:26] Yeah... still looking into a solution that will work for ShoutWiki and not wipe out our main server while it runs... I think this is a problem that needs money throwing at it. :P [17:22:38] http://myfox8.com/2014/08/06/wikimedia-refuses-to-remove-animal-selfie-because-monkey-owns-the-copyright/ [17:22:41] ^wat [17:23:32] Well, they're not wrong [17:23:52] Indeed, I just think it's the funniest copyright issue I've seen WMF run into. [17:24:09] did you read the transparency report? [17:24:19] No. Link? [17:24:22] https://transparency.wikimedia.org/ [17:24:35] "A Tasmanian aboriginal language center demanded the removal of the English Wikipedia article on 'palawa kani', claiming copyright over the entirety of the language." [17:24:54] O.o damn I've been missing out [17:25:07] It was only released today :) [17:26:02] Greetings! I'm using MW 1.23.2 with the GoogleLogin Extension (http://www.mediawiki.org/wiki/Extension:GoogleLogin). Special case here: the wiki is locked down with $wgGroupPermissions['*']['read'] = false; - my question is: is it possible to allow access to anonymous to one specific Page of the wiki when everything else is locked down? [17:28:50] ah, could $wgWhitelistRead (http://www.mediawiki.org/wiki/Manual:$wgReadWhitelist) be the solution. Trying it out right now :) [17:29:27] it's $wgWhitelistRead [17:31:20] yeah, it works! great! rubber duck configuration, thanks for listening :) [17:47:40] Wuts the standard mediawiki datatype for a large block of text I have no reasonable expectation of filtering by? [17:48:41] in terms of sql btw [17:48:57] !db text [17:48:57] See http://www.mediawiki.org/wiki/Manual:text_table [17:49:20] mediumblob, apparently [17:51:16] Swag. [17:51:25] 16k should be sufficient [17:51:27] (I hope.) [17:54:51] I realize this isn't the right forum for this, but I *need* to vent this. One of my users just DEMANDED a new laptop because his had the wrong USB ports. Upon further investigation it was determined that he tried once to insert it, upside down, and assumed it was the computers fault. [17:55:53] Upon inserting the plug correctly and the device *working* before the users eyes, still demanded a new laptop. [17:56:03] * Ulfr_ is currently getting a quote for purchasing a new laptop for that user. [17:56:38] Ulfr_: lol [17:57:42] THIS USER IS A PRACTICING DOCTOR. LIVES ROUTINELY DEPEND ON HIS DECISION MAKING ABILITIES. [17:58:17] Lol sounds like a great /r/talesfromtechsupport story [17:58:33] Good luck Ulfr_, there is much more stupidity to follow [17:58:54] parent5446: Oh, no. I know. This one just... Oh man. [18:00:01] I'm used to things that I can't really comprehend, but suppose would make sense on some level. e.g. I developed an application for my wiki. This application requires the user be logged in. When that portion of the functionality was released, I recieved ~25 bug reports complaining that they had to log in, and didn't grasp why it was necessary. [18:00:17] There was nothing wrong with the functionality, it worked great. They just thought it was stupid that they had to be logged in [18:00:28] Perhaps you need to explain why in the message that refuses them. [18:00:45] GreenReaper|WF: It does! [18:01:34] Then you should direct users to it and require new bugs to be filed for $5. :-p [18:02:07] GreenReaper|WF: You very well may be on to something. [18:02:29] or use bugzilla so they *need* to loging to report a bug, and you can throw a WONTFIX on them :P [18:02:29] The Dilbert cartoonist had it right: make your money off of stupidity. [18:02:34] *log in [18:11:59] Hi guys! [18:12:21] This stupid mod_rewrite is driving me crazy!!! What is wrong with this rewrite rule: [18:12:38] RewriteRule ^(.*)/singlehtml/search.html(.*)$ /$1/search.html$2 [18:12:57] Joergi: You forgot to complete the ritual beforehand. [18:13:15] In words: if the URL contains /singlehtml/search.html, then rewrite to /search.html. [18:13:35] Ulfr_: Ritual? Which ritual? [18:13:47] Joergi: The one with the full moon and the chicken, with some chanting! [18:14:04] * Ulfr_ will stop giving unhelpful responses now. Sincere apologies. [18:14:24] Ulfr_: I even ran above the roof and shouted like a wolf - did not help. [18:14:26] Any ideas? [18:16:00] I only want to rewrite [18:16:09] from /singlehtml/search.html [18:16:11] to /search.html. [18:16:22] What am I doing wrong? [18:16:48] Joergi: what is doing that rewrite now? noting? [18:17:20] Nothing (at least it does not rewrite anything). [18:18:24] just to be sure, did you restarted/graceful the apache after applying the rewrite rule? [18:19:10] Rewrites *cry* [18:19:45] Vulpix: No, I believe I even can't do that... [18:20:33] ah, well, if it's a .htaccess you don't need to restart [18:21:08] * Vulpix is used to have root access in hostings and full control over all services and such [18:21:27] It _is_ in .htaccess. [18:22:29] I figured that out with the last message, it's just me that I'm used to put those things in apache conf directly [18:23:15] maybe you don't have permissions to put rewrite rules in .htaccess and they are ignored? [18:24:24] for your problem, that RewriteRule looks to me like it should work, but who knows... I'd go for debugging it with RewriteLog http://stackoverflow.com/questions/9632852/how-to-debug-apache-mod-rewrite [18:28:10] RewriteRules _generally do work_ - there already are plenty of rule in the file and all are working. [18:28:25] Anyone seen jdforrester at the Barbican this evening? [18:28:41] spkdev: He's James_F|Away around here :) [18:29:04] @marktraceur , thanks :) [18:29:13] (no @ necessary, mate) [18:29:33] Right you are. Reflexes, reflexes... [18:31:08] Vulpix: I cannot even view, let alone activate the log... [18:31:43] I tried the hint with wget tough: The URL to be rewritten gives an error 404 - same as I see in the browser. And no rewrite... :-( [18:49:14] I just don't see an error in there. [18:49:18] Maybe a bug? [18:52:08] a bug in what? apache? wrong channel, then [18:59:09] Don't know. I still believe the rule is correct... [18:59:24] RewriteRule ^(.*)/singlehtml/search.html(.*)$ /$1/search.html$2 [18:59:27] Anyone? [19:05:50] Joergi: Where you putting this? [19:06:00] .htaccess? [19:06:10] Joergi: Do you have access to httpd.conf? [19:06:15] or w/e you configure vhosts with [19:06:16] No [19:07:03] Joergi: Are you sure that the rewrite engine is on [19:07:21] I already said that: Yes. [19:07:34] Do you see a mistake in that rule or do you not? [19:08:03] Joergi: I don't know, I don't speak regex that well. I just have a working rewrite rule [19:11:12] I see. [19:11:53] Hm. [19:12:14] I wasn't done helping, because I just tested his regex and it wasn't valid [19:12:15] but hey [21:13:08] If someone wanted a little chore to do, they could make a few changesets to take care of https://meta.wikimedia.org/wiki/Planet_Wikimedia#Requests_for_inclusion [21:40:31] does anyone know whether there's a working installation of the new RESTful content API https://github.com/gwicke/restface anywhere? [21:40:43] that I could test against, without having to install stuff in a dev env? [21:41:00] gwicke: ^ although I assume you are busy/away [21:49:33] sumanah: No labs instances created recently that I can see [22:32:18] hello trying to update mediawiki getting a database error: http://pastebin.com/217vD6cS [22:36:24] Tekno: What versions are you upgrading between? What command caused the error? [22:37:19] I went to this version 1.23.2 [22:37:43] I think it was in the .10's or maybe 20 [22:38:29] O.O [22:38:46] Tekno: If it was in the .10 range that would be...probably difficult [22:38:57] Knowing where you came from would be helpful; is this a public wiki? [22:39:08] yes [22:39:14] unlab.ca/w [22:39:56] Hrm [22:40:09] I just enabled sql debug [22:40:30] I tried adding that column to the database now its looking for another one [22:40:37] Tekno: habe you ran update.php? [22:40:38] Tekno: Did you run update.php? [22:40:41] DAMN [22:40:50] * marktraceur shakes fist at MatmaRex [22:40:54] nope how do I run that? [22:40:58] !update.php [22:40:58] update.php is a script that updates the database tables. You usually need to run it after upgrading MediaWiki or installing certain extensions. For details, see [22:41:08] fhocutt: things going well? I'm about to head to meditation. [22:41:27] I have no console access will that prevent me from doing that [22:41:35] its a shared host with just cpanel [22:41:42] There should be a way [22:41:53] sumanah: going slow, will settle down with food, tea, and documentation and see what I can do [22:41:54] Tekno: https://www.mediawiki.org/wiki/Manual:Upgrading#Web_browser [22:42:04] have a good time. [22:42:11] fhocutt: ok. I have 10 min in case you want to break down todo lists or what have you [22:42:22] is 100MB's big? [22:42:26] Eugh [22:42:28] Kinda. [22:42:35] actually fhocutt are you blocking on my read of your draft? [22:42:45] Tekno: You could *try*, but if you get timeout errors, you know why [22:42:55] sumanah: hm, a quick look-over would be helpful on that, yes [22:43:13] Tekno: If you have 100MB of articles on your wiki, it may be time to move off of shared hosting :) [22:43:31] http://unlab.ca/w/mw-config/ [22:43:35] no werky [22:43:58] fhocutt: "For each wiki, you make a mediawikibot." - I just realized, there's no way to make a single bot that talks to multiple wikis? :/ [22:44:06] or rather, that's not the default maybe [22:44:13] Eugh [22:44:37] you can have multiple of those in one client [22:44:46] oh [22:44:53] Tekno: Looks like you have an extension that authenticates with WordPress? [22:45:01] yes [22:45:03] Tekno: If so, you may need to update that extension... [22:45:07] but they have different endpoints, and most client libraries work with one endpoint at a time [22:45:40] I like "A lot of the time, you don't have to touch stuff in core. Here are [22:45:40] the exceptions (tweak the user-agent, for instance)." [22:48:08] * sumanah looks at http://docs.python-requests.org/en/latest/dev/philosophy/ - it is not relevant to this but interesting [22:48:33] http://docs.python-requests.org/en/latest/dev/todo/ might be interesting fhocutt [22:49:03] cool, thanks [22:49:43] and you've already seen http://thegnomejournal.wordpress.com/2009/11/23/telepathy-overview/ [22:50:06] fhocutt: your skeleton looks good to me! [22:50:13] cool, thanks. [22:50:18] I'm sorry, I didn't know you were blocked by my lack of response [22:51:34] fhocutt: and if you are still looking for other Java examples, you might want to look at Lucene as an example of a Java project that has high-quality code, and probably good docs although I do not know that empirically [22:51:51] thanks. [22:52:04] marktraceur, doesnt seem like there was ever an update for it [22:52:18] Tekno: Well, it might just be incompatible with the latest version then. [22:52:19] * sumanah waves [22:52:26] Hellbaskets. [22:52:39] I have a social question: [22:53:01] how can I train myself to be able to talk over other people without hesitating, and not stop talking when other people try to talk over me? [22:53:02] CiaranG is responsible for this [22:53:03] http://projects.ciarang.com/p/WPMW/source/tree/master/AuthWP.php [22:53:23] http://www.mediawiki.org/wiki/Extension:WPMW [22:53:40] ialdabaoth: It's just something you have to get used to, I guess. You could try hanging out in really highly populated channels and see if you can handle it, maybe [22:53:57] channels? [22:54:07] oh woops this was posted in the wrong channel :) [22:54:12] ialdabaoth: Oh, you mean in person [22:54:13] Lol. [22:54:23] * marktraceur interprets the real world as an imitation of IRC [23:00:13] Tekno: I dunno what to tell you - go back to the old version maybe? [23:00:59] the old version has an error from prce [23:01:22] said the only fix was to update to new mediawiki [23:02:13] Tekno: Maybe just update by one version number? [23:02:22] Instead of however many you actually updated [23:02:39] Or disable the Wordpress auth extension for now? [23:03:21] is there a way to run that command from a cronjob [23:03:48] Could probably do that, yeah [23:03:53] Just run it with php [23:25:02] marktraceur, I removed my localsettings.php which then started the setup process which then prompted me for a new database setup, I entered my old credentials and it said hai guise database already exists would you like to update... said sure bud. and now it seems like were getting some place [23:27:46] I then copied my old localsettings.php back and it lit up the site. [23:27:55] now theres more errors to deal with though [23:37:01] ok down to two errors last ones were from old skins sitting in the directory [23:47:29] hi all! [23:47:44] suddenly i started getting the QINU bug all over my wiki [23:48:03] i run mw 1.22.2, and i updated and then deactivated all the extensions to see i they were the cause, but they werent [23:48:13] all except the Semantic MediaWiki, Maps and Validator extensions [23:48:37] anyone knows what may be happening? [23:49:46] yay all fixed [23:50:03] easier than I was expecting :))))))))))))))))))))))))))))))))))))))))))) [23:55:26] https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Debugging goes OK until ./setup.sh [23:56:33] This produces the following error: https://dpaste.de/VqPD [23:59:00] Any thoughts?