Last modified: 2010-05-15 15:52:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9679 - $wgSiteNotice warnings in DefaultSettings.php comments
$wgSiteNotice warnings in DefaultSettings.php comments
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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.