-
Notifications
You must be signed in to change notification settings - Fork 2
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
"None of these labels" column has a display issue when used on Template:Person #21
Comments
It looks like this column is exceeding some limit due to trying to parse so many actions, especially when not filtered by Property:Related article. |
In playing around with an action board and using the MediaWiki preview feature, if I leave the filter for Related article field blank I get the following message:
|
One option would be to count the number of actions returned for the optional left column and if that number exceeds some limit, it only parses some and provides a link for more. This can also be helped by making the templates more efficient, but it will never solve the problem for a system with thousands of actions. For example: Template:Actionable board column can be modified to include ?Summary in the results and pass them to Template:Actionable board row and remove two instances of |
In case it gets overwritten from the dev server, here's a way to maybe do this using Cargo: In
In the same template, in the
Then here is a sample query:
|
If I go with Cargo, consider linking to |
When this is all fixed, on |
Template:Actionable board column will need:
|
Once Cargo is added, update the README to show examples of how to use it, including Special:Drilldown |
c0d8c5c added cargo versions of the action board and action board column templates. More work will need to be done to make these completely cargo. For now it just improves the situation for the left column by using cargo. |
Some thought needs to be put into whether adding Cargo support is a good idea. One important thing to note is that Cargo has one flaw for this use case, in my opinion. Cargo queries do not include results where values are redirects. Let's say there's a page called Action:60 and it has the value of "Puppy" as a value for Related_article. But "Puppy" is just a redirect to the page called "Dog". Action:60 will not show up in the results of a query filtering on the value of the redirected-to page "Dog". Such a query would look like the following example.
DemoCargoQuery for "Puppy" value of Related_article
Query for "Dog" value of Related_article
SMWQuery for "Puppy" value of Related_article
Query for "Dog" value of Related_article
DiscussionThis is because Cargo treats a redirect to a page and that redirect-to page as separate entities. Technically speaking, they are. But when using SMW they are treated as equal. We have 8+ years of treating redirects as equal to the redirected-to pages. This means two very important things if you are going to use Cargo:
|
The text was updated successfully, but these errors were encountered: