[00:20:39] ok, I'll open a bug report [01:59:42] was getSiteNavigation() killed off sometime between 1.26 and 1.28? [04:06:38] iAdam1n: context? [09:31:48] legoktm: private function getSiteNavigation() { [09:31:55] Basically it's to set up the sidebar [09:53:56] Basically, the wiki it is used on was running mediawiki 1.26 and it worked. It got upgraded yesterday to 1.29 and the "tools" section disappeared [09:54:05] It's only with the one skin though [11:32:42] The issue is that using https://github.com/Dialexio/Jony/blob/master/Jony/JonyTemplate.php#L282-L299, the "tools" section does not show up with Mediawiki 1.28 or later (not sure about on 1.27 but it worked on 1.26) [12:04:48] is this dedicated to wikipedia only? or not [12:14:45] ows: This is MediaWiki. A software. [12:14:55] It runs behind Wikipedias and many other websites. [13:19:00] Hi there, is there some kind of "book" (something like a PDF would be the best format) on how to use / manage mediawiki ? [13:28:59] Turtleman: it's not a book but have you tried https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [13:30:13] Turtleman, well, "use / manage" might not imply "hack on code". [13:30:18] err ^ jgleeson [13:30:24] Turtleman: what do you want to do? [13:30:35] https://www.mediawiki.org/ offers a lot of stuff. [13:30:38] Well, need to install it for sure ;o) [13:30:43] but that should be trivial [13:30:59] I need to know more on extensions I think, so the link from jgleeson seems good [13:31:27] https://www.mediawiki.org/wiki/Manual:Extensions [13:31:28] the fact is I'll be out of internet for a moment and I like to be able to read docs without having to be connected [13:31:34] https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Developing_extensions [13:31:42] again, depends on whether you want to use stuff. Or hack on stuff. [13:31:44] but the "Book" functions is KO right now [13:32:44] Turtleman: for offline access, you could try http://www.kiwix.org/. I have never used it but looks good [13:35:59] For a list of books available elsewhere, https://www.mediawiki.org/wiki/Books_about_MediaWiki [13:39:25] thx for everything ;o) [13:39:50] np [14:04:41] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @addshore & @Christoph_Jauera_(WMDE) - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:58:01] Technical Advice IRC meeting starting now in channel #wikimedia-tech, hosts: @addshore & @Christoph_Jauera_(WMDE) - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [17:01:58] hey, looking to create a table where I can search, is that possible> [17:46:57] Would like feedback - www.hitwiki.site - take a look around please.. [18:08:37] How do I add page numbers to a Word sheet? [18:28:38] Got an issue that is using https://github.com/Dialexio/Jony/blob/master/Jony/JonyTemplate.php#L282-L299, the "tools" section does not show up with Mediawiki 1.28 or later (not sure about on 1.27 but it worked on 1.26). Any ideas? [19:20:21] Hey, can someone please please tell me what I need to do to prevent Special Pages from caching (returning the message You are viewing a cached version of this page, which can be up to 127 days, 22 hours, 3 minutes and 28 seconds old.) [20:06:10] z_AlexJFox: 1) set $wgMiserMode = false; in your LocalSettings.php, 2) run the refreshSpecialPages.php maintenance script (may want to put it on a cron), or 3) install [[Extension:RefreshSpecial]] [21:00:22] Also is there any other places I could post to get help on my issue that are really active? [21:40:15] OMG! Where is mediawiki keeping it's knowledge that I attempted to install it already? I've droped the database, restarted httpd, mysql, php rm -rf theWikiDir.... - openbsd 6.2 mw 1.29.1 [21:41:04] I think you covered all bases [21:41:23] maybe it is storing LocalSettings.php on /etc ? [21:41:35] some distro packages do that [21:43:40] I fire up the wiki after untaring from the source. It asks 'complete the installation' Seems like the first time it asked begin the install, at anyrate next screen says congrats! and downloads LocalSettings.php I try ther Restart installation, get back to the welcome to mw and environmental checks. [21:45:06] This is where I pretty much stoped. The install observed that I was missing gd and imagemagick and no intl PECL... So I find those and install. Do all the removal and restart. Still says it can't find those... [21:45:07] try cleaning cookies? [21:45:09] maybe there's something in the session… [21:49:27] That's a good idea. So instead I grabbed FireFox that I haven't had open in weeks. It's asking the first question now! :-) which is "set up the wiki' rather than '... continue setting up ...' [21:50:37] Bummer it still didn't pickup the stuff I installed. At anyrate it found enough to install... [21:51:28] glad it worked [22:14:33] Now this is a major I'm trying to get past. No way did firefox have this cookie unless it shares with chrome? It's saying that User "myuser..." already exists. The user is in a table in the database that I dropped, right? I think I messed up the password [22:14:44] Sorry! This site is experiencing technical difficulties. [22:15:05] I'm thinking I have a problem between localhost and 127.0.0.1 [22:15:47] During install I used 127.0.0.1 but it looks to be trying localhost.... odd... [22:29:25] Hello [22:29:28] Interesting; the mysql user table has 4 versions of the user I created.... [22:29:46] I'll drop those and start over again one last time. [22:29:47] Would anybody here be able to help a noob with a seemingly simple issue? [22:30:41] many probably could ;-) [22:31:02] Just ask, no need to ask permission to ask.... Although I'm not a channel admin... [22:33:15] Scotty_: what is the issue? [22:33:55] Lol thanks. So, I have NEVER setup a site that wasn't simple drag-n-drop, and I installed MediaWiki though DreamHost (because I didn't feel like learning how to create a web server...) I selected that users must be manually added, and peoplem can't just come on the site and click register. I do not see an admin panel or anything of the like, and there is obviously no console since I am using a web hosting provider. Anybody know wha [22:34:35] go to the "Special pages" link in the left sidebar, then select "Create account" [22:35:30] Oh my Lord, I apologize. I did not realize it was this easy. Thank you so much! [22:36:45] GumShoe: dropping a database doesn't delete the database users, as db users are server-wide [22:40:02] Yup. I just droped 4 different versions (hosts).... deleted are untared again, just about to try the index.php again... [22:42:41] Shoot. Says 'complete the installation' rather than 'setup the wiki' ... [22:50:10] that's due to cookies, clear them [22:50:19] the installer saves a cookie to record your progress [22:50:42] :-) It installed again correctly. Well except it didn't pickup that I had installed gd and ImageMagick. But it's running again and I logged in. I'll have to remember to drop the wiki user from mysql.user ... [22:51:10] gd should be enabled by php by default [22:51:15] imagemagick needs an external program [22:51:25] in either case, you need to add the relevant extension=blah.so to your php.ini file [22:51:55] GumShoe: mysql.user is the list of database users; if you delete a user from that, the user cannot login to the database [22:51:56] Ahh the pkg_add may not have covered that. I'll check. openbsd 6.2 [22:52:14] these are NOT the same as wiki users (users who can log into and edit the wiki) [22:52:29] That's after I droped the entire wiki db while attempting to start over fresh. [22:52:37] for security reasons, you may wish to delete mysql users who have '%' as their host component (indicating "all hosts") as those users could log in remotely if mysql is exposed through your firewall [22:52:50] but ensure that the user used in LocalSettings.php actually exists in mysql [22:54:14] GumShoe: the package would be named something like php-gd or php_gd, not the general gd package [22:54:32] it might not exist, in which case try installing using pecl [22:54:57] or check your php extensions/ folder to see if the .so is already there, and if so just enable it [22:55:03] or ext/ [22:55:06] I forgot what they name it [22:57:08] Once I successfully install gd and/or ImageMagick and configure it for php, do I need to modify a setting for MediaWiki? [22:58:31] pkg_infor says php-gd-5.6.31 is installed. Looks like the .so is still commented out. [23:02:09] you need to enable it in php.ini [23:02:16] and restart your webserver [23:02:36] looking up that syntax now... [23:02:39] (or whatever is running php -- if you're using mod_php then restart apache; if using php-fpm then restart fpm) [23:03:29] once enabled, mediawiki should pick up on it automatically; ImageMagick requires some additional configuration in LocalSettings.php unlike GD [23:03:56] $wgUseImageMagick and possibly also $wgImageMagickConvertCommand [23:04:13] !wg UseImageMagick [23:04:13] https://www.mediawiki.org/wiki/Manual:%24wgUseImageMagick [23:07:43] I'm using an openbsd 6.2 vm, I seem to remember and now I found for older version that says I have to add The OpenBSD 5.7+ package for the » gd extension requires XFree86 to be installed. I'll research that a bit more before I add all that for a vm... http://php.net/manual/en/install.unix.openbsd.php [23:25:25] GumShoe: it may be easier for you to install imagemagick [23:26:31] although I don't know why phpgd would need XFree86 :/ [23:29:17] because OpenBSD is all about security, clearly :}