Last modified: 2010-05-15 15:38:31 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 T4456, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2456 - "Templates used on this page:" is not updated (properly) while a page is changed
"Templates used on this page:" is not updated (properly) while a page is changed
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.5.x
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.leuksman.com/index.php/Bu...
:
Depends on:
Blocks: 2464
  Show dependency treegraph
 
Reported: 2005-06-19 12:47 UTC by lɛʁi לערי ריינהארט
Modified: 2010-05-15 15:38 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2005-06-19 12:47:00 UTC
Hallo!

If you follow how
http://test.leuksman.com/index.php/Bugzilla_2409_comment_2
was created wou may see that

"Templates used on this page:"

1. "used" means both "refered" and included / transcluded
2. " used" apears only of you "edit" / "preview" an existing page and not if the
page is just "created from scratch"
3. " used" seems to be "Templates used when the page was created" update is slow
if there is any update
4. I stopped creating the templates "missing" at the time the page was created.
5. I did not test what happens if the page is deleded and if all or only some
revisions are restored
6. "Special:Whatlinkshere/Template:Bugzilla 2409 comment 2 – trough simple
redirect" lists this page despite the fact that it is neither refered in this
revision nor in revision 7563
7.  I did not test "nesting" templates as {{foo{{{bar}}}|foobar}} where the
included template names are known only at higher levels.
8. I did not test "infinite recursion", neither direct or caused by some types
of nested templates

Bug dependencies are unclear to me.
bug 1065: Inclusions should not be stored in the generic 'links' table
duplicate bug 2409#c2

Regards Reinhardt [[user:gangleri]]
Comment 1 Dashiva 2005-06-19 14:31:11 UTC
The reason both links to templates and template inclusions show up is because there is no way to tell them apart with the current 
system. They're both links to pages in namespace 10. This is Bug 1065.

Inclusions are stored in the links table, and the links table is updated whenever the page is saved. This is partially the bug 
that deals with template changes not cascading to transcluding pages (because only the template's links table entries are 
updated) and partially the fact that the list of templates is taken from the links table (which is no updated by previewing) and 
not the recently parsed page.

"This is how it is" and "This is how it should be" statements would be useful in clarifying exactly what you consider the problem 
behaviour.
Comment 2 lɛʁi לערי ריינהארט 2005-06-21 20:06:30 UTC
in response to comment 1:

I would experience the following behavior:
a) "Templates used on this *page*:" is  used on this *revision of this page*
   this would mean that you add templates to "Templates used on this *revision
of this page*:"
   if templates are added then they *should* be added the list
   if templates are *remove* then they *should* be removed from the list

I do not know what happens if templates are available only in a deleted revision
but never shows later.

I have no clue *why*
http://test.leuksman.com/index.php?title=Talk:Bugzilla_2409_comment_2&action=edit&oldid=7569
shows *only one* template.
The *first* revision of this page did contain a lot. Maybe the link table wa
droped / cleared.

Regards Reinhardt [[user:gangleri]]
Comment 3 Rob Church 2006-12-22 02:06:17 UTC
Several fixes have been applied to the "templates used on this page" box since
this report was filed, and it wasn't all that clear which specific cases were
problematic.

If any still remain, please open clear and specific bugs against them.

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


Navigation
Links