Closed Bug 1242932 Opened 9 years ago Closed 9 years ago

Replace {{Xref_cssimage}} occurrences with {{cssxref("<image>")}}

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: teoli, Assigned: wizard_A, Mentored)

References

Details

(Whiteboard: [good first bug])

We have 69 occurrences of {{xref_cssimage}}, a macro we want to delete [1]. This task is about to go on each of these MDN pages, to edit the page and to replace the occurrence of {{xref_cssimage}} with {{cssxref("<image>")}}, to save it and to check that the link is working. You need an MDN account and the ability to use a WYSIWYG editor to perform this task. [1] https://developer.mozilla.org/en-US/search?locale=*&kumascript_macros=xref_cssimage
Hi, I would like to attempt this as a good first bug. University of Toronto, CSC302H1S-2016 assignment. Patch by Feb 26, 2016.
Hey Jean! Could you please give me details on how to fix this bug? Where can I find this bug?
snehh: you need to follow the link in the description, then to edit each of these pages and replace the given string by the other. All this is happening on the MDN, where you'll need an account. You are not creating a patch, you are editing the 69 pages.
Mentor: sebastianzartner
Hi Sebastian, I would like to work on this bug. I already have an MDN account and have tried resolving the bug.. However, while going through the list of bugs i found similar work needs to be done for {{Xref_cssnumber}}, {{Xref_csslength}} and {{Xref_cssinteger}}. So, was thinking if while scanning all the pages containing {{Xref_cssimage}} would also search the others and change them as well to their corresponding values...
Flags: needinfo?(sebastianzartner)
Hey, > So, was thinking if while scanning all the pages containing {{Xref_cssimage}} > would also search the others and change them as well to their corresponding values. Yeah, that's something you can do too.
Flags: needinfo?(sebastianzartner)
Should I pick this up? or should I leave it for someone new as it's a good first bug.
Hey Nikhil, > Should I pick this up? or should I leave it for someone new as it's a good > first bug. Amit (commented above) wanted to work on this earlier today, so probably you can let him work on this.
>Amit (commented above) wanted to work on this earlier today, so probably you can let him work on this. Ah, I guess I missed that. Good luck, Amit. I'll try to find something that's not a good first bug :)
(In reply to Saurabh Nair [:jsx] from comment #5) > Hey, > > > So, was thinking if while scanning all the pages containing {{Xref_cssimage}} > > would also search the others and change them as well to their corresponding values. > > Yeah, that's something you can do too. Hi Saurabh, Done. Plz check once.... Thanks... :)
Hi Amit, sorry for the late reply. I'm on vacations right now. Your changes look good to me. Now only 15 pages are left. One thing: Please always add a revision comment when you edit a page. In this case it could be as simple as: {{xref_cssimage}} => {{cssxref("<image>")}} This makes reading the revision history easier. Sebastian
Hi Sebastian, Thank you for your prompt reply even on vacation. Please do check the revisions and let me know how many more left when you get free. Or you can guide me to the proceedure to know how many more left.... Moreover, was wondering if sed would solve this job in a more easy way rather than doing this manually. Thanks, Amit.
Hi Amit, (In reply to Amit Kr. Chandra [:wizard_A] from comment #11) > Please do check the revisions and let me know how many more left when you > get free. > Or you can guide me to the proceedure to know how many more left.... I was simply checking https://developer.mozilla.org/en-US/search?locale=*&kumascript_macros=xref_cssimage. I checked about five pages you edited and everything looked fine. As there are no pages left, this issue is fixed already. So, thank you for that! > Moreover, was wondering if sed would solve this job in a more easy way > rather than doing this manually. There is no automated way I know of to solve tasks like this one, so we need to fix them manually. Sebastian
Assignee: nobody → amitforfriends_dns
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
See Also: → 1283051
You need to log in before you can comment on or make changes to this bug.