Skip to content

listwidget: fix template parameter#941

Merged
thomas-topway-it merged 3 commits intoSemanticMediaWiki:masterfrom
Knowledge-Wiki:fix-listwidget-template
Nov 27, 2025
Merged

listwidget: fix template parameter#941
thomas-topway-it merged 3 commits intoSemanticMediaWiki:masterfrom
Knowledge-Wiki:fix-listwidget-template

Conversation

@thomas-topway-it
Copy link
Contributor

fixes #618

@codecov
Copy link

codecov bot commented May 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.44%. Comparing base (24aebd0) to head (f5e8b89).
⚠️ Report is 43 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #941      +/-   ##
============================================
+ Coverage     45.39%   46.44%   +1.05%     
  Complexity     2326     2326              
============================================
  Files            80       80              
  Lines          9078     9083       +5     
============================================
+ Hits           4121     4219      +98     
+ Misses         4957     4864      -93     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

] );

// this does not seem to work
if ( $this->hasTemplates ) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then why are you adding it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to disable links when template parameter is defined, do you have any hint how to achieve this ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed, I've commented the block

@jaideraf
Copy link
Member

Is this ready to be merged?

@thomas-topway-it
Copy link
Contributor Author

I think so

@thomas-topway-it thomas-topway-it merged commit 9e556d6 into SemanticMediaWiki:master Nov 27, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Listwidget] Template added to template parameter no longer considered

3 participants