lhc/web/wiklou.git
13 years agoRemove debugging var_dump, add , in message.
Platonides [Mon, 27 Dec 2010 18:55:41 +0000 (18:55 +0000)]
Remove debugging var_dump, add , in message.

13 years agoGet rid of a different configuration file syntax for PHP 5.2
Platonides [Mon, 27 Dec 2010 18:53:29 +0000 (18:53 +0000)]
Get rid of a different configuration file syntax for PHP 5.2
Directly parse them in php.

13 years agoTreat premade toggle links as a custom instead of default case (ie. dont change the...
Krinkle [Mon, 27 Dec 2010 17:37:19 +0000 (17:37 +0000)]
Treat premade toggle links as a custom instead of default case (ie. dont change the text) (Follow-up r78989 CR)

13 years ago(Bug 26434) - Generated password from "Create account by email" does not work.
Platonides [Mon, 27 Dec 2010 17:17:45 +0000 (17:17 +0000)]
(Bug 26434) - Generated password from "Create account by email" does not work.
Another consequence of the $ts === 0 from r71751.
Fixed in a more verbose way. Behavior documented in tables.sql

13 years ago*(bug 26404) Enable call graphs for doxygen-generated doc
Sam Reed [Mon, 27 Dec 2010 16:56:50 +0000 (16:56 +0000)]
*(bug 26404) Enable call graphs for doxygen-generated doc

13 years agoReplace __METHOD__ with __FUNCTION__
Platonides [Mon, 27 Dec 2010 16:51:59 +0000 (16:51 +0000)]
Replace __METHOD__ with __FUNCTION__
Using a title like testParse instead of ExtraParserTest::testParse (thus without colons),
means that it doesn't need to be checked if it's an interwiki, and no interwiki db (either Cdb or normal db) is needed.
So these tests can be run as Databaseless.

13 years agoThe toggle link may be in any of the cells of the first row. The default will stick...
Krinkle [Mon, 27 Dec 2010 16:43:50 +0000 (16:43 +0000)]
The toggle link may be in any of the cells of the first row. The default will stick to the last cell but when detecting premade links, it now scans the entire first row instead of just the last cell.

13 years agoOne would hope we have no .php3 files left laying around
Sam Reed [Mon, 27 Dec 2010 16:29:44 +0000 (16:29 +0000)]
One would hope we have no .php3 files left laying around

13 years agoMove setup_plpgsql() to PostgresInstaller and make it use status objects for when...
Chad Horohoe [Mon, 27 Dec 2010 15:41:11 +0000 (15:41 +0000)]
Move setup_plpgsql() to PostgresInstaller and make it use status objects for when the rest of this is moved over too

13 years agoSpecial:Permalink as alias for Special:PermanentLink (added in r79036)
Tobias [Mon, 27 Dec 2010 14:21:56 +0000 (14:21 +0000)]
Special:Permalink as alias for Special:PermanentLink (added in r79036)

13 years ago* Followup r78450: just use selectField() instead of pg_fetch_result() with a raw...
Chad Horohoe [Mon, 27 Dec 2010 13:56:20 +0000 (13:56 +0000)]
* Followup r78450: just use selectField() instead of pg_fetch_result() with a raw doQuery()
* Remove useless isset() check, this will always be set with some default in DefaultSettings.php

13 years agoCommit getPersonalTools to allow personal bar generation to be simplified.
Daniel Friesen [Mon, 27 Dec 2010 12:23:06 +0000 (12:23 +0000)]
Commit getPersonalTools to allow personal bar generation to be simplified.

13 years agoAdding README file for the Installer testing
nadeesha [Mon, 27 Dec 2010 10:49:25 +0000 (10:49 +0000)]
Adding README file for the Installer testing

13 years agoUpdated the copyright section
nadeesha [Mon, 27 Dec 2010 10:43:18 +0000 (10:43 +0000)]
Updated the copyright section

13 years agoRemove 'str_replace('//','/',' from the require_once( str_replace('//','/',dirname...
nadeesha [Mon, 27 Dec 2010 10:34:17 +0000 (10:34 +0000)]
Remove 'str_replace('//','/',' from the require_once( str_replace('//','/',dirname(__FILE__).'/') .'MediaWikiInstallationCommonFunction.php');

13 years agoAdding MediaWiki installer test scripts and installer directory
nadeesha [Mon, 27 Dec 2010 07:34:57 +0000 (07:34 +0000)]
Adding MediaWiki installer test scripts and installer directory

13 years agoDeleting installer directory to have a fresh commit
nadeesha [Mon, 27 Dec 2010 07:22:08 +0000 (07:22 +0000)]
Deleting installer directory to have a fresh commit

13 years ago* bug 26437: fix for Sanitizer::decodeCharReferences converting invalid hex character...
Brion Vibber [Mon, 27 Dec 2010 03:21:43 +0000 (03:21 +0000)]
* bug 26437: fix for Sanitizer::decodeCharReferences converting invalid hex character references

Patch by Umherirrender: https://bugzilla.wikimedia.org/attachment.cgi?id=7931&action=edit

Also added a parser regression test case: "HTML Hex character encoding bogus encoding (bug 26437 regression check)"

13 years agoFollow-up r79036: update comment.
Happy-melon [Mon, 27 Dec 2010 00:07:41 +0000 (00:07 +0000)]
Follow-up r79036: update comment.

13 years ago(bug 268) add Special:PermanentLink/### as an internally-linkable redirect to index...
Happy-melon [Mon, 27 Dec 2010 00:03:35 +0000 (00:03 +0000)]
(bug 268) add Special:PermanentLink/### as an internally-linkable redirect to index.php?oldid=###.

Also refactor SpecialPage::getRedirectQuery() to return an associative array to pass to wfArrayToCGI(), rather than bodging the query string together internally.

13 years agoRevert r75588 and r77381. Block just the tainted pairs of username/passwords until...
Platonides [Sun, 26 Dec 2010 22:55:32 +0000 (22:55 +0000)]
Revert r75588 and r77381. Block just the tainted pairs of username/passwords until a proper solution for weak passwords is added, hopefully for 1.18.

13 years agoWhen running phpunit with globals backup, $skinsInitialised will be kept to true...
Platonides [Sun, 26 Dec 2010 22:24:55 +0000 (22:24 +0000)]
When running phpunit with globals backup, $skinsInitialised will be kept to true, but $wgValidSkinNames reset to an empty array. Workarounding.

13 years agoThumbnail previews for PNG, JPEG, GIF, and SVG files on Special:Upload in browsers...
Brion Vibber [Sun, 26 Dec 2010 22:01:26 +0000 (22:01 +0000)]
Thumbnail previews for PNG, JPEG, GIF, and SVG files on Special:Upload in browsers supporting HTML 5 FileAPI

Known good:
* Firefox 3.6+
* Chrome 7.something+

13 years agoadding hoverIntent plugin
Krinkle [Sun, 26 Dec 2010 20:41:08 +0000 (20:41 +0000)]
adding hoverIntent plugin

13 years agoThrow an exception instead of low-level PHP fatal error if something invokes the...
Brion Vibber [Sun, 26 Dec 2010 20:39:21 +0000 (20:39 +0000)]
Throw an exception instead of low-level PHP fatal error if something invokes the Exif() class when exif functions aren't actually present. (Discovered with PagedTiffHandler enabled on my test machine.)

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 26 Dec 2010 20:38:54 +0000 (20:38 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-26 20:27:00 UTC)

13 years agoAdding maintenance script to purge stale flagged revs entries from memcached (for...
Ryan Lane [Sun, 26 Dec 2010 19:45:01 +0000 (19:45 +0000)]
Adding maintenance script to purge stale flagged revs entries from memcached (for entries that have rev idsin the key). Should be made more generic.

13 years agoDocument parser, add test cases for the external entry points to it.
Platonides [Sun, 26 Dec 2010 19:30:10 +0000 (19:30 +0000)]
Document parser, add test cases for the external entry points to it.

13 years agoRemove ParserOptions clonations, already cloned in getParserOptions().
Platonides [Sun, 26 Dec 2010 19:23:11 +0000 (19:23 +0000)]
Remove ParserOptions clonations, already cloned in getParserOptions().
Ref r70783

13 years agoStore the options used by the parsing in ParserOutput, per r70783 CR.
Platonides [Sun, 26 Dec 2010 19:21:45 +0000 (19:21 +0000)]
Store the options used by the parsing in ParserOutput, per r70783 CR.

13 years agoChanging the skin loader to load classes using the pattern "Skin{$skinName}" instead...
Daniel Friesen [Sun, 26 Dec 2010 14:15:27 +0000 (14:15 +0000)]
Changing the skin loader to load classes using the pattern "Skin{$skinName}" instead of `"Skin" . ucfirst($key)` as the current behavior has been causing bugs with extension based skins attempting to use the autoloader to load their skins.
Under current behavior for "MonoBook" the skin loader will load "SkinMonobook" instead of "SkinMonoBook". Because the skin system loads from skins/ when it can't find a skin and php's class system is case insensitive by a fluke MonoBook has been fine despite the skin loader trying to load SkinMonobook despite the class being named SkinMonoBook.
However our autoloader is case-sensitive, and as a result if you try to name your extension based skin class something like SkinStereoBook the skin will break with a cryptic error message because the skin loader attempts to load SkinStereobook, doesn't find it in the autoloader, then throws a php error when it tries to load skins/StereoBook.php and can't find the file.
We have also been using the $skinName to generate the name of the file to load from skins/ so this value is already expected to be safe for use in this way.

13 years agoBack out getPersonalTools from r79014 which did not belong in that commit.
Daniel Friesen [Sun, 26 Dec 2010 13:45:13 +0000 (13:45 +0000)]
Back out getPersonalTools from r79014 which did not belong in that commit.

13 years agoAdd a config option to allow the login / create account link to be split into separat...
Daniel Friesen [Sun, 26 Dec 2010 13:41:23 +0000 (13:41 +0000)]
Add a config option to allow the login / create account link to be split into separate login and create account links. (Besides Google and Bing, Wikipedia/MediaWiki is the only big site I see that actually doesn't provide separate login and create account links).
This is partially made because there are skins where separate login and createaccount links are made, not giving them proper login and createaccount links in the personal_urls means partial reimplementation of personal_urls code in the skin (or worse, no support for features like $wgSecureLogin in these skins when they don't keep up with core).

13 years ago(Bug 26425) Due to r71751, wfTimestamp stopped accepting '' to mean get
Brian Wolff [Sun, 26 Dec 2010 04:38:41 +0000 (04:38 +0000)]
(Bug 26425) Due to r71751, wfTimestamp stopped accepting '' to mean get
current timestamp. This caused Block::__construct to put all sort of
messages in the debug log about invalid timestamp. So change Block to use
timestamp of 0 instead of '' if unspecified.

13 years agoMake a loop to keep them really deleted.
Platonides [Sat, 25 Dec 2010 23:23:38 +0000 (23:23 +0000)]
Make a loop to keep them really deleted.
Entries in hewiki are hard to kill.

13 years agoSkins override shared.css, merged fix for bug 26423 in r79010 to skins instead
Krinkle [Sat, 25 Dec 2010 23:10:14 +0000 (23:10 +0000)]
Skins override shared.css, merged fix for bug 26423 in r79010 to skins instead

13 years agoRemoving ugly whitespace around thumbnails on a non-white background.
Krinkle [Sat, 25 Dec 2010 22:57:38 +0000 (22:57 +0000)]
Removing ugly whitespace around thumbnails on a non-white background.
* (bug 26423) Margin around thumbnails is forced to be white

13 years agoCopy & paste mistake
Platonides [Sat, 25 Dec 2010 22:00:55 +0000 (22:00 +0000)]
Copy & paste mistake

13 years agoWhitespace. Add $wgDBname to the debug message.
Platonides [Sat, 25 Dec 2010 21:58:50 +0000 (21:58 +0000)]
Whitespace. Add $wgDBname to the debug message.

13 years agoA debug message
Platonides [Sat, 25 Dec 2010 21:38:13 +0000 (21:38 +0000)]
A debug message

13 years agoOnly the latest one will please us.
Platonides [Sat, 25 Dec 2010 21:35:39 +0000 (21:35 +0000)]
Only the latest one will please us.

13 years ago6:30 pm please
Platonides [Sat, 25 Dec 2010 21:28:27 +0000 (21:28 +0000)]
6:30 pm please

13 years agoSeconds missing
Platonides [Sat, 25 Dec 2010 21:26:58 +0000 (21:26 +0000)]
Seconds missing

13 years agoQuick script to clean the entries in memcached for text saved today after the disk...
Platonides [Sat, 25 Dec 2010 21:25:28 +0000 (21:25 +0000)]
Quick script to clean the entries in memcached for text saved today after the disk got full but before the master switch.

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

13 years agoLocalization update for he.
Rotem Liss [Sat, 25 Dec 2010 16:00:02 +0000 (16:00 +0000)]
Localization update for he.

13 years agoSame for the tooltip, don't call twice
Niklas Laxström [Sat, 25 Dec 2010 12:33:17 +0000 (12:33 +0000)]
Same for the tooltip, don't call twice

13 years agoRm useless checks which breaks if descriptionmsg is an array
Niklas Laxström [Sat, 25 Dec 2010 12:30:12 +0000 (12:30 +0000)]
Rm useless checks which breaks if descriptionmsg is an array

13 years agoDon't load the same accesskey message four times (in the worst case)
Niklas Laxström [Sat, 25 Dec 2010 12:24:18 +0000 (12:24 +0000)]
Don't load the same accesskey message four times (in the worst case)

13 years agoTrailing whitespace in messages is not supported
Niklas Laxström [Sat, 25 Dec 2010 10:27:14 +0000 (10:27 +0000)]
Trailing whitespace in messages is not supported

13 years agoGiving #mw-log-console position 'fixed' instead of 'absolute' (to have it stay on...
Krinkle [Sat, 25 Dec 2010 03:42:59 +0000 (03:42 +0000)]
Giving #mw-log-console position 'fixed' instead of 'absolute' (to have it stay on the bottom when scrolling down)

13 years agoAdded remote binding for custom collapsibles and minor improvements
Krinkle [Sat, 25 Dec 2010 03:26:09 +0000 (03:26 +0000)]
Added remote binding for custom collapsibles and minor improvements
* Fixed JSLint errors
* Added support for custom collapsibles that can have togglelink(s) anywhere in the document
* To prevent people from making secret toggle links (vandalism?) for things like '#content', prefix 'mw-customcollapsible-' is required
* Merged a few comments (bit less verbose)
* Adding extra check when fixing li-value. Value-attribute of an ordered list items defaults to '-1' instead of '' in Mozilla Firefox 3.

13 years agoReverting r78889 and r78865. Breaks changeslist on translatewiki (unpatrolled-flag...
Krinkle [Sat, 25 Dec 2010 00:29:41 +0000 (00:29 +0000)]
Reverting r78889 and r78865. Breaks changeslist on translatewiki (unpatrolled-flag exclamation mark popping up on page histories and and diff-views where they shouldn't instead of an 'm' for minor)
-  = ChangesList::flag( 'minor' );
- The jquery effects plugin and collapsible implementation, also in those commits, are redundant now.
- If/when skins.commons is needed again, we can simply add that part back in.
- (r78891 is not reverted because the file it altered was deleted while r78865 was -merged)

13 years agoFixing typo from r78944
Krinkle [Fri, 24 Dec 2010 16:08:42 +0000 (16:08 +0000)]
Fixing typo from r78944

13 years agoAdding message for collapsible link in core for localization (Follow-up r78935, r78915)
Krinkle [Fri, 24 Dec 2010 15:52:44 +0000 (15:52 +0000)]
Adding message for collapsible link in core for localization (Follow-up r78935, r78915)

13 years agoAdding fallback for collapsible messages
Krinkle [Fri, 24 Dec 2010 15:27:11 +0000 (15:27 +0000)]
Adding fallback for collapsible messages

13 years agoForgot to namespace the click handler. Unbinding all click handlers is indeed risky...
Krinkle [Fri, 24 Dec 2010 15:24:28 +0000 (15:24 +0000)]
Forgot to namespace the click handler. Unbinding all click handlers is indeed risky (Follow-up r78935 CR)

13 years agoAdding default styling for redirects
Krinkle [Fri, 24 Dec 2010 15:07:01 +0000 (15:07 +0000)]
Adding default styling for redirects
* Fixes bug 26266
* HTML class .allpagesredirect (redirects on [[Special:AllPages]]), .redirect-in-category (redirects in category listings)

13 years agoRemoving debug call. Follow-up r78935 CR
Krinkle [Fri, 24 Dec 2010 14:34:27 +0000 (14:34 +0000)]
Removing debug call. Follow-up r78935 CR

13 years agoMake sure the TOC is there when toggleToc is called. Although the function calling...
Krinkle [Fri, 24 Dec 2010 13:44:24 +0000 (13:44 +0000)]
Make sure the TOC is there when toggleToc is called. Although the function calling it checks it too, it could be called by a third party, or the TOC could've dissapeared :O (Follow-up r78941)

13 years agojslint warnings fixed in mw.util
Krinkle [Fri, 24 Dec 2010 13:41:57 +0000 (13:41 +0000)]
jslint warnings fixed in mw.util

13 years agoWe use lowercse in 'bug' here.
Platonides [Fri, 24 Dec 2010 13:29:28 +0000 (13:29 +0000)]
We use lowercse in 'bug' here.

13 years ago(Bug 26412) Search results headers no longer show a bogus edit link.
Platonides [Fri, 24 Dec 2010 13:28:12 +0000 (13:28 +0000)]
(Bug 26412) Search results headers no longer show a bogus edit link.

13 years agoAdd a couple of comments from my WC
Platonides [Fri, 24 Dec 2010 12:08:47 +0000 (12:08 +0000)]
Add a couple of comments from my WC

13 years agofollow up to r78952 add parser tests relating to internal links with % encoding and...
Brian Wolff [Fri, 24 Dec 2010 10:24:16 +0000 (10:24 +0000)]
follow up to r78952 add parser tests relating to internal links with % encoding and + signs in them.

13 years ago(Bug 26410) In an internal link, a plus sign is treated as a space if the link
Brian Wolff [Fri, 24 Dec 2010 09:53:08 +0000 (09:53 +0000)]
(Bug 26410) In an internal link, a plus sign is treated as a space if the link
has a % sign in it, but interperted as a + if no % sign is present.

This changes how the parser interperts links slightly. However:
*I can't imagine anyone is relying on this behaviour
*Things should be consistent. a + sign shouldn't magically change meaning
if there is a % sign somewhere else in the link.
*Pages are allowed to contain % signs in their title, and + signs,
you should be able to link to such pages just by typing there name without
resorting to %2B.
*If you have a page named foo%+ having [[{{PAGENAME}}]] link to a different
page seems inherently wrong.
*The previous behaviour seemed accidental.

13 years agoChange the copyright section
nadeesha [Fri, 24 Dec 2010 05:16:05 +0000 (05:16 +0000)]
Change the copyright section

13 years agoChange the values of the ADMIN_EMAIL_ADDRESS/ VALID_YOUR_NAME variables and change...
nadeesha [Fri, 24 Dec 2010 05:13:54 +0000 (05:13 +0000)]
Change the values of the ADMIN_EMAIL_ADDRESS/ VALID_YOUR_NAME variables and change the copyright section

13 years agoFollow-up r77121
Krinkle [Fri, 24 Dec 2010 01:41:15 +0000 (01:41 +0000)]
Follow-up r77121
* Clearing float after sidebar to prevent it from sticking out on short pages
* Changing line-breaking clear-float to a non-line breaking one

13 years agoA couple of deepRenames tweaks
Tim Starling [Fri, 24 Dec 2010 01:31:17 +0000 (01:31 +0000)]
A couple of deepRenames tweaks

13 years agoFixing TODO from r78915
Krinkle [Fri, 24 Dec 2010 01:30:23 +0000 (01:30 +0000)]
Fixing TODO from r78915
* Removed old "kr-" prefix for the plugin
* Moved function call from the bottom of the script to mw init function

13 years agoReally fix bug 26131: just putting the site+user <link> at the bottom of the <head...
Roan Kattouw [Fri, 24 Dec 2010 01:22:11 +0000 (01:22 +0000)]
Really fix bug 26131: just putting the site+user <link> at the bottom of the <head> isn't good enough if the client-side loader is gonna add dynamically populated <style> tags below it later, so we need those dynamic <style> tags to go before the site+user <link> but after the skin <link>. Make OutputPage insert a <meta> tag between these two, marking the spot for the client side load which inserts dynamic <style> tags above this <meta> tag rather than at the end of the <head>

13 years agocorrecting comments in mw.util
Krinkle [Fri, 24 Dec 2010 01:06:29 +0000 (01:06 +0000)]
correcting comments in mw.util

13 years agoPorting tocToggle to ResourceLoader
Krinkle [Fri, 24 Dec 2010 00:55:20 +0000 (00:55 +0000)]
Porting tocToggle to ResourceLoader
* Path is now set to sitewide rather than current path so that it doesn't apply to just the current article but to the entire domain (fixes bug 26324)
* To avoid cookievalue being overriden by an older cookie from the legacy code (which had a more specific path and thus overrides it), using a different cookiename now ("mw_hidetoc" instead of "hidetoc")

13 years agoImproving jquery.makeCollapsible:
Krinkle [Thu, 23 Dec 2010 23:34:32 +0000 (23:34 +0000)]
Improving jquery.makeCollapsible:
* Setting toggle function in a variable to easier reuse it through the plugin
* Replace "-hide" and "-show" classes with "expanded" and "collapsed" respectively
* For more flexibility, if there's a toggle-element already, bind the function to it and use it instead. Otherwise, just create one as usual. See [[betawiki:User:Krinkle/CollapsingTestpageKr#footer|CollapsingTestpageKr#Combination example]]
** It's more likely that the source has a custom position of the togglelink waiting for it to be bound, then it to be already bound.
* Some comments improved
* Message key "hide" to "collapsible-collapse" (Follow-up r78915 CR)
* Message key "show" to "collapsible-expand"
* Changed toggle-link content filling from html() to text() (message errors like <keyname> caused an HTML-element to be created)

13 years agoFollowup r78933: reapply r78802
Roan Kattouw [Thu, 23 Dec 2010 23:28:12 +0000 (23:28 +0000)]
Followup r78933: reapply r78802

13 years agoRevert r78023 and its follow-up r78802: change seems to have been made for somewhat...
Roan Kattouw [Thu, 23 Dec 2010 23:26:10 +0000 (23:26 +0000)]
Revert r78023 and its follow-up r78802: change seems to have been made for somewhat cosmetic reasons ("it makes more sense for this to be here rather than there") and breaks stuff. Will reapply typo fix from r78802 in next commit

13 years agoSome test cleanup.
Priyanka Dhanda [Thu, 23 Dec 2010 23:12:31 +0000 (23:12 +0000)]
Some test cleanup.

13 years agoRevert r78903, r78904, r78905, r78906 (changing opendir() to use sfFinder class)...
Chad Horohoe [Thu, 23 Dec 2010 21:49:01 +0000 (21:49 +0000)]
Revert r78903, r78904, r78905, r78906 (changing opendir() to use sfFinder class) per CR and wikitech-l objections.
It's arguable whether the code is cleaner either way, and adding all this code for the (relatively few) places we do file listings just isn't worth it.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 23 Dec 2010 21:06:31 +0000 (21:06 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-23 20:39:00 UTC)

13 years ago(bug 26399) Preload module info for all modules in startup module, to prevent lots...
Roan Kattouw [Thu, 23 Dec 2010 21:01:54 +0000 (21:01 +0000)]
(bug 26399) Preload module info for all modules in startup module, to prevent lots of individual queries. Also improve preloadModuleInfo() to register the absence of message blobs for modules that do have messages (they were being missed because they were expected to have blobs for this reason)

13 years ago* Fix r78774 for Oracle and Postgres, broke by method rename
Chad Horohoe [Thu, 23 Dec 2010 20:24:11 +0000 (20:24 +0000)]
* Fix r78774 for Oracle and Postgres, broke by method rename
* Get rid of Postgres version check, already handled by PostgresInstaller::submitConnectForm()

13 years agoProper exception handling in ResourceLoader. Catch exceptions and output them in...
Roan Kattouw [Thu, 23 Dec 2010 20:14:18 +0000 (20:14 +0000)]
Proper exception handling in ResourceLoader. Catch exceptions and output them in comments. Instead of just surrounding everything in a big try { } block, catch module-level exceptions where possible to allow error-free modules loaded in the same request to still be output normally. Modules that don't get output because of an exception are marked as missing in the client-side loader so other modules depending on them won't get loaded either.

13 years agoAnother variable type hint, and some function documentation
Sam Reed [Thu, 23 Dec 2010 20:00:02 +0000 (20:00 +0000)]
Another variable type hint, and some function documentation

13 years agoMore minor bits of documentation
Sam Reed [Thu, 23 Dec 2010 19:53:28 +0000 (19:53 +0000)]
More minor bits of documentation

Object type hint on mPrinter

13 years agoremoving cursor style from JS, adding to CSS file instead
Krinkle [Thu, 23 Dec 2010 19:42:26 +0000 (19:42 +0000)]
removing cursor style from JS, adding to CSS file instead

13 years agofixing comment in jquery.makeCollapsible.js (in mw 'jquery' is written in lowercase...
Krinkle [Thu, 23 Dec 2010 19:27:43 +0000 (19:27 +0000)]
fixing comment in jquery.makeCollapsible.js (in mw 'jquery' is written in lowercase in filenames

13 years agowhitespace according to mw conventions + using mw.msg instead of english hardcoding
Krinkle [Thu, 23 Dec 2010 19:26:30 +0000 (19:26 +0000)]
whitespace according to mw conventions + using mw.msg instead of english hardcoding

13 years agoadding jQuery.makeCollapsible plugin
Krinkle [Thu, 23 Dec 2010 19:25:16 +0000 (19:25 +0000)]
adding jQuery.makeCollapsible plugin

13 years agoAdd some method documentation
Sam Reed [Thu, 23 Dec 2010 19:24:38 +0000 (19:24 +0000)]
Add some method documentation

13 years agoFix r78897: remove dependency on makeCollapsible as well
Roan Kattouw [Thu, 23 Dec 2010 18:38:24 +0000 (18:38 +0000)]
Fix r78897: remove dependency on makeCollapsible as well

13 years agoFollowup to r78903: Add proper SVN info
X! [Thu, 23 Dec 2010 18:28:25 +0000 (18:28 +0000)]
Followup to r78903: Add proper SVN info

13 years agoFollowup to r78903: Forgot to svn add
X! [Thu, 23 Dec 2010 18:22:10 +0000 (18:22 +0000)]
Followup to r78903: Forgot to svn add

13 years agoPer discussion on mailing list, modifying some uses of opendir()/readdir()/closedir...
X! [Thu, 23 Dec 2010 18:20:13 +0000 (18:20 +0000)]
Per discussion on mailing list, modifying some uses of opendir()/readdir()/closedir() to use new sfFinder class.

13 years agodidn't mean to commit this
Krinkle [Thu, 23 Dec 2010 17:50:52 +0000 (17:50 +0000)]
didn't mean to commit this

13 years agousing .append() instead of innerHTML+=. The latter replaces the html and causes all...
Krinkle [Thu, 23 Dec 2010 16:36:37 +0000 (16:36 +0000)]
using .append() instead of innerHTML+=. The latter replaces the html and causes all bound event handlers to be list

13 years agoFollow-up r78865 CR
Happy-melon [Thu, 23 Dec 2010 16:21:06 +0000 (16:21 +0000)]
Follow-up r78865 CR

13 years agoFollow-up r78865 CR; restore arrow helper functions, fixing fatal on TWN.
Happy-melon [Thu, 23 Dec 2010 15:03:24 +0000 (15:03 +0000)]
Follow-up r78865 CR; restore arrow helper functions, fixing fatal on TWN.

13 years agoFix JS errors thrown by SimpleSearch: add dependency from jquery.autoEllipsis to...
Roan Kattouw [Thu, 23 Dec 2010 14:16:20 +0000 (14:16 +0000)]
Fix JS errors thrown by SimpleSearch: add dependency from jquery.autoEllipsis to jquery.highlightText, and fix the latter for the RegExp.escape() -> $.escapeRE() rename

13 years agoFollowup r78539: don't renew a cookie that expires at the end of the session anyway...
Roan Kattouw [Thu, 23 Dec 2010 14:07:25 +0000 (14:07 +0000)]
Followup r78539: don't renew a cookie that expires at the end of the session anyway, no point in doing that.