It would be wonderful if you could also select by namespace rather than only exclude by category.
Jump to navigation Jump to search
Reply to "Feature request: Select by namespace"
Reply to "Filter Database search"
I was getting this:
About this board
Feature request: Select by namespace
Filter Database search
The extension find also all new uploaded media (Pictures, Files). When i create a new article the extension will find the articles an all of the uploaded pictures i used.
i would like to see only the articles and no media.
i can see in the source code that a "filter by categorie" is already build in.
i try to change the code for that ... but i did not understand how i can filter the database query for this. i use (dirty) a simple string search to filter this after the query.
Very bad solution.
Any Ideas how to filter "Media:" Content out?
@Lucamauri: You recently have done cool work for this extension. I also see valid use cased to filter out certain namespaces. Perhaps you could give it a shot. :)
The feature request is now logged here https://gitlab.com/organicdesign/RecentActivity/-/issues/1 I cannot assure I can do it as requested, but i'll surely give it a try as soon as I find some free time.
Thanks a lot. No worries. We all know that this is volunteer effort. Having the possibility not just to filter by category but by namespace will be a really great improvement. We will sit tight. :)
Compat with 1.33+
Use the recently released version 1.5 for best experience.
@Vishkujo: I saw that you marked this extension as unstable, i.e. not working with MW 1.33+. May I ask you what error you are seeing, or what the server is logging as an error?
I was getting this:
Error: invalid magic word 'RecentActivity'
Efectivamente no funciona en la 1.34 tampoco. si se comenta la instrucción $wgExtensionFunctions = 'efSetupRecentActivity'; ya no da errores, pero es como si no estuviera.
It doesn't work in 1.34 either. if the $ wgExtensionFunctions  = 'efSetupRecentActivity' statement is commented; It no longer gives errors, but it is as if it were not there.
Reported on Gitlab as issue 41
I have modified the extension code to better follow MediaWiki's standard extension guidelines, to fix the reported issue and a few others I found along the way. My fix is hosted in this fork https://gitlab.com/lucamauri/extensions as it is impossible for me access the current extension repository that seems to be in private Git service.
I hope @Nad can help integrating those modification in the current repository, or move it back to a public Git service so we can contribute directly.
Thanks a lot. Indeed, having this is the main repo will be great!
Nad fixed the repository, so the extension is now working with recent MediaWiki versions.
Cool, thanks a lot!
There are no older topics