[01:59:00] hi all. trying to make a numbered list with blocks of text in between the numbered items. but all items keep getting renumbered starting from "1." anyone know of a simple tutorial to do this? [01:59:30] google translate stable a working on our mediawiki [01:59:56] what do you need help with? [02:00:19] heywood? [02:01:08] heywood: you can use HTML syntax,
  1. text goes here

    more text

  2. second list item
. there is no other workaround [02:01:21] jehovahsays: yes, i'm right here [02:01:37] heywood what do need help with [02:01:42] MatmaRex: thanks. will give that a try right now. [02:01:52] (also,
  • to adjust list numbering at any point) [02:07:42] MatmaRex: that'll do nicely. it was actually the "start=…" stuff i was looking for. went through the tutorial at https://en.wikipedia.org/wiki/Help:List but somehow missed that. [02:07:45] thanks! [02:08:46] found that patch for the mediawiki extension googletranslator [02:11:26] Hello [02:11:38] Is there anybody here ? [02:12:02] Hello?? [02:14:46] UF2012: hello [02:16:30] !ask [02:16:30] Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [02:23:46] yes. [02:23:58] hello? [02:37:31] jehovahsays: what? [02:38:16] we just finished patching extension googletranslate [02:39:01] It is stable and working with mediawiki 1.25 sidebar [02:39:12] we need a code review [02:40:45] jehovahsays: submit your changes as a patch an wait for review [02:41:00] submit where? [02:41:42] !gerrit | jehovahsays [02:41:42] jehovahsays: https://gerrit.wikimedia.org/r/#q,,n,z [02:42:08] jehovahsays: see https://gerrit.wikimedia.org [02:42:31] says code review error? [02:43:15] jehovahsays: https://gerrit.wikimedia.org/r/#/admin/projects/ [02:51:28] we owner:self nothing appears. how do we begin? [02:51:46] betacommand? [02:52:07] jehovahsays: where did you get the extension from? [06:38:29] legoktm, I tried using Extension:GlobalUserrights, but after installing it I'm getting a database error. Any ideas on what may be wrong? [06:39:49] penguinstyles: What's the database error? [06:40:03] Might be a matter of running update.php or similar. [06:40:24] "A database query error has occurred. This may indicate a bug in the software." [06:40:31] Lemme try update.php real fast [06:41:54] Nope, didn't help any. [06:47:39] Oh, I think I found the problem. [06:49:11] Yep, fixed it. Just had to add the SharedDB prefix to the global_user_groups table [06:57:06] Nice. [10:41:26] Heya, anybody know what line endings we should use in git repos? [10:41:51] Unix ones iirc. [10:50:42] cheers [11:01:42] UltrasonicNXT: I'm going to amend your avatar changeset a little. [11:02:13] Go for it [11:02:23] Lcawte: what you thinking? [11:04:46] 1) Commit message guidelines, 2) Rename the variable because ir [11:05:00] it's not really changing the path... it's a prefix [11:05:23] And aren't there other places that avatar code is used / duplicated? [11:07:50] Yeah, there are variants lying around... [11:08:59] Lcawte: ok yeah [11:09:14] I'll do a second patch [11:09:23] UltrasonicNXT: Just amend the current one. [11:12:11] Lcawte: yeah that's what I mean [11:16:54] UltrasonicNXT: Ping me when you'll done that :) [11:17:21] Lcawte: ping [11:20:49] Lcawte: actually wait no, there's more [11:22:26] UltrasonicNXT: Do two things when you submit that, 1) Add "Bug: T85070" above the Change-Id, 2) add a new line somewhere in the bulk of your commit message. It's slightly too long ;) [11:23:12] UltrasonicNXT: Oh, and if possible, rename it to $wgAvatarKey or $wgAvatarPrefix (I should be able to find/replace them all very quickly if you can't) [11:23:38] Lcawte: oh I've just done $wgAvatarDirectory [11:23:59] Lcawte: ooh is there a phabricator ticket for it? [11:24:26] I made George file them all as he was spotting reverted hacks after issues. [11:25:36] oh I added them all to our github issues [11:34:04] UltrasonicNXT: Tested everything locally? [11:34:37] Lcawte: not yet [11:34:55] I need to install imagemagick or something before I can test [11:37:23] UltrasonicNXT: I'm guessing you'll probably want to find a command to move all the old avatars to the prefix as well on Brickimedia so users get their avatars back. [11:38:32] Lcawte: yeah, we can just do that ourselves on our server though [11:43:17] UltrasonicNXT: It's not so much of it doesn't work first time round as that it's really specific on where you put it ;) It's got to be on the line above, and not have any spaces inbetween (see my patchset change to the commit message - that triggered ite) [11:43:51] (Just saw your bug about the gerrit notification) [11:48:35] Lcawte: oh I see, cheers [12:04:31] UltrasonicNXT: There's a couple of bugs open on Phabricator related to Brickimedia stuff, extensions aren't really as organised as they should be on Phabricator yet, though I think BlogPage and Comments have relevant projects. [13:58:32] I'm writing an extension. Is there a limit to the size of a log entry? [13:58:39] Any practical considerations? [14:14:01] WalrusPony: there's no defined limit, but you want to keep it to one sentence [14:14:32] If I go to my wiki, most only take up one line, with only a few taking up two [14:15:19] UltrasonicNXT: I'm doing hundreds of very small changes at a time through a form, and because the extension creates an individual log entry per change I'm wondering if I should collapse all those entries into a single entry to improve performance [14:15:36] it currently times out if I do more than a couple hundred at a time [14:17:40] WalrusPony: I'm no expert, but common sense says that makes sense [14:18:04] Well, I'd still like to preserve the information of all the small changes [14:18:10] but it would involve making the log entry very big [14:20:08] I'll probably just make the description summarize that there were 1825 additions or whatever, and then have a field that is only accessible via the API with the super long description of all the changes [14:20:16] that makes sense [14:20:31] It sounds like a situation that depends exactly on your wiki [14:20:53] (some communities probably wouldn't mind, some might not like all the individual changes) [14:21:42] I'm one of the wiki admins, and all the changes are done under a bot account anyway [16:01:54] Nice https://www.mediawiki.org/w/index.php?title=Project:Language_policy/Migration_list&diff=0&oldid=1334754 [17:00:05] is there a way to clear certain parts of the cache if there is no maintenance script available for those parts? [17:00:18] UltrasonicNXT: What are you trying to clear? [17:00:37] The cache of avatar filenames from SocialProfile [17:00:53] Hm. [17:01:01] They're all cached with old broken filenames, I just need to clear the cache to fix the paths [17:01:02] UltrasonicNXT: Would it be a problem if you cleared the entire cache? [17:01:25] Well it's a large wiki, so it would put a lot of strain on the server [17:01:34] Hrm [17:10:18] marktraceur: maybe I'll write a new maintenance script ;0 [17:10:21] *:) [17:10:26] Maybe! [17:10:52] Shouldn't be too hard (famous last words) [17:19:53] yeah, we'll see! [17:45:05] i am looking for the ducks to the lucky ducks game i am missing quite a few of them [17:45:18] where can i ffind them [17:45:30] Linda_: Hi, this is the support channel for MediaWiki. You are in the wroooong place. [17:45:48] okay i have no idea where to go thank you [17:45:55] Not here, basically [18:34:20] Is there a good and easy way to do code style checks (MW conventions) on CI? [18:35:18] I think there is a codesniffer standard somewhere ... [18:35:49] JeroenDeDauw: https://github.com/wikimedia/mediawiki-tools-codesniffer [18:39:57] bd808: ah, just figured out you are the person I wanted to talk to [18:40:03] obfuscated nickname is obfuscated [18:40:12] JeroenDeDauw: you say that every time :) [18:40:20] Because I forget every time [18:40:26] what's up? [18:40:39] Now I wasted my time here https://www.mediawiki.org/wiki/Talk:Requests_for_comment/Guidelines_for_extracting,_publishing_and_managing_libraries [18:41:09] cool! comments! [18:41:44] Well, it's not a comment on the RFC really [18:42:05] Yeah I can poke at how to get that checked via Travis or or Jenkins. We probably need to package the style with a composer.json to make it easy to require [18:42:08] bd808: I did not fully read the thing, just skimmed it, and it generally looks good to me [18:42:20] * bd808 makes a task for that [18:44:11] JeroenDeDauw: I'd be interested on your thoughts about https://gerrit.wikimedia.org/r/#/c/182323/ [18:47:10] <^d> JeroenDeDauw: At least bd808 uses his initials :) [18:47:43] And me email is bd808@wm.o and it's in my sig and ... :) [18:47:50] s/me/my/ [18:48:09] On the internet no one knows you're a Bryan [18:48:12] ^d: somehow I can remember your nick. Perhaps it's because it's as stange as you are? :) [18:48:23] So we can use 3D printers to print fingers (or hands) of people then commit crimes? [18:48:25] Wat? [18:48:48] That is on the WMF product roadmap? [18:49:46] bd808: cool [18:50:36] bd808: and interesting, some stuff there that I've not seen before [18:51:39] Writing the plugin was kind of fun. Composer's guts are a bit confusing. I never did figure out exactly how the dependencies of dependent packages are processed [18:52:00] but I hacked my way through that with some trial and error testing [18:52:38] <^d> bd808: Wanna try travis for cdb? [18:53:25] I have the patch for it. I haven't checked to see if there servers are supporting cdb yet or not. My patch to their chef scripts did get merged though [18:53:34] *their [18:53:43] <^d> How do we check? [18:53:51] <^d> Short of jfdi and see? [18:54:10] hah, yeah, I also had to jump through some hoops back when I put in the MediaWiki version thing [18:54:13] I think I have a test project hooked up that dumps things, but jfdi would work too [18:54:29] bd808: why use "sudo: false" on TravisCI? [18:54:58] JeroenDeDauw: It lets them run stuff on docker containers which can be a bit faster [18:56:14] there is a possible sudo exploit to break out of the container so if you use sudo they won't run your tests on docker. Adding the flag to the config just tells them to that you are ok with not having it I guess. [18:56:38] I never did find a good doc on it [18:57:13] bd808: so the idea with your commit is to have extensions be put in composer.local.json? [18:57:26] found docs -- http://docs.travis-ci.com/user/workers/container-based-infrastructure/ [18:57:32] <^d> grrr, why won't travis show repos from my org? [18:57:54] Yeah, extensions, monolog, whatever other bits and pieces are "optional" [18:58:23] ^d: probably too many to list. wikimedia never shows up for me [18:58:31] <^d> grr [18:59:48] ^d: you can enable from the github side. That's what I've had to do for the wikimedia projects I've turned on in Travis [19:00:16] <^d> Where? [19:00:39] https://github.com/wikimedia/cdb/settings/hooks [19:00:51] hit "add service" and pick Travis [19:01:42] <^d> What user/token do we use? My own? [19:02:13] I guess. I've been using my own [19:02:37] I suppose we could use one of the shared access accounts too. [19:02:49] I don't have the passwords for any of them however [19:04:59] bd808: ^d: you do not have a repo list at https://travis-ci.org/profile/wikimedia ?? [19:05:43] <^d> Ahh, did not know about that page :) [19:05:55] <^d> Loading... [19:06:03] I'm seeing a "Loading..." spinner too [19:06:04] ^d: hover over name at top right, click accounts, then hit WMF at the left [19:06:34] wikimedia never shows up in my accounts section [19:06:35] <^d> I don't have WMF available as one of my accounts, just my personal. [19:06:48] bd808: so the idea with your commit is to have extensions be put in composer.local.json? [19:06:56] I think being in the github admin group makes their ui crazy [19:07:17] it looks fine to me [19:07:22] for all my orgs [19:07:24] brb [19:07:42] JeroenDeDauw: yes. which is not completely optimal (composer require ... won't add there) but better than then git collisions [19:07:54] *than the [19:12:47] bd808|LUNCH: could get around that with some tooling [19:13:03] having users directly run compoer commands is perhaps not the best approach [19:28:50] bd808: might also want to talk to MWJames about this [19:29:18] He's going to get mad at it though "those WMF people are changing the things AGAIN" ;p [19:29:49] meh. I'm used to people being mad at me for introducing change. :) [19:30:02] I added him to the review [19:31:57] What is the "move away from PHP 5.3" status? [19:32:17] http://blog.ircmaxell.com/2014/12/on-php-version-requirements.html [19:32:19] http://blog.ircmaxell.com/2014/12/php-install-statistics.html [19:32:51] I need to keep 5.3 compat in a lot of my libs just because WMF infrastructure keeps using an obsolete version of PHP [19:33:50] Hmm. Is everything running on HHVM now? [19:35:07] <^d> Almost everything. [19:35:58] What is the min PHP version for HHVM? [19:36:01] 5.5? [19:36:10] <^d> HHVM targets 5.6 [19:36:22] What's the range? [19:37:52] <^d> I know there's a page...trying to find it [19:38:08] It's well hidden.. [19:38:12] 5.3 - 5.6? [19:39:03] I'm hoping we can bump up to at least 5.4 once the hhvm deploy is complete. We have a long tail of servers to be upgraded though. [19:39:50] As Tim wisely said when this was discussed on list before it would be embarrassing to be unable to run our own software. :) [19:40:34] <^d> I think we could probably skip 5.4 [19:40:36] <^d> And at least do 5.5 [19:41:30] http://w3techs.com/technologies/details/pl-php/5/all [19:41:40] 5.5 has 6% market share :( [19:42:24] 5.3 is still the php that is most widely used in the wild [19:42:26] ^d: you'd bump the min MW version directly up to 5.5? [19:42:38] bd808: did you read those articles I linked? [19:42:56] yeah I read them last night actually [19:43:31] when will the next LTS rel be? [19:43:49] If we do it right after, then people that can't up will still get fixes for a long time [19:45:15] I think 1.27 will be the next lts? [19:45:21] 1.27 [19:45:30] haha, I don't even know what version we are at :D [19:45:34] https://www.mediawiki.org/wiki/Version_lifecycle [19:45:46] 1.24 is out and 1.25 is the current master branch [19:45:52] "A long term support release (LTS) will be made every two years" [19:46:17] yeah, so mid-2016 will be the next lts [19:46:27] baaaah [19:46:45] we are not waiting that long to bump [19:46:57] 1.23 was released 6 months ago and is supported to 2017 [19:47:04] yeah that's also good I guess [19:47:11] I thought the latest LTS was 1.19 [19:47:52] about PHP version available for the current MediaWiki community; https://wikiapiary.com/wiki/Semantic_statistics#PHP_Versions [19:48:56] Ugh. That graph is really not well aggregated [19:48:58] I don't know how accurate is that chart [19:49:15] The data it gets is quite accurate [19:49:20] FOr public wikis that is [19:49:36] The chart is not showing all data though [19:51:11] well, of course, it doesn't retrieve PHP version of old MediaWiki versions, since they may not expose it [19:51:20] but that shouldn't be a problem [19:51:36] well, I guess... [19:52:45] what was the first version to expose it? [19:52:52] https://wikiapiary.com/wiki/Talk:Semantic_statistics [19:52:58] The issue with the chart is not MediaWiki [19:53:23] The info has been on Special:Version since forever [19:54:15] ^d: did you find the info? [19:54:24] JeroenDeDauw: but WikiApiary uses api.php to get that version information [19:55:02] <^d> No :( [19:55:02] there's a property about PHP major version, that could be explotable maybe along with the minor version https://wikiapiary.com/wiki/Property:Has_PHP_major_version [19:55:24] but I have no idea about SMW queries [19:55:41] https://de.wikipedia.org/wiki/HipHop < that says only PHP 5.3 [19:56:41] Vulpix: well that is pretty useless, it's "5" everywhere [19:56:48] exception if this also has hhvm I guess [19:58:07] <^d> JeroenDeDauw: I think HHVM 3.1.x targeted PHP 5.6 [19:58:10] <^d> So anything >= 3.1 would be == 5.6? [19:58:47] <^d> 3.3.x is LTS [19:59:03] <^d> (and what we run in prod) [19:59:21] they target the current stable php release. I'm pretty sure 3.3.x was 5.5 compat [19:59:37] But I might be totally wrong [20:00:38] <^d> 3.1.0 said almost 5.6 [20:01:39] <^d> Master reports PHP_VERSION as 5.6 :p [22:38:05] OK, how do you wrap a template parameter in nowiki tags? [22:44:05] Betacommand: i'm assuming that the answer is more complicated than {{foo|bar}} given the way you asked. what exactly are you trying to do? [22:44:28] jackmcbarn: I want to nowiki the input of template [22:44:39] IE {{value}} [22:45:05] so I dont have to include on about 60k pages [22:46:06] jackmcbarn: make sense? [22:46:14] you can use {{#tag:nowiki:{{{1}}}}} inside the template [22:46:36] err, second : should be | [22:46:39] ah thanks [22:59:17] Frohes neues Jahr! [23:01:10] Wesolego nowego roku [23:01:18] Happy new year [23:01:22] etc etc [23:31:12] why can I not view my own commits on phabricator :/ [23:31:29] "Access Denied: Restricted Application" [23:31:41] It's https://phabricator.wikimedia.org/rTGRT97f863482e0dfe29f7573783382015f60ac2e461 [23:31:45] should be fixed soon [23:31:49] oh okay [23:31:54] so it's a known issue, that's good :) [23:36:13] Hey, can I get some help? I've been banging my head against a wall trying to fix a problem and I can't find it anywhere online [23:36:32] go on [23:36:34] what issue are you having? [23:36:52] I set up mediawiki on my personal server. But whenever I try to click a link, my domain gets duplicated [23:37:21] Like, the localsettings.php after install should have gone to my.zachrnd.com/mwiki/mw-config/index.php [23:37:21] what's your $wgServer? [23:37:40] But instead, it goes to http://my.zachrnd.com%2C%20my.zachrnd.com/mwiki/mw-config/index.php [23:37:44] ah [23:37:55] I don't know why it keeps putting that comma and space in between a duplicate of my domain [23:38:09] that's because you have rewrites in place thiugh mw is not yet installed [23:38:09] And I feel stupid for not catching why it's doing that. It feels obvious; but I can't find it [23:38:57] does just going to my.zachrnd.com/mwiki/mw-config/index.php work? [23:39:00] Well, I have other wikis set up that do this as well; tiki wiki and the like. All of them put "http://my.zachrnd.com%2C%20my.zachrnd.com" at the beginning, instead of just "my.zachrnd.com" [23:39:12] How do I fix that, MaxSem? [23:39:23] Or anyone else who can help; I appreciate it [23:40:08] what rewrites do you currently have? [23:40:09] Even when I was installing MW, the email degaulted to "apache@my.zachrnd.com, my.zachrnd.com" so it seems like something is messed up with my CNAME or something; I dunno [23:40:40] err, or not rewrites, but definitely apache [23:41:19] what if you grep for ", my.zachrnd.com"? [23:41:55] Inside my apache config file? [23:41:58] Lemme check [23:44:28] In my apache2.conf file, nothing pops up [23:46:51] I couldn't find anything when checking my .htaccess files as well [23:52:42] Anyone else got any ideas? [23:54:14] I try not to.