[02:57:56] Withoutaname: Hi, what's up? [02:57:57] !ask [02:57:57] Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [02:58:32] oh just browsing through Media Viewer files, and I saw my name pop up in a json file [02:59:08] your name was in the en.json section so maybe you or another dev imported the json files [02:59:12] Withoutaname: Did you help with the translations? [02:59:20] yeah I guess [02:59:21] Because we automatically list authours of translations [02:59:21] thanks [02:59:32] I didn't import the json files, no [02:59:37] Withoutaname: Is that all you needed? [02:59:46] yeah thanks [02:59:53] they're taken from translatewiki.net right? [03:00:49] Yes. [04:54:18] anyone here tried to install http://sourceforge.net/projects/hiddenwiki/ ? [12:46:40] * varnent runs through quickly waving and passing out bags of popcorn [13:20:41] reedy: ping :) [13:22:50] does anyone know if WMF has an Apple Developer team account? [13:25:04] correction - Mac OS developer team account [13:25:18] obviously they have an iOS one :) [13:46:37] What means Notice: Uncommitted DB writes (transaction from DatabaseBase::query (LCStore_DB::get)) ? [13:47:28] (and I have a 9 lines long backtrace log) [13:53:43] https://dpaste.de/QF0Z some backtrace [14:23:40] anyone here tried to install http://sourceforge.net/projects/hiddenwiki/ ? [14:29:48] mentifis: That looks scary... [14:30:38] yeah, why is it linked to from mw.org? :S [14:30:59] Where is it linked from? [14:32:13] I'm getting all sorts of fatal errors due to it... http://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_viewing_of_certain_specific_pages [14:32:35] Well for starters the newest version is for MediaWiki 1.16.1 .. [14:33:24] yeah, only realized after I ran the patch :S [16:23:44] mentifis: if you experient with stuff from that page, please keep documenting your experience as you just did; it's sorely needed [16:46:49] where are user rights defined? [16:51:27] Withoutaname: in config [16:51:34] http://www.mediawiki.org/wiki/Manual:User_rights [16:52:53] also http://www.mediawiki.org/wiki/Help:Assigning_permissions [16:53:08] let's say I want to add or remove permissions [16:53:43] like say, (tor-ip-exempt) [16:53:54] do i need to construct a new class? [16:54:57] lazowik: I think assigning permissions is for already existing user groups [16:55:06] what if I want to change what groups has what perms [16:55:35] Withoutaname: per first link [16:55:36] $wgGroupPermissions['group']['right'] = true /* or false */; [16:55:45] Withoutaname: you can only create new permissions, not remove existent ones, since what permissions do is defined in PHP files and there's no way to remove them unless you remove the code that makes them work [16:56:24] supposing we're talking about permissions, and not group permissions [16:56:37] yes, individual perms [16:57:07] $wgGroupPermissions['*']['right'] = false [16:57:16] that would disable for all groups [16:59:10] so you can "remove" permission by setting what behavior you'd want if the perm didn't exist [16:59:56] ok I think I see undelete.php in /core/maintenance [17:00:16] looks like these are spread all over core [17:08:59] hm, so what do you think about a blocking system like temporary permission removal? [17:21:27] Withoutaname: #OLD [17:21:56] that's a perennial proposal, current solution is to create a user group that removes some permissions and add the user to the group [17:22:47] doesn't abuse filter does that? It can remove the autoconfirmed group as an action [18:02:34] Nemo_bis how does that work? [18:03:23] lazowik already told you... [18:04:13] well I meant something like https://bugzilla.wikimedia.org/show_bug.cgi?id=14636 [18:07:48] just installed mediawiki [18:07:53] I can localhost access it [18:07:57] but not externally [18:08:04] !wg Server | monty_slate [18:08:04] monty_slate: https://www.mediawiki.org/wiki/Manual:%24wgServer [18:08:23] you need to change that variable [18:08:36] it probably points to "localhost" [18:09:00] thanks [18:09:27] change it to the IP or server name accessible from others [18:10:23] awesome worked perfectly [18:11:41] :) [18:46:49] !class FauxRequest [18:46:49] See https://doc.wikimedia.org/mediawiki-core/master/php/html/classFauxRequest.html [18:52:12] I'm trying to get the math extension to work [18:52:21] when I look in the images directory a png is created [18:52:28] however, on the page, I just get an icon [18:52:31] on sec.. [18:54:13] I see in the output html src="/images/blah/232414123.png" [18:54:33] so I guess I need to have apache point "/images" to "mediawiki/images" ? [18:54:53] $wgMathDirectory $wgMathPath [18:56:55] hi! I was editing a page on a mediawiki site and didn't save. I eventually restarted my computer and forgot about it. When I restared firefox, the tab is still open and I can still go back/forward for the many times I did preview changes. However, it's not asking me about resubmitting changes, I can't get back what I wrote. Is there any way to recover it? [19:00:21] nvm [19:01:26] carandraug: are you using the new Visual editor? [19:02:54] Vulpix, I don't know what that is, so I'm guessing no. Just the web interface, the same on wikipedia [19:04:36] there's a new editor on Wikipedia where you can edit the page directly as how it looks, not using wikicode. That's the visual editor. But I don't know if it can let the browser recover the edit on a crash/close [19:04:54] the normal wiki editor does [19:05:24] hyumm... I just noted that when I'm editing a page and close it, I'm not prompted about having pending changes and asking me to confirm to close it. I have been in some sites (stackoverflow for example) where this happens. I could propose it as a handy feature for future versions of mediawiki (unless it already has been implemented and this is just an old version) [19:05:52] it already exists [19:05:53] Vulpix, then no. I'm using the old editor and writing wikicode [19:06:32] just check on wikipedia, if you try to edit and then navigate away, you get a warning. [19:07:09] thedj, I believe you :) it must the mediawiki of this website that is a bit older then [19:07:24] than it should be upgraded :D [19:07:36] because that feature is about 3,5 years old now I think. [19:07:50] Vulpix, so if the normal wiki editor does allow the browser to recover, how should I do it [19:08:29] thedj, I'm not the sysadmin, it's not my call. It's probably whatever version they had on the repository [19:08:33] you don't have to do anything, the browser should handle that automatically, if it's capable of doing that [19:09:00] there was a feature request from Commons asking to be able to block someone from uploading, but not editing [19:09:16] any recommendations for a language exetension/colorizer etc [19:09:19] how would that work [19:09:53] I remember there was some type of geshi extension [19:10:00] but that was awhile ago [19:10:13] didn't know if there is something more popular [19:10:38] Vulpix, it usually does yes, I'm using firefox (iceweasel actually). It must have deleted the previews because it was a clean close of the browser but in the middle of the 60 tabs I had forgot about it. I could swear I had saved the changes 2 days agod :p [19:11:18] monty_slate: https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi (bundled with MediaWiki 1.21 and above) [19:14:02] carandraug: I think you expect something more like auto-save on the server side? [19:14:25] I'm not sure, but I think that there is no such thing in mw [19:16:35] lazowik, well, my first thought was indeed access the server and look into the /var/lib and look for temporary previews. But turns out I don't (yet) have access to that machine. I was actually looking at the moment for something on the client side. I'm really surprised about firefox not asking me about resending the data [19:17:23] uhm [19:18:03] then I can't help, sorry [19:18:06] lazowik, when I saw I could go back and forward on firefox history of this page, I thought I was saved. But alas, nothing was saved :( [19:19:02] lazowik, it's ok. It's my fault for not doing saves along the way and instead making only one complete change. It was one entire day of writing so I'm really shocked [19:19:14] :( [19:21:33] carandraug: do you happen to have any auto backups set? [19:21:49] maybe you could recover firefox's temp files :p [19:22:16] lazowik, wouldn't they be saved in /tmp ? /tmp is cleaned each time you boot your system [19:22:29] idk [19:23:11] ~/.mozilla/firefox/*.default/Cache [19:24:24] carandraug: maybe try to grep there for some phrase you've writeen [19:24:27] *written [19:25:19] lazowik, good idea [19:27:23] carandraug: there's about:cache in firefox [19:29:05] lazowik, well, I get a match in a file with 1 line and 984578 characteres :p [19:29:12] :D [19:29:52] carandraug: get some vim or sth then and look around [19:29:57] hmm [19:30:10] maybe split the lines with some script [19:30:16] e.g. 100 characters per line [19:30:31] then it will be easier to look around [19:30:44] lazowik, yeah! I just did that. But seems like this is just a list of all my history [19:30:58] :( [19:31:13] also, interesting that grep finds it, but when on less, the normal commands to find words were failing [19:34:06] Krinkle [19:34:35] Yes? [19:35:19] http://nooooooooooooooo.com/ [19:35:37] lol [19:38:04] Krinkle can you write a patch for gerrit? [19:38:45] Kolega2357: Can you be more specific? [19:38:52] I write various patches every single day [19:39:00] Can you? [19:39:12] Krinkle I am not know [19:39:15] Krinkle https://bugzilla.wikimedia.org/show_bug.cgi?id=61380 [19:44:52] Krinkle are you there [19:45:14] I don't know what you're asking me to do. The bug seems to be active. If there's an action item, a developer will make the change. [19:45:23] Writing the patch now seems a waste of time, the change isn't actionable yet. [19:52:51] wait has a patch been submitted yet [19:53:26] Withoutaname ? [19:53:41] i only see support for autopatrolled [19:53:48] patrolled and rollbacker are off the table [19:54:12] Withoutaname How you think? [20:04:38] hi [20:10:29] hey [20:12:51] which email id is to be given while configuring git on sytem [20:15:08] rockrs_: the one you want to be part of your commits -- they get labeled with your name and e-mail [22:27:26] anybody know a shortcut for super/subscript? [22:27:34] .. seems a little cumbersome [22:48:23] monty_slate: that's no less [22:48:51] or try [22:54:12] involves even /more/ typing, plus how it is rendered varies based on user preference, so they might not even be able to select the text. I'd recommend against using unless your goal is to actually display a math formula [22:54:37] you could save a character or three by making it a template, but beyond that is the only way to go