v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing User talk:Loci
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 19: | Line 19: | ||
::::::::Yep; that's exactly the problem I ran into. For a technical explanation: whenever a template is edited, the wiki software queues up jobs to automatically "regenerate" all the pages that include that template. As those jobs are processed, the pages should pick up new categories from the template. Unfortunately, the wiki software is not handling this specific case correctly--it appears that the raws are not being transcluded correctly during the regeneration, leading the conditional logic to conclude that no creature has the [FLIER] tag. When users edit the creature pages, though, the categories ''are'' regenerated correctly because the raws ''are'' transcluded correctly. I'm still looking for a solution to resolve the automatic regeneration problem, but since it only happens in the server's back-end processing it's hard to pin down. --[[User:Loci|Loci]] 08:47, 13 February 2013 (UTC) | ::::::::Yep; that's exactly the problem I ran into. For a technical explanation: whenever a template is edited, the wiki software queues up jobs to automatically "regenerate" all the pages that include that template. As those jobs are processed, the pages should pick up new categories from the template. Unfortunately, the wiki software is not handling this specific case correctly--it appears that the raws are not being transcluded correctly during the regeneration, leading the conditional logic to conclude that no creature has the [FLIER] tag. When users edit the creature pages, though, the categories ''are'' regenerated correctly because the raws ''are'' transcluded correctly. I'm still looking for a solution to resolve the automatic regeneration problem, but since it only happens in the server's back-end processing it's hard to pin down. --[[User:Loci|Loci]] 08:47, 13 February 2013 (UTC) | ||
− | |||
− | |||
== Regenerating cached categories == | == Regenerating cached categories == | ||
Line 41: | Line 39: | ||
I did some experimentation on this problem; the automatic regeneration ''is'' running, but it appears that the creature raws are not being transcluded correctly during the regeneration, which prevents detection of the necessary tags. I believe the #df_raw function is not correctly returning the raws when executed from the context of the job queue process--is that something you could take a look at? Alternately, is this code available somewhere I could take a look at it? Unfortunately, since this is probably DFwiki-specific code, I doubt a Mediawiki update will fix it. --[[User:Loci|Loci]] 09:12, 13 February 2013 (UTC) | I did some experimentation on this problem; the automatic regeneration ''is'' running, but it appears that the creature raws are not being transcluded correctly during the regeneration, which prevents detection of the necessary tags. I believe the #df_raw function is not correctly returning the raws when executed from the context of the job queue process--is that something you could take a look at? Alternately, is this code available somewhere I could take a look at it? Unfortunately, since this is probably DFwiki-specific code, I doubt a Mediawiki update will fix it. --[[User:Loci|Loci]] 09:12, 13 February 2013 (UTC) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |