Commit graph

39 commits

Author SHA1 Message Date
Timo Tijhof
6540260001 (bug 36669) Installer CSS outdated
Change-Id: I7ac606f2e8538eb5fd10a3944cf9d8b42bbc5ed5
2012-05-09 02:20:03 +02:00
Alexandre Emsenhuber
09bb6975c5 Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.

Change-Id: I1615bf268515ed7169e33173cea6ec30402451dc
2012-05-06 07:50:15 +02:00
Amir E. Aharoni
82cdfc864c (bug 31236) Refactor CSS loading and apply CSSJanus to all CSS files.
This commit is supposed to fix bug 31236.
Refactored getCSS to load files more generically.
Applied CSSJanus transform to all CSS files.
Updated release notes.

Change-Id: I4418a0dcb40fe181dc62a14a9f65b658e3c0d473
2012-04-03 12:59:05 -07:00
Krinkle
2b3733ecab [Core JS] wikibits.js / IEFixes clean up
* fix on-the-loose fixalpha() call
-- Calls should not be dangling loose like that
-- Removed local calls from skins and installer
-- instead calling from the IEFixes script (which is loaded raw by wikibits which is loaded from the bottom, as are all legacy scripts)
* Removing usage of 'skinpath' and 'skin' globals in wikibits.js, those aren't globals per se since introduction of mw.config and $wgLegacyJavaScriptGlobals
* Wrapping wikibits.js in closure to avoid leakage of "local" variables. This shouldn't break anything as it is loaded through resource loader which, in production mode, wraps it in a closure anyway.
* adding explicit posision=>bottom for wikibits. 'bottom' is default but repeating here since it must not change for legacy reasons.
2011-12-26 16:12:07 +00:00
Robin Pepermans
679970382a Simplify code (minor) 2011-12-12 21:56:26 +00:00
Chad Horohoe
5b67b14b5f Reduce some duplication 2011-07-07 16:52:47 +00:00
Tim Starling
6fec4e3fde Revert r87635, r87637, r87639, r87643 (MW_MIN_PHP_VERSION etc.): breaks HipHop support. 2011-05-15 13:21:16 +00:00
Happy-melon
fd34d0354b * Implement MW_VERSION constant in Defines.php and use it in preference to $wgVersion. Defines.php will have been loaded anywhere that DefaultSettings.php has been loaded.
* Move the declaration of $wgFeedClasses from Defines.php to WebStart.php
2011-05-07 14:53:08 +00:00
Sam Reed
f675c6bf05 Documentation 2011-05-02 16:58:29 +00:00
Brion Vibber
d3005cfbd5 * (bug 27170) [Installer] Install now completes when choosing a CC license with the picker
There were two things breaking this:
* X-Frame-Options forbade our final step of the license selector, or the license selection shower, from being loaded properly. This lead to it looking wrong.
* The installation URL fingerprinting broke on the long query string that's on the final step. As a result, the user's selection got saved into a different session subkey, thinking it belonged to a different installation. It would then not get seen by the surrounding page's installer instance, causing the confusion.

Fix removes the X-Frame-Options for the CC bit, and drops query strings before the rest of URL normalization in the fingerprint check so the CC bits now see the same session key as the rest.
2011-03-27 20:13:30 +00:00
Tim Starling
ccfe5ad97b Fix for bug 26561: clickjacking attacks. See the bug report for full documentation. 2011-01-04 06:12:33 +00:00
Mark A. Hershberger
aa08646a71 Misc whitespace changes, mostly EOL w/s and indention fixes so TAB = 4 spaces 2010-12-19 04:31:15 +00:00
Chad Horohoe
fab6200fc6 Fix r77650, notice about undefined $css; was causing the serif font issue too 2010-12-07 01:42:38 +00:00
Brandon Harris
44a91da53a * Fix issues brought up in r75832
* Really and truly add in a couple files that were supposed to go in with r77898, and fully revert r77860 (which was a reversion of r75832). (Ran previous commit for r77898 from wrong directory. Oops.)
* Fixed issue with help box text not being parsed.
* Modified help system to remove tooltips and instead open/show hidden boxes.
  - I am not happy with this design and future revisions will iterate upon it.
  - The biggest problem is everything sitting "on top" of itself.  I dislike this a great deal and plan on changing it to be more aesthetic and natural; however, I wanted to get a version of this in that allowed for cut-and-pasting and solved the text parsing issue.
  - With javascript disabled, help text is visible by default.
* Remove redundancy in checkboxes
* Added i18n entry for "help", which wasn't there for some reason.
* Removed references to tipsy library in installer html
  - Kept tipsy library in core; this is being used elsewhere.
