[00:16:59] Okay, I found the solution in the meanwhile at https://www.mediawiki.org/wiki/Extension:Math#Purging_pages_that_contain_equations [04:44:07] how do i delete this ? [08:20:50] hi all. just playing with my first mediawiki install - 1.24.1 from the official tarball. i read the docs on skins and installed Vector from git. i don't have a sidebar and my screenshots are at https://plus.google.com/photos/111174352222530529445/albums/6131934993915400593?authkey=CKyDrfTcgaGDQA. is the skin installed properly? i was hoping for something a little richer [08:26:38] antgel_: It should be richer, actually. [08:27:16] Doesn't seem to be correctky installed. [08:29:44] Niharika_: right, thanks for confirming. i just went to $mediawiki_dir/skins and did a git clone, and added it to LocalSettings.php [08:30:02] when i go to Special:Version, i *do* see that Vector is installed [08:31:16] a weird thing: https://www.mediawiki.org/wiki/Skin:Vector says "This skin is included in the MediaWiki download tarball." but i installed the tarball, and my skins directory was empty [08:31:25] antgel_: That seems to be correct. You could maybe try deleting and reinstalling? [08:31:49] Niharika_: i'll try, i'm not hopeful but nothing to lose at this point [08:31:54] That documentation id probably outdated. It stopped shipping with the software a while ago, if I recall correctly. [08:33:47] Niharika: okay. trying it now [08:39:02] Niharika: when i uninstall the skin, i get a header at the top of the screen including "Downloading the tarball installer, which comes with several skins and extensions. You can copy and paste the skins/ directory from it." [08:39:12] but it didn't. anyway going to try again [08:42:13] Weird. [08:43:06] Niharika: same now. i note that my git clone of the vector is pointing at master. i will check out the branch that aligns with my mediawiki tarball (1.24.1) [08:44:08] yes!!! [08:44:23] can't believe it's not in the docs. i'll create a mediawiki account and update the docs [08:46:23] i am having troubles with AD logging at mediawiki, i am confused whether i need a proxy or not, anybody have experience with active directory connection settings at medaiwiki? [08:47:02] antgel_: Awesome. Thanks. :) [08:49:00] here is the LocalSettings.php entry for active directory connection: http://pastebin.com/e5KtpDje [08:50:18] if i uncomment #$wgLDAPSearchStrings = array( "turksat.com.tr" => "TURKSAT\\oguzy" ); like, it works for that username, does that mean that the AD that we are using requires an authenticated user for binding and searching other users? [09:27:09] is it possible to restrict only some users to access wiki pages? [09:29:10] ogzy: yes, I think there's a "private wiki" option in the installer. see https://www.mediawiki.org/wiki/Manual:Preventing_access [09:29:31] MC8: but it says general things [09:30:18] MC8: seems i will define some group perms [09:53:28] I'm trying to transfer my wiki to a virtual Ubuntu machine. I've extracted my_db.sql, and I've injected it into the remote SQL: `mysql -u root -p pi_wiki < /home/pi/manual_backup/x.sql` -- I've also replaced the remote /images with my local /images. Am I done? I think I need to make some modifications to ./LocalSettings.php [09:54:42] Amazing! It works, it looks like I don't! [09:55:21] Even though the original was using utf8 and the remote is using binary. I guess I just didn't have any unusual characters. It's a small Wiki I am maintaining myself... [10:03:04] Importing the .sql seems to have messed up my user login. I can no longer login as a user to my wiki. It says 'incorrect password'. Prior to that `mysql -u root -p pi_wiki < /home/pi/manual_backup/x.sql` command it accepted my password. [10:04:26] Has this import brought in the user/password from the original wiki? [10:05:28] I've tried using $wgDBuser / $wgDBpassword from the original LocalSettings.php, but no luck. It won't recognise that USER. [10:12:04] If I look in the current LocalSettings.php for $wgDBuser/$wgDBpassword, should I be able to use this pair logging into the wiki from its main webpage? Because I can't. It is accepting the username but not the password. Probably a coincidence as I use the same username everywhere. [10:12:25] pi-: Did you follow the instructions in the manual about moving a Wiki? [10:13:48] I'm a bit confused what that $wgDBuser/$wgDBpassword pair means. Because surely I can create a bunch of different users for the wiki and each would have their own password. But the variable name $wgDBuser suggests there is only going to be one. [10:14:50] that is for MediaWiki to access its database, not for the Mediawiki users to access Mediawiki [10:15:12] pi-: http://www.mediawiki.org/wiki/Manual:$wgDBuser [10:15:24] tale: I did try, but I got lost trying to follow them. [10:17:12] pi-: $wgDBuser and $wgDBpassword should be the credentials for MediaWiki to access MySQL; it is unrelated to how anybody logs in on the wiki itself [10:17:59] mmk this is my wiki: http://46.101.38.186/index.php/Main_Page -- it is read-only. Previously the wiki was on my local machine and I used some third-party stack (BitNami). I don't remember having to login to make changes... [10:19:20] pi-: does your LocalSettings.php have any $wgGroupPermissions lines [10:19:25] But now it looks as though I do. If I try, it seems to accept `pi` as a username. Which suggests I've created that user... Now I do have $wgDBuser = "pi"; ... [10:19:32] Very confused.. [10:20:08] ignore $wgDBuser for now, it is _not_ anything to do with logging into your wiki [10:20:18] $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['edit'] = false; [10:20:26] but yes, your username is Pi [10:20:53] I don't want to allow random people everything it -- I probably selected these options during setup. [10:21:31] try logging in as "Pi" with the username and whatever your old password was [10:22:23] if that fails, see https://www.mediawiki.org/wiki/Manual:Resetting_passwords [10:22:27] I don't remember having any old username or password. Pretty sure with the original it was just 'anyone can edit'. I could look at the original LocalSettings.php ... [10:23:03] you did have one :) [10:23:31] What's confusing me is how come 'pi' is getting accepted as a username... [10:24:43] because that's what you set up in the installer in September [10:24:57] hah! I guessed my old password correctly. I'm in! [10:25:10] great :) [10:25:17] damn if I only had a decent memory, my life would be so much easier. [10:25:37] * pi- writes it on the wall [10:25:58] ..the password that is.. [10:37:58] MediaWiki doesn't use markdown, right? But it has its own syntax that is a little similar... Something like this? [10:39:18] pi-: https://en.wikipedia.org/wiki/Help:Wiki_markup [12:36:00] Hello, I require help with accessing our account with Mediawiki [12:36:10] we are unsure of username and password [12:36:40] could you inform me of the proper channels through which to gain access? [12:37:24] Guest90165: Is this about mediawiki.org or another wiki? [12:38:32] sorry, we (the company I work for) have an internal wiki powered by mediawiki.org [12:39:06] and a user forgot the password and username? [12:39:13] the site itself is well established, however, due to previous staff's poor documentation, we no longer have access to it. [12:40:20] to a user account on wiki? [12:40:25] exactly. specifically, we are no longer able to access the mediawiki account. we have no problems with maintaining and updating the wiki [12:40:35] exactly [12:41:11] If you could advise how to start the process of resetting credentials I would be most thankful. [12:41:21] Do you have shell access? [13:21:05] Strange, I've just installed SimpleMathJax extension (http://www.mediawiki.org/wiki/Extension:SimpleMathJax) and tried out the demo code: `E=mc^2` it renders the formula three times. ( http://46.101.38.186/index.php/Main_Page ) [13:22:49] I notice there is also http://meta.wikimedia.org/wiki/Help:Displaying_a_formula so now I'm not sure which technique to use for displaying maths formulae. [13:23:46] I read somewhere that Wikipedia's technique is not as good as MathJax [13:31:12] pi-: MediaWiki can use MathJax too, also on Wikipedia [13:32:53] I followed the instructionss from http://www.mediawiki.org/wiki/Extension:SimpleMathJax, but the formula displays 3 times. I can't see why oh how to fix it. [13:34:03] pi-: that's not the most developed extension AFAIK [13:35:00] Most devs talk of https://www.mediawiki.org/wiki/Extension:Math [13:36:40] Thanks Nemo_bis [13:38:01] vev: have you tried any of those extensions already? http://www.libreidea.org/w/index.php/Collaborative_matrix [13:38:45] vev: in particular, have you tried any of the two extensions I mentioned in https://phabricator.wikimedia.org/T91644#1106467 ? [13:38:58] vev: yes, what you need is an extension [13:39:21] I ve just try VoteNy [13:39:36] But that never did what you're looking for [13:39:55] maybe [13:40:02] I suggest that you test the other two extensions, which tried to do what you're looking for [13:40:37] agree, but it s rly hard for me to do it, cause i am not info :s [13:40:52] but i ll try [13:41:50] vev: it's hard for everyone, but only you know what you need and only you have material on which to test the code [13:42:59] it s the reason why i made this page http://www.libreidea.org/w/index.php/Collaborative_matrix [13:43:39] could you just try to estimate how to do by seeing the vote.js file? [13:43:53] in voteNY package [13:52:05] vev: how to do what? [13:52:39] Nemo_bis: https://www.mediawiki.org/wiki/Special:ExtensionDistributor?extdist_name=VoteNY&extdist_version=REL1_24&extdist_submit=Continuer [13:52:50] Hallo. [13:52:51] Yes? [13:53:00] Is {{REVISIONUSER}} broken? [13:53:02] https://en.wikipedia.org/wiki/User:Amire80/REVISIONUSER [13:53:35] aharoni: looks like it's only working if substed? [13:54:10] mmmm... why? [13:54:12] is it supposed to be like that? [13:54:21] vev: yes, the link works for me. Do you have problems downloading? [13:54:26] aharoni: no idea [13:54:43] I already have [13:55:13] Good [13:55:24] Now you need to download the other two extensions and try those as well, on your wiki [13:58:24] vev: ok, we can wait; in the meanwhile I'll assign the task to you [13:59:19] ok [17:56:54] hi, is there a way to specify relative display of datetime? e.g. next meeting at DATE (25h from now) [17:58:45] anaran: In MediaWiki? [17:58:51] Oh, I see what you mean. [17:59:09] anaran: I don't believe so, no. You could do that in JS pretty quickly I think. Or in PHP if you have access to the server. [18:10:22] marktraceur: yes, in mw markup. thanks for the quick answer [18:22:40] I'm struggling with https://www.mediawiki.org/wiki/Extension:Math -- http://46.101.38.186/index.php/Main_Page "Failed to parse (Missing texvc executable. Please see math/README to configure.):" -- has anyone got this extension working? [18:23:26] I don't understand enough what's going on to be able to comprehend that README the error specifies. [18:24:36] I can't see where in the documentation it shows me how to make a math block on a wiki page. I'm testing out with `E=mc^2` which I got from a different extension (http://www.mediawiki.org/wiki/Extension:SimpleMathJax) [18:25:23] So I don't know whether my math extension is okay and `E=mc^2` is incorrect, or vice versa. Maybe they're both wrong.. [18:26:33] I would still quite like to get SimpleMathJax working properly, that looks to be much more lightweight and I'm all for that. [18:30:33] In fact, shouldn't http://www.mediawiki.org/wiki/MathJax be referencing http://www.mediawiki.org/wiki/Extension:SimpleMathJax ? [18:31:01] I'm going to edit and add it, if no one objects. [18:33:26] ack it doesn't seem trivial to edit, if anyone else would you care to, please do. Otherwise I will look at it when I get back. I have to go and do chores. [19:00:35] when I clone a repository with https, and then I change the remote to use ssh and do "git-review -s" I get the following error: [19:00:41] https://dpaste.de/QJ0F [19:01:45] any help? [19:44:36] How do I edit the left pane? I am aware of "Manual:Interface/Sidebar", but what I find in http://xxx/index.php/MediaWiki:Sidebar only vaguely resembles Sidebar contents; where can I find exactly what I need to put there to obtain a hand-crafted TOC? [20:19:02] Hello. Is there a way to debug a lua script? I run into some bugs... [20:23:07] Is this the right place to ask this? [20:25:39] elyashiv, maybe https://en.wikipedia.org/wiki/Help:Lua_debugging [20:27:20] Thanks. shouldn't have missed that... [20:38:56] can I return a template from a lua function? I tried the most straight forward way (returning {{template-name|args...}} but it doesn't expand. [20:57:48] since one of our last wikimedia updates the page-adding to a Category stopped working, in fact the category pages lists the page correctly when logged in, but only the old pages show up there when logged out [20:58:37] Ident: the page needs purged for annon views [20:59:21] Betacommand: thanks, i havent heard of that yet, i will look into it and report back