Closed Bug 1272722 Opened 8 years ago Closed 8 years ago

DocStatus template throws error

Categories

(Developer Documentation Graveyard :: Macros/Templates, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: a, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 YaBrowser/16.2.0.3539 Safari/537.36

Steps to reproduce:

I updated Russian documentation status page https://developer.mozilla.org/ru/docs/MDN/Doc_status/CSS


Actual results:

I saw a scripting error


Expected results:

I mustn't see this error
Hey Victor,

the {{docstatus}} macro isn't meant to be used on the Russian page – it is for English status only. Instead what we want to display there is the status of the localization, which is done by this macro call:
{{LocalizationStatusInSection("/en-US/docs/Web/CSS", "ru")}}.

See the other locales, which have the same. E.g. https://developer.mozilla.org/de/docs/MDN/Doc_status/CSS

I fixed the Russian page to show the localization status.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Thank you. I thought pages of other locales are out of date.
You need to log in before you can comment on or make changes to this bug.