2010-12-06 23:13:35 +00:00
Brandon Harris
4f8f4bf675 Revert r77860, which was a reversion of r75832.
Didn't see comments about escaping html and use of tipsy; will be addressed in next commit.
2010-12-06 20:04:28 +00:00
Tim Starling
41b92f3343 Reverted r75832 per my comments on CR, unanswered for 19 days. Moving all help information into tooltips is a step backwards for usability. Reverted followups r75836, r75866, r76314 and r76315. 2010-12-06 07:08:31 +00:00
Chad Horohoe
05f8f8e970 Fix for r76480: !$css was never true, since it always contained \n. This way also lets us at least show one file if the other is inaccessible for less breakage. 2010-12-03 13:46:21 +00:00
Krinkle
a7ec7f0571 class portlet -> class portal (Vector). #mw-panel's class for the items themselfs is also different in Vector. Now the sidebar finally looks the way it should (like Vector-skin in-wiki) 2010-11-20 21:07:34 +00:00
Krinkle
7901bde86f Making path to bullet.gif in config.css relative to it self instead of absolute.
* Installer has a 'Status of 404 (Not Found)' (/w/skins/skins/vector/images/bullet.gif). Source of this problem is "str_replace( 'images/', '../skins/vector/images/',  );" on line 99 of WebInstallerOutput.php::GetCSS() which transforms this line:
  list-style-image: url(../skins/common/images/bullet.gif);
into this:
  list-style-image: url(../skins/common/../skins/vector/images/bullet.gif);
 all other stylesheets do it relative also, therefor changing this accordingly to:
  list-style-image: url(images/bullet.gif);
But since the installer does not load them directly but includes them from a different path, the str_replace() has been changed from a single replace for both files to two replaces, since they are not both in /vector/ images, config.css is in /common/ and it's images are in /common/images, not /vector/images. Fixed now.
2010-11-20 20:24:48 +00:00
Krinkle
e87d195678 Vector has 'body' as portlet class (Follow-up r76880), Monobook had 'pBody', also removing redundant </div>.
* #mw-panel > div.portlet > div.body is the CSS rule, didn't work before causing the rule to hide list bullets to be ignored
* 'Unmatched </div> encountered.  Ignoring tag.'-error solved
2010-11-20 20:09:05 +00:00
Tim Starling
80b1364a81 Fix for r76088: if you want the Vector stylesheets you have to use the Vector document structure, not a mix of Vector, Monobook and JustPlainBroken. 2010-11-17 11:43:57 +00:00
Chad Horohoe
b6dcd67557 Combine config.css with vector.css so it gets flipped too, plus one less request :) 2010-11-10 22:11:18 +00:00
Chad Horohoe
2b541b714c Followup r75832: rm unused inline CSS and unused show/hide message 2010-11-08 16:25:57 +00:00
Chad Horohoe
3217a98669 Followup r76088: rewrite relative CSS urls 2010-11-08 16:19:08 +00:00
Chad Horohoe
277bde2f54 Nikerabbit wanted " 2010-11-05 14:16:51 +00:00
Chad Horohoe
8ea5952e12 Followup r76088: in the case where we can't read screen.css, output a comment in the CSS rather than serving nothing. Cleanup path so it outputs nicer without ..'s 2010-11-05 13:37:27 +00:00
Chad Horohoe
ba49b0e68a Dynamically generate CSS (using vector now). Handles RTL/LTR flip properly \o/ UI's busted though ;-) 2010-11-05 13:14:24 +00:00
Chad Horohoe
9786e139a2 Rm unused warning system from WebInstallerOutput (mostly handled by Status objects elsewhere), document a few things too 2010-11-05 12:48:13 +00:00
Brandon Harris
d00ddeef7f * Added tipsy library
* Added associated files for tooltip display
* Added associated css rules for tooltip display
* Updated installer's help system in (most?) places to display help as tooltips instead of show/hide system
* Beginnings of visual changes (e.g., less boxes, more color)
* Modified several of the installer's widget display methods
* Added a couple new i18n values
* Fixed small bug in installer logic:
  - Password validation on new users was being executed even if there wasn't a $user object
2010-11-01 21:17:15 +00:00
Chad Horohoe
598b2469a2 Revert r69360 (adding ob_flush() to WebInstallerOutput::flush()). Per CR, this doesn't seem necessary and actually causes a regression for some environments. In other news: I hate PHP output buffering and I don't feel like digging back into this right now. 2010-11-01 15:12:44 +00:00
Chad Horohoe
3ad85bca5a Fix jQuery loading 2010-09-09 22:11:19 +00:00
Alexandre Emsenhuber
b8cafd4978 * Added file description headers
* Added @file where needed
2010-08-21 18:20:09 +00:00
Alexandre Emsenhuber
fd9ba658d1 Fixed some doxygen warnings 2010-08-21 15:20:23 +00:00
Jeroen De Dauw
635e2c38f2 Added deployment documentation group 2010-07-29 18:36:39 +00:00
Jeroen De Dauw
4ea94ebd91 Clarified field and method visibility and doc improvements 2010-07-21 09:42:07 +00:00
Chad Horohoe
2318872359 Fix flush(). Need ob_flush() 2010-07-14 23:07:05 +00:00
Niklas Laxström
0e3ed4741c Installer is no longer hardcoded to xhtml doctype
Refactored the doctype and html tag building into Html::htmlHeader()
from OutputPage.
2010-05-08 13:45:14 +00:00
Chad Horohoe
802330eb75 Fix jQuery support since we now version it 2010-05-07 13:28:29 +00:00
Chad Horohoe
a4393915e2 Merge new-installer branch to trunk
* This is not complete yet, and should not be used outside of testing. Using it on a production database may ruin everything. This is the reason for the second entry point of new-index.php. You've been warned. 
* Known issues are at [[mw:New-installer_issues]]. Please add new items to the list if you find them.
2010-05-07 12:25:01 +00:00