[00:00:00] so, every time you edit a page (even though false works expected)? [00:01:43] * @param bool|int $baseRevId The revision ID this edit was based off, if any. [00:01:43] * This is not the parent revision ID, rather the revision ID for older [00:01:44] * content used as the source for a rollback, for example. [00:02:23] I've read the comments, but it's a little vague still. Does this mean that baseRevId should only be supplied when reverting to an older revision, or every time you make an update to an existing page? [00:04:46] for instance, it'd be nice to know if this affects the behavior of edit conflicts [01:36:54] Hi, here as part of the Google Code-in competition, looking forward to working with open-source organizations! [01:38:37] hello there [01:39:55] rjohnston98: welcome [01:40:48] Thanks [04:16:31] Evening all. [04:16:59] Anyone here experienced with Tabber? [04:18:15] I'm having an issue with a nested tabber. The first tabber processes line breaks and such just fine. The internal nested, using #tag:tabber, is not. [08:33:28] @seen [08:33:28] @seen Hydronium [08:33:28] Hydronium: I have never seen Hydronium [08:33:28] wm-bot is down :/ [08:33:30] Hydronium: it's because (tool)labs is down :/ [08:33:30] it's being checked though [08:33:30] nuuu [08:33:31] godspeed to yuvipanda and the rest of the labs kr3w [08:33:32] hardware issue with NFS server, like 2 minutes ago [08:33:33] ty for the update [08:33:54] Evening all. Some minor images troubleshooting: after a recent upgrade (with git, first time), my previous uploaded files are no longer working on the wiki. I copied the old images folder to the directory and chmod 755'd the folder as per https://www.mediawiki.org/wiki/Manual:Upgrading#Other_files, to no avail. Suggestions on where to start troubleshooting? [08:33:56] how are they not working? [08:33:56] MatmaRex: No files in the file list of the wiki, for example. [08:33:57] iscu: soo… the wiki is saying that the pages in the "File:" namespace don't exist? and there's nothing on, say, Special:ListFiles? [08:33:58] (that would be unusual) [08:33:58] MatmaRex: That is correct. I have confirmed that the /var/lib/mediawiki/images folder has the images (contained within hexadecimally numbered subfolders, I don't remember if that was normal or not), just not visible in the wiki, neither where they are "wanted" nor in the ListFiles. [08:33:58] iscu: yeah, the subfolders are normal [08:33:59] iscu: MediaWiki stores file descriptions in the "File:" namespace, and some additional metadata in the database, so files shouldn't just disappear like that [08:34:01] iscu: so, i guess step one of troubleshooting would be to see if you can see the database entries for some image you know should exist. [08:34:01] MatmaRex: Okay, I think that actually makes sense. Very shortly before the upgrade I had to restore from nothing but exported pages. I bet I did not export the File namespace. That would explain it. Any way to batch-upload to recover them, or any other clever solution? It's a personal wiki with just a few dozen files so it's not the end of the world, just good to learn how to do it. [08:34:01] ooh. yeah, that would do it. [08:34:02] lol [08:34:03] iscu: there is a maintenance script, importImages.php or something like that, which should look at the files from images/ folder and construct the databse entries for them [08:34:04] !maintenance [08:34:04] https://www.mediawiki.org/wiki/Manual:Maintenance_scripts [08:34:04] oh whoops, the bot is down. [08:34:05] https://www.mediawiki.org/wiki/Manual:Maintenance_scripts [08:34:06] MatmaRex: All right, I'll have a look at it. Thanks for your time. [08:34:06] https://www.mediawiki.org/wiki/Manual:ImportImages.php [08:34:10] Back with one more question about a new install, having issues with files. Simply trying to upload a file, and cannot. Getting an error upon clicking Upload file: "Permission denied in /var/lib/mediawiki/includes/filebackend/lockmanager/FSLockManager.php on line 125" Line 125 of that file, which I am not proficient enough to understand well, is within the protected function doSingleLock and reads: " $handle = fopen( $this->getLockPath( $path ), 'a+' ); // try a [08:34:10] Any ideas? [08:34:11] looks like it's trying to create some kind of lock file and failing (but i guess you know that already) [08:34:12] 'lockDirectory' => "{$wgUploadDirectory}/lockdir", [08:34:12] what is $wgUploadDirectory set to? [08:34:12] can you make a 'lockdir' subdirectory there, and make sure the apache user can write to it? [08:34:13] ($wgUploadDirectory defaults to images/) [08:34:13] ori: one second, looking [08:34:14] ori: I don' t see that, neither in the FSLockManager.php nor LocalSettings.php (wasn't sure which you meant) [08:34:14] I'm just about to have to step away to deal with kids for a while, so I won't be able to re-reply for some time, apologize for opening the question and having to leave, but any suggestions you post I'll read when I'm back. [08:34:21] * Niharika waves [08:34:21] iscu (for the logs): the line was from Setup.php; the directory is not configurable for some reason [08:34:22] $wgUploadDirectory is configurable, but the lock directory has to be a subdirectory of that, named 'lockdir' [08:34:22] hi, i'm joining this chat for a task for google code-in :) nice to meet you all [08:34:22] hello, pretzels [08:34:22] Hi pretzels. Welcome. :) [08:34:23] pretzels: Whilst you are here, you should try and setup your development environment to fix more bugs. [08:34:23] niharika: what do you mean? sorry, i'm new to all of this :3 [08:34:23] pretzels: To fix code bugs, you need to have a development environment for MediaWiki on your local machine where you can test and fix bugs and submit them for review. :) [08:34:24] Basically: https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Quick_start [08:34:24] Niharika: thanks :) [08:34:28] Hello Guys [08:34:28] I'm new and I'd like to contribute [08:34:29] can anyone guide me along?? [08:34:31] ? [08:34:31] the_animus_: you can start with https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [08:34:32] can u guys tell me how to setup open graph on mediawiki? [08:34:33] i have added the code on vector template code, but there is an issue on because that meta tag should have full URL (with the page name) [08:34:33] @codezee okay thanks i'll get started right away [08:34:43] can u guys tell me how to setup open graph on mediawiki?.. i have added the code on vector template ode, but there is an issue on because that meta tag should have full URL (with the page name) [08:34:47] !hacker [08:34:48] http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [08:36:03] :o welcome back wm-bot [09:02:57] is there a way to add a system message at the top of all pages? I want to instruct all editors to write in english [09:03:24] yes [09:03:26] !sitenotice [09:03:27] Sitenotice is a wiki-wide message that appears at the top of the page for all users. It is editable by users in the sysop usergroup at [[MediaWiki:Sitenotice]]. https://www.mediawiki.org/wiki/Manual:Interface/Sitenotice See also: !anonnotice [09:05:05] we use ldap for auth. How can I add myself to sysop group? [09:09:02] uhh, no idea :o [09:09:30] mikkemus9: normally, you'd use Special:UserRights on the wiki, but your user might not have the permissions to use that [09:10:14] mikkemus9: if you have shell access, you can use the createAndPromote.php maintenace script to grant your user the rights [09:10:17] !maintenance [09:10:17] https://www.mediawiki.org/wiki/Manual:Maintenance_scripts [09:16:52] MatmaRex: thanks! I did it [10:15:25] in mediawiki 1.26.0, there's a "\n" displayed in the page after all the search results. is that a known issue ? [10:16:21] hello [10:18:54] i should print a wiki, there is a way or a tool to do it, or should i use the classic "copy-paste" of the entire wiki? [10:26:57] can u guys tell me how to setup open graph on mediawiki?.. i have added the code on vector template ode, but there is an issue on because that meta tag should have full URL (with the page name) [10:27:21] i dont know if someone already answered. got disconnected... [10:35:15] Richlv, yes, and it'll be fixed in 1.26.1 [10:35:33] Richlv, https://phabricator.wikimedia.org/T113518 and https://phabricator.wikimedia.org/T113518 [10:35:45] shit, disconnected again... [10:35:47] :( [10:36:16] anyone... help appreciated :) [10:36:20] Dottor_Z, "Print/export" section on the left? [10:36:43] er.... thanks, i suppose xD [10:37:07] i just never tryed yet, assumed that was not suck option avalaible [10:37:13] such* [10:37:14] xD [10:37:40] EdgardBR2: https://www.mediawiki.org/wiki/Extension:OpenGraphMeta ? [10:38:09] andre, seems like an old extension. have u used it? [10:49:22] EdgardBR2, no. [11:29:46] So I updated to 1.26 and now my skin's CSS doesn't seem to want to come out and play. Is this an easy thing to fix or am I going to be not-so-custom for a day while I update my skin :( [11:30:38] can u guys tell me how to setup open graph on mediawiki?.. i have added the code on vector template ode, but there is an issue on because that meta tag should have full URL (with the page name) [11:54:38] ciaone [11:56:35] Ulfr, well, are there "just" CSS errors in the browser's developer console? Or does it not load at all? [11:57:05] andre__: I need a chainsaw, an old priest, a young priest, and a hero out of a freaking storybook. This is a nightmare. [11:57:42] Hmm. Wrong century? :P [11:58:33] bleh. I have a custom skin that I evidently need to port over because json files are unhappy blah blah [11:58:42] I figured it out, but thank you for following up [11:58:50] good luck! [11:59:37] Hngh. With that and a couple pots of coffee I might not get fired. [11:59:42] Thanks :) [12:02:50] andre__: Actually! One question you might be able to help me with. With this new install my wiki was pitching a fit about less not being able to write to the cache directory. I had to run rebuildLocalisationCache.php su'd as www-data to make that stop whining. Is this going to be a thing moving forward? or just an unlucky fluke from flailing aroun [12:02:51] d [12:26:00] So I was using Flow with 1.25 (beta) and now I am upgrading to 1.26 [12:26:14] Is there any information on how to go about upgrading? [12:26:55] I tried just dropping in the updated extension but that seems not to work (errors saying it doesnt recognize the revision ID in the revisionCach) [12:27:14] Full error: [9fdfbf52] /wiki/Special:RecentChanges Flow\Exception\FlowException from line 159 of /var/www/html/extensions/Flow/includes/Formatter/ChangesListQuery.php: Revision not found in revisionCache: sukwuc7nqqe6gs5l [12:28:09] And when you go to a flow talk page, it shows the results but it doesnt seem like the javascript is removing the loading UI and there is no way of posting anything (even if you work around the unclickable UI) [12:28:21] the server just doesnt respond [12:28:53] I was rather stupidly doing this all live so you can see the errors I am mentioning here: https://urlivewiki.com/wiki/Special:RecentChanges [12:29:14] Plorntus: did you run update.php? [12:29:16] and: https://urlivewiki.com/wiki/Talk:Main_Page [12:29:33] I ran it when upgrading from 1.25 to 1.26? [12:29:39] but does flow have its own update.php? [12:30:00] No [12:30:19] You should just run update.php after you upgrade/install new extensions [12:30:26] oh I seee [12:30:51] I have no idea how I have ran this wiki for so long without knowing that haha [12:31:12] will give it a go now [12:31:22] Some DB changes might not affect you [12:31:30] WMF wikis go around with some changes for aaaagggeeesss [12:31:33] but it's good practice [12:32:02] !update [12:32:02] update.php is a script that updates the database tables. You usually need to run it after upgrading MediaWiki or installing certain extensions. For details, see [12:54:09] hmm finally got that to run (had a lock issue on the db) [12:54:16] doesnt seem to have fixed it though [12:57:37] andre__, thank you :) [12:58:51] you're welcome [13:54:08] Okay so Im rerunning update.php [13:54:21] just tried everything again from the beginning (restored from backups) [13:54:27] Im getting this error though: [13:54:32] https://www.irccloud.com/pastebin/mjwaEUbC/ [13:54:47] Anyone know how to get around that? [13:55:16] Hello everyone, I am dev participant of google code.in under yyddrvm@gmail.com. [13:56:07] Hi dev1! Welcome. :) [14:34:55] hello [14:39:50] can someone help me with subpages, I want the heading displayed to be Subpage, not Parent/Subpage [14:40:18] i added $wgNamespacesWithSubpages[NS_MAIN] = true; which adds a breadcrumb back to the Parent, but that's the only difference I noticed [14:51:34] Auger: not sure you can set it for all subpages. but on a per page basis magic words can do it [15:00:32] Betacommand: ok i will look into magic words, thank you [15:22:27] Betacommand: would I edit the template that displays pages? [15:28:15] Betacommand: nm i found it: https://www.mediawiki.org/wiki/Manual:$wgAllowDisplayTitle [15:28:17] thanks :) [15:58:42] Reedy, andre__ I fixed the commit message ! ^_^ [15:58:43] https://gerrit.wikimedia.org/r/#/c/259219/ [15:58:47] Hope it's suitable now, [15:58:53] .* [16:00:26] ananayarora: The bug line is usually written as: Bug: T12345 (notice the space) [16:01:02] Niharika: Oh, sorry. I'll take care of this the next time. :) [16:03:01] You don't need most of that commit summary either [16:03:09] 1 piece of trailing whitespace to fix [16:03:12] Oh, forgot something [16:04:37] ananayarora: Few little bits to clean up [16:04:44] FYI, you can edit commit summaries in gerrit directly [16:05:15] Reedy: Okay. Please make comment the changes I have to make? [16:05:25] I already have [16:05:31] ;) [16:06:34] Reedy: How many tasks have others completed? Am I lagging behind? :( [16:07:14] I've done only 4 tasks and this is the 5th one. [16:07:41] I've no idea tbh [16:07:49] I don't think it's a race, is it? [16:08:05] ananayarora: You're almost there. Shouldn't take you more than a few minutes to fix it up [16:08:21] Reedy: How many tasks have others done? [16:08:28] I don't know [16:08:37] I'm not a GCI admin, and I don't think I've got access to the gci site anyway [16:10:14] It's not a race, but I somehow feel that I've done less work. [17:05:17] hello guys [17:07:07] I'm having a bit of a problem understanding templetes and would like a little help. [17:09:11] My understanding of templates 1. create a template page 2. Put the code that I want to run on the template page 3. Put a link on the page I want the template. [17:09:32] here is the template I'm trying to work with [17:09:34] {{Backlog progress bar|initial= |goal= |category= |unit= }} [17:10:07] I've also tried this one {{Progress bar|}} [17:10:38] I have to see the template code to help you [17:10:42] same result so I'm guessing I have something wrong. [17:10:57] {{Backlog progress bar|initial= |goal= |category= |unit= }} [17:11:09] No, I mean the code at the template page. [17:11:12] https://en.wikipedia.org/wiki/Template:Backlog_progress_bar [17:11:41] That must be where I'm confused I thought that was the code [17:11:51] I'll look at it [17:12:03] Thanks [17:12:47] I just need a progress bar on our KanBan board we have on our Wiki [17:13:13] So your question is why {{Backlog progress bar|initial= |goal= |category= |unit= }} and {{Progress bar|}} do the same? [17:13:25] no not at all [17:13:36] I just cant get either of them to work [17:13:52] ah, okay [17:13:59] Hello [17:14:46] Could someone lend me a hand with infoboxes? I can't seem to be capable of making them work on my wiki. [17:17:21] What doesnt work [17:17:53] hopefully Checker can help me I might be able to help drunkard [17:19:24] Randy: You have to use the template like it is at Wikipedia, that means the code in the template namespace and the {{template}} where you want to see it. A problem you possibly have is that you haven't the Template:Progression at yout Wiki, which is needed that Backlog progress bar is working. [17:20:11] https://reria.miraheze.org/wiki/Reria [17:20:18] It's plain text, doesn't look formatted [17:20:37] I imported directly from wikipedia. The wiki haves the necesary things to support infoboxes as far as I know [17:21:27] Another possibilty is that your wiki has less ParserFunctions than Wikimedia, looks like you need Extension:ParserFunstions for that (which is needed by nearly every template) [17:21:38] I can look at it after helping Randy, drunkard [17:21:48] Alright [17:22:37] I'll see if thats installed. [17:23:04] Randy: You can look at Special:Version of your wiki [17:23:21] On the template page is the code look like this {{Backlog progress bar|initial= |goal= |category= |unit= }} or like this Backlog progress bar|initial= |goal= |category= |unit= [17:24:41] On the template page you need to paste the code form https://en.wikipedia.org/wiki/Template:Backlog_progress_bar [17:24:44] it is not [17:25:14] Randy_White: Nearly every Wiki has it, you can'T bulid serious templates without ist. [17:25:53] {{Backlog progress bar|initial= |goal= |category= |unit= }} is the code you have to paste if you want to include the templates on another place [17:26:20] *it [17:34:30] So... Are you free now MGChecker? [17:34:51] Yes, until Randy is back [17:35:19] My problem is probably super-simple to fix and I'm just possibly missing the point :P. I uploaded a lot of templates, yet I can't get any of them to display correctly. [17:35:27] They display like plain text. Only slightly formatted. [17:35:33] the template doesn't look bad, but there are some problems [17:36:16] And is it possible to fix it or do I need to request a new feature for the wiki? [17:37:03] WaiI have to take a look, please wait a few minutes [17:37:11] Sure, take your time. [17:37:14] I got all day :P [17:40:50] Hm, there is not only one problem. [17:41:07] Ah, snap. [17:41:40] I'm new to porting templates, I'm mostly used to using already "installed" (Probably not the correct term) templates. [17:42:00] First: Dou you have a class "infobox" at that wiki? [17:42:36] Hmmm... Let me check. [17:43:43] Got no idea, how do I check? [17:43:46] Now I'm getting this Template loop detected: Template:Backlog progress bar [17:44:06] Do you have an URL to show me, Randy? [17:44:19] Welp, continue with Randy, I'll try to check the Class thing when you finish :) [17:45:12] Im'm really suprised that Lua and raw html is used at this wiki [17:45:50] @drunkard [17:46:30] I'm just importing things from wikipedia. I'm using Scribunto, only thing I got in the wiki so far. [17:46:47] Should I try deleting all the imported things and start from scratch or something? [17:47:25] No, I was just surprised. After ooking at this i relly think the CSS class is the problem. [17:47:41] And how could I fix it? [17:47:51] Its internal [17:48:03] [Stupid questions intensify] [17:48:05] I need to run be back soon [17:48:59] So I can't really fix it myself? [17:49:04] Raney_White: Okay, is this is the case, can you paste me exactly the code you used at the template page when you get this error? [17:51:25] drunkard: The main problem is: I think it's fixable, but I need some more time beacuse the complex template design(Infoboxes by Lua, for example) [17:51:40] Alright, Take your time [17:52:07] Furthermore, my browser crashed right now... [17:52:26] Happens to myself all the time. [17:52:36] Doing some work on something online and It crashes and I lose everything :P [17:52:49] But it mostly happens when working with GIMP at my work's crappy computer [17:52:55] Randy_White: You can use pastebin or something similar [17:53:00] :D [18:01:24] drunkard: It should work to somehow replace "infobox" with "prettytable". Or you define an own class if you have editinterface. [18:03:21] Alright [18:04:12] So I replace the "infobox" thing in the template in the Reria page to "prettytable"? [18:04:23] I mean, in the infobox in the Reria page* [18:06:27] No, I think that wouldn't do the ting you want to have. I don't know how Module:Infobox works, but i think it would maybe work id you change {{#invoke:Infobox|infobox}} to {{#invoke:Infobox|prettytable}} [18:06:35] at the Template:Infobox page [18:07:10] Because I think determining the class is the only use for a parameter in such a function [18:07:29] "Script error: The function "prettytable" does not exist." [18:07:54] hm [18:08:18] Man, this is way more complicated than expected :P [18:08:44] To be honest, I think it would be much simpler to create own infoboxes, without Lua and such complex things [18:08:56] Any guide/tutorial on that? [18:11:21] I know one in German :p Do you have basic template, parser function and wikitable skills? [18:11:40] I believe so, yeah [18:14:29] You have too build a table like your infobox should be, with the difference you use for the second cloumn {{{parametername|}}} instead of normal text. [18:19:39] Ugh, this is harder than what I expected it to be. [18:20:14] This is the first step. After this, you can use {{#if: and similar parser functions that rows are only sohown if there's data in them [18:27:04] Does anyone know of any reason why $this->html('headelement'); wouldn't work? [18:32:56] Now he is gones and I have fixed the issue. [19:01:28] Back. Sorry. Internet went out. [19:02:09] Checkers? [19:02:38] yeah? [19:02:42] I have fixed it [19:02:45] Thanks for fixing my wiki [19:03:13] I just have one small question... Is there any way to make it so every time the lua script is called it auto-aligns to the right? [19:03:34] Like, every time I make an infobox it autoaligns to the place any infobox should be [19:03:53] I can try something, but actually I don't can any Lua :p [19:04:06] Me neither, that's why I ask :P [19:05:07] Oh wait, I found a makeshift fix [19:05:18] I absolutely forgot about align [19:08:50] I know it has to be somehow possible, but I don't know how [19:09:56] Even at GErman Wikipedia less than a dozen of people can write scripts in Lua [19:10:12] Yeah, it's slightly hard, but it makes things look sooo god [19:10:14] good* [19:14:18] oh yes [19:14:38] Maybe I try to learn it becuase that [19:18:45] Also, about the class thing of before [19:18:56] My wiki was basically missing a "Infobox" class? [19:27:26] Hey Checkers, a small question [19:27:31] Yes, the css class infobox is missing (it isn't installed by defauklt, has to be defined at common.js/css). That's why I changed the class from infobox to wikitable, which is pre-installed [19:27:34] Oh [19:27:34] shat? [19:27:35] There [19:27:35] Thanks [19:28:12] So how could I install it? I mean, what should I tell my host so he installs it? [19:28:31] You don't need your host to do that. [19:28:43] Alright [19:29:02] I look how it's defined at enwiki [19:29:32] mhm [19:29:41] Every day you learn something new :P [19:31:29] https://en.wikipedia.org/wiki/MediaWiki:Common.css < everything with .infobox must be copied in your common.css [19:32:18] OoOoOh [19:32:20] Thanks! [19:34:22] I neither can CSS nor Lua :D [19:35:41] Fantastic, it works wonders now [19:36:08] https://reria.miraheze.org/wiki/Reria [19:36:18] Disregard the ugly red text and stuff, I need to fix the template [19:37:58] andre__: Are you now a GCI Admin? :O [19:38:11] That's great! [19:48:05] hm, isn't there any bug with the design? [19:48:37] Nope [19:48:39] Not at all [19:49:47] okay [19:53:52] brion: any thoughts you have on https://phabricator.wikimedia.org/T119797 would be very useful [19:57:49] Sorry it took me so long to get back [19:58:09] Checker are you still on [19:58:27] 20<MGChecker>30 Raney_White: Okay, is this is the case, can you paste me exactly the code you used at the template page when you get this error? [19:58:33] For example by pastebin [19:58:41] {{Backlog progress bar|initial= |goal= |category= |unit= }} [19:59:41] On the template page I get this Template loop detected: Template:Backlog progress bar [20:06:49] I think you misunterstood the mediawiki template system [20:07:13] That Im sure of [20:07:40] I do apologize new to Mediawiki [20:08:00] On the Template page you have to write other code, like https://en.wikipedia.org/w/inde.php?title=Backlog_progress_bar&action=raw [20:08:20] The code you have mentioned has to be used on those pages where the templatre shall be transcluded [20:09:29] the URL you posted is broken [20:11:42] wasn't pasted, but typed per hand :$ [20:11:44] so then what goes on the template page? [20:11:51] https://en.wikipedia.org/w/index.php?title=Backlog_progress_bar&action=raw [20:12:24] Something like this. On the template page is explained to MediaWiki what it has to do with {{Backlog progress bar|initial= |goal= |category= |unit= }} [20:12:58] The Parameters are for example represented by {{{unit}}}, {{{initial}}, {{{goal}}}, {{{category}}} [20:13:36] Mit {{{unit|default}}} lässt sich ein Defaultwert angeben, oft benutzt man daher {{{unit|}}} [20:13:43] oops, German ^^ [20:14:23] I'm bad with Wiki even worse with German [20:14:30] xou can choose a default value by {{{unit|default}}, so {{{unit|}}} is used really often, because [20:14:42] That's why I translated it into Englisch [20:15:26] on this way if there'S no parameter unit, you get simply nothing instead of something looking like bugging [20:15:51] For more advanced template programming you need parser functions_ [20:16:06] https://mediawiki.org/wiki/Help:Extension:ParserFunctions [20:17:02] ok so on the template page it should look like this {{progression}} {{}initial|default}} {{goal|100}} [20:20:20] Randy: You have to treat everything as wiki markup: A Templae is a page like every other, but can use such parameters [20:21:29] in fact, any wiki page can use parameters. Templates are the ones that are usually transcuded on other pages, but any page can be potentially transcluded [20:22:04] I understand a little but I just dont understand what the page should look [20:22:27] ananayarora: Hey. I've always been :) [20:22:40] I will keep looking [20:23:04] I'm sure its easy I'm just new to it and dont fully understand [20:24:16] Maybe Youtube will help me [20:24:37] andre__: https://gerrit.wikimedia.org/r/#/c/259219/ [20:25:06] ok Im back today. Finally not using a web client [20:33:45] XenoAxis, welcome back :) [20:33:54] ananayarora: context? :) [20:34:06] andre__: Please review this? [20:34:08] ananayarora, if you just throw a link at me I don't know what you want me to do with that [20:35:04] Randy_White: It should look so that it gives the wikitext you'd like to get transcluded. [20:35:18] The parameters allow you to alter this text. [20:35:34] ananayarora: I'm already CCed as a reviewer and hence I receive Gerrit notifications. Hence no need to notify me in a second place (IRC) one minute later :) [20:35:47] Okay, andre__ :) [20:36:32] ananayarora: in the commit message, why does it say "Added minimal phpdoc before onParserFirstCallInit() in score.hooks.php" ? [20:36:54] How is that relevant for the complete patch once the complete patch is merged into the codebase? [20:36:57] andre__: Because that's one of the major changes I've done [20:37:05] minor* [20:37:13] ananayarora, compared to the current code? or compared to the previous changeset version? [20:37:30] compared to the previous changeset version [20:37:48] ananayarora, once your patch is merged into Git, nobody will ever look at previous changeset versions that were in Gerrit [20:37:53] Randy: I have to go [20:37:56] Okay. [20:37:57] ananayarora, hence this is irrelevant for the commit message [20:38:00] I know youve tried and thank you for that. I'm just not understanding. Maybe I can find something on Youtube or some post that can help me. [20:38:13] So I have to add all the changes I've made from start. Am I correct? [20:38:42] ananayarora: see https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines#Structure [20:38:57] I thinkl there some good help pages at mediawiki.org and en.wikipedia.org, with names like Help:Template or Help:Templates. Maybe they can help you. [20:39:56] ananayarora: your commit message will end up in the code repository (Git) to let people (who check out the merged code) know what's been changed in that *merged* patch. But it currently includes a minor detail about the difference between some older and the current changeset version in some code review tool (Gerrit). [20:40:15] okay [20:41:09] ananayarora: maybe we have to make this clearer in the documentation. I do see that it is not obvious between Git (the last patchset version merged) and Gerrit (changeset iterations until good enough to merge) [20:44:32] Converted MediaWiki extension "Score" to use extension registration [20:44:32] Generated extension.json that validates against version 1 schema [20:44:33] Added a PHP Shim to load the extension for MediaWiki 1.25+ [20:44:34] Bug: T87970 [20:44:39] andre__: is this fine? ^ [20:44:51] for the commit message? [20:44:58] If not, what else should I add [20:46:09] ananayarora, see https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines#Subject [20:46:19] says for example "Use the imperative mood" [20:46:31] andre__: Reedy told me to use the task title [20:46:46] ananayarora, ah. alright then. And sorry for probably confusing you :) [20:47:03] ananayarora, and Reedy already reviewed in the meantime - please reload your Gerrit page :) [20:47:48] ananayarora, but you're very very close to fixing this, it seems :) [20:48:13] andre__: Learning a lot from this. :) [20:48:44] ananayarora: the first patches are always the hardest, trust me :-/ [20:52:05] Hmm. [20:58:54] I'm really struggling with this template and would like a lot of help. I have a template called Progress Bar The code on the template page is {{Progress bar|}} On the page I want the progress bar I have {{Progress bar|50}} What am I missing? I think this should show a progress bar with 50% done. It doesn't. I get Template:Progress bar I'm sure its an easy question but I'm new to this. [21:01:35] Randy_White, What does "the code on the template page" mean? [21:01:46] is that a public wiki? [21:01:57] not a public wiki [21:02:08] thats what I'm calling [21:02:23] so when you go to the "Template:Progress_bar" page and click edit, what's there? [21:03:17] {{Progress bar|}} [21:03:26] It calls itself? [21:03:37] well, then you have not defined your template code :) [21:03:44] what Reedy says. [21:03:51] What code should I have in there [21:04:00] the code that does what you want the template to do. [21:04:31] ok so what code should I have there [21:04:35] probably taking that value of "50" and turning that into some HTML/CSS which looks like a progress bar. [21:04:51] Randy_White, I just answered that question [21:05:27] If you don't want to reinvent the wheel, there is for example already https://en.wikipedia.org/wiki/Template:Progress_bar [21:06:19] where is the example that is the page I've been looking at [21:06:37] https://en.wikipedia.org/w/index.php?title=Template:Progress_bar&action=edit [21:07:06] Edit. [21:48:18] Thanks guys this is exactly what I was looking for https://en.wikipedia.org/w/index.php?title=Template:Progress_bar&action=edit [21:48:46] great! [22:09:43] Next challenge I want my progress bar to alien on the left side of the page and not in the center [22:09:44]
{{#ifeq: {{{header|yes}}} | yes |

{{{text|completed (estimate)}}}

}}