Bug 1523955 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

What did you do?
================
1. Go to https://developer.mozilla.org/en-US/docs/Web/CSS/display
2. Add ?summary to get https://developer.mozilla.org/en-US/docs/Web/CSS/display?summary

What happened?
==============
The full page is displayed

What should have happened?
==========================
Just the summary HTML should be displayed

Is there anything else we should know?
======================================
This is documented on:

https://developer.mozilla.org/en-US/docs/MDN/Contribute/Tools/Document_parameters

There is code that implements this on the Kuma side:

https://github.com/mozilla/kuma/blob/e5f9459dc34a98ab74530d9ac5652f5f009fb9fd/kuma/wiki/views/document.py#L118-L120

However, it doesn't appear in the final output. A new branch is requires, similar to the code to short-circuit for "raw" output:

https://github.com/mozilla/kuma/blob/e5f9459dc34a98ab74530d9ac5652f5f009fb9fd/kuma/wiki/views/document.py#L679-L680

This appears to have been broken for about four years. Another option is to remove the code and the documentation.
What did you do?
================
1. Go to https://developer.mozilla.org/en-US/docs/Web/CSS/display
2. Add ?summary to get https://developer.mozilla.org/en-US/docs/Web/CSS/display?summary

What happened?
==============
The full page is displayed

What should have happened?
==========================
Just the summary HTML should be displayed

Is there anything else we should know?
======================================
This is documented on:

https://developer.mozilla.org/en-US/docs/MDN/Contribute/Tools/Document_parameters

There is code that implements this on the Kuma side:

https://github.com/mozilla/kuma/blob/e5f9459dc34a98ab74530d9ac5652f5f009fb9fd/kuma/wiki/views/document.py#L118-L120

However, it doesn't appear in the final output. A new branch is required, similar to the code to short-circuit for "raw" output:

https://github.com/mozilla/kuma/blob/e5f9459dc34a98ab74530d9ac5652f5f009fb9fd/kuma/wiki/views/document.py#L679-L680

This appears to have been broken for about four years. Another option is to remove the code and the documentation.

Back to Bug 1523955 Comment 0