lhc/web/wiklou.git
13 years agoFollow up r79109.
Platonides [Wed, 29 Dec 2010 15:01:47 +0000 (15:01 +0000)]
Follow up r79109.
Don't setup/destroy for databaseless tests.
Make needsDB() return based on the DocComment.
Delayed db init until the test is run, so that it isn't set for excluded tests (the exclusion is done after all the classes are instantiated).

13 years agoAdd main contributors in SpecialVersion to README and index.php as well
Bryan Tong Minh [Wed, 29 Dec 2010 11:57:52 +0000 (11:57 +0000)]
Add main contributors in SpecialVersion to README and index.php as well

13 years ago-Set configuration automatically if not set. This allows for evasion of the makefile...
X! [Wed, 29 Dec 2010 05:38:11 +0000 (05:38 +0000)]
-Set configuration automatically if not set. This allows for evasion of the makefile, ergo, more control.
-Remove instances of @covers; they were breaking code-coverage

13 years agoPartial revert of r79154. hexmode asserts that these work, even though I keep getting...
X! [Wed, 29 Dec 2010 03:35:17 +0000 (03:35 +0000)]
Partial revert of r79154. hexmode asserts that these work, even though I keep getting OK (0 tests, 0 assertions)

13 years agoMake MediaWikiParserTest work now in PHPUnit. There are still a few bugs, such as...
X! [Wed, 29 Dec 2010 02:23:51 +0000 (02:23 +0000)]
Make MediaWikiParserTest work now in PHPUnit. There are still a few bugs, such as stopping tests if one fails,
lack of fuzz testing and other parser test options, and the DB creation is still a little flaky.
A MediaWikiPHPUnitCommand class had to be created to allow for custom CLI parameters.

13 years agoFollowup to r79094, PG handles temporary tables correctly so you dont need to do...
OverlordQ [Tue, 28 Dec 2010 22:26:45 +0000 (22:26 +0000)]
Followup to r79094, PG handles temporary tables correctly so you dont need to do cleanup

13 years agoFix hardcoded debugging from r79093
Chad Horohoe [Tue, 28 Dec 2010 22:20:01 +0000 (22:20 +0000)]
Fix hardcoded debugging from r79093

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

13 years agoadd Roan to Special:Version credits
Jack Phoenix [Tue, 28 Dec 2010 20:46:12 +0000 (20:46 +0000)]
add Roan to Special:Version credits

13 years agoAdd test to supplement Bug 26425 (followup to r79013)
X! [Tue, 28 Dec 2010 19:27:34 +0000 (19:27 +0000)]
Add test to supplement Bug 26425 (followup to r79013)

13 years agoAdd BlockTest unit test
X! [Tue, 28 Dec 2010 19:12:27 +0000 (19:12 +0000)]
Add BlockTest unit test

13 years agoNewDBTest does not need the function anymore.
X! [Tue, 28 Dec 2010 18:47:09 +0000 (18:47 +0000)]
NewDBTest does not need the function anymore.
Fixed bug that caused a catchable fatal error (fix from r79117)

13 years agoFix bug 14404. The articles are now always saved with the default options.
Platonides [Tue, 28 Dec 2010 18:44:32 +0000 (18:44 +0000)]
Fix bug 14404. The articles are now always saved with the default options.
Most importantily, articles with {{int:X}} will now have consistent table
links no matter the language of the last saving user.
Existing articles with broken tables will be updated on a null edit (a purge is not enough).

Test added in r79121.

13 years agoAdd failing test for bug 14404.
Platonides [Tue, 28 Dec 2010 18:43:49 +0000 (18:43 +0000)]
Add failing test for bug 14404.

13 years agoFix r79109: listTables() does not work without a prefix, and verified that SQLite...
X! [Tue, 28 Dec 2010 18:30:03 +0000 (18:30 +0000)]
Fix r79109: listTables() does not work without a prefix, and verified that SQLite works now

13 years agoAdd @covers annotations to IP tests
Chad Horohoe [Tue, 28 Dec 2010 18:23:43 +0000 (18:23 +0000)]
Add @covers annotations to IP tests

13 years ago* verbose and color default output from phpunit
Chad Horohoe [Tue, 28 Dec 2010 18:17:16 +0000 (18:17 +0000)]
* verbose and color default output from phpunit
* Make a bunch of tests subclass MediaWikiTestCase
* Parser tests and ResourceLoaderTest can't subclass it yet due to various issues

13 years agoPlay safe and clear the article object internals, too (eg. mTouched).
Platonides [Tue, 28 Dec 2010 18:16:46 +0000 (18:16 +0000)]
Play safe and clear the article object internals, too (eg. mTouched).

13 years agoThis precondition is no longer needed after r78393
Platonides [Tue, 28 Dec 2010 18:15:48 +0000 (18:15 +0000)]
This precondition is no longer needed after r78393

13 years agoFollowup to r79109: Use a clean DB by default for each test
X! [Tue, 28 Dec 2010 18:10:18 +0000 (18:10 +0000)]
Followup to r79109: Use a clean DB by default for each test

13 years agoFollowup r79112: missed one rename
Chad Horohoe [Tue, 28 Dec 2010 17:51:07 +0000 (17:51 +0000)]
Followup r79112: missed one rename

13 years agoRename MediaWikiTestSetup to MediaWikiTestCase: this is going to be the base class...
Chad Horohoe [Tue, 28 Dec 2010 17:45:33 +0000 (17:45 +0000)]
Rename MediaWikiTestSetup to MediaWikiTestCase: this is going to be the base class for all unit tests from now on

13 years agoIt's here! It's finally here! The skies are falling, pigs have sprouted wings, and...
X! [Tue, 28 Dec 2010 17:15:50 +0000 (17:15 +0000)]
It's here! It's finally here! The skies are falling, pigs have sprouted wings, and it's pretty cold in hell!

-Add a working PHPUnit test that instantiates a new DB, adds set data, and deleted when done.
-Add listTables() to the Database classes (only MySql and SQLite use it, and only MySQL is tested)

13 years agoSet $wgAdaptiveMessageCache for parserTests until NikeRabbit fixes r78179
Platonides [Tue, 28 Dec 2010 15:54:51 +0000 (15:54 +0000)]
Set $wgAdaptiveMessageCache for parserTests until NikeRabbit fixes r78179

13 years agoassertType() is deprecated, switching usages tp assertInternalType() and assertInstan...
X! [Tue, 28 Dec 2010 15:13:42 +0000 (15:13 +0000)]
assertType() is deprecated, switching usages tp assertInternalType() and assertInstanceOf()

13 years agoFollow up r23393, also remove the getter method
Niklas Laxström [Tue, 28 Dec 2010 09:54:25 +0000 (09:54 +0000)]
Follow up r23393, also remove the getter method

13 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Tue, 28 Dec 2010 09:30:48 +0000 (09:30 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

13 years agoWrong URL in README
X! [Tue, 28 Dec 2010 04:08:25 +0000 (04:08 +0000)]
Wrong URL in README

13 years agoNitpick r79094: fix var names
Chad Horohoe [Tue, 28 Dec 2010 01:22:38 +0000 (01:22 +0000)]
Nitpick r79094: fix var names

13 years agoFollowup r79093: Move DROP TABLE code to Database classes and properly rename back...
Chad Horohoe [Tue, 28 Dec 2010 01:19:16 +0000 (01:19 +0000)]
Followup r79093: Move DROP TABLE code to Database classes and properly rename back to original table prefix in destroyDatabase()

13 years agoRefactor table cloning code into its own class so it can maybe be used by things...
Chad Horohoe [Tue, 28 Dec 2010 00:44:16 +0000 (00:44 +0000)]
Refactor table cloning code into its own class so it can maybe be used by things other than the parser tests

13 years ago* Follow-up r79087. Applying to other skins that have similar article styling in...
Krinkle [Mon, 27 Dec 2010 23:23:55 +0000 (23:23 +0000)]
* Follow-up r79087. Applying to other skins that have similar article styling  in relation to headings and thumbs.
* Follow-up r79086. Fixing margin (I shouldn't have added the numbers, caused the margins to be a litle bigger then they were, now they're the same as before the border>margin change)

13 years agoComment out "subscribe to mediawiki-l" feature until we actually implement it. I...
Chad Horohoe [Mon, 27 Dec 2010 23:02:13 +0000 (23:02 +0000)]
Comment out "subscribe to mediawiki-l" feature until we actually implement it. I'd really like to see this working, but we need to build some sort of API for Mailman.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 27 Dec 2010 21:17:44 +0000 (21:17 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-27 20:57:00 UTC)

13 years agoAdding overflow:hidden to heading elements in Vector.
Krinkle [Mon, 27 Dec 2010 20:53:11 +0000 (20:53 +0000)]
Adding overflow:hidden to heading elements in Vector.

This has been tested in Vector in a large number of browsers to not have side effects and only making the underline no longer shine through transparent borders or margins of thumbs.
Also, due to float clearing abilities of overflow:hidden (it's all over the internet) this also causes the editsection link to no longer be stacked down (see en.wiki WP:BUNCH), see bug 26449.

13 years agoRoom around thumbs should be margin, not a transparent border.
Krinkle [Mon, 27 Dec 2010 20:45:07 +0000 (20:45 +0000)]
Room around thumbs should be margin, not a transparent border.

.tleft / .tright { border-width: 0.5em 0 0.8em 1.4em; }
becomes: "margin: 0.5em 0 0.8em 1.4em;"
adding ".thumb margin-bottom: 0.5em;" becomes: "margin: 0.5em 0 1.3em 1.4em;"
* Related to r79010

13 years agoFollow-up r79084: synchronise keys.
Happy-melon [Mon, 27 Dec 2010 20:02:10 +0000 (20:02 +0000)]
Follow-up r79084: synchronise keys.

13 years agoFollow-up r79083: Fix notices on TW.
Happy-melon [Mon, 27 Dec 2010 19:50:51 +0000 (19:50 +0000)]
Follow-up r79083: Fix notices on TW.

13 years agoRefactoring in RecentChanges/Watchlist:
Happy-melon [Mon, 27 Dec 2010 19:07:28 +0000 (19:07 +0000)]
Refactoring in RecentChanges/Watchlist:
* Use new jQuery/RL collapsible implementation, remove legacy JS.
* Refactor ChangesList::flag() and ChangesList::recentChangesFlags(), the latter to now take an array rather than a growing list of out-of-order parameters.
* Resolve the FIXME requested in r44421 (just passed its second birthday :D) by replacing extract() calls with direct references.

13 years agoIf running against the grid, there's no need to start and stop the server in localhost.
Platonides [Mon, 27 Dec 2010 18:56:31 +0000 (18:56 +0000)]
If running against the grid, there's no need to start and stop the server in localhost.

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)