[00:11:06] so links are working now but the wiki has is without css, it must be cuz of $wgResourceBasePath but I don't know how to fix that [01:00:22] hi [01:01:09] I'd have a few questions, please [01:01:20] But first of all, thank you very much for this awesome piece of software [01:05:07] SemiNus: "awesome piece of software"! ru sure ur in the right channel? [01:05:26] calnation, I talked about mediawiki [01:05:37] calnation, does this sound awkward saying so? [01:05:48] please note, my first language is German, not English [01:08:34] it's not about awkwardness in the lingustic sense, more on the software side of it. I never heard anyone describing MW as awesome [01:09:11] calnation, well, for me it is, I have been search for something like this for quite a while [01:09:31] PHP based, open source, MySQL driven, easy to install, powerful [01:10:32] I take issue with "easy to install" part, the rest I agree with [01:10:56] calnation, the installation was pretty straight forward [01:11:03] What I wanted to ask: [01:11:49] I have been looking for both, a knowledge base for employees (e.g.: "Who do I have to contact when I get sick and cannot work?") and also also a knowledge base for clients (e.g.: "I forgot my password, how can I reset it?") [01:12:09] media wiki seems to be the perfect choice for my internal knowledge base [01:12:47] however, I am not sure about whether or not using it as my knowledge base that I publish info on for my clients [01:13:52] Can I transform the look and feel of mediawiki in a way to achieve something similar to this (for the knowledge base I use for my clients) [01:13:53] https://www.domaintechnik.at/webhosting-handbuch.html [01:16:34] yes, it can be seriously customized. for example, https://zero.wikimedia.org is also MediaWiki [01:16:59] wow [01:17:17] thank you MaxSem [01:19:00] MaxSem, is there any Skin that remotely resembles what I am looking for? Or should I better start from scratch? [01:20:21] https://www.mediawiki.org/wiki/Category:Mobile_skins [01:21:03] thank you calnation [01:21:14] this is actually not even a skin, just a bunch of MediaWiki:Common.css hacks [01:22:16] an other question: [01:22:39] even though I found out how to remove the powered by icon, I could not find any official statement concerning this. [01:22:46] Is it legal to remove the powered by? [01:23:25] or would I offend somebody by doing so? [01:23:34] and I also do not want to get sued [01:25:43] You can certainly remove the icon (cuz i know a known site that does that), not sure about the text [01:26:15] i.e. http://www.wikihow.com/Main-Page [01:27:17] calnation, it still says "Powered by MediaWiki" in the footer [01:27:30] yep, no icon [01:27:54] so I can either keep the icon or the text, but not remove both? [01:29:36] I believe I found an official statement [01:29:37] https://www.mediawiki.org/wiki/Manual:FAQ#How_can_I_edit_.2F_remove_the_Powered_by_MediaWiki_image_.28and_possible_other_images.29_from_the_footer.3F [01:30:20] good. still, imho, MW is a beast to maintain and wouldn't choose it if it was up to me [01:30:38] not sure if u checked these https://en.wikipedia.org/wiki/Comparison_of_wiki_software [01:31:23] I did, and I also tried dokuwiki, but I found mediawiki the coolest [01:31:55] * MaxSem bites calnation [01:32:18] especially since I care about the software being future-safe [01:32:35] mediawiki seems to have a huge user base and also seems to be very actively developed [01:34:03] not sure where u got the data on the user base, cuz i think it's abysmal next to other platforms [01:36:02] so what would you suggest? [01:36:07] let me put it this way, which was also told to me by more than one WMF dev: "mediawiki was made for wikipedia use case and still is" [01:36:28] I only want to make sure, that communication is reduced to a minimum because both, clients and employees keep asking the very same questions over and over again [01:37:29] hi, what is api.php url at http://wiki.gnustep.org ? i am struggling to find it [01:37:31] I believe this would be nice for clients: [01:37:33] https://www.hosteurope.de/faq/ [01:37:45] talking about the look and feel [01:37:54] calnation, it is also used by thousands upon thousands of other sites, way more than any other wiki engine [01:39:27] MaxSem: true, that doesn't mean quality, more cuz of the stagnation in the wiki space imo [01:42:01] SemiNus: I love the concept of http://tiddlywiki.com/ [01:42:54] thank you calnation [01:43:08] I believe I stumbled upon that a while ago when I looked for a personal note-taking app [01:43:15] what do you like about it? [01:44:46] calnation, there are only 5 users in #tiddlywiki (including myself) compared to 325 in here [01:46:16] SemiNus: yea but "most" of the 325 here are quasi-dead, at least when u ask questions [01:46:46] calnation, I did not want to offend anyone [01:47:10] trinity desktop for example is my favorite desktop environment, and it only has 3 active developers [01:47:22] Neither do I want to do that at all, but I speak from personal experience [01:47:38] so what do you like better about tiddlywiki? [01:47:57] I would like to hear it from you first hand, otherwise I would wonder afterwards what the advantages could be [01:48:22] that it has the concept of DRY [01:48:30] DRY? [01:50:28] calnation, that is only a 1-page html file?! [01:50:36] compared to a fully featured wiki? [01:50:45] multilingual, multi-user, etc. [01:53:00] I must go somewhere for a few minutes - brb [01:53:08] however, I stay logged in [01:54:25] DRY https://en.wikipedia.org/wiki/Don%27t_repeat_yourself [01:56:27] http://tiddlywiki.com/#Philosophy%20of%20Tiddlers [03:06:51] hi, again, i don't know api.php url at http://wiki.gnustep.org, i think the wiki is old, and i tried several url combinations, all gave 404 [03:07:02] would like to use it for writing a script which queries the api :) [03:19:47] gry, looks like it's running mediawiki 1.5.1 [03:19:55] i don't think there was an api.php at that point [03:21:26] did wikis have an api at all at that time? :) [03:22:44] I'll try to get a hold of the webmaster, but maybe it's interesting to know that just in case I can write my script using the old system during the time it takes the webmaster to wake up :) [03:27:42] Hi. Why the main test build (jenkins-bot) is not triggered at this time on this patch of mine? https://gerrit.wikimedia.org/r/#/q/Ib36063b69d6846fc197800bba44287493b0632c0 [03:28:16] I mean basic test build triggered, executed and passed but main test build is missing... [03:30:05] gry, I looked at some really old versions of pywikibot [03:30:33] looks like what pywikibot used to do would be to submit pages using a POST request with the same URLs that a browser would use [03:33:13] https://github.com/wikimedia/pywikibot-compat/blob/a07381c21f1fc3b37f49821b2e454088ea7e74a8/family.py#L795 [03:36:27] Zppix: Are you there? Why the main test build (jenkins-bot) is not triggered at this time? https://gerrit.wikimedia.org/r/#/q/Ib36063b69d6846fc197800bba44287493b0632c0 [03:38:14] Is it normal or is there a problem that preventing/blocking the main test build? [03:41:10] main test builds are only run for whitelisted users because of security, I believe [03:41:31] whitelisted users can trigger main test builds on non-whitelisted users [03:41:43] *on patches by non-whitelisted users [03:44:28] OH-: I thought it's automatically triggered every time when you made an update. Thank you so much, I didn't know that. [03:45:21] it's automatically triggered if you are whitelisted; otherwise only the basic tests are run [03:45:43] OH-: I get it, thank you :) [03:45:47] (which is why Zppix was commenting "recheck" since they are whitelisted, allowing them to request main test builds) [03:45:50] cheers [03:46:22] OH-: hmm, I understand. [04:39:02] OH-: ok thanks :) [09:32:20] Just re-installed mediawiki (bitnami) and installed my extension with the following code: https://dpaste.de/bVe9 [09:33:46] I have no idea how to resolve that error. Please tell me what I am doing wrong [10:34:31] Hello. I'm looking for some help in adding a link to (special:upload) in the wikieditor toolbar. Can anyone please help me? [10:40:59] tridenrake, following https://www.mediawiki.org/wiki/Extension:WikiEditor/Toolbar_customization, yes? [10:42:22] Yes! :) Will this be available for all the users? I'd like to place a link, but the page has only details about 'encapsulation'. [10:43:52] I'd like to modify the core extension file rather than as a userjs. I'm working on a fork of mediawiki and it would be helpful if you could point me to the right file and a right way to place an external link. [10:44:06] MediaWiki:Common.js contains JavaScript that will be loaded for all users. Edit that instead of your personal subpage, and it will load for all users. [10:44:12] Ah, I see. [10:44:42] Maybe if you edit MediaWiki:Common.js in your fork then it will work. [10:44:52] But someone else might have a better idea. [10:45:05] There is rather many places where you could put this. [10:45:52] common.js seems a better choice too. I'm stuck at the syntax for linking to another mw page here. A simple example would suffice in this case. [10:46:23] I looked the extension page, but there isn't an example/case where a link is added to the toolbar. [10:46:28] ok [10:58:46] tridenrake: "I'm stuck at the syntax for linking to another mw page here" [10:58:55] action: { [10:58:56] type: 'callback', [10:58:56] execute: function(context){ [10:58:57] indentSelection(); [10:58:57] } [10:58:57] } [10:59:09] where identselection is the callback function to be executed when the btton is pressed. [10:59:36] thedj, many thanks! [11:00:55] but.. there already is an upload button in the dialog of the media inserteer isn't there ... ? [11:01:58] hmm, that might only be in the most recent version though, not yet released in packaged versions... [11:02:07] Is there one? I think it's for inserting an image. I don't see a direct link to Special:Upload from my installation. [11:03:49] https://test.wikipedia.org/w/index.php?title=Main_Page&action=edit I don't see it in here. [11:04:37] If you click "insert media file", a dialog will pop up, which also has an "upload" button [11:05:46] Well, on my Wiki, when I click that it simply inserts the wikitext to insert a file. Do I need to add anything to enable this popup in localsettings? [11:06:26] yeah it's pretty new. 1.27 and later: https://www.mediawiki.org/wiki/Upload_dialog [11:06:38] tridenrake: oh, you don't have dialgos ? [11:07:01] https://www.mediawiki.org/wiki/Extension:WikiEditor#Configuration [11:07:02] # Enables link and table wizards by default but still allows users to disable them in preferences [11:07:05] $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1; [11:07:21] I think I can enable this. I am on 1.27 as well. Let me get back to you in two mins. [11:11:31] How ignorant of me! thedj I got the popup now, but it's missing the upload button on the left bottom. [11:16:54] hi guys. I run a mediawiki 1.24, I'm trying to change the max upload size, I set $wgMaxUploadSize and $wgUploadSizeWarning = 1024 * 1024 * 100; (I also edited php.ini and the nginx vhost), though the Website still shows me "Maximum filesize: 20MB" and enforces that as well. I'd like to set it to 100MB though - any other switch I didn't see? [11:21:51] The page that shows me that info is wiki.example.com/index.php?title=special:upload&q=%2Fwiki%2Fspecial%3Aupload [11:33:14] tridenrake: might require some additional configuration.. https://www.mediawiki.org/wiki/Upload_dialog#Configuration_.28for_wiki_sysadmins.29 [11:33:35] i'm not entirely sure, it's rather new, i haven't used it in private setups yet. [11:34:37] thedj, many thanks. I can figure out from here on. :) [11:43:38] hi i need some help. i have used the mediawiki config provided by mediawiki for apache and my wiki is not loading properly. from what i can see it is trying to pull css from the wrong directory [11:47:10] How do I fix this error? https://dpaste.de/bVe9 | I have followed/re-read the documentation 10 times but I can't find what I'm doing wrong, what am I missing? [11:59:06] readytokms: is that the actual code ? [11:59:24] because only half says autolinker, and the rest says MyextensionHooks [11:59:35] most of it, yes [11:59:47] anyway, it basically means "can't find the callback. [11:59:50] oh no I changed that [12:01:13] Yeah it is something with the callback but I can't find any info on fixing 'invalid callback'. no error logs on mediawiki, no stackoverflow. nuthin' [12:02:44] I have the feeling I'm missing something extremely obvious but I can't figure out what. [12:08:55] either that or the documentation is poorly constructed, or I'm just a simpleton that should crawl back under a rock and learn how to make fire first. . . [12:15:56] hi, anyone familiar with the VipsScaler extension? I installed it following the instructions on mediawiki.org, but while the VipsTest page works, I don't think vips is being actually used for thumbnails: I tried purging a page in the File namespace and the server showed a convert process [12:16:03] (like, /usr/bin/convert) [12:34:42] dangerdoom: have you ben able to solve your problem yet ? [12:36:00] jasqesan: did you install vips libraries in your os ? [12:38:35] hmm, it seems someone broke the defaults of that vipsscaler [12:41:27] jasqesan: there is a Special:VipsTest page btw, which allows you to compare defaults with vips. [12:42:03] jasqesan: i suspect that you need to configure the VipsOptions, for it to kick in, and that if you don't do that, there will be no vips usage. [12:42:54] thedj: yes, in fact the VipsTest page works [12:43:35] where can i find defaults for VipsOptions? the link in https://www.mediawiki.org/wiki/Extension:VipsScaler points to a file which has clearly changed in the meantime [12:44:17] yeah.. lemm clena that up.. [12:47:00] jasqesan: ok, so it's an array conditions under which the vips scaling will kick in. [12:47:13] https://www.mediawiki.org/wiki/Extension:VipsScaler#Configuration [12:48:49] thedj: thanks for taking the time to update the docs! do you think those are reasonable defaults to use? (also, i guess vips doesn't support gifs, right?( [12:49:32] https://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php has the wmf settings somewhere. [12:50:55] it'd only use it for png, tiff. maybe jpeg [12:51:02] gif isn't supported [12:51:10] thanks! you've been very helpful [12:51:22] i guess i'll play with the settings and see what happens [12:57:32] thedj, no i have not [12:57:52] is you mediawiki instance publicly available ? [12:59:01] does anybody have an idea why I cant re-define the upload limit (see post of mine above) [12:59:22] thedj, sent you a link to it [13:02:20] bluenemo: have you restarted your webserver after changing the php.ini value ? [13:03:29] bluenemo: the default for wgMaxUploadSize is 100Mb so if it's not that, then php is still limiting you somewhere [13:04:33] bluenemo: also, this detail: [13:04:34] web server limits [13:04:34] Your web server may impose further limits on the size of files allowed for upload. For Apache, one of the relevant settings is LimitRequestBody. [2] For Nginx, client_max_body_size is the relevant setting.[3] For Lighttpd, server.max-request-size is what may need modification.[4] [13:04:40] from https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Set_maximum_size_for_file_uploads [13:08:44] thedj, I use php-fpm and nginx, I restarted both - does the webui of mediawiki show the php.ini value or the setting in the LocalConfig.php ? [13:09:14] I'm suspecting it to show the LocalConfig.php setting - I'm quite certain I configured php and nginx correctly (I'm very familiar with both, but not so familiar with mediawiki itself) [13:09:51] bluenemo: just crate a file phpinfo.php next to mediawiki's index.php [13:09:53] and add phpinfo(); [13:10:17] and you should be able to see all the php settings that mediawiki is seeing. [13:10:37] shame on me - its the php.ini. wtf :) [13:12:58] thedj, hmpf. The systemd script did seem to have lost the pid files for the processes.. hence my restart didnt do anything. thanks for your input ;) [15:46:27] !debug [15:46:27] 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 [20:15:41] Im having issues with rewriting /view [20:15:43] https://dpaste.de/DqOy [20:15:58] I feel like I've missed something obvious [20:19:13] anyone know why mediawiki would be throwing a fatal: Call to a member function canExist() on null in /var/www/html/pfs/includes/skins/Skin.php on line 212 [20:19:24] Wolfie: what is not working? [20:20:08] Wolfie: the rewrite rule looks good, did you restarted apache after adding it? [20:20:17] yeah [20:21:40] Wolfie: try changing it to this: RewriteRule ^/?view(/.*)?$ %{DOCUMENT_ROOT}/index.php [L] [20:21:48] (this is how I have it) [20:23:04] I guess without %{DOCUMENT_ROOT} it would try to find /index.php in the root of the filesystem [20:24:11] for some reason it seems to be ignoring the rewrite rule of view [20:24:42] cause any request to it returns 404 like its just looking for it in the folder rather then rewriting [20:26:54] hmm, comparing to my configuration: should be (if /var/www/staff is the root of the MediaWiki installation) [20:27:26] also, I have rewrite rules outside of the , right into [20:30:09] well thats random [20:30:27] for some reason adding the path to the directory fixed it [20:30:38] when most things break by doing it [20:31:47] should map to a filesystem path, not a virtual web path [20:33:57] intresting [20:34:08] I tried moving the rewrite rules out of the Directory [20:34:12] and it broke instantly [20:38:01] this works perfectly for me https://dpaste.de/sLSn [20:38:57] hehe [20:39:16] I derped when i moved it out