Content deleted Content added
StefenTower (talk | contribs) →Suggestion and bug: Reply |
|||
(7 intermediate revisions by 5 users not shown) | |||
Line 4:
Best regards and thanks in advance!lɛʁi ʁɑjnhɑʁt (leri raynhart)
: ·[[user:לערי ריינהארט|לערי ריינהארט]]·[[user talk:לערי ריינהארט|T]]·[[m:user:לערי ריינהארט|m]]:[//meta.wikimedia.org/wiki/user_talk:%D7%9C%D7%A2%D7%A8%D7%99_%D7%A8%D7%99%D7%99%D7%A0%D7%94%D7%90%D7%A8%D7%98?action=history Th]·[[m:user talk:לערי ריינהארט|T]]·[[m:special:Emailuser/לערי ריינהארט|email me]]· 09:51, 22 August 2015 (UTC)
== parameters ==
What do the 'create', 'order', 'numeric', and 'ascending'/'descending' parameters mean, how do they function, and how do I use 'colspan' and 'rowspan' on this module? -- [[User:PK2|PK2]] ([[User talk:PK2|talk]]) 07:51, 18 August 2020 (UTC)
:Just noting for future page viewers that this has been responded to at [[Help talk:Table#parameters and auto-sorting tables]]; it may have been archived by the time you read this.{{pb}}<span style="background-color:#EEE; font-size: 1.2em; padding:.15em .45em;"><b>[[User:Quantocius_Quantotius|<span style="color:#800000;">𝒬</span>]][[User_Talk:Quantocius_Quantotius|<span style="color:#800000;">𝔔</span>]]</b></span> 17:03, 28 August 2020 (UTC)
== Edit request: Accessible code ==
{{edit template-protected|answered=yes}}
First of all, I hope I've used an appropriate temple for this edit request. There seems to be no [[Template:Edit module-protected]], and there's no [[Template: AutosortTable]] in front of this module.
My request is this: please add the necessary code to increase the compatibility of the output with [[WP:ACCESS]], esp. [[MOS:DTAB]].
Specifically, I'm hoping for two changes:
# Add the capability of specifying a table caption. (Wikitables do this with <code>|+ Some caption</code> in the wikicode.)
# When generating a new row, emit the first cell as a row header with scope. Wikitables do this with <code>!scope="row"| </code>. The current module code produces simple data cells with <code><nowiki><td></nowiki></code>, which doesn't help screen reader tools.
Thanks, <i>— [[User:JohnFromPinckney|JohnFromPinckney]] ([[User talk:JohnFromPinckney|talk]])</i> 19:16, 14 February 2021 (UTC)
:[[File:Template-protection-unlocked.svg|28px|link=|alt=]] '''Not done:''' According to the page's protection level you should be able to [[Help:Editing|edit the page yourself]]. If you seem to be unable to, please reopen the request with further details.<!-- Template:ETp --> — [[User:JJMC89|JJMC89]] <small>([[User talk:JJMC89|T]]'''·'''[[Special:Contributions/JJMC89|C]])</small> 19:58, 15 February 2021 (UTC)
::Oh, yeah; so I am. Sorry for being a dope. <i>— [[User:JohnFromPinckney|JohnFromPinckney]] ([[User talk:JohnFromPinckney|talk]])</i> 15:20, 16 February 2021 (UTC)
== Suggestion and bug ==
I was thinking this module will be very useful for making a WikiProject issues backlog list where the variable numbers of issues change and thus automatic sorting would be beneficial. However, one capability missing from AutosortTable to make that perfect is having a row become invisible if a threshold is met (e.g. < 50 issues). Being able to set a column-value-based condition for enabling a row to display would be awesome.
A bug I ran into is if a cell value contains an external link with a '?' in its URL, the whole row won't display. I was linking to a PetScan result. To work around this, I'm using the <nowiki>[[petscan:n|description]]</nowiki> approach instead.
Thank you for a really cool module and for considering my suggestion and a bug fix. [[User:StefenTower|<span style="color: #1b770d;">'''Stefen <span style="white-space: nowrap;">𝕋ower<sub>'s got the power!!1!</sub></span>'''</span>]] <sup>''[[User talk:StefenTower|Gab]]'' • [[Special:Contributions/StefenTower|Gruntwerk]]</sup> 19:22, 14 August 2025 (UTC)
:Note: per the suggestion, I know I can put "<nowiki>display: {{#ifexpr: column-value >= 50 | table-row | none}}</nowiki>" at the beginning of each row, but it seems like an unnecessary bulking of the table code, when theoretically a simplified conditional based on whatever the column-value is could be set in one spot. [[User:StefenTower|<span style="color: #1b770d;">'''Stefen <span style="white-space: nowrap;">𝕋ower<sub>'s got the power!!1!</sub></span>'''</span>]] <sup>''[[User talk:StefenTower|Gab]]'' • [[Special:Contributions/StefenTower|Gruntwerk]]</sup> 20:04, 14 August 2025 (UTC)
|