-
Notifications
You must be signed in to change notification settings - Fork 3
Offer the option to automatically delete HTML comments from page #171
Conversation
Offer the option to automatically delete HTML comments from page
@Technical-13 this isn't letting me reopen the issue (since it's not yet in live) for some reason. Any luck? |
nice work! looks great! |
I kind of felt like the delete message needed to be longer, so that people would actually understand what they were deleting, at least initially... happy to be convinced though |
I can think of a case where an editor (doncram) has put actually meaningful On Tuesday, September 17, 2013, theopolisme wrote:
|
@hasteur hence why it displays the comment text to the reviewer, for them to read and then -- _iff_ they decide it is not necessary in the mainspace (e.g., a note to the reviewer) -- delete. |
I've no problem with this if you think the link needs to be longer or clearer. I just like the links symmetrical to make them easier to find/click (like when MediaWiki moved the [edit] links I was one of the first to apply the css to move them back):
Which could be followed up by:
Which reminds me, although I have no issue with the script hiding the warning, I think that the deleted lines should be left and maybe up the road even offer:
|
I was just looking at this live, and the link definitely needs to be moved over @theopolisme -- Also, as I was looking at it, I was thinking it would be nice to have some reference points in the page and links up top to those points to get a better feel for the context of the comment. For example, on http://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_creation/SHORE_Solutions_Inc. there are five comments listed there:
There is no indication where on the page that those comments are, "are they in the text?", "are they in the infobox?", "are they someplace that makes sense?" So, to fix this, add a simple notation and ref link (like tags do). |
"experienced reviewers" will recognize that MOST comments are used within the infobox and are copied by the blank full infobox markup from its documentation page... |
BTW: @theopolisme: if a user does this (pressing edit and the review) should we take then the content of the edit box and modify it there or disabled the review button completely? (so live editing or somewhat...) |
Sure we can @wikipedia-mabdul -- Just wrap the comment in a |
this might be an additional thing for #83 . |
Wouldn't it be kind of confusing for a user to see a random [1] appear in the pagetext with no apparent purpose...? |
@theopolisme, only the reviewer would see it, and there would be a corresponding marker in our header. I'm sure most of our reviewers are smart enough to put a and a together... Doesn't matter what we use, numbers-letters-symbols-colored dots... as long as they match and link together so clicking on one will take you to the other... |
Making a pull request for posterity.
Sample graphics: