Last modified: 2011-01-25 01:38:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23520, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21520 - show anoneditwarning also by preview
show anoneditwarning also by preview
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-15 15:03 UTC by Umherirrender
Modified: 2011-01-25 01:38 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Umherirrender 2009-11-15 15:03:29 UTC
when editing a page as anon, the message anoneditwarning is shown, but when change to the preview of that page, the message is lost. By change to 'show changes' the message is shown.

Please show the message in all cases. Thanks.
Comment 1 Umherirrender 2009-11-20 17:03:22 UTC
since r12948 there is an unequal for preview-form:

} elseif( $wgUser->isAnon() && $this->formtype != 'preview' ) {
 $wgOut->wrapWikiMsg( '<div id="mw-anon-edit-warning">$1</div>', 'anoneditwarning' );

But why?
Comment 2 Platonides 2009-11-22 21:52:48 UTC
Probably because Rob didn'tthink worth adding the warning also for previewing.
I'd add a mw-anon-preview-warning message
Comment 3 Platonides 2010-03-29 22:46:31 UTC
Added anonpreviewwarning message on r64367.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links