Krinkle [Sun, 22 May 2011 21:54:32 +0000 (21:54 +0000)]
Update our jQuery from 1.4.4 to the latest version of 1.5 (1.5.2). See also bug 28904.
Sam Reed [Sun, 22 May 2011 19:21:22 +0000 (19:21 +0000)]
* (bug 28272) Special:Allmessages should have only one "Go" button
Patch by MZMcBride
Alexandre Emsenhuber [Sun, 22 May 2011 18:38:04 +0000 (18:38 +0000)]
Moved MediaWiki::articleFromTitle() to Article::newFromTitle(), this has nothing to do in the MediaWiki class
Chad Horohoe [Sun, 22 May 2011 18:05:17 +0000 (18:05 +0000)]
$wgArticle ain't needed here either ;) (followup r88588)
Chad Horohoe [Sun, 22 May 2011 17:59:47 +0000 (17:59 +0000)]
$wgArticle is deprecated! Possible removal in 1.20 or 1.21!
* Encapsulate index.php in wfIndexMain() (similar to r77873)
* Kill $wgArticle check in Exception, not necessary anymore
* Kill $wgArticle in Setup, also not necessary
* Add angry note about $wgArticle to rebuildFileCache.
* Remove note about $wgArticle in Parser since it's dying anyway
Chad Horohoe [Sun, 22 May 2011 17:57:29 +0000 (17:57 +0000)]
Just throw an exception, rather than calling wfDie()
Krinkle [Sun, 22 May 2011 10:40:57 +0000 (10:40 +0000)]
Adding fixme note for bug 29088.
Alexandre Emsenhuber [Sun, 22 May 2011 08:41:24 +0000 (08:41 +0000)]
Simplify a bit message existence checks, and also check existence of grouppage-* messages in content language
Krinkle [Sun, 22 May 2011 08:33:34 +0000 (08:33 +0000)]
Highlighting breaking change
Alexandre Emsenhuber [Sun, 22 May 2011 08:24:07 +0000 (08:24 +0000)]
Use wfMessage() so that we can check message existence in content language instead of user language
Krinkle [Sat, 21 May 2011 23:41:41 +0000 (23:41 +0000)]
Follow-up r88554: Passing null for now, fixed php error about missing arguments.
Chad Horohoe [Sat, 21 May 2011 23:22:47 +0000 (23:22 +0000)]
Report importDump to subclass Maintenance
Krinkle [Sat, 21 May 2011 23:14:53 +0000 (23:14 +0000)]
Passing token paremeter in mw.action.watch.ajax since this is required as of r88522.
Follow-up: r88511, r88522, r88527, r88553
Krinkle [Sat, 21 May 2011 22:52:32 +0000 (22:52 +0000)]
Adding user.tokens module and loading by default. (ResourceLoaderUserTokensModule Class)
Krinkle [Sat, 21 May 2011 21:05:55 +0000 (21:05 +0000)]
Changing float to text-align for conveniencelinks and editreasons links. Since headings have overflow:hidden this is causing the border to stop when this block is touched (atleast in Chrome/Safari), since headings don't clear float. This doesn't have to be a float from what I can see and is better done as text-align so that any later elements on the page will not be affected by the page flow.
Remove the line from Vector's main.css since it was already in shared.css
Niklas Laxström [Sat, 21 May 2011 20:39:31 +0000 (20:39 +0000)]
Quick unbreak r88495: initialising the variable caused it not to be filled with messages
Raimond Spekking [Sat, 21 May 2011 20:30:39 +0000 (20:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-21 20:20:00 UTC)
Krinkle [Sat, 21 May 2011 20:06:58 +0000 (20:06 +0000)]
Putting debughtml after visualClear in Vector skin. Messed up Special:UserLogin (debug starts to the right of the form. Doesn't affect other skins.
Sam Reed [Sat, 21 May 2011 20:06:57 +0000 (20:06 +0000)]
More documentation updates and additions
Getting bored of this tonight now I think...
Sam Reed [Sat, 21 May 2011 19:55:05 +0000 (19:55 +0000)]
Lots more documentation lines to MagicWord
Sam Reed [Sat, 21 May 2011 19:54:24 +0000 (19:54 +0000)]
More documentation tweaks and updates
Krinkle [Sat, 21 May 2011 19:46:32 +0000 (19:46 +0000)]
Follow-up r88527: Fix array item name
Sam Reed [Sat, 21 May 2011 19:36:03 +0000 (19:36 +0000)]
More comment updates, addition of some braces also
Sam Reed [Sat, 21 May 2011 19:35:16 +0000 (19:35 +0000)]
Fix function level comments that start with /* not /**
Sam Reed [Sat, 21 May 2011 19:22:01 +0000 (19:22 +0000)]
More documentation
Addition of spaces according to our coding style guidelines
Sam Reed [Sat, 21 May 2011 19:07:24 +0000 (19:07 +0000)]
More adding, updating and tweaking of documentation
Krinkle [Sat, 21 May 2011 18:33:48 +0000 (18:33 +0000)]
Fixing mediawiki.action.watch.ajax
* Adding error capturing in case there is an error (either in the API or with the request itself). Right now if it fails it just keeps reading "Watching..." and no error is displayed.
This lack became visible when r88522 changed ApiWatch to require a token and POST.
* Added message 'watcherrortext'.
* Moved messages-array in Resources.php form legacy.ajax to action.watch.ajax (looks like this was forgotten in r78147)
* Switched it to make a POST request in preparation of making it work with the changed API backend as of r88522.
Alexandre Emsenhuber [Sat, 21 May 2011 18:32:18 +0000 (18:32 +0000)]
* (bug 29047) Follow-up r86508, update RELEASE-NOTES entry
Sam Reed [Sat, 21 May 2011 17:45:20 +0000 (17:45 +0000)]
Fixup/add documentation
Remove trailing whitespace
Chad Horohoe [Sat, 21 May 2011 17:20:12 +0000 (17:20 +0000)]
wfDeprecated() plus doc update
Sam Reed [Sat, 21 May 2011 16:38:40 +0000 (16:38 +0000)]
* (bug 29070) Add token to action=watch
Krinkle [Sat, 21 May 2011 12:27:24 +0000 (12:27 +0000)]
Follow-up r88513: /me blames Chrome for ignoring trailing comma's in object notation
Krinkle [Sat, 21 May 2011 11:26:27 +0000 (11:26 +0000)]
Adding mw.util.wikiScript + small fix in mediawiki.action.watch.ajax.js
* Moving wiki* functions together in mediawiki.util.js
* Adding Adding mw.util.wikiScript (like wfScript() in GlobalFunctions.php)
* Adding test suite for it
* Example to use it in mediawiki.action.watch.ajax.js
* (bug 29071) mediawiki.action.watch.ajax.js doesn't use uselang
Krinkle [Sat, 21 May 2011 11:06:52 +0000 (11:06 +0000)]
Removing wgAjaxWatch javascript global object.
* Not in use anywhere in /trunk: http://toolserver.org/~krinkle/wikimedia-svn-search/view.php?id=199&hash=
b56d9bd81e14ebca5e02ce7cbc19c2b6#F5 (never has been from what I can remember)
* Wrapping in an IIFE instead with local variables.
* Removed unused "supported" variable (it was declared and then checked to see if it's false), jQuery takes care of this in $.ajax (through $.getJSON etc.)
Antoine Musso [Sat, 21 May 2011 09:27:17 +0000 (09:27 +0000)]
qunit: add some tests for getActionFrom / getTitleFrom
fu r88276
Antoine Musso [Sat, 21 May 2011 09:16:59 +0000 (09:16 +0000)]
Fix the mw.loader when running test with a file:// URL
When running the tests using a local url, the href will include index.html
which was not stripped by the regular expression. This patch capture path
tokens which are not followed by 'index.html' (regexp lookahead).
Let us run tests using file://path/tests/qunit/index.html
Brian Wolff [Sat, 21 May 2011 03:41:16 +0000 (03:41 +0000)]
(bug 29031) When translating block log entries, indefinite, infinite, and
infinity are now considered the same.
Before it just looked at the translations of the options for the drop down on
special:block, now it still does that, but if that fails, and the string
is infinite/indefinite/infinity, it will also check for the synonyms.
Mark A. Hershberger [Sat, 21 May 2011 00:15:14 +0000 (00:15 +0000)]
r88502 tabs, not spaces.
Mark A. Hershberger [Sat, 21 May 2011 00:02:00 +0000 (00:02 +0000)]
Trial commit to fix bug #29043: “The 'Contents box' in the "Printable version" rendering is stupid”
Other people should try my patch and see if they agree that printing the
contents box on paper is stupid. Just commenting on the bug with your
opinion would be helpful.
Mark A. Hershberger [Fri, 20 May 2011 23:36:26 +0000 (23:36 +0000)]
Patch for Bug #29040, “Web installer fails to show help boxes”
fix from William Demchick
Mark A. Hershberger [Fri, 20 May 2011 22:27:05 +0000 (22:27 +0000)]
Followup r88118. Fix Bug 28979 — “remove some CSS for abbr and acronym
tags”
Add missing fix for monobook.
Chad Horohoe [Fri, 20 May 2011 22:08:04 +0000 (22:08 +0000)]
Cleanup to extension directory checks. Saves a check for something silly like /extensions/README/README.php
Sam Reed [Fri, 20 May 2011 22:03:10 +0000 (22:03 +0000)]
Whitespace
Documentation
Other related stuffs
Sam Reed [Fri, 20 May 2011 22:01:50 +0000 (22:01 +0000)]
* (bug 29063) When viewing list=recentchanges&rcprop=loginfo for an unblock entry, get undefined index
Unblocks have no params, so skip adding info
Sam Reed [Fri, 20 May 2011 21:47:38 +0000 (21:47 +0000)]
* (bug 20699) API watchlist should list log-events
Also add "loginfo" from recentchanges/logevents
Platonides [Fri, 20 May 2011 21:42:41 +0000 (21:42 +0000)]
Do not block the installer (through an unhandled exception) when we can't connect to ourself.
Sam Reed [Fri, 20 May 2011 21:30:35 +0000 (21:30 +0000)]
Similarise queries to that of SpecialWatchlist
Raimond Spekking [Fri, 20 May 2011 20:22:23 +0000 (20:22 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-20 20:10:00 UTC)
Max Semenik [Fri, 20 May 2011 20:14:51 +0000 (20:14 +0000)]
Tweak message from r88475
Siebrand Mazeland [Fri, 20 May 2011 19:31:29 +0000 (19:31 +0000)]
Tweak 'config-mysql-myisam-dep' (added in r88475).
Sam Reed [Fri, 20 May 2011 19:31:19 +0000 (19:31 +0000)]
Add spacing, fix bracing
Update some skin calls to wgUser to getSkin() on SpecialPage
Mark A. Hershberger [Fri, 20 May 2011 18:26:59 +0000 (18:26 +0000)]
Patch for Bug #28669, “Scream bloody murder when user chooses MyISAM and InnoDB is available”
From William Demchick
Mark A. Hershberger [Fri, 20 May 2011 18:20:16 +0000 (18:20 +0000)]
w/s cleanup
Platonides [Fri, 20 May 2011 18:01:17 +0000 (18:01 +0000)]
Even it shouldn't happen, let's remove the var_dump() from the code.
Follow up to r87804
Sam Reed [Fri, 20 May 2011 17:38:05 +0000 (17:38 +0000)]
While looking at bug 26990 on TW api, it was noticed with a load of NS's they don't word wrap
So make them wordwrap like the rest of the text
Sam Reed [Fri, 20 May 2011 17:19:06 +0000 (17:19 +0000)]
* (bug 28578) API's parse module should not silently override invalid title inputs
Krinkle [Fri, 20 May 2011 17:03:44 +0000 (17:03 +0000)]
adding overflow:hidden; to .mw.infobox in shared.css. During the installation the orange box is having it's border messing through the sidebar, adding overfow:hidden solves this.
Alexandre Emsenhuber [Fri, 20 May 2011 10:55:34 +0000 (10:55 +0000)]
Groupped array manipulation functions at the top of GlobalFunctions.php
Jure Kajzer [Fri, 20 May 2011 10:18:39 +0000 (10:18 +0000)]
* added Oracle to compatibility list
Brian Wolff [Fri, 20 May 2011 04:51:59 +0000 (04:51 +0000)]
(bug 29055) Make don't send email on minor edits preference apply to
changes to talk page in addition to watchlist edits.
Sam Reed [Thu, 19 May 2011 21:43:58 +0000 (21:43 +0000)]
Per NikeRabbit on r88174, allow capitals in the regex
Krinkle [Thu, 19 May 2011 21:35:32 +0000 (21:35 +0000)]
QUnit reorganization
* Moved QUnit directory from /resources/test/ to /tests/qunit/.
* Includes an .htaccess file in /tests/qunit/ to allow reading this from the browser (since /tests/.htaccess disallows this by default, as it should)
* Deleted "/unit/main.css" which wasn't used for anything (was an idea I had but redundant now)
* Renamed /qunit/unit/ to /qunit/suites/
* Re-organized structure within /suites/ to match that of MediaWiki's. (ie. /resources/jquery, /resources/mediawiki.util etc.)
This will make it easier to write a "check if all JS have a test suite" thingy.
* Added a few "Clean up" sections in the test suites to remove added elements (namely added portlet links)
Raimond Spekking [Thu, 19 May 2011 21:27:39 +0000 (21:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-19 20:54:00 UTC)
Sam Reed [Thu, 19 May 2011 21:13:03 +0000 (21:13 +0000)]
Fix 2 things from CR in r88047, and one not noticed
Chad Horohoe [Thu, 19 May 2011 19:56:26 +0000 (19:56 +0000)]
Revert r88399 (delete fuzz-tester). Apparently people use it ;-)
Roan Kattouw [Thu, 19 May 2011 19:48:50 +0000 (19:48 +0000)]
(bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is added to the textarea on the edit form. Patch by Erwin Dokter
Rotem Liss [Thu, 19 May 2011 19:03:24 +0000 (19:03 +0000)]
Localization update for he.
Antoine Musso [Thu, 19 May 2011 17:51:16 +0000 (17:51 +0000)]
Single messages can be passed as strings to Api::dieUsageMsg()
Since r88045
Alexandre Emsenhuber [Thu, 19 May 2011 17:31:32 +0000 (17:31 +0000)]
Correct case in function call: wfGetDb() -> wfGetDB()
Antoine Musso [Thu, 19 May 2011 17:23:35 +0000 (17:23 +0000)]
wgIniGetBool -> wfIniGetBool (typo, fu 88391)
Robin Pepermans [Thu, 19 May 2011 17:09:04 +0000 (17:09 +0000)]
Add release note for fixing bug 4330 (r88385)
Sam Reed [Thu, 19 May 2011 00:27:57 +0000 (00:27 +0000)]
Unmaintained and unused
Bye Bye
Sam Reed [Thu, 19 May 2011 00:15:16 +0000 (00:15 +0000)]
Fix somewhat duplicated class names in fuzz-tester.php
Sam Reed [Thu, 19 May 2011 00:03:31 +0000 (00:03 +0000)]
Add/remove/tweak method documentation
Krinkle [Wed, 18 May 2011 22:10:32 +0000 (22:10 +0000)]
* Remove commented-out debug call (FU r88143)
* Update comment to reflect changes to function (FU r87208)
Antoine Musso [Wed, 18 May 2011 20:33:47 +0000 (20:33 +0000)]
use string as callback when possible (since PHP 5.2.3)
Krinkle [Wed, 18 May 2011 20:31:28 +0000 (20:31 +0000)]
Changing console.log(e) to a throw. console.log makes it go toString() which is pretty much the same as the e.message in the console.log call above it. This also made it impossible for QUnit to get it's hand on the actual error. Fixed it by moing it outside of the if statement so it can be caught.
Antoine Musso [Wed, 18 May 2011 20:28:44 +0000 (20:28 +0000)]
Makes sure wgAdditionalMailParams is null in safe mode
The global is used for a call to PHP mail() function as a way to add
additional parameters. This will cause mail() to send E_NOTICE when
using safe mode.
Since we could use the global at different places, it makes sens to
ensure it has a sane value through Setup.php
Follow up r75557
Antoine Musso [Wed, 18 May 2011 20:17:26 +0000 (20:17 +0000)]
makes UserMailer::send() a bit simpler
* $contentType now default to 'text/plain; charset=UTF-8';
* uses array instead of string concatenations
Raimond Spekking [Wed, 18 May 2011 20:12:29 +0000 (20:12 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-18 20:01:00 UTC)
Robin Pepermans [Wed, 18 May 2011 19:44:01 +0000 (19:44 +0000)]
Per discussion, only apply to .free and .autonumber (so custom link texts are not broken)
Robin Pepermans [Wed, 18 May 2011 19:36:12 +0000 (19:36 +0000)]
Follow-up to r88378 & r88379: move to common/shared.css (appropriate place) and add @noflip
Alexandre Emsenhuber [Wed, 18 May 2011 19:29:50 +0000 (19:29 +0000)]
DB_READ -> DB_SLAVE, the former is obsolete
Krinkle [Wed, 18 May 2011 19:19:35 +0000 (19:19 +0000)]
Applying patch by Ryan Kaldari (bug 28690): Adding border to jQuery UI 'vector' theme dialog
Robin Pepermans [Wed, 18 May 2011 18:10:40 +0000 (18:10 +0000)]
fix r88378: fix CSS id in modern skin
Robin Pepermans [Wed, 18 May 2011 18:03:06 +0000 (18:03 +0000)]
(bug 4330) External URLs should always be treated as LTR, also in RTL text (CSS fix thanks to Amir Aharoni)
Krinkle [Wed, 18 May 2011 17:58:38 +0000 (17:58 +0000)]
QUnit test suite improvements
* [jquery.autoEllipsis.js] Adding check to verify that span exists and is the only and direct child
* [mediawiki.js] Deleting window.awesome after the test is ran. This will make the test suite pass QUnit's "No globals" mode which is useful to detect if a module introduced an (implied) global variable.
Roan Kattouw [Tue, 17 May 2011 22:19:27 +0000 (22:19 +0000)]
Add simple test for jquery.autoEllipsis
Krinkle [Tue, 17 May 2011 22:14:00 +0000 (22:14 +0000)]
Adding release notes for recent bug fixes and functionality added by me during the Berlin Hackathon 2011 (and the days afterwards)
Siebrand Mazeland [Tue, 17 May 2011 22:03:20 +0000 (22:03 +0000)]
Use consistent notation for "@todo FIXME". Should update svn.wikimedia.org/doc/todo.html nicely.
Krinkle [Tue, 17 May 2011 21:54:12 +0000 (21:54 +0000)]
Fixing typo from r55396 + code styl/whitespace
Platonides [Tue, 17 May 2011 21:21:21 +0000 (21:21 +0000)]
Follow up r87630. The file cache is now checked at reportHTML() which overrides the default implementation of MWException::reportHTML()
Raimond Spekking [Tue, 17 May 2011 20:25:48 +0000 (20:25 +0000)]
Raimond Spekking [Tue, 17 May 2011 18:41:07 +0000 (18:41 +0000)]
Revert r88046 due to revert of parent revision r88043.
Alexandre Emsenhuber [Tue, 17 May 2011 18:03:50 +0000 (18:03 +0000)]
Removed usage of error suppression operator
Krinkle [Tue, 17 May 2011 17:21:57 +0000 (17:21 +0000)]
Follow up r8832: Adding file extension (module name must match filename)
Krinkle [Tue, 17 May 2011 17:20:24 +0000 (17:20 +0000)]
Passing module to handlePending (bug 28998; Follow-up r88053)
Krinkle [Tue, 17 May 2011 17:19:12 +0000 (17:19 +0000)]
* Moving jQuery extend into its own module (jquery.mwPrototypes) (bug 27149; Introduced in r)
Niklas Laxström [Tue, 17 May 2011 13:29:45 +0000 (13:29 +0000)]
Typo
Mark A. Hershberger [Tue, 17 May 2011 11:56:53 +0000 (11:56 +0000)]
Follow up r88270 — remove commas from table creation that break a
sqlite install.