MediaWiki talk:Editingold

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

VE problem[edit]

A lot of editors are seeing this message when they save a page in VE, then try to reopen it to make another edit - see T52441.

It must be really disconcerting for a new editor who has just made their first edit, had a second thought, and sees this message.

I wonder whether, until this bug is fixed, this pink message box should be amended so that it says something like:

You are editing an old revision of this page. If you save it, any changes made since then will be removed.
If you are using the Visual Editor, this message may be result of a "bug". Please press "Cancel" to close the editor, then Refresh or Reload your page, and try again to edit it. Sorry about this problem - we are working on it".

PamD 22:14, 4 July 2013 (UTC)[reply]

I'm gonna WP:BOLDly make this change. AzaToth 22:44, 4 July 2013 (UTC)[reply]
Thanks, that was great and I'm sure people found it helpful over these last few days. The bug now seems to have been fixed - says so in Bugzilla and I've just tried re-editing a page and had no trouble - so could you now revert it to the original message as we don't need the revised version. Thanks. PamD 07:06, 9 July 2013 (UTC)[reply]
@PamD and AzaToth:  Done Jdforrester (WMF) (talk) 14:34, 9 July 2013 (UTC)[reply]

Proposal on editbox to add "edit current" link[edit]

I ran this proposal past the Village Pump, and this is the next logical place for it - are there any objections to making this change?

When comparing old versions of an article via page history, it would be quite useful to be able to directly edit the current version of a page (e.g., in order to restore something which has been inadvertently removed from a page several edits ago). Yet if you click edit, you are presented with an edit box for the difference you are currently looking at (e.g., here), which does have its practical advantages. Surely it would be possible to add a link to this "old version" editbox which would take you to an editbox for the article as it currently is. All that would be needed would be to change to text in the pink box from:

You are editing an old revision of this page. If you save it, any changes made since then will be removed.

to:

You are editing an old revision of this page. If you save it, any changes made since then will be removed. You may wish to edit the current revision instead.

The additional text would go to the same target as pressing the EDIT tab at the top of the current page. It would be very easy to implement - a simple [https://en.wikipedia.org/w/index.php?title={{FULLPAGENAMEE}}&action=edit edit the current version] would do the trick, and there may be simpler ways i haven't thought of. Grutness...wha? 22:43, 2 February 2016 (UTC)[reply]

@Grutness: See below, is this what you are looking for? — xaosflux Talk 02:34, 3 February 2016 (UTC)[reply]
Yes, that's it exactly. Thanks. Grutness...wha? 23:19, 3 February 2016 (UTC)[reply]
OK, lets give this a week for comment then roll live if no issues - people have complained about this being update prematurely before. — xaosflux Talk 00:20, 4 February 2016 (UTC)[reply]
  • Seems like Od Mishehu decided to pull the trigger on this, I adjusted to the version below to avoid full protecting another template. — xaosflux Talk 22:33, 6 February 2016 (UTC)[reply]

Current Version[edit]

Proposed Version[edit]

Remove pink background[edit]

Please change the whole message to

<div id="editingold" class="plainlinks" style="text-align:center;">'''You are editing an old revision of this page. If you publish it, any changes made since then will be [[Help:Reverting|removed]]. You may wish to [{{fullurl:{{FULLPAGENAMEE}}|action=edit}} edit the current revision] instead.'''</div>

Recently MediaWiki started to wrap this message in a yellowish-orangeish box (see e.g. by editing the previous version of this page), and the two colors look horrible together. Thanks in advance! —Tacsipacsi (talk) 21:40, 22 December 2018 (UTC)[reply]

 Not done @Tacsipacsi: it is sort of ugly, but I don't really think the warningbox coloring is bold enough - perhaps that could be adjusted instead/in addition? (deactivating edit request as there is discussion open on this now)xaosflux Talk 14:23, 23 December 2018 (UTC)[reply]
@Xaosflux: Not with the current state of the software—to be exact, .warningbox can be recolored, but it causes all .warningboxes (i.e. all, or almost all, similarly-colored warning boxes) to become pink. I think that’s even less ideal, so a software change is needed in order to make this box selectable (using CSS) on its own. I support this change, as I agree that the orange line is far less noticeable than the pink one. I don’t know, however, how to get started with it, given that Html::warningBox() doesn’t support any additional attributes nor additional classes in its current version. (Once implemented, Common.css should be edited to change the colors of the message.) —Tacsipacsi (talk) 21:58, 23 December 2018 (UTC)[reply]

@Xaosflux: I'm reopening this, as I was about to submit the same request. I think this looks very weird. Similar changes have been already applied to other messages that received "default" wrapper boxes, e.g. [1]. Matma Rex talk 20:47, 28 November 2019 (UTC)[reply]

 Done — Martin (MSGJ · talk) 20:31, 29 November 2019 (UTC)[reply]