Closed
Bug 772704
Opened 13 years ago
Closed 5 years ago
When a template is updated, the pages including this template should be regenerated
Categories
(developer.mozilla.org Graveyard :: KumaScript, enhancement)
developer.mozilla.org Graveyard
KumaScript
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: openjck, Unassigned)
References
Details
(Whiteboard: [triaged][type:feature])
This one came in from the community, and no information was provided aside from this one line. Wondering if Les could comment on it...
Comment 1•13 years ago
|
||
I am the one who reported that bug, I can provide more info if required.
I'm available on IRC as lrbabe.
Comment 2•13 years ago
|
||
Oops, I'm actually louisremi on IRC.
Comment 3•13 years ago
|
||
Good idea. Discussing in #mdndev too. Will report back here with ideas and priority.
Reporter | ||
Comment 4•13 years ago
|
||
I would say very high priority after launch. Any other thoughts?
Comment 5•13 years ago
|
||
This requires bug 767176 to track template / document dependencies, and will not be a simple or quick feature to implement.
Depends on: 767176
Reporter | ||
Updated•13 years ago
|
Priority: -- → P2
Comment 7•12 years ago
|
||
Copying over teoli's comment from bug 782114:
When we modify a template, we have to manually do a shift-reload to see the change taken into account by the pages using this template.
This is annoying for three reasons:
1) We don't have the list of which pages use it (that's bug 773855 )
2) There may be 100s of them... Updating manually is not practical.
3) Some kumascript are used as a simple DB, meaning that some articles will be outdated and un-synchronized (read: incoherent info provided to the user).
Note: no need to have them updated synchronously when we check-in a change in the template. There is no problem having to wait up to 10 minutes to have all pages updated.
Priority: though not a P0, I believe this one is quite important (P1 or at least P2). Little by little, more pages are not up-to-date.
To mitigate the problem we could regenerate all pages periodically (once a week?), like we did right after the launch. Doing this would push the priority from P1 to P2 or even P3.
Comment 8•12 years ago
|
||
Note that this might need to be done recursively. Current example: sheppy updated https://developer.mozilla.org/en-US/docs/Template:DekiScript:Web to make https://developer.mozilla.org/en-US/docs/Template:Fx_minversion_header work correctly (previously it would generate links with spaces in them). So all pages using Fx_minversion_header and the like need to be updated even though they don't use the DekiScript:Web directly. Detecting which templates use it might be tricky however.
Comment 9•12 years ago
|
||
(In reply to Wladimir Palant from comment #8)
> Note that this might need to be done recursively.
Yeah, that's hinted at over here in the bug to inventory page/template relationships:
https://bugzilla.mozilla.org/show_bug.cgi?id=767176#c4
Assignee | ||
Updated•12 years ago
|
Version: Kuma → unspecified
Assignee | ||
Updated•12 years ago
|
Component: Website → Landing pages
Updated•12 years ago
|
Component: Landing pages → KumaScript
OS: Linux → All
Hardware: x86_64 → All
Reporter | ||
Updated•12 years ago
|
Summary: When a template is updated, the pages including this temlate are not regenerated → When a template is updated, the pages including this template should be regenerated
Whiteboard: u= c= s= p=
Comment 10•12 years ago
|
||
This continues to gradually result in pages being increasingly out of whack. I'd like to see us do something with this sooner rather than later.
Reporter | ||
Comment 11•11 years ago
|
||
I agree. Sheppy, can you mention this one the next time we discuss priorities on mdn-drivers@? Or even now if you want.
Comment 12•11 years ago
|
||
Just to be clear: This bug has a blocker. So, if we want this feature built, we can't just throw it onto the board. There's lots of infrastructure to build behind it, first.
Comment 13•11 years ago
|
||
Could you fill a bug for the blocker and make it blocking this bug?
Comment 14•11 years ago
|
||
(In reply to Jean-Yves Perrier [:teoli] from comment #13)
> Could you fill a bug for the blocker and make it blocking this bug?
But... there's already a blocker. It's bug 767176, listed up there at the top as "Depends on"
Comment 15•11 years ago
|
||
Les: sorry, misread it ;-)
Reporter | ||
Updated•11 years ago
|
Severity: normal → enhancement
Priority: P2 → --
Whiteboard: [triaged][type:feature]
Comment 16•8 years ago
|
||
Les mentioned a full refresh as an option in comment #c7. I've broken out that idea as bug 1365987.
See Also: → 1365987
Comment 17•5 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•