Sam Wilson
Sam Wilson
You might be better off finding the markdown that contains an empty link (e.g. `Lorem [ipsum]() dolor.`) and fixing that instead. Or are you saying that CommonMark should never add...
Ah, that makes sense. So you're saying that there are circumstances in which `$fragmentPrefix` and `$slug` are both empty strings and the result is just `href="#"`?
That's true, but it wouldn't fix the issue for anyone else. I think it probably needs to do something similar to [how addwiki-api does it](https://github.com/addwiki/addwiki/blob/e3615e9eb829bc8fe917bb6bfb33e827a8c50327/packages/wikibase-api/src/WikibaseApi.php#L47), although I'm not quite sure...
(Just out of interest, are you using an AI tool to create that code?) The `preRequstAuth()` method isn't usually called by the consuming code, it's called from `ActionApi::request()`, so it's...
Oh no, don't worry I'm not offended! :-) Just interested, because it's becoming more common to see generated code. It's often not quite the right code though! Have you used...
After more investigating, it appears that this isn't the root cause of my problems today. I do still think it'd be good to be able to customize this, but it...
Yep, that fixes it. Thanks!
Given that addwiki's usage of this is backwards compatible with v1, should this use `~1.0 || ^2.0` instead of just `^2.0` on its own? (As suggested on the issue.) It...
Yeah that sounds good. > I had a look at the dpeendenats of https://packagist.org/packages/addwiki/mediawiki-api-base/dependents?order_by=downloads Dependent packages is one measure, but I suspect most usage of this is in projects directly...
Until recently it was possible to right click, select 'Show address', and the coordinates would show in the sidebar *and* in the search box — and from both places they...