[00:57:56] hi [00:59:38] i need help logging into my account [00:59:54] Hi marisha. What is the problem? [01:00:30] i cannot log into my account and i don't think my email saved with my account [01:00:51] my user name is "marisha patel" [01:02:28] hello [03:58:44] Hi. [08:36:54] Hi, anyone around that's had experience with the LDAP extension? [08:57:42] huctro__: what is the problem? [09:12:03] It doesn't let me log in against my AD. I've been through the extension guides but I just get "incorrect username and password entered". [09:12:16] Using the latest version of wikimedia and the LDAP extension. [09:12:35] I can't seem to get the debugging to work though, I have it turned on, with a file set, but the file isn't created. [09:29:00] hi, there are any best practices to make the wikicode more readable? i want to add comment to describe each section of the code, but the fact the i cant use empty lines (they will be shown) does not help :S that mean that i ahve to write the comment on the same line [09:34:37] Are there any extensions or best practices to improve the search without having to add elasticsearch or solr? [10:29:12] niso: you can add comments via at the end of your lines [10:29:42] niso: just put the closing --> at the beginning of next line [10:31:22] niso: see https://www.mediawiki.org/wiki/User:Gryllida/sandbox, I am not sure I can reproduce [10:59:34] yea, that what i do atm, there are any other options? [15:10:09] HELLO [15:10:13] sorry caps [15:10:59] so i set th mediawiki in my webserver, but it is really really slow [15:11:00] https://opaaa.ddns.net/wiki/index.php?title=%CE%91%CF%81%CF%87%CE%B9%CE%BA%CE%AE_%CF%83%CE%B5%CE%BB%CE%AF%CE%B4%CE%B1 [15:11:51] i'm using rpi 3 as a host machine and nginx as a webserver, what should i do to optimize it so it will be faster, i mean it has to be faster [15:12:08] there is nothing wrong with the hardware or something [15:13:21] exmple given this eclass(open source) is pretty fast compare https://opaaa.ddns.net/eclass [15:13:59] also some info in the mysql server took like years to create database [15:14:25] tested on my computer and took like seconds [15:14:28] Don't think there's more docs than https://www.mediawiki.org/wiki/Performance_guidelines which isn't really in scope [15:14:35] the rpi is hardly comparable to your computer [15:14:40] It's not a performant platform [15:14:46] We cannot fix your hardware though, yeah. [15:15:33] there is no way to make it a litle bit more optimized(changing code or anything like that) ? [15:16:00] Caching, probably [15:16:10] It depends on your OS, your PHP version... [15:16:52] php version is php7.0 os is raspbian [15:17:22] i test it on gmetrix, here is the report [15:17:33] https://gtmetrix.com/reports/opaaa.ddns.net/AekN0pcs [15:17:54] it said B score but that is hardly a B with this amount of loading :D [15:18:10] Avoid landing page redirects for the following chain of redirected URLs. [15:18:10] https://opaaa.ddns.net/wiki [15:18:10] https://opaaa.ddns.net/wiki/ [15:18:10] https://opaaa.ddns.net/wiki/index.php?title=Αρχική_σελίδα [15:18:22] Sounds like your webserver config is a bit crappy if it's doing chained redirects [15:18:30] Enable gzip as it says? [15:18:36] also i tried gzip on the nginx [15:18:40] yea [15:18:51] in the nginx conf file [15:19:08] but for som reason its not enabled there [15:19:15] it dint take effect [15:19:39] it did change in wordpress by the way, now in the wp is not gzip an error [15:20:21] should i upload my server config on pastebin? [15:21:19] raspberry pi is a pretty different environment from your average server. Optimizing it wwill probably require different things then optimizing a typical mediawiki install [15:22:28] is there any example on the web running mediawiki through rpi? [15:23:30] I'm only aware of the people doing the mediawiki for remote school things on rasbperry pi [15:23:57] yea it seems that it is a bit slow as i found out [15:23:58] https://www.youtube.com/watch?v=TFtfvnV3lxo [15:24:49] Have you got the php opcache module installed? [15:24:49] well, i will built a webserver pc out of an core 2 duo that i have should be a big improvment? (i know this is kind of a stupid question) [15:25:18] performance depends on a lot of things [15:25:27] i think so, one sec to check it out, in php modules [15:25:35] For example, are you sure you're even cpu bound? Maybe the bottleneck is memory contention [15:26:05] There's a lot of possibilities, you should do profiling, and also determine what current resource usage by different parts of the system are [15:26:19] i have installed once webmin and found out that is not cpu bound or ram bound cause they are like 30% all the time [15:26:46] If you are RAM bound, then improving the CPU probably won't help unless you also increase RAM [15:27:22] so its not the problem cause if i remember was like 30% for cpu and 30% for ram [15:27:37] given take [15:27:58] probably a sd card speed? [15:28:14] Maybe you are paging a lot of memory? [15:28:42] if your server is constantly putting things in sawp file/partitions that will slow things down by a very large amount [15:29:13] But really, you need to measure these things (There are various tools for linux to do so, but I'm not really familar with them) [15:29:59] i go to eat i will be right back, tahnk you for the response, i will make a test in a couple of hours [16:08:35] Hello, is there a way for me to hide Toolbox in sidebar if user is a non sysop? [16:10:33] yes [16:10:37] in your personal css [16:10:50] add something like #tb-toolbox { display: none } [16:11:13] Platonides: But i'd like it to see for me since im a sysop but not for non sysops [16:11:24] ok [16:11:43] in MediaWiki:Common.css add #p-tb { display: none } [16:11:55] and in your personal css #p-tb { display: block } [16:11:55] i will probably keep it like that for now, testing purposes and stuff, is it easy(in the future) just by download(export) the sql and the wiki site to transfer it in another? [16:12:21] Platonides: I could do that for myself but there are other sysops on the site as well which would need this [16:12:26] yes [16:12:34] thanks [16:12:38] alternatively, a javascript could check your permissions [16:12:45] and hide or show based on that [16:13:08] are you Gree @Platonides? [16:13:13] Greek* [16:14:18] anyway, i have one more question, i get some lua errors for some reason, i could post on pastebin the output errors if that helps [16:15:31] for example, when im trying to export a file article from wikipedia with the special:export tool, and place it(with all the modules and everything) in my mediawiki, i get a bunch of errors, and not good format [16:17:43] i will import for example an article for "the sun" to see what the output errors will be [16:38:58] i got an INSERT IGNORE INTO `page while inserting the page with the import tool(after a long time to complete) [16:42:09] This is like providing half of the synopsis of a film, without knowing the title [16:46:36] Popcorn? [16:52:38] yea :P sorry, i was executing importing it again [16:55:35] now it was imported without a problem, strange... [16:56:05] well thats the errors in the page, in lua that im etting [16:56:07] https://opaaa.ddns.net/wiki/index.php?title=Sun [16:56:54] i have scribunto already, allocated with lua, wait to find the version of lua. [17:02:11] i use lua5.1 as it look like in the LocalSettings.php [17:04:22] omg the errors are 65MB file [17:06:46] i put a part of the errors in pastebin [17:06:50] https://pastebin.com/SN5HWAXh [17:07:40] if loadstring is a module, it may be missing from your wiki if you imported pages from other sources [17:08:11] also, looks like you don't have the parser functions extension enabled [17:09:38] but when you export pages from wikipedia you select also the modules to be exported right? [17:10:01] i will try to see to enable the parser function as well [17:10:12] also i got this https://pastebin.com/g18gLeKy [17:11:53] line 52 contains: local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename) [17:12:04] Looks like you don't have TitleBlacklist extension installed [17:12:29] the extensions needed to be installed seperately ? [17:12:40] are not come with the exported page? [17:12:56] extensions don't come with an export :) [17:13:07] you have to install them [17:13:12] right i'm such a noobie hahaha :) [17:13:38] well i will pass them one by one and after that should i import the page again to take effect? [17:13:50] if they are bundled in the MediaWiki tarball, you only need to enable them (by adding a line in LocalSettings.php), otherwise you'll have to download the extension corresponding to your MediaWiki version [17:14:09] like the parser funtions one [17:14:27] you don't need to import them again. In fact, importing will do nothing since it will detect the revisions are already there [17:14:31] and after i get them i will put the line in the LocalSettings [17:14:41] you'll need to run a maintenance script like rebuildAll.php [17:15:11] if i delete the page as the admin and imported again? [17:17:14] as i can see parserFunction already exists so i will add only the code in the LocalSettings [17:17:35] it will be a waste of time and disk space to import the same pages again [17:18:29] ok, i will try to run the rebuildall.php to construct them, thanks! [17:20:08] it appears that i had only Scribunto loaded [17:20:30] in the LocalSettings.php, well im such a noob [17:21:15] by the way the Scribunto was not already in mediawiki folder [17:21:35] but the others were, but i forgot to pass them in the LocalSettings as well [17:31:01] the installer gives the option to automatically enable the extensions that are already bundled. Maybe you skipped that [17:31:12] ok i'm running the rebuild now, it takes some time [17:31:23] probably hahaha [17:31:47] may the rebuild fix also the response or the loading pages? [17:32:55] it seems that changing things in the database [17:33:17] it says loading from page and revision tables [17:33:36] also inserting from page and revision tables [17:34:14] it seems like it rebuilds all the site from index to every page [20:01:03] ok so it finished a while ago, everything look wondefull now, Thank you for the help! [20:01:34] the only problem now is the text and the infobox, for example i want the infobox to appear on the right side [20:01:56] and the texx starting from the left and all the way down [20:02:02] excacly like wikipedia [21:47:05] upssss, trying to change the common.css, with MediaWiki:common.css and i get something odd error [22:04:25] i got this error after adding the wikibase extension [22:29:40] do i really need the wikibase?