[08:19:06] Hi, good morning. [08:19:27] Is it possible to add alt="" descriptions to embedded images in MW? [08:22:42] Aha, simple as doing [[File:Lake.jpg|thumb|right|Beautiful lake|alt=Image of a beautiful lake]] [08:33:26] Are there extensions that adds the alt option in the "insert image" popup when editing a page? [09:19:08] I made a feature request instead. Hope it's ok. https://phabricator.wikimedia.org/T265787 [11:17:31] hi, i think i've found a bug in the mediawiki script logic making it misbehave i've seen last time in a borland ide in the 90s. at a certain width it just can't decide if all the top tabs fit into a single line or not. [12:10:07] EdePopede: You probably refer to T71729 [12:10:08] T71729: [collapsibleTabs] If a tab's width changes after initial page load, endless animation loop can happen - https://phabricator.wikimedia.org/T71729 [12:13:31] ah, seems so. when was this posted? really in 2014? [12:17:13] Where is the php file for the vector sidebar? Where in the mediawiki 1.35 core folders would I find the php file for the sidebar in the vector or minever skin?, I want to modify the donation link. [12:17:48] You don't need the PHP file [12:17:54] !sidebar | Goodman [12:17:54] Goodman: To edit the navigation menu on the left, edit page [[MediaWiki:Sidebar]] on your wiki using its special syntax (see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar for details). If you need more control, you can use the SkinBuildSidebar hook (https://www.mediawiki.org/wiki/Manual:Hooks/SkinBuildSidebar). [12:18:23] Well, I had like to do from the php file [12:19:09] Reedy, I might as well do it from MediaWiki:Sidebar but I would still like to know where the php file is located [12:19:49] We really don't recommend just changing arbitary PHP files [12:20:02] It's a maintenance nightmare [12:20:24] Goodman: which donate link? there isn't one in core from memory, do you have a extension that is providing it? [12:20:33] But it's BaseTemplate.php and Skin.php in MW core [12:22:07] p858snake there is a donation link that come out-of-box with Mediawiki 1.35; it point to the WMF donate wiki [12:23:49] I'm not sure I believe that [12:23:52] Reedy please standby let me try to modify the link from MediaWiki:Sidebar and see if that work for both the vector and Minever skin. [12:24:31] Back in 1.13... [12:24:32] * (bug 14710) Remove "donate" link from default sidebar [12:25:29] Well I would look at your guesses soon if modification at Mediawiki:Sidebar failed to solved the problem. [12:28:16] Goodman: is your wiki somewhere public where users can access? [12:29:54] lol [12:32:32] from later in that bug report: "the project is considered frozen with the exceptions of changes that aid the new modern experience we are building" [12:32:44] i'm even afraid to ask what that means for the future [12:33:05] Skins are being worked on atm [12:33:07] just thinking about how sites like facebook, twitter, google, youtube have changed at some point [12:34:24] buzzwords like "user experience" are raising all available alarms for me years already. [12:34:35] s/me // [12:35:34] like alone switching the 2 open wikipedia tabs showing that animation brought down cpu load from like 40% to next to nothing [12:35:51] * switching to the ressource friendly startpage [14:08:06] MW 1.35: Does https://www.mediawiki.org/wiki/Manual:DeleteOldRevisions.php delete all revisions except the current iteration of the page? thx [14:10:09] That's the idea [14:10:58] I appreicate it didn't really know what it meant by "delete all old (non-current) revisions" as old to some are new to others ;) [14:11:47] Hmm. That's odd [14:11:53] Have we removed the "current" tag from history pages? [14:13:30] @Reedy presume that is a ? for someone else as I have no clue. [14:13:40] Yeah, more generally to the channel [14:13:57] Though, it was to try and illustrate my point [14:13:59] But if you look at https://en.wikipedia.org/wiki/Special:Contributions/Reedy [14:14:11] You'll see some (current) next to revisions [14:15:24] Ah, yeah. I'm just trying to clean up things now that I have the wiki putting along. Kinda like the solar system after its birth ;) [14:17:24] heh [14:22:04] So, I tested it on one page and it works precisely that way. It deletes all revisions other than the very last one. [18:20:16] Reedy hi, you wouldn't happen to know what to replace replaceInternalLinks with? [18:20:25] It appears it was deprecated than removed in 1.35 [18:20:47] used here https://github.com/wikimedia/mediawiki-extensions-MediaWikiChat/blob/master/includes/MediaWikiChatHooks.php#L25 [18:29:15] paladox: I presume you call one of the more generic parse functions [18:29:32] Which may do other stuff too, but should still do internal link replacement [18:30:04] Reedy would this be internalParse? [18:30:23] I'd presume that isn't public [18:30:43] hmm, it is [18:31:16] I'd probably try just parse() to begin with [18:31:32] ah ok [18:40:20] MW 1.35 Page Forms 4.9.5: Is it possible to enter numbers into several fields (A,B,C,D) and then use a formula such as D=D-A+B+C with D as the final field which would be displayed? thx [18:41:17] "MWException from line 6237 of /srv/mediawiki/w/includes/parser/Parser.php: Parser state cleared while parsing. Did you call Parser::parse recursively? Lock is held by: #0 " hmm [18:43:07] ah, of course [18:45:35] paladox: I can't help but wonder if that whole function is mostly pointless [18:45:45] oh, maybe [18:45:47] * paladox tries [18:45:57] Cause it's basically just doing a subset of the parser functionality [18:46:02] It's not going anything extra [18:46:23] Apart from maybe the html tag stripping... [18:46:32] And then attributeStripCallback is deprecated too anyway [18:48:16] seems to work at least i can send [18:49:54] and i can see [[]] works too [18:51:23] I'm guessing it was a performance optimisation at some point [18:51:43] yeh [18:51:46] Reedy https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MediaWikiChat/+/634717 [19:25:29] Reedy wondering if you could merge that change please? :) [20:01:33] Reedy i wonder should this https://github.com/wikimedia/mediawiki/blob/master/includes/parser/Parser.php#L997 be ?Title? Since i'm seeing this "TypeError from line 1007 of /srv/mediawiki/w/includes/parser/Parser.php: Return value of Parser::getTitle() must be an instance of Title, null" from Lingo. [20:02:50] Potentially, yea [20:03:07] It can definitely be null [20:04:38] Reedy https://gerrit.wikimedia.org/r/c/mediawiki/core/+/634719 [20:06:01] Reedy done already :D [23:22:36] Hi [23:25:47] I have a problem, i make a work in my workshop, ho of work, now i go to work and is delete. Why? [23:26:43] Some can help me please [23:33:41] hous of work [23:33:47] hours [23:35:55] Might start with your version of Mediawiki and explain how to recreate the issue you are describing? I'm not too good but I'll help if I can. Use google translate for english tho [23:37:35] Others may speak foreign languages in here English is all I know [23:39:12] Spanish [23:39:14] Hi [23:40:39] Hi what version of MW and what happened? [23:40:52]  [23:41:32] I worked in the workshop on my account, I made a page, it was ready for hours and now I went to work and the draft of the page is no longer there, why [23:42:12] There is a way to get it back [23:42:15] Is your work on localhost like on your computer or is it at a hosted website [23:42:44] no in my wikippedia account [23:43:28] i am work in my wikipeddi acount [23:43:34] Ah, out of my league. Someone else may correct me but if you were working on Wikipedia you probably have to go to that IRC [23:44:08] yes this is for support [23:44:53] For MediaWiki yes. But if you were working on a page in Wikipedia I would guess that is where u need to be ... do you have a link to the page? [23:46:42] Was it over here: https://es.wikipedia.org/wiki/Wikipedia:Portada [23:48:11] i n my wikipedia acount [23:48:22] you can help me? [23:50:54] I don't think I can. Someone else may chime in. I am pretty sure that you need to be in ##wikipedia-en-help