[18:17:30] legoktm: ftr, did you mean "legoktm in his personal capacity" or "lego as his work with MWPT" with urlshortener? https://phabricator.wikimedia.org/T187052#4140398 [18:18:58] the stewardship review process prefers team ownership for long term benefits (and less likely to get dropped based on personnel changes) [18:40:56] legoktm: Does codesearch support some form of exclude file patterns and/or negative zero-width match? E.g. to exclude matches from filenames containing "handlebars" [19:43:38] greg-g: https://phabricator.wikimedia.org/T187052#3966147 [20:42:45] Does anyone know... the best way to get a url to a resource (an image) in either PHP or JavaScript (doesn't matter)? [20:44:00] resource? [20:45:10] yeah like I have an svg and I could just hardcode /skins/SkinName/images/something.svg but that seems like a bad idea, when MediaWiki might be in a subfolder or the skins folder might be different, etc. [20:46:27] $wgExtensionAssetsPath for extensions, $wgStylePath for skins [20:47:20] or ideally, use the image in your CSS code rather than in HTML code, relative paths in CSS get adjusted automatically [20:49:36] Dereckson: thanks, reading comprehension fail on my part :) [21:02:49] BadMethodCallException from line 107 of /srv/mediawiki/php-1.31.0-wmf.30/extensions/WikibaseQualityConstraints/src/ConstraintCheck/Helper/LoggingHelper.php: Call to a member function getMessageKey() on a non-object (null) [21:35:05] MatmaRex ah, well, so I need to make an svg responsive and uhh.. that seems way easier with an tag.. I can't find an example in MediaWiki though [21:35:40] yeah, sure, makes sense in some cases [21:36:07] yeah I mean it's technically just an icon, but as far as I can tell, all our icons are fixed width [21:36:35] davidwbarratt: oh, hmm, do you just mean a different 1.5x, 2x variants using srcset? [21:36:56] or something else? [21:37:25] we do 1.5x and 2x variants in CSS for the site logo. it's generated in ResourceLoaderSkinModule [21:37:46] but anyway, can make sense, just prepend $wgExtensionAssetsPath or $wgStylePath to get the path [21:38:02] I mean I'm using a width that is variable, so the width is ~20% [21:38:16] so I'll try and prepend the variable to get the path. :) [21:54:16] MatmaRex thanks!