Last modified: 2010-05-15 15:52:03 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 T11679, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9679 - $wgSiteNotice warnings in DefaultSettings.php comments
$wgSiteNotice warnings in DefaultSettings.php comments
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.10.x
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-24 16:26 UTC by Dan Jacobson
Modified: 2010-05-15 15:52 UTC (History)
1 user (show)

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


Attachments

Description Dan Jacobson 2007-04-24 16:26:49 UTC
$wgSiteNotice is gone when printable=yes.

Marge, the address and time of the picnic is there on the top of the
printout I gave you... he thinks.
Comment 1 Brion Vibber 2007-04-24 16:27:45 UTC
Sitenotice is for transitory messages, not page content.

You could change your stylesheets if you wanted things different.
Comment 2 Dan Jacobson 2007-06-10 22:55:16 UTC
Change the comment of:
/** If set, a bold ugly notice will show up at the top of every page. */
$wgSiteNotice = '';

to also mention:
  Note: beside $wgSiteNotice there is also a Mediawiki:Sitenotice file or something,     
  and its iteraction with $wgSiteNotice is (thus)...

  Also Note: $wgSiteNotice will not show up on pages sent to the printer 
  (printable=yes), and, brace yourself: if people dare to disable javascript on
  their browser, or *gasp* use a text browser!

Hence we see that the comment in DefaultSettings.php needs to be changed badly,
lest sysops have the delusion that all users are going to see what they thought all users would certianly see, but in reality many users will NEVER in fact see!
Comment 3 Rob Church 2007-06-10 23:23:01 UTC
Improved the documentation in r22893. Note that JavaScript is *not* used to add the site notice to a page unless using the DismissableSiteNotice extension, in which case this is desirable.

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


Navigation
Links