Last modified: 2012-01-05 01:33:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33138, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31138 - SMW 1.6.2 #ask 'format' parameter is case-sensitive now!
SMW 1.6.2 #ask 'format' parameter is case-sensitive now!
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-24 16:39 UTC by Daniel A. R. Werner
Modified: 2012-01-05 01:33 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel A. R. Werner 2011-09-24 16:39:47 UTC
Another, rather serious bug introduced in SMW 1.6.2:
{{#show: [[Name::+]]
| ?Name
| format = List
}}
This will print in table format because the format parameter seems to be case-sensitive now.
{{#show: [[Name::+]]
| ?Name
| Format = list
}}
works fine. Some other parameter values I tested still were case-insensitive.
This broke quite some templates in my Wiki. Also there are many format examples out there, where the format name is given in uppercase!

Perhaps the Validator extension should get some optional case-insensitive setting for validating string parameters.
Comment 1 Jeroen De Dauw 2011-09-24 17:17:37 UTC
When are you seeing this? I cannot reproduce this, and the code looks valid. Can you link to where you are seeing such behavior?

This is 1.6.2 right? Not some random alpha version?
Comment 2 Daniel A. R. Werner 2011-09-24 18:02:54 UTC
Yes, I am positive. I just reset one of my local wikis to the original 1.6.2 release to make sure.
Sorry, can't give you a link since I only have local wikis running on 1.6.2 till everything works fine.

In the SMWW sandbox wiki it works, BUT apparently there is still the 1.6.2 alpha running, not the final release.
Comment 3 Jeroen De Dauw 2011-09-24 18:20:41 UTC
Well, it's fixed on trunk. I actually pulled 1.6.2 as ask was broken due to an issue in the format defaulting and recommend not using it for now. I'll try release a 1.6.2.1 soonish to address that. Sorry for the hassle and thanks for reporting this :)
Comment 4 Daniel A. R. Werner 2012-01-04 22:58:59 UTC
This bug seems to be back in 1.7 and current trunk!

How did this get back into 1.7? Would be even worth a fast 1.7.1 release since it is potentially breaking wikis again.
Comment 5 Daniel A. R. Werner 2012-01-04 23:02:18 UTC
Solved in r108095.
Comment 6 Jeroen De Dauw 2012-01-05 01:33:05 UTC
Thanks for fixing this. I don't think it's that critical to force a quick release though - the fact that no one complained about this while it has been on trunk for months (and many people run trunk or tried the beta/rc) suggests that very few people actually do not use non-lower cased names.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links