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
Listwidget format: No longer working #449
Comments
Thanks a lot for reporting. Yeah, this is really bad since it is a very useful and often used format. |
@mwjames It will be utterly great if you had time for a sprint here. This is probably the collateral damage with the most negative impact to wikis out there. |
I believe it relates to the changes of the
The problem is that we need something like |
Thanks a ton for the swift response and your suggestion! I will give this a shot and do a pull request if the suggestion works. Touching wood since this is rather a show stopper. |
It won't unless |
Would it be sufficient to add them via the configuration parameter for result format aliases? |
Probably not since we still need "ol" and "ul" to strip html like currently only "plainlist" does. Ouch, this is bad. |
The JS used to generate these lists expects simple ul/ol (aka plain) elements and gets confused by any other HTML that surrounds them hence the need for the |
I will create a feature request at SMW for the plain formats. Anyways we are looking at SWM/SRF 3.1.0 minimum which is a crucial information to work with for wiki update planning. |
As mentioned over on SMW #3623 it might be sufficient to set
Of course, this still leaves the ListWidgetPrinter relying on an internal interface ( |
@s7eph4n Thanks for your comment. I will try the proposed code changes this weekend and see what happens. I guess doing some kind of refactoring is another story for a second step. |
I just did some field testing and the listwidget is working great again. However one now needs to add |
Thank you very much for your work and commitment! |
I wanted to do a 3.0.1 a fortnight ago but other issues and low availability got into my way. Since this is the major blocker for me migrating all the wikis I control to SMW 3.0 etc I hope to be able to fix the test this Sunday. If @s7eph4n could move in the separator tweaks in this will be utterly cool, too. To cut a long story short. I cannot take to long, at least I hope. |
Setup
Issue
Since the update to lastes SMW and SRF the listwidget is broken. Even the official demo pages are not working anymore:
https://www.semantic-mediawiki.org/wiki/Demo:Listwidget_alphabetic_list
The text was updated successfully, but these errors were encountered: