[00:03:00] teward: normally not. some special pages accept some parameters as "subpage", e.g. [[Special:Whatlinkshere/Foo]] [00:03:53] MatmaRex: yeah, that's what I thought, but subpages don't apply (Special:ListUsers, query= group:Administrators) [00:03:58] so... *shrugs* [00:04:21] i'm fine using a span to make an external link look like internal [00:04:50] teward: actually i think that one can be done, [[Special:ListUsers/sysop]]? [00:05:01] *loads up tests* [00:06:48] MatmaRex: that worked! [00:07:01] MatmaRex: guess i'm tired, i'd have tested otherwise :) [00:07:19] yay [00:08:27] thanks much! [00:08:31] (This channel is SO helpful!) [00:09:04] i still remember staying here for about an hour when asking how to fuss around with disabling some builtin groups while creating high-granularity permission sets heh [00:10:23] teward: wait till the invoices start coming in ;) [00:11:13] :P [00:11:18] wait, we can charge people? why did I not know this [00:11:48] Reedy: given i'm having fun testing/fleshing-out the postgresql compatibility, i think the 'invoices' are already paid in both directions because of all the postgresql bugs I keep notcing [00:11:50] noticing* [00:12:02] are you fixing them too? ;) [00:12:24] some of them, and then i don't report them (some are pgsql related config changes that need done). [00:12:27] obscure errors I report [00:12:39] and they're usually fixed because someone fubar'd when typing a query line in the code level :P [00:12:52] in any case [00:12:58] most stuff works out of the box [00:13:42] there's very few queries that are postgres specific [00:13:54] they start with the abstraction and are made from arrays of stuffs [00:14:21] true, except in some of the extensions, in which case they just need to update to be really SQL-generic rather than mysql/SQL-flavor-specific [00:14:33] mmmm [00:14:35] the only issue I have had was with the simultaneous query limit [00:14:36] Stupid extensions [00:14:40] and that's a psql config option [00:14:40] Every little helps [00:14:44] I really want to kill the query() method on DatabaseBase [00:14:51] just outright block you from using raw queries [00:15:42] or rather, make it obvious it's dbms-specific [00:15:55] so you could have $dbr->queryMysql( 'SELECT ...' ) [00:15:55] mhm [00:16:01] making it protected would fix most of hte issues [00:16:35] I also want to rip dbs out of core a la skins, I should maybe work on that RFC some more [00:17:03] i forget, MSSQL isn't supported is it as the DB backend, is it? [00:17:10] It has some support [00:17:14] "some support" [00:17:15] Skizzerz: You know they've been mostly moved to the libs folder now? [00:17:30] Reedy: "some" as in comparable to psql support, or "some" as in "only a little" support? [00:17:32] teward: it should work just fine on 1.27 [00:17:34] because MSSQL really irritates me [00:17:37] beyond that I guarantee nothing [00:17:41] Probably less than pg [00:17:49] (I'm the maintainer for the mssql layer) [00:18:04] Skizzerz: aha, so when my workplace has issues trying to implement I can come bother the heck out of you >:) [00:18:07] (loljk) [00:18:12] yes, please [00:18:16] I can't fix things I don't know about [00:18:28] Useless [00:18:30] (or rather, file bugs in phabricator) [00:18:38] Reedy: that's a good start [00:18:55] but my aim is so that "less-supported" dbs aren't shipped with core, but can be added in just as easily as you would add a custom skin or extension [00:19:02] // See IDatabase::select for the docs for this function [00:19:10] I can't decide if that should be removed [00:19:18] Or replaced with @see IDatabase::selec [00:19:39] Skizzerz: that sounds like a good idea, though I'm curious what is being considered "supported" DBs, because MySQL/Maria, postgres, those're two pretty common db systems. [00:19:43] teward: try to convince your coworkers/boss/whatever to use MySQL though, it's far and away the best supported [00:19:48] (MariaDB rather) [00:20:05] everything else, with exception of maybe sqlite, falls short in numerous areas [00:20:09] Skizzerz: if we use MySQL it'd be Percona, the DBA likes that if we need to use something MySQL-esque [00:20:12] * teward is just the linux guy :P [00:20:25] * teward prefers postgresql though [00:20:31] Dear pals, I have a category, and it contains many subcategories. [00:20:38] How can I format the category list? [00:21:00] I want some subcategories shown in italics, is this possible? [00:21:18] some? based on what variable? [00:22:37] Well, based on its contents, or magic word in its contents. [00:22:49] * Skizzerz afks [00:22:58] The idea is, there are 2 types of subcategories, and I want to mark those types. [00:23:14] So they could look different. [00:26:37] Reedy, I mean, based on the contents of subcategories. [00:40:04] so, if I redefine the array for $wgRestrictionLevels, does that permit me to basically rewrite the entire protection level structure and override the default? [00:40:08] or would that torpedo some things? [00:40:14] (and cause hellish evil) [00:41:02] Behaviour is probably mostly undefined [00:41:28] sounds like (insert_any_change_here) [00:41:41] maybe i'll test in a destructible sandbox env. [00:42:05] * teward just wants to remove 'autoconfirmed' and replace it with a different already-present custom group) [00:42:29] s/group/permission/ [00:42:35] I think the only thing would be if any page is already using a predefined level [00:43:00] it's usage in code, is minimal at best [00:43:02] the only thing I can see being borked is if I were to remove the 'sysop' one, most of the protects are currently admin-only [00:43:12] *that* would probably throw some 500s [00:43:41] I think it'll just become unprotected tbh [00:43:50] $r = $this->getRestrictions( $type ); [00:43:50] foreach ( $wgRestrictionLevels as $level ) { [00:43:50] if ( in_array( $level, $r ) && $level != '' ) { [00:43:50] return true; [00:43:51] } [00:43:51] } [04:25:08] Hi all! Has anyone seen anything like this before? http://ec2-54-83-121-216.compute-1.amazonaws.com/index.php/Special:Version [04:25:27] I just switched to a new apache config and I can't get page content to show up without ?action=purge, and other stuff just looks funky. [04:55:54] ulfr: looks like your message cache is broken? [05:00:20] legoktm: How might I go about fixing this [07:49:05] So I just got this message trying to run update.php [07:49:06] MWException from line 370 of /mnt/wikidoc/mediawiki-1.27.1/includes/installer/MysqlUpdater.php: Missing rc_timestamp field of recentchanges table. Should not happen. [07:49:09] What does it mean? [10:13:44] blah, an hour until i have to start work on my wiki again [12:18:15] my mediawiki totally broke [12:18:21] i had made short url's, then vector and LDAP broke [12:18:24] i reverted the changes [12:18:27] vector and LDAP remain broken [12:18:28] ._. [12:20:00] sigh [12:20:03] why does this happen to me [12:23:04] Nightcinder: if you reverted the changes, than anything that was broken that still is was broken by an earlier change that you didn't notice right away due to caching or it was fixed by the revert and is cached in a broken state. [12:23:32] i restarted errythang tho [12:24:16] Then it's probably the "was broken by an earlier change that you didn't notice right away due to caching" part [12:25:24] well [12:25:26] i fixed the theme [12:25:41] ldap is still not working [12:26:12] ldap isn't something I can directly help with... No experience there. [12:26:19] 2016-09-23 12:25:36 INFINITY5 my_wiki: 2.1.0 Either the user is using a local domain, or the wiki isn't allowing updates [12:26:21] hmm [12:41:52] fixed it [12:41:55] php was set to dev mode [12:41:58] instead of production mode [12:58:49] what to break/fix next [13:00:14] https://www.mediawiki.org/wiki/Manual:Gallery_of_user_styles wow these are godawful [17:32:17] are there any known issues with wfMessage() expansion and http vs https that would date back to MW 1.24.1 ? [17:32:25] cuz I'm having issue with this code... [17:32:26] https://github.com/haleyjd/monaco-port/blob/master/MonacoSidebar.class.php#L42 [17:32:52] it gets the message, but if language is "en" then the link is always http even when the site is being accessed through https [17:33:14] if language is qqx it inexplicably works and gets a https link. [17:34:48] and this only happens for a message that's been customized (ie has a MediaWiki: page) [17:35:02] the other messages which are default all respect the current protocol. [17:38:57] QuasAtWork: Can you link to the wiki page where the issue happens? [17:39:35] the sidebar is heavily cached, maybe it was cached with http if you recently switched to https? [17:40:30] well it's possible but APCu has been installed and apache restarted twice and it still displays http: [17:40:39] https://doomwiki.org/wiki/Entryway [17:40:54] it's the "Help" link on the sidebar under "Upload a new image" [17:45:50] QuasAtWork: Why not make https://doomwiki.org/wiki/MediaWiki:Helppage just say "Help:Contents"? [17:46:00] I'll try that. [17:46:15] That's what the random page message does, e.g. [17:49:24] yup that did it. [17:49:39] Yay! [18:04:44] A question [18:05:00] <^v> where do i find the logs that tell me why SMTP isnt working [18:05:11] Since Scribunto needs Tag:ExpandTemplate to use Mediawiki Templates [18:05:39] why {{border-radius|wpx xpx ypx zpx}} works in Scribunto LUA call? [21:37:02] Good evening. How can I check if the page is rendered in preview mode? [21:37:24] Would like to have one like for preview and other for ready saved page. [21:37:28] Thanks! [21:37:43] PMZ_: Could you elaborate on exactly why you would ever want that? [21:38:19] Well, I have a template. It shows me a picture. I want to see the picture in preview, and hide in final view. [21:38:34] Why? [21:38:39] You can vary CSS based on the action. [21:38:41] The reason is, the template is prepared to show the illustrations. [21:38:47] So action=view has a CSS class. [21:38:49] I think. [21:38:52] Yet now I cannot show them publicly. [21:38:53] As does action=edit and action=submit. [21:39:01] So you could do hiding with that, probably. [21:39:05] PMZ_: It makes literally no sense to show a preview of the saved page if it looks different from the saved page. [21:39:16]