Last modified: 2012-02-21 08:24:40 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 T20319, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18319 - [[Category:+]] and [[Category:*]] doesn't workin in beta compatibiliy.
[[Category:+]] and [[Category:*]] doesn't workin in beta compatibiliy.
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-03 01:46 UTC by asdasd
Modified: 2012-02-21 08:24 UTC (History)
1 user (show)

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


Attachments

Description asdasd 2009-04-03 01:46:45 UTC
I had SMW 1.0 with some queries using [[Category:+]] and [[Category:*]].  It doesn't work anymore in SMW 1.4.2 using beta compatibily(old <ask> format).  [[Category:*]] can be solve by changing if ( ($chunk == '+') && $category && $smwgSMWBetaCompatible) by if ( ($chunk == '*') && $category && $smwgSMWBetaCompatible).  [[Category:+]] doesn't work at all.
Comment 1 Markus Krötzsch 2009-07-31 12:18:09 UTC
The expression [[Category:+]] in queries never worked. If you want to restrict query results to the namespace Category, then you need to write [[:Category:+]]. Restricting to results that belong to some (arbitrary) category is not supported.

Also, I am surprised that [[Category:*]] was supported before SMW 1.0. You can use ?Category as a printout to get this result in current SMW versions with #ask syntax.

In general, the beta compatibility mode was introduced to simplify the transition from early beta releases of SMW. Just like MediaWiki, SMW does not aim at arbitrary backwards compatibility with old releases, especially if they were explicitly flagged as "beta". Since the last beta version of SMW is much older than one year now, we will actually be removing the beta compatibility flag in one of the next versions. Accordingly, we will not fix problems with the old syntax parsing anymore. Even now, many new features/fixes are not available in the old syntax, so it is advisable to update any affected pages.

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


Navigation
Links