[01:37:59] I'm trying to create a library that will allow software developers to create a chain of password hashers so they can upgrade their hashing algorithm or convert between different software without worrying about passwords. Where can I find all of the past and present ways that Mediawiki has used to hash its passwords? [02:43:08] Hello, can someone help me. I just finished going through the MedaWiki installation steps, and have moved LocalSettings.php to the root directory of the Wiki, but the wiki fails to load. Instead, when I go to the wikis index page, the request hangs and does nothing, [04:42:05] Hi groundup. [04:42:14] groundup: The source code of mediawiki/core.git, I guess. [04:42:47] I'm still not sure what you're doing still. [04:43:02] But in MediaWiki, we version passwords using capital Latin letters, I believe. [04:43:13] So like :A:, :B:, etc. or something like that. [04:44:57] Probably look in includes/password/Password.php as a starting point. [04:46:25] Hi backnforth. [04:46:40] !debug | backnforth [04:46:40] backnforth: 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 [04:46:52] You can using curl to see what's going on with the HTTP request. [04:46:59] Maybe it's redirecting in a loop or something stupid? [07:31:28] Hey guys. Is there a way to add a password protected private wiki for certain user alone? [08:57:28] Hi Guys.. Did someone of you know why my Visual Editor could break when i try to Edit a Page with Pictures. Its loads completly but wont "flip over" [11:56:53] Hi everyone this Chen*2, new to computing and how I have know this is because of GCI [12:57:58] http://stackoverflow.com/questions/34779164/display-math-equations-in-mediawiki <-- can anyone see what's going wrong here? [13:04:07] Hello! This is my first time using IRC! [13:05:46] pi-: tgr answered you? [13:06:02] Reedy: I've edited the question in light of his answer [13:06:35] make[1]: ocamlopt: Command not found [13:06:40] That would suggest a missing dependancy [13:06:51] I still don't get correct rendering: x^2 comes out as "Failed to parse (Missing texvc executable. Please see math/README to configure.):" [13:07:33] I wonder if it is because my mediawiki is a single point release behind. [13:07:50] I suspect not [13:07:53] I was hoping not to have to upgrade, as it seems a fairly involved process [13:08:01] You need to install a package to install ocamlopt [13:08:13] debian or ubuntu? [13:08:17] ubuntu [13:09:11] hm so I still need to execute 'make' even though I am no longer attempting to get texvc to compile? [13:09:30] This step isn't in the instructions on https://www.mediawiki.org/wiki/Extension:Math [13:09:33] Have you got the binary from somewhere else? [13:09:51] ocaml-nox provides ocamlopt [13:10:00] nope, I just followed the links on that page [13:10:50] if you do apt-get install ocaml-nox [13:10:55] make should get further through the process [13:11:21] I wonder if this `php update.php` ( https://www.mediawiki.org/wiki/Manual:Update.php ) command executed 'make' automatically for me, and that is why it is not listed in the instructions [13:11:30] No, it doesn't [13:11:41] I thought I skimmed through the terminal output, and verified no errors [13:12:03] ok I will see if I can get make working. Thanks. [13:13:47] ok!! [13:14:04] Now it compiles and I get a different rendering error: "Failed to parse (PNG conversion failed; check for correct installation of latex and dvipng (or dvips + gs + convert)):" [13:16:23] https://www.mediawiki.org/wiki/Manual:Troubleshooting_math_display_errors#.22Failed_to_parse_.28PNG_conversion_failed.3B_check_for_correct_installation_of_latex.2C_dvips.2C_gs.2C_and_convert.29.22 [13:19:48] ls -lH `which gs` `which latex` `which dvips` `which convert` <-- this tells me I don't have a 'convert' -- everything else is present [13:32:12] IIRC convert is imagemagick [13:32:35] it is part of imagemagick [13:39:06] `sudo apt-get install imagemagick` ... So now I have a /usr/bin/convert [13:39:39] Still getting the same "Failed to parse (PNG conversion failed; check for correct installation of latex and dvipng (or dvips + gs + convert)):" error [13:40:27] ## To enable image uploads, make sure the 'images' directory [13:40:28] ## is writable, then set this to true: [13:40:28] $wgEnableUploads = true; [13:40:29] $wgUseImageMagick = true; [13:40:31] $wgImageMagickConvertCommand = "/usr/bin/convert"; [13:40:46] ^ I uncommented these from local settings [13:41:11] Although it looks as though that is using Image magick for a different purpose [13:55:04] is there a clean way to remove the toolbox from the sidebar MediaWiki:Sidebar edit has no effect for that [14:03:06] : [14:03:36] ok! `sudo apt-get install texlive-latex-extra` followed by rebooting the server, and it is rendering correctly! [14:05:32] I've got my errors turned on, and the page is displaying 'Notice: Missing <code>texvccheck</code> executable. Please see math/README to configure. in /home/pi/web/wiki/extensions/Math/MathInputCheckTexvc.php on line 65
' [14:08:27] pi@PiDroplet:~/web/wiki$ find . -iname texvccheck [14:08:28] ./extensions/Math/texvccheck [14:08:55] That is strange, it says it is missing but I have it! [14:25:03] Finally I have fixed everything: http://stackoverflow.com/questions/34779164/display-math-equations-in-mediawiki [14:25:42] But it has been 3 hours of stumbling [14:26:04] And I'm not sure my paper trail is even particularly useful for the next person [14:26:19] The instructions on the original Wiki page are far from adequate [14:26:56] But I don't feel confident to modify them. [14:27:47] The strange thing is I'm sure last year I experimented with displaying equations, and got it working instantly. [14:27:54] I have a distinct memory of it. [15:52:23] hello, quick question: i take it it is preferred to use Mediawiki with MySQL, as opposed to Postgre? In the installation page it warns about a list of issues with the latter [15:52:56] I would prefer to use Postgre if possible, but can use MySQL as well [15:53:58] I think almost all core developers use MySQL/MariaDB [15:54:14] sqlite probably works [15:54:19] no idea about postgre [15:54:45] the db is hosted at another server, so I'll go with MySQL then [15:54:59] thanks Krenair [16:03:36] postgres works fine (and is officially supported), but it doesn't always get as much regression testing and attention as mysql [16:08:26] I'll try MariaDB then, at least while I familiarize with the system. This will probably stay at my org [16:09:14] yeah, if you really have no preference, mariadb is probably best [17:23:03] is it possible to link directly to all pages in a specifiy namespace (URL)? http://wiki.somewhere/wiki/Spezial:Alle_Seiten&WHAT_IS_IT [17:25:50] someguys: &namespace=1 [17:25:58] 1 being the namespace integer. [17:26:26] eg: https://en.wikipedia.org/wiki/Special:AllPages?namespace=101 [17:26:35] (all stuff in Portal_talk) [17:30:55] ostriches: yup, that work's. thx. [17:31:24] yw [18:05:22] Howdy everyone! I've got a question about a global being defined in SemanticResultsFormats, do I have to dip over to to the SMW channel or can I ask about it here [18:10:02] * Ulfr shrugs [18:10:54] I'll assume that means I can ask :D Despite the script path being listed correctly on Special:Version and no modification I'm aware of listing this directory, images have /wiki/ prepended to the url, causing an issue. I have absolutely no idea where that value is being pulled from [18:11:22] The directory it should be pulling from is something completely different, and the variable it's pulling from is listed correctly. What happen D: [18:25:30] Nevermind. Had an ancient version. Shouldn't have trusted anything with the word global in it was recent. [19:16:52] Can an extension "install" a wiki page with content? [19:16:56] Is that possible? [19:17:32] Joergi: Install how? [19:17:35] Joergi: explain what you mean? Fill a wiki page with content? [19:18:04] I have an extension, which should display a certain text. [19:18:29] Currently, the extension teakes this text from a wiki page - which I create manually when I install the extension. [19:18:44] I wonder, if there is a way to let the page come with the extension. [19:19:01] Like: Installing the extension also makes the page with the default text available. [19:19:14] Is that possible somehow? [19:19:23] Yup, it'd be possible [19:19:41] Not sure the best way, straight off [19:19:45] What interface text would I need to edit to change "A confirmation email has been sent to the specified email address. Before any other email is sent to the account, you will have to follow the instructions in the email, to confirm that the account is actually yours."? [19:20:05] Reception|away: search for it? [19:20:09] Else, if you're looking at the page [19:20:13] ?uselang=qqx [19:20:17] It'll tell you the message key [19:20:50] https://meta.miraheze.org/wiki/Special:ChangeEmail [19:21:09] Yeah [19:21:09] But its just the confirm page [19:21:16] if i do ?uselang=qqx it takes me to the change page. [19:21:19] Wait let me try something [19:21:24] Reedy: What are the possiblities, which you have in mind? [19:21:39] Editing pages from an extension is easy [19:21:45] The question is where you'd do it [19:22:02] ? [19:22:19] Currently, when I install in the extension, all I do is add the require_once() call in LoclSettings.php... [19:22:37] Reedy : It still gets me to the page with the form instead of the confirmation page. [19:22:40] I guess, it would need hooking into update.php then? [19:23:10] You could, but meh [19:23:49] What can I do? [19:24:02] I was going to suggest https://meta.miraheze.org/wiki/Special:AllMessages [19:24:07] but taking an age to load [19:24:21] https://meta.miraheze.org/w/index.php?title=Special%3AAllMessages&prefix=&filter=all&lang=en&limit=5000 [19:24:34] Ctrl + F [19:24:35] A confirmation email has been [19:24:41] https://meta.miraheze.org/wiki/MediaWiki:Eauthentsent [19:26:48] Reedy: Is there a way to add a wiki page, without having to add it to the DB? [19:27:06] What does this page do? And where would it go? [19:27:38] It is a template and the extension will transclude it on other pages. [19:28:50] The extension does some magic, which decides whether the template needs to be included on a given page or if not. [19:29:00] Reedy : Thanks :) You always save me :D [19:29:28] If it needs to, then it adds the template to the wiki text of the according page. [19:30:04] Now it would be nice, if the default text could be added by the extension automatically, so that the according template page [19:30:10] does not have to be created manually. [19:30:40] However, it should still be possible to overwrite the text - e.g. by changing the text on the according template page. [19:35:03] Reedy: That's what it's supposed to do... [19:35:14] Reedy : Sorry for bothering again but is there a way to make all MediaWiki: pages editable only by bucreaucrats? [19:35:27] * Reception|away Found it https://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection [20:00:00] https://www.mediawiki.org/wiki/Manual:$wgRevokePermissions states Revoking a right with $wgRevokePermissions takes precedence over granting it with $wgGroupPermissions. If the right is revoked for even one of the user's groups, they will not have it, regardless of whether it's explicitly permitted by other groups. [20:00:28] I'm thinking this is incorrect. In wgConf I have a wiki's RevokePermissions revoke 'nuke' from sysop, but I can still use it even tho I'm in sysop and bureaucrat. [20:00:36] unless of course my config is wrong, or global rights ignore it [20:05:02] I figured it out [20:05:15] Special:GlobalGroupPermissions override local $wgRevokePermissions settings [20:05:22] that should prolly be documented somewhere. :) [20:07:10] hi, on the default layout, which file I need to edit to edit the MainMenu? [20:07:25] !sidebar [20:07:25] To edit the navigation menu on the left, edit page [[MediaWiki:Sidebar]] on your wiki using its special syntax (see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar for details). If you need more control, you can use the SkinBuildSidebar hook (https://www.mediawiki.org/wiki/Manual:Hooks/SkinBuildSidebar). [20:11:31] Reedy: I don't wanna edit the sidebar ^^ I want to edit the Main Menu (the thing that is on top of every page mostly) [20:12:11] since I want to make it look like the MainMenu from my hompage [20:19:39] Aebian: Customize the CSS [20:20:10] andre__: I should have looked into the folder to find the css file... Thanks I will do [20:21:02] Aebian: No! [20:21:04] Don't do that [20:21:06] Hello, while running command ssh -p 29418 @gerrit.mediawiki.org, i get an error Network is unreachable. I have a proxy server here . Is that the problem? [20:21:08] Aebian, well [20:21:17] Reedy: I copied the theme anyway [20:21:20] Aebian, I would start with https://www.mediawiki.org/wiki/Manual:CSS but it might require more changes. [20:21:26] adeora7: Yes [20:21:31] adeora7, yes [20:21:32] heh. [20:21:34] I mean I cloned the folder [20:22:03] how can it be fixed? [20:22:13] You can't exactly [20:22:16] You can work around it [20:22:21] Clone using HTTPS etc [20:22:46] ok [20:22:50] Reedy: why exactly shouldn't I edit CSS codes? [20:23:06] Aebian: no, you shouldn't edit the files on disk if you're modifying core [20:23:18] If you've taken a copy of them, and are using that... That's not so bad [20:23:58] Aebian: If you are using an own skin anyway, then you should be able to modify the appearance of the header bar [20:24:06] in your Skin.php file. [20:24:30] well I wouldn't edit the default files right away. I copied the vector skin folder to edit it to fit my needs [20:24:43] thanks for the info Joergi [20:24:45] If I remember correctly, at least the Vector skin first builds an array of the items in that menu and then inside one of the portal functions, it renders the menu out of that. [20:25:31] Directly after it has made up that array and before it uses it to build the HTML code out of it - this is the place, where I would modify the items. [20:25:58] Maybe there even is a hook, which already gives you access to these items, but I don't know that off hand. [20:26:03] okay, thanks [20:28:11] Aebian, here is the code: https://github.com/wikimedia/mediawiki-skins-Vector/blob/3f1515a7b223793818c6ac82805ee3b6c462fe50/VectorTemplate.php#L502 [20:28:59] No, class BaseTemplate does not have a hook in its getPersonalTools function. [20:29:29] So I would add my magic in VectorTemplate.php behind that line 502. [20:29:32] uhm okay :D [20:31:40] is there a clean way to remove the toolbox from the sidebar MediaWiki:Sidebar edit has no effect for that [20:38:04] asik, what toolbox exactly? [20:40:47] asik: http://www.mikebrawley.com/2011/11/how-to-remove-toolbox-from-the-sidebar-in-mediawiki/ [20:45:22] With file uploads, you choose a license. The system relies on templates. One of the templates is 'self'. The options are managed through MediaWiki:Licenses such as https://www.mediawiki.org/wiki/MediaWiki:Licenses That set is simple. The set of licenses that comes with the software by default is vast. The 'self' template at https://en.wikipedia.org/w/index.php?title=Template:Self&action=edit is crazy. What to do? I can [20:45:22] create my own template, but isn't that a glitch that someone setting up their own mw needs this machinery in the background AND it doesn't come with the system? [20:47:26] (I have to leave for a bit, be back in an hour. Would love to hear from someone familiar with https://www.mediawiki.org/wiki/License_integration_MediaWiki or https://www.mediawiki.org/wiki/Files_and_licenses_concept) [20:48:06] freephile, which problem do you try to solve? [20:49:19] andre__: a missing template {{self}}, that is included by a MediaWiki interface page [20:50:25] I can create the template, but I'm pointing out the disconnect: If you run a wiki, you'll have users uploading files. They'll choose licenses, and the license system relies on templates that don't exist in the software [20:51:23] Is that a general request to include such templates? Or to generally improve the documentation? Or for recommendations how to fix your specific situation? [21:10:19] hey guys anyone happen to know from a semantic media aspect what the best data type is for an ip address? [21:21:03] Deep6: 32 or 128 bits integer ? [21:25:21] I don't think that's a data type for smw [21:25:24] I guess number? [21:32:33] don't use numbers if you don't plan on performing calculations with it [21:33:04] I'm surprised it doesn't have a built in data type like Temperature [21:33:18] I'll go with text I guess [22:27:36] Hey everybody! I'm trying to update my wiki from 1.22 to 1.23 (after failed attempt to update to 1.26) [22:27:41] and it looks like the only pages that exist after running update.php are ones in Template namespace [22:27:56] Main namespace, Categories, etc are empty [22:28:04] the wiki is in Russian [22:28:23] any thoughts? [22:28:41] Is it public? [22:28:47] yes [22:29:19] Link? [22:29:28] I don't speak russian, but it's useful for starters :) [22:30:22] http://inran.ru/wiki [22:31:57] it seems it has problems with localisation, since the only pages that are shown are named in English [22:32:05] Russian names are not displayed [22:32:24] Have you got the log of update.php somehwere still? [22:33:02] http://inran.ru/w/index.php?curid=460&diff=3541&oldid=3385&uselang=en database errors :( [22:33:17] mmm [22:33:20] !debug | Wesley [22:33:20] Wesley: 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 [22:33:28] Notice: Uncommitted DB writes (transaction from DatabaseBase::query (Title::newFromID)). in /home/inran/inran.ru/docs/w/includes/db/Database.php on line 4147 [22:33:36] Not great, but shouldn't be a blocker [22:34:20] that notice is stupid, just ignore it! https://phabricator.wikimedia.org/T85762 [22:34:59] Yeah, exactly [22:41:45] Ok, thanks. I'll try to debug. [22:51:52] where do exactly get he "Create Account" Stuff generated in the VectorTemplate.php ? [22:51:56] *the [22:57:04] Aebian: what's "stuff"? [22:58:50] andre__: the create account / login things [22:59:08] I just need to know where these kinda things are getting generated [22:59:44] because I need to place my navbar aboce it but I couldn't figure out where this gonna be [23:02:08] I still don't know what exactly you refer to. The top bar in the upper right corner? [23:02:15] Grep the source :) [23:03:00] I'm currently in the source lol :D Or do you mean the view-source in a browser? I mean the stuff on the upper right corner the Login / Create Account thing [23:03:30] thats turns into the Userbar with the profile after logging in [23:04:27] You're wanting to add links there? [23:06:04] Aebian, so what have you tried so far? [23:06:51] You should be able to do this in site js [23:07:54] andre__: I tried to implement my HTML code into the skin/VectorTemplate.php on several places (I copied the default folder so its fine ^^) [23:08:10] but its not getting placed above that [23:08:54] either it is in the sidebar (on the left the thing) or getting halfcut into the usermenu [23:19:20] andre__: Reedy: live error preview: https://wiki.aebian.org/wiki/Landing_Area [23:19:31] thats how it currently looks like [23:21:37] Aebian,
does look like it is getting placed above that. [23:22:49] * andre__ andre__afk [23:22:54] meh [23:23:49] andre__afk: yeah it does but its in the same line as the others [23:23:57] so idk whats wrong hmmm