-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DPL3 doesn't support externallinks table changes on 1.41 #274
Comments
This is the change that dropped the el_to column: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/954900 |
I don't think it's possible for
It won't be possible anymore to do queries like See https://www.mediawiki.org/wiki/Manual:Externallinks_table and https://www.mediawiki.org/wiki/Help:Linksearch . The latter page lists types of supported queries. |
I am looking into a way to fix this but it indeed seems it may not work. |
linkstoexternal has just been disabled (by placing it in a 5th richness level) for now. |
@Universal-Omega: To reverse the " |
This is one idea I've looked at yes but it's a little complex with this extension. How much is the use case for linkstoexternal? Is it actually fully worth it? |
Highly doubtful I'm aware of any working Miraheze examples at this point, but it might not hurt to look around in the long run. Once it gets recoded for 1.43+, I'll test it out myself. Until then, there's always FollowTheScore's guide. Good luck! |
@Routhwick @Universal-Omega we can use the MediaWiki's LinkFilter::makeIndexes(), I think it's the most reliable solution as it's used to store external links in the database. However, I'm still thinking about how to handle Another case is |
That's a very thorough analysis here. I appreciate it. It does make a lot of sense, and I think you're absolutely right. I think we may loose some functionality or introduce some sort of bug if we go that route, but I think it may still be the best route even if that is the case. Because in my point of view at least, some functionality is better then no functionality however of course if we can make it totally work that would be best. It's just a little bit tricky to account for all situations in this extension. In addition to Unrelated but in addition I've also been reminded lately that |
DynamicPageList3 version: 3.5.3
MediaWiki version: 1.41.1
PHP version: 7.4.3
List of steps to reproduce (step by step, including full links if applicable):
linkstoexternal
in a queryWhat happens?:
Fatal exception of type "Wikimedia\Rdbms\DBQueryError"
Error 1054: Unknown column 'el.el_to' in 'field list'
The text was updated successfully, but these errors were encountered: