https://bugzilla.wikimedia.org/show_bug.cgi?id=21888
Summary: Inline-Queries don't respect new values on their own
page
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: Normal
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
When you try to get some values via inline query from the own page where the
query is defined but you change the value in the same article revision, you
will get the old value which is no longer the right one.
Queries should always show the current values, not some old ones. Actually they
always show old values before the first page purge and purging a page always
after saving the article is not really an option.
Some users might have used this miss behaviour in templates to compare
parameter values with the old value assigned as attribute to see whether there
was a change or not. For doing so there should be a new parser function or a
parameter for #ask and #show which allows to get the previous value which was
assigned. After another page purge it would return the same value as the
corrected #ask or #show function because the value before the purge is the same
value than after the purge.
The new parameter could be something like cached=true.
If you have doubts about changing the whole behaviour of inline queries with
that perhaps the better solution would be cached=true is the default and you
can change it with cached=false.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l