lhc/web/wiklou.git
13 years agocoding style tweaks
Jack Phoenix [Tue, 7 Dec 2010 23:08:41 +0000 (23:08 +0000)]
coding style tweaks

13 years agoFound an error when $res = false while running tests
Mark A. Hershberger [Tue, 7 Dec 2010 22:58:29 +0000 (22:58 +0000)]
Found an error when $res = false while running tests

13 years agoDon't use dirname when you already have a directory.
Mark A. Hershberger [Tue, 7 Dec 2010 22:33:37 +0000 (22:33 +0000)]
Don't use dirname when you already have a directory.

13 years agoImproves on r77693 by placing ResourceLoader "only styles" CSS links together with...
Trevor Parscal [Tue, 7 Dec 2010 22:27:00 +0000 (22:27 +0000)]
Improves on r77693 by placing ResourceLoader "only styles" CSS links together with the other CSS links in buildCssLink rather than getHeadItems which is used for meta information.

13 years agoFilenames with quotes fail here.
Mark A. Hershberger [Tue, 7 Dec 2010 21:53:50 +0000 (21:53 +0000)]
Filenames with quotes fail here.

13 years agoImproves on r77693 by ensuring site styles are loaded just before user styles.
Trevor Parscal [Tue, 7 Dec 2010 21:45:06 +0000 (21:45 +0000)]
Improves on r77693 by ensuring site styles are loaded just before user styles.

13 years agocompress images with pngout for a couple more skins
Ilmari Karonen [Tue, 7 Dec 2010 21:18:42 +0000 (21:18 +0000)]
compress images with pngout for a couple more skins

13 years agoa few more images compressed with pngout
Ilmari Karonen [Tue, 7 Dec 2010 21:15:12 +0000 (21:15 +0000)]
a few more images compressed with pngout

13 years agomore lossless PNG compression with pngout
Ilmari Karonen [Tue, 7 Dec 2010 21:11:53 +0000 (21:11 +0000)]
more lossless PNG compression with pngout

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 7 Dec 2010 21:11:28 +0000 (21:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-07 20:38:00 UTC)

13 years agoTypofix r77999
Chad Horohoe [Tue, 7 Dec 2010 21:08:24 +0000 (21:08 +0000)]
Typofix r77999

13 years agolosslessly compress images with pngout
Ilmari Karonen [Tue, 7 Dec 2010 21:04:06 +0000 (21:04 +0000)]
losslessly compress images with pngout

13 years agoPer CR, no need for an empty constructor
Chad Horohoe [Tue, 7 Dec 2010 20:49:10 +0000 (20:49 +0000)]
Per CR, no need for an empty constructor

13 years agoRemove the $wgCaches[CACHE_DB] = false; line added in r74552.
Platonides [Tue, 7 Dec 2010 20:40:15 +0000 (20:40 +0000)]
Remove the $wgCaches[CACHE_DB] = false; line added in r74552.
It produces an strange failure when going out of ParserTest::setUp() scope.
(eg. $parserMemc becoming back false instead of a FakeMemcached, related to
using a reference in $wgMemc = &wfGetMainCache() )

Can be checked when running phpunit.php includes/ParserOptionsTest.php
See https://bugzilla.wikimedia.org/show_bug.cgi?id=26244#c4

No errors found in sqlite without it.

13 years agoPer CR, fix debugging code from r70835
Chad Horohoe [Tue, 7 Dec 2010 20:13:47 +0000 (20:13 +0000)]
Per CR, fix debugging code from r70835

13 years agoLogic error from r77999
Chad Horohoe [Tue, 7 Dec 2010 20:03:54 +0000 (20:03 +0000)]
Logic error from r77999

13 years agoReferences causing Bug #26244? This should find a way to just use
Mark A. Hershberger [Tue, 7 Dec 2010 20:00:57 +0000 (20:00 +0000)]
References causing Bug #26244?  This should find a way to just use
what Setup.inc already does.

13 years agoFollow up r78003, forgot to make MonoBook use the footericons code.
Daniel Friesen [Tue, 7 Dec 2010 19:58:04 +0000 (19:58 +0000)]
Follow up r78003, forgot to make MonoBook use the footericons code.

13 years agoCommit getFooterLinks and getFooterIcons helpers to abstract the common code used...
Daniel Friesen [Tue, 7 Dec 2010 19:45:09 +0000 (19:45 +0000)]
Commit getFooterLinks and getFooterIcons helpers to abstract the common code used to trim footerlinks down to only valid items, flatten it if needed, trim non-image icons out of footericons, and remove the copyright icon if needed.

13 years agoAlso ditch PHP thing. We would've bailed for a bad version already
Chad Horohoe [Tue, 7 Dec 2010 18:32:09 +0000 (18:32 +0000)]
Also ditch PHP  thing. We would've bailed for a bad version already

13 years agoRemove various "success" messages from Welcome screen on installer, no need to confus...
Chad Horohoe [Tue, 7 Dec 2010 18:29:04 +0000 (18:29 +0000)]
Remove various "success" messages from Welcome screen on installer, no need to confuse the user with extra info :) Now we only show warnings and failures

13 years agoFollowup r77980, for simplesearch I guess we'll have to stick with type=text instead...
Daniel Friesen [Tue, 7 Dec 2010 18:18:09 +0000 (18:18 +0000)]
Followup r77980, for simplesearch I guess we'll have to stick with type=text instead of type=search.

13 years agofollow-up r77981: Fix class: mw-js -> mw-css for the CSS section
Raimond Spekking [Tue, 7 Dec 2010 17:25:49 +0000 (17:25 +0000)]
follow-up r77981: Fix class: mw-js -> mw-css for the CSS section
Add comments with the full message keys to make sure grep will find them

13 years agoFollow up r77893, add BaseTemplate to autoloader.
Daniel Friesen [Tue, 7 Dec 2010 16:29:49 +0000 (16:29 +0000)]
Follow up r77893, add BaseTemplate to autoloader.

13 years agoFollow up r77884.
Platonides [Tue, 7 Dec 2010 16:26:10 +0000 (16:26 +0000)]
Follow up r77884.

13 years agoPer Nikerabbit, follow-up to r77972: use a string instead of boolean for readability
Alexandre Emsenhuber [Tue, 7 Dec 2010 15:47:34 +0000 (15:47 +0000)]
Per Nikerabbit, follow-up to r77972: use a string instead of boolean for readability

13 years agoReduce code duplication in Vector by combining portal markup generation into a single...
Daniel Friesen [Tue, 7 Dec 2010 15:02:51 +0000 (15:02 +0000)]
Reduce code duplication in Vector by combining portal markup generation into a single method.

13 years agoFollow up r77981
Platonides [Tue, 7 Dec 2010 14:55:08 +0000 (14:55 +0000)]
Follow up r77981

13 years agoShow the source on preview for CSS and Javascript pages.
Platonides [Tue, 7 Dec 2010 14:53:36 +0000 (14:53 +0000)]
Show the source on preview for CSS and Javascript pages.
Add pages in MediaWiki namespace into that group (bug 10871).
Only normal <pre> formatting is being used since ShowRawCssJs
hook directly sends things out to the output.

13 years agoAdd makeSearchInput and makeSearchButton to BaseTemplate and make use of it in Vector...
Daniel Friesen [Tue, 7 Dec 2010 14:45:40 +0000 (14:45 +0000)]
Add makeSearchInput and makeSearchButton to BaseTemplate and make use of it in Vector and MonoBook to abstract away the various inputs inside search forms.

13 years agoRemove PHP comment for message, parameters are documented in qqq
Roan Kattouw [Tue, 7 Dec 2010 13:58:44 +0000 (13:58 +0000)]
Remove PHP comment for message, parameters are documented in qqq

13 years agoBump $wgVersion to 1.18alpha. RELEASE-NOTES and HISTORY should be poked at too, but...
Roan Kattouw [Tue, 7 Dec 2010 13:46:05 +0000 (13:46 +0000)]
Bump $wgVersion to 1.18alpha. RELEASE-NOTES and HISTORY should be poked at too, but I'm not burning my hands on those

13 years ago* Don't unset $wgTitle if it's null, just let it as is so that the variable is always...
Alexandre Emsenhuber [Tue, 7 Dec 2010 12:35:14 +0000 (12:35 +0000)]
* Don't unset $wgTitle if it's null, just let it as is so that the variable is always defined (it is already set to null in in Setup.php). It was added in r12612 when all the code that set $wgTitle was moved in MediaWiki::checkInitialQueries()
* Removed comment that documented a line removed in r45126

13 years agoMerged wfDoUpdates() and MediaWiki::doUpdates() in wfDoUpdates(); avoids code duplication
Alexandre Emsenhuber [Tue, 7 Dec 2010 11:49:13 +0000 (11:49 +0000)]
Merged wfDoUpdates() and MediaWiki::doUpdates() in wfDoUpdates(); avoids code duplication

13 years ago$fname -> __METHOD__
Alexandre Emsenhuber [Tue, 7 Dec 2010 10:51:57 +0000 (10:51 +0000)]
$fname -> __METHOD__

13 years agoSpelling error from r77955.
Tim Starling [Tue, 7 Dec 2010 04:14:15 +0000 (04:14 +0000)]
Spelling error from r77955.

13 years ago(bug 18372) $wgFileExtensions will now override $wgFileBlacklist
Benjamin Lees [Tue, 7 Dec 2010 03:21:00 +0000 (03:21 +0000)]
(bug 18372) $wgFileExtensions will now override $wgFileBlacklist

13 years agoModify config-install-done, hopefully this is what Chad was looking for in CR r77948...
Tim Starling [Tue, 7 Dec 2010 03:15:51 +0000 (03:15 +0000)]
Modify config-install-done, hopefully this is what Chad was looking for in CR r77948. Added a large, obvious download link with icon from the Crystal Project.

13 years agoFix breakage from r75542: FakeMaintenance needs to set at least $mSelf so when runChi...
Chad Horohoe [Tue, 7 Dec 2010 02:42:01 +0000 (02:42 +0000)]
Fix breakage from r75542: FakeMaintenance needs to set at least $mSelf so when runChild() calls loadParamsAndArgs() it doesn't pass nothing and thus try to fall back on $argv. This breaks the web updater, where that is undefined.

13 years agoFollowup r77949, qqq message no longer relevant
Chad Horohoe [Tue, 7 Dec 2010 02:22:18 +0000 (02:22 +0000)]
Followup r77949, qqq message no longer relevant

13 years agoAddress fixme on r67621: use $wgDefaultSkin instead of hardcoding vector
Chad Horohoe [Tue, 7 Dec 2010 02:20:14 +0000 (02:20 +0000)]
Address fixme on r67621: use $wgDefaultSkin instead of hardcoding vector
Would like a UI to choose skin with like previews or something, but its not urgent

13 years agoTypofix r77949
Chad Horohoe [Tue, 7 Dec 2010 02:09:56 +0000 (02:09 +0000)]
Typofix r77949

13 years agoFollowup r77883, rm the _ExternalHTTP stuff as well; cleans up IC msgs as well
Chad Horohoe [Tue, 7 Dec 2010 02:07:17 +0000 (02:07 +0000)]
Followup r77883, rm the _ExternalHTTP stuff as well; cleans up IC msgs as well

13 years ago* Pop up a download box for LocalSettings.php when the user goes to page=Complete...
Tim Starling [Tue, 7 Dec 2010 02:01:07 +0000 (02:01 +0000)]
* Pop up a download box for LocalSettings.php when the user goes to page=Complete. Committing for review: I'm not wedded to the concept, but we do need some way of making sure users download that file.
* Fix MIME type on LocalSettings.php download to not be something that IE considers ambiguous. In Firefox, this makes it say "which is a: PHP file" instead of "plain text document" in the download dialog box.

13 years agoFix r77650, notice about undefined $css; was causing the serif font issue too
Chad Horohoe [Tue, 7 Dec 2010 01:42:38 +0000 (01:42 +0000)]
Fix r77650, notice about undefined $css; was causing the serif font issue too

13 years agoFix incorrect use of wfMsgReal() from r77929, causes several warnings.
Tim Starling [Tue, 7 Dec 2010 00:50:36 +0000 (00:50 +0000)]
Fix incorrect use of wfMsgReal() from r77929, causes several warnings.

13 years ago* Fix issues brought up in r75832
Brandon Harris [Mon, 6 Dec 2010 23:13:35 +0000 (23:13 +0000)]
* 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.

13 years ago(bug 26265) Many semicolons are missing from JavaScript files
Sam Reed [Mon, 6 Dec 2010 22:34:15 +0000 (22:34 +0000)]
(bug 26265) Many semicolons are missing from JavaScript files

And some more unterminated statements..

13 years ago(bug 26265) Many semicolons are missing from JavaScript files
Sam Reed [Mon, 6 Dec 2010 22:30:53 +0000 (22:30 +0000)]
(bug 26265) Many semicolons are missing from JavaScript files

And some more unterminated statements..

13 years ago(bug 26265) Many semicolons are missing from JavaScript files
Sam Reed [Mon, 6 Dec 2010 22:30:34 +0000 (22:30 +0000)]
(bug 26265) Many semicolons are missing from JavaScript files

More unterminated statements..

13 years ago(bug 26265) Many semicolons are missing from JavaScript files
Sam Reed [Mon, 6 Dec 2010 22:29:41 +0000 (22:29 +0000)]
(bug 26265) Many semicolons are missing from JavaScript files

Unterminated statements..

13 years agoRm two unused vars
Chad Horohoe [Mon, 6 Dec 2010 21:56:07 +0000 (21:56 +0000)]
Rm two unused vars

13 years agoChange monobook to vector because vector is the default skin now
Raimond Spekking [Mon, 6 Dec 2010 21:55:17 +0000 (21:55 +0000)]
Change monobook to vector because vector is the default skin now
Per suggestion of The Evil IP address: http://translatewiki.net/wiki/Thread:Support/userinvalidcssjstitle

13 years agoImproves on r77710 - no purpose in using call() here.
Trevor Parscal [Mon, 6 Dec 2010 21:09:53 +0000 (21:09 +0000)]
Improves on r77710 - no purpose in using call() here.

13 years agoAdded center option - will pass this upstream.
Trevor Parscal [Mon, 6 Dec 2010 21:02:11 +0000 (21:02 +0000)]
Added center option - will pass this upstream.

13 years agoRevert unintended changes in r77908
Roan Kattouw [Mon, 6 Dec 2010 21:01:26 +0000 (21:01 +0000)]
Revert unintended changes in r77908

13 years ago(bug 26130) Revert changes to WebStart.php in r72349, which turn out to have been...
Roan Kattouw [Mon, 6 Dec 2010 20:57:42 +0000 (20:57 +0000)]
(bug 26130) Revert changes to WebStart.php in r72349, which turn out to have been misguided. This should fix double-gzip issues

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 6 Dec 2010 20:33:01 +0000 (20:33 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-06 20:22:00 UTC)

13 years agoRevert r77860, which was a reversion of r75832.
Brandon Harris [Mon, 6 Dec 2010 20:04:28 +0000 (20:04 +0000)]
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.

13 years agoPart of fix/workaround to bug 26163. API calls to get language links and categories...
Priyanka Dhanda [Mon, 6 Dec 2010 18:31:09 +0000 (18:31 +0000)]
Part of fix/workaround to  bug 26163. API calls to get language links and categories as html

13 years agoReverting r77516. It ain't gonna work
Priyanka Dhanda [Mon, 6 Dec 2010 18:21:41 +0000 (18:21 +0000)]
Reverting r77516. It ain't gonna work

13 years agoMore skin system improvements; Create a new BaseTemplate class extended from QuickTem...
Daniel Friesen [Mon, 6 Dec 2010 17:47:53 +0000 (17:47 +0000)]
More skin system improvements; Create a new BaseTemplate class extended from QuickTemplate, this class will house helper methods that interact with QuickTemplate data set by SkinTemplate to help cut down on boilerplate for common uses of that data.
For the first helper in this class add a helper to use in generating a toolbox. Include a list item and link generating method that can be used to generate most of our sidebar links with minimal code.
Eventually this toolbox code will be used in code abstracting common sidebar generating code away into common helpers. For now make MonoBook and Vector and the skins based off of them use this method of generating toolboxes and sidebar links.

13 years agoCheck for the "search" along with other checks to create the Title object. Since...
Alexandre Emsenhuber [Mon, 6 Dec 2010 17:42:14 +0000 (17:42 +0000)]
Check for the "search" along with other checks to create the Title object. Since this was done after the call to $wgOut->setTitle(), the Title object holded in that instance was incorrect when a such request happened

13 years agoPer Hashar, r77819, @private comment. Explicit public method definition
Sam Reed [Mon, 6 Dec 2010 17:07:39 +0000 (17:07 +0000)]
Per Hashar, r77819, @private comment. Explicit public method definition

13 years ago* (bug 26253) Removed $wgPostCommitUpdateList
Alexandre Emsenhuber [Mon, 6 Dec 2010 16:17:43 +0000 (16:17 +0000)]
* (bug 26253) Removed $wgPostCommitUpdateList

As I said on the bug, this variable is not used since ages

13 years agoAdded localize registration.
Trevor Parscal [Mon, 6 Dec 2010 16:09:50 +0000 (16:09 +0000)]
Added localize registration.

13 years agoAdded fixes for tipsy font size - because tips are rendering outside of the body...
Trevor Parscal [Mon, 6 Dec 2010 16:08:01 +0000 (16:08 +0000)]
Added fixes for tipsy font size - because tips are rendering outside of the body their text size is not affected by rules for bodyContent where the text is usually adjusted up or down a final time.

13 years agoAdded a light shadow to tips.
Trevor Parscal [Mon, 6 Dec 2010 16:02:09 +0000 (16:02 +0000)]
Added a light shadow to tips.

13 years agoCleanup r77883, contained unrelated debugging change
Chad Horohoe [Mon, 6 Dec 2010 15:34:28 +0000 (15:34 +0000)]
Cleanup r77883, contained unrelated debugging change

13 years agoRemove "checking for latest version" feature from the new installer. Originally a...
Chad Horohoe [Mon, 6 Dec 2010 15:32:32 +0000 (15:32 +0000)]
Remove "checking for latest version" feature from the new installer. Originally a proof-of-concept, and I'm not satisfied with its state of completion enough to include it for 1.17. Reverts r71107, r71110, r71111, r71115, r71564, r65863, r57624, probably some others.

13 years agoFix fatal error when admin name is blank
Tim Starling [Mon, 6 Dec 2010 15:07:12 +0000 (15:07 +0000)]
Fix fatal error when admin name is blank

13 years agoRemove some of the rubbish that has been accumulating in the default LocalSettings...
Tim Starling [Mon, 6 Dec 2010 15:00:56 +0000 (15:00 +0000)]
Remove some of the rubbish that has been accumulating in the default LocalSettings.php for years, especially code as opposed to configuration data:
* Don't set $IP. The entry point already sets it, so there's no point. Users can still set it if they can figure out a way to do it without breaking things.
* Don't include DefaultSettings.php. Doing that is code, not configuration, and it can easily be done in WebStart/Maintenance. Some non-standard entry points in extensions may be broken by this. That's their fault for being non-standard. Backwards compatibility is preserved thanks to require_once().
* Introduce $wgInvalidateCacheOnLocalSettingsChange, which when set, causes $wgCacheEpoch to be updated in the way that it previously was in the default LocalSettings.php.
* Don't set $wgLocalInterwiki to some nonsense value (possibly including spaces and punctuation in the new installer). It should be only for actual interwiki prefixes. Since most wikis don't have them, I set this to false by default and adjusted the referring code to accept this.
* Removed the guard for web invocation with $wgCommandLineMode set. This ancient code is redundant with modern protections in doMaintenance.php.
* In DefaultSettings.php, fixed fold terminator placement near $wgLoadScript
* Add a web entry point guard. That's one piece of code which really is necessary.

13 years ago* Reformatted several text documents to be a hybrid between wikitext and plain text...
Tim Starling [Mon, 6 Dec 2010 13:30:24 +0000 (13:30 +0000)]
* Reformatted several text documents to be a hybrid between wikitext and plain text, so that they look nicer in the new installer.
* Removed the specialised getFileContents() functions, they are unnecessary now that I have reformatted COPYING into wikitext.

In WebInstaller_Document::formatTextFile():
* Introduced new tab-indented syntax, which is equivalent to colon indents in ordinary wikitext. This was useful for reformatting the GPL.
* Removed the special case for spaces preceding URLs, used tabs instead, with the above feature.
* Removed the "numbers in square brackets" feature. The place where this was used, in README, was an unfortunate case where the square brackets originally indicated a footnote and its reference. Then another two "footnotes" were added with no corresponding reference, they just talked about random license-related stuff that happened to be similar to the footnote. It was never actually meant to be a numbered list. Fixed in README.
* Convert from DOS line endings to UNIX early on, to simplify the regexes.

13 years agoAdding reference to bug 26267. Follow-up on r77123
Krinkle [Mon, 6 Dec 2010 13:21:46 +0000 (13:21 +0000)]
Adding reference to bug 26267. Follow-up on r77123

13 years ago* Made it possible to run multiple installer instances in the same cookie domain...
Tim Starling [Mon, 6 Dec 2010 13:20:01 +0000 (13:20 +0000)]
* Made it possible to run multiple installer instances in the same cookie domain without them overwriting or misinterpreting each others' sessions. This is mostly paranoia: one could imagine a situation where the installer from one version of MW becomes insecure when run on the session from another. Did this by making installerData an array indexed by a hash of path and $wgVersion. I could have used $wgCookiePrefix, but that would have broken NoLocalSettings.php, which has no access to AutoLoader and so can't access Installer methods.

* Moved most of the functionality of config/index.php from the file level to a function, so that we can have local variables.

13 years agobug 26265, a few explicit ; at end of blocks
Sam Reed [Mon, 6 Dec 2010 12:18:01 +0000 (12:18 +0000)]
bug 26265, a few explicit ; at end of blocks

13 years ago* (bug 23119) WikiError class and subclasses are now marked as deprecated
Alexandre Emsenhuber [Mon, 6 Dec 2010 10:09:43 +0000 (10:09 +0000)]
* (bug 23119) WikiError class and subclasses are now marked as deprecated

Last usage from those classes in core was removed in r77800.

13 years agoFollow-up r77864: Add new measage key to maintenance script directly helps to not...
Raimond Spekking [Mon, 6 Dec 2010 09:38:33 +0000 (09:38 +0000)]
Follow-up r77864: Add new measage key to maintenance script directly helps to not being pinged :-)

13 years agoWhen opening the subprocess fetchText.php, pass the complete wiki ID through the...
Alexandre Emsenhuber [Mon, 6 Dec 2010 09:20:07 +0000 (09:20 +0000)]
When opening the subprocess fetchText.php, pass the complete wiki ID through the --wiki parameter so that it works for all setups and not only for wikimedia

13 years agoAdd a Skins category to Special:Version.
Daniel Friesen [Mon, 6 Dec 2010 08:37:34 +0000 (08:37 +0000)]
Add a Skins category to Special:Version.

13 years ago* Update NoLocalSettings.php for the new installer. Stop advising users to move Local...
Tim Starling [Mon, 6 Dec 2010 08:11:31 +0000 (08:11 +0000)]
* Update NoLocalSettings.php for the new installer. Stop advising users to move LocalSettings.php from config/, the new installer doesn't create it. I imagine I'm not the only one with copies of LocalSettings.php lying around everywhere.
* Fix the installer session name to be something that makes sense, instead of my_wiki_session.

13 years agoReverted r75832 per my comments on CR, unanswered for 19 days. Moving all help inform...
Tim Starling [Mon, 6 Dec 2010 07:08:31 +0000 (07:08 +0000)]
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.

13 years agoFix bug causing rebuildFileCache.php to create inappropriate cache files for redirect...
Ilmari Karonen [Mon, 6 Dec 2010 01:08:17 +0000 (01:08 +0000)]
Fix bug causing rebuildFileCache.php to create inappropriate cache files for redirects. (Actually, it would be better to create _correct_ cache files for them instead, but this doesn't seem to be something the file cache was designed to do, so I'll leave it for later.)

13 years agofollowup to r77843: fix off by one error
Ilmari Karonen [Mon, 6 Dec 2010 00:36:54 +0000 (00:36 +0000)]
followup to r77843: fix off by one error

13 years agoAdd new config variable $wgFileCacheDepth to set the depth of the subdirectory hierar...
Ilmari Karonen [Sun, 5 Dec 2010 23:07:48 +0000 (23:07 +0000)]
Add new config variable $wgFileCacheDepth to set the depth of the subdirectory hierarchy used for the file cache. Default value is 2, which matches former behavior. Setting this to 0 makes the paths simpler, and can be used with clever Apache rewrite rules to serve cached files directly without calling MediaWiki or PHP at all.

13 years agoFollow up to r77411. Patch by DieBuche
Derk-Jan Hartman [Sun, 5 Dec 2010 22:41:06 +0000 (22:41 +0000)]
Follow up to r77411. Patch by DieBuche

1. Adds a line css to actually fix Bug 3770 (Sorry, I had forgotten to paste it
there as well)
2. Fixes a problem, where the box size would be slighty higher if the image
thumb has a height of less than 8px
3. Normalize the calculation of the vertical padding to be exactly the same one
as the horizontal padding. (This is only relevant for unusually large
galleries, eg. previously it returned a not-exactly-square box if you specified
500px as both width and height)

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 5 Dec 2010 20:13:35 +0000 (20:13 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-05 19:53:00 UTC)

13 years agoThis can be private too
Chad Horohoe [Sun, 5 Dec 2010 19:35:46 +0000 (19:35 +0000)]
This can be private too

13 years agoFix copy+paste error from r77778
Chad Horohoe [Sun, 5 Dec 2010 19:34:40 +0000 (19:34 +0000)]
Fix copy+paste error from r77778

13 years ago-rakkaus/#mediawiki-i18n- [05-Dec-2010 18:22:39] PHP Fatal error: Call to private...
Sam Reed [Sun, 5 Dec 2010 18:27:14 +0000 (18:27 +0000)]
-rakkaus/#mediawiki-i18n- [05-Dec-2010 18:22:39] PHP Fatal error:  Call to private method CategoryViewer::getHTML() from context 'CategoryPage' in /www/w/includes/CategoryPage.php on line 74

Partial revert of r77809, remove making of methods private, but don't reinstate the comments. They're seemingly wrong, and useless.

13 years agoSwap @private for setting function definition to private
Sam Reed [Sun, 5 Dec 2010 16:15:28 +0000 (16:15 +0000)]
Swap @private for setting function definition to private

13 years agoChange some member calls to static, from r75709
Sam Reed [Sun, 5 Dec 2010 16:08:12 +0000 (16:08 +0000)]
Change some member calls to static, from r75709

13 years agoFollow up r75705 typo.
Platonides [Sun, 5 Dec 2010 15:35:57 +0000 (15:35 +0000)]
Follow up r75705 typo.

13 years agoConverted ImportStreamSource functions to return a Status object rather than ImportSt...
Alexandre Emsenhuber [Sun, 5 Dec 2010 14:22:49 +0000 (14:22 +0000)]
Converted ImportStreamSource functions to return a Status object rather than ImportStreamSource-or-WikiError

This is a breaking change since the ImportStreamSource object is in the value member of the Status object; I will fix the extensions in my next commit

13 years agoConverted WikiError to MWException so at least users can see the problem (nothing...
Alexandre Emsenhuber [Sun, 5 Dec 2010 13:57:07 +0000 (13:57 +0000)]
Converted WikiError to MWException so at least users can see the problem (nothing was checking the return value of WikiExporter::dumpFrom() and realted methods)

13 years ago(bug 26228) On certain PHP 5.2 installs, finfo functions can be available while FILEI...
Roan Kattouw [Sun, 5 Dec 2010 13:38:25 +0000 (13:38 +0000)]
(bug 26228) On certain PHP 5.2 installs, finfo functions can be available while FILEINFO_MIME_TYPE is not. Check for the latter explicitly

13 years agoFix typo in r77714
Roan Kattouw [Sun, 5 Dec 2010 12:58:23 +0000 (12:58 +0000)]
Fix typo in r77714

13 years agoFollowup r77793, documentation for icon as a string was missing.
Daniel Friesen [Sun, 5 Dec 2010 11:16:47 +0000 (11:16 +0000)]
Followup r77793, documentation for icon as a string was missing.

13 years agoMake footerLink a public method, this method is useful for hooks now that r77732...
Daniel Friesen [Sun, 5 Dec 2010 11:01:34 +0000 (11:01 +0000)]
Make footerLink a public method, this method is useful for hooks now that r77732 allows a hook to add new footer links in this style.

13 years agoFolowup r77763, add documentation for $wgFooterIcons.
Daniel Friesen [Sun, 5 Dec 2010 10:58:13 +0000 (10:58 +0000)]
Folowup r77763, add documentation for $wgFooterIcons.