[00:22:35] Hi everyone! After updating our MW setup to 1.27, we get empty pages (see http://vyos.net/wiki/Main_Page). Revisions etc. are intact though, I even checked in the database by hand. What can it be and how to fix it? [00:26:13] !500 | dmbaturin [00:26:13] dmbaturin: A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [00:26:31] dmbaturin: did you update all your extensions as well? [00:28:20] p858snake: Hey, I appreciate your help. But above is the URL for the MW setup in question, and it's NOT 500. [00:29:17] have you enabled error logging and checked your error logs? [00:30:04] A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: [00:30:04] (SQL query hidden) [00:30:04] from within function "SpecialRecentChanges::doMainQuery". Database returned error "1054: Unknown column 'rc_cur_time' in 'field list' (localhost)". [00:30:19] run the update.php again [00:32:45] Interesting. I didn't get to checking the recent changes page, thanks for the hint. Running update.php one more time didn't change anything though. [01:05:21] Ok, it works now. Thanks for the hints! [08:32:35] Hi everybody [08:32:45] I need help with installation of parsoid [08:33:05] i always get this error in /var/log/parsoid/parsoid.log [08:33:08] TypeError: Cannot read property 'uri' of undefined [08:33:23] anyone knows what's up? [09:56:47] ns /j freenode [10:33:09] * ageoffire go working back time :) [10:58:26] hey I'm thinking of going from 1.22 to 1.27 - obviously many things will have changed - but anything significant? like for example the generally awful UI? e.g. management of users (on one screen preferably - without the need of tonnes of extensions) ? [11:00:33] stevenm: You can read the Release Notes between those versions to see what has changed. https://www.mediawiki.org/wiki/Release_notes [11:06:47] Hi stevenm. Could you state your root problems, ie what you want to do to maange your users? [11:07:44] list of users... buttons next to them to control what you want - that simple [11:08:01] We're pretty happy at Wikimedia with a flat configuration file to define group and rights, and a rights screen per user, as rights are assigned following communautary processes, generally following a consensus/vote/whatever about one individual [11:08:12] instead mediawiki has always had lots of 'pages' which each have a different function ... most you need to get via an extension - each with their own user lookup mechanism [11:08:15] so you can't expect any real move there from feedback from Wikimedia users [11:08:18] as a UI it's meh [11:09:05] We need feedback from different users to improve in this direction. [11:09:22] e.g. i just installed an LdapAuthenication plugin - pretty sure it's set up ok in LocalSettings.php . .. but now clueless how to even set a user in the database to have their password removed as instead have the password checked agsinst AD instead [11:09:55] LDAP integration is one of the most cumbersome task for every web application. [11:10:06] i suppose I don't believe in using 'pages' for the configuration area [11:10:49] What you could do is take a mock applicaiton like Balsamiq, or just plain paper and a pencil, and design the idea UI, what could work for your tasks [11:10:57] well i just accomplished it in phpIPAM and in Moodle [11:11:00] so i'm on to mediawiki now :P [11:11:09] Then you upload it at https://phabricator.wikimedia.org/pholio/ [11:12:11] We could then ask on mediawiki mailing list feedback, and from there, design a better unified users management UI. [11:12:27] I concur with you users management is important in a software. [11:13:49] For LDAP, there is not a lot of notes, only a sample configuration at https://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Examples#Configuration_for_AD_domains [13:17:25] morning [14:08:27] mediawiki isn't logging. Logfile set with $wgDebugLogFile. PHP logging set with error_reporting and ini_set. Folder chowned to www-data. I'm trying to debug xyGraphicalCategoryBrowser. No error on the page. LocalSettings has it enabled, still not displaying the graph.... [14:09:56] What's xyGraphicalCategoryBrowser? [14:10:05] Extension [14:11:25] That code is somewhat scar [14:11:26] y [14:11:33] Wonderful [14:11:54] It doesn't look to do any logging itself [14:12:54] It doesn't use the MW shell exec wrappers, so you won't get any debugging though [14:12:57] *there [14:13:34] *sigh* [14:13:53] Thanks for the information. I guess I can tell my company TOO BAD I'M NOT DEALING WITH THIS [14:14:01] Well, if you can get away with that... :D [14:14:03] Seriously ^^ [14:14:08] There stupid stuff like ?> [14:14:13] At the end of the file [14:14:15] Just no [14:14:25] I'll do my hardest. Hopefully I can find a replacement [14:15:05] Are the files being created on disk? [14:15:18] I presume it's some issue related to shelling out, or not [14:16:34] Reedy› I have no idea lol. I have like a month of experience cumulatively on Mediawiki [14:16:57] I'm tasked with upgrading our archaic wiki and that means upgrading the shitty extensions too. [14:17:05] Create directory images/xyGraphvizCache [14:17:16] Does that folder exist and have anything in it? [14:17:22] I'll look [14:17:45] Reedy› it does [14:17:48] You did follow the install instructions? :P [14:17:48] Maybe clear it? [14:17:51] I did [14:17:58] The instructions are incredibly vague [14:18:24] Install Graphviz - Graph Visualization Software. [14:18:25] Download script and copy to extensions. [14:18:25] Correct $xyDotPath and $xyCategoriesCache to your needs. [14:18:25] Create directory images/xyGraphvizCache [14:18:25] Add the following line to LocalSettings.php [14:18:50] Yes I did all of that [14:19:31] I say their vague because it doesn't specify what my "needs" would be and what xyDotPath or xyCategoriesCache is actually for [14:19:37] *they're vague. [14:19:55] Morning brain has no concept of proper their/they're/there usage [14:19:56] Well, the first would be hte path to the dot executable [14:20:04] Which I presume comes from graphviz [14:20:40] * @brief Path for the file cache relative to this script. [14:20:40] */ [14:20:40] $xyCategoriesCache = "/../../images/xyGraphvizCache/"; [14:21:01] / Linux [14:21:01] $xyDotPath = "/usr/bin/dot"; [14:21:01] / Windows [14:21:01] /$xyDotPath = "\"C:\\Program Files\\ATT\\Graphviz\\bin\\dot.exe\""; [14:22:12] Yea dotpath doesn't do anything [14:23:46] Neith does graphviz cache [14:23:59] I'm sure it does [14:24:57] I don't really want to fork it, but having access to the repo would make fixing some of the stupid shit easier [14:26:23] !ratelimit [14:26:39] Does the special page do anythig? [14:31:12] !config [14:31:13] All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , , and [14:31:51] eycsigfy: It is possible that the extension is just broken on new MW versions [14:33:18] Reedy› it was working for a while. I was testing on a VM. [14:33:23] Oh? [14:33:28] What changed? [14:33:31] I'm spinning up a new one because Ubuntu might be stupid [14:33:39] Reedy› nothing that I'm aware of. [14:34:16] where is the WMF values for $wgRateLimits ? [14:34:30] throttle.php [14:34:41] well, that's exceptions [14:35:12] Reedy› I access the special page to access the extension that's the only way you can view it [14:35:17] The special page is blank [14:35:30] # - A special page "Graphical Categories Browser" is added. [14:35:31] # - A graph is shown on each category page showing the relationships to other [14:35:31] # categories. [14:35:35] It's blank? [14:35:37] !debug [14:35:37] 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 [14:35:41] That indicates a fatal [14:35:55] !blankpage [14:35:55] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [14:48:34] eycsigfy: do users on the wiki even use the feature you are trying to update? [14:49:15] p858snake› apparently one of our user's has spent a lot of time working with it [14:49:25] * eycsigfy sobs [14:49:56] And I'm like "but what if I think my time and energy are best used elsewhere?" [14:50:04] Didn't go over well [15:36:36] Is it a new thing in 1.27 for update.php to complain about unrelated composer stuff? [15:59:32] Trela: if you're using git, yes. If you're using the tarballs I don't believe it depends on composer [16:26:14] Suckas, my supervisor is gonna deal with it now [16:26:23] Thanks for the suggestions guys. [16:38:48] I'm curious what others have set $wgCacheDirectory to? ie, where do you store your cdb cache files? [17:04:48] wgCacheDirectory it seems to need 777 permission for the cdb files, but the default value of $IP/cache is a 775 [17:14:21] cariaso: 777 is only needed if your permissions are misconfigured [17:14:35] $IP/cache should be owned by whatever user the webserver is running as [17:14:41] (such as www-data) [17:17:06] for me it's ec2-user, while the webserver is apache [17:17:41] while the webserver (is running as the user) apache [17:17:51] which is the source of this trouble [17:18:47] you've user and group to play with [17:22:05] I do, but until now, I've had to reason to believe that changing $IP/cache's directory ownership is advisable [17:22:27] that was presumably generated during the mediawiki install [17:22:44] no it's not generated [17:22:49] … I've had (no) reason … [17:22:52] it's a default dir [17:23:05] k [18:45:35] Here is an error for that xyCategoryBrowser: [warning] Did not find alias for special page 'Xygraphicalcategorybrowser'. Perhaps no aliases are defined for it? [Called from SpecialPageFactory::getLocalNameFor in /var/www/mediawiki-1.23.13/includes/specialpage/SpecialPageFactory.php at line 581] [18:45:41] What does it mean Reedy? [18:52:11] It means the alias is missing :P [18:52:51] When you create a special page, you're supposed to create an alias file, which lists names of the special page in all different languages. At a minimum it should have the english name of the special page [18:54:23] If you're just using the extension and not developing it, you can probably ignore the warning [18:57:18] bawolff› so there's no real error then [18:57:38] Its a warning that the internationalization is messed up [18:57:44] but its not a hard error [18:58:21] things will still work fine with that error present (Well the translation of the special page name will not work, but that's not a big deal for most people) [18:58:33] Urgh [18:58:36] Thanks [19:38:05] hey [19:38:16] I'm having trouble with the gradient template [19:38:24] Template:Linear-gradient [19:38:45] after importing it with apparent success, gradients refuse to render [19:39:08] http://vaporwave.wiki/wiki/User:Facto [19:39:35] this Lorum ipsum line should have a gradient [19:39:46] as it is copied from the MediaWiki site [19:42:26] anybody know about this error? [19:58:52] maybe missing css [19:58:55] !wptemplates [19:58:55] To copy templates from Wikipedia, use Special:Export and check the "Include templates" option to get all the sub-templates, then upload the file with Special:Import on your wiki. You'll also likely have to install the ParserFunctions extension, Scribunto extension and install/enable HTML tidy. You also might need some CSS from Wikipedia's Common.css. You'll also need a lot of... [20:01:35] hmm, doesn't actually look like an issue wiht missing site css [20:03:34] shmn: You seem to have first letter case sensitivity set, and you used {{linear-gradient}} on the page instead of {{Linear-gradient}} [20:06:09] ah [20:06:10] i see [20:10:34] thank you very much [20:53:16] What are the odds of getting a {{UUID}} Magic Word? [20:55:57] oh, hmm, https://phabricator.wikimedia.org/rEMYVb5c4ffc755b88f4b90e4c8ac9044320df5c694e0 [20:56:03] not very good then. [21:01:58] In core, almost zero [21:02:01] * bawolff waves to amgine [21:02:29] why do you want a uuid