r98290 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98289‎ | r98290 | r98291 >
Date:00:22, 28 September 2011
Author:kaldari
Status:ok
Tags:fundraising 
Comment:
skinoverride to hide interface elements
Modified paths:
  • /branches/fundraising/extensions/DonationInterface/donationinterface.php (modified) (history)
  • /branches/fundraising/extensions/DonationInterface/modules/skinOverride.css (added) (history)

Diff [purge]

Index: branches/fundraising/extensions/DonationInterface/donationinterface.php
@@ -108,6 +108,10 @@
109109 'scripts' => 'iframe.liberator.js',
110110 'position' => 'top'
111111 ) + $wgResourceTemplate;
 112+$wgResourceModules['donationInterface.skinOverride'] = array(
 113+ 'scripts' => 'skinOverride.css',
 114+ 'position' => 'top'
 115+ ) + $wgResourceTemplate;
112116
113117
114118 /**
Index: branches/fundraising/extensions/DonationInterface/modules/skinOverride.css
@@ -0,0 +1,15 @@
 2+#left-navigation {
 3+ display: none !important;
 4+}
 5+#right-navigation {
 6+ display: none !important;
 7+}
 8+#p-search {
 9+ display: none !important;
 10+}
 11+#mw-panel div.portal {
 12+ display: none !important;
 13+}
 14+body.ltr #footer #footer-places {
 15+ display: none !important;
 16+}

Follow-up revisions

RevisionCommit summaryAuthorDate
r98291oops, follow-up to r98290, style not scriptkaldari00:27, 28 September 2011

Status & tagging log