Roan Kattouw [Sat, 18 Feb 2012 10:36:32 +0000 (10:36 +0000)]
Proper $=jQuery aliasing in tablesorter test
Sam Reed [Sat, 18 Feb 2012 01:07:42 +0000 (01:07 +0000)]
Fix possibly undefined variables
Move $db further up
Return something on all paths
Andrew Garrett [Sat, 18 Feb 2012 00:42:41 +0000 (00:42 +0000)]
Add missing dependency of mediawiki.user to mediawiki.api.watch. May resolve some of bug 34450
Ryan Kaldari [Sat, 18 Feb 2012 00:08:06 +0000 (00:08 +0000)]
follow-up to r111802, we dont need internal document.ready trigger since the entire js file is inside a document.ready trigger now
Ryan Kaldari [Sat, 18 Feb 2012 00:06:05 +0000 (00:06 +0000)]
fix for bug 34466 - making sure mediawiki module isnt executed before the DOM is ready
Andrew Garrett [Fri, 17 Feb 2012 22:49:04 +0000 (22:49 +0000)]
Add both size *and* size difference on history page per bug 34449
Andrew Garrett [Fri, 17 Feb 2012 22:15:17 +0000 (22:15 +0000)]
Revert r97042, causes bug 34432
Alexandre Emsenhuber [Fri, 17 Feb 2012 22:14:31 +0000 (22:14 +0000)]
Use local context to get messages
Aaron Schulz [Fri, 17 Feb 2012 21:48:01 +0000 (21:48 +0000)]
(bug 34373) - 'populateRevisionSha1.php misses archive rows, whose text is stored directly in the archive table (not text table)'
Raimond Spekking [Fri, 17 Feb 2012 21:26:28 +0000 (21:26 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Amir E. Aharoni [Fri, 17 Feb 2012 17:46:31 +0000 (17:46 +0000)]
Replaced wrong order of digits and dollars in params - s/(\d)\$/$\1/g.
Antoine Musso [Fri, 17 Feb 2012 17:02:24 +0000 (17:02 +0000)]
(bug 34421) avoid duplicate Subject headers
r93397 duplicated the Subject header which was passed to the mail() function
as well as to the $headers array.
Siebrand Mazeland [Fri, 17 Feb 2012 16:09:12 +0000 (16:09 +0000)]
Localisation updates from translatewiki.net.
Siebrand Mazeland [Fri, 17 Feb 2012 15:43:13 +0000 (15:43 +0000)]
Cleanup of MessagesCps.php. Contained a bunch of empty strings.
Alexandre Emsenhuber [Fri, 17 Feb 2012 14:44:14 +0000 (14:44 +0000)]
* (bug 34471) Deleted contributions for IP addresses now works again
Ryan Kaldari [Fri, 17 Feb 2012 01:34:53 +0000 (01:34 +0000)]
changing jquery.ui buttons to match assets from brandon, also adding separate graphics for large buttons
Tim Starling [Fri, 17 Feb 2012 00:28:17 +0000 (00:28 +0000)]
Clarified comment per CR r111701
Tim Starling [Thu, 16 Feb 2012 23:27:00 +0000 (23:27 +0000)]
(bug 34428) Fixed hash mismatch errors in DiffHistoryBlob::patch() by simulating LibXDiff's broken Adler-32 implementation.
Roan Kattouw [Thu, 16 Feb 2012 22:56:44 +0000 (22:56 +0000)]
Move the IE memory leak prevention voodoo together to after the callback, and put it in a try catch block. The first statement after the callback seems to mysteriously fail in IE7 sometimes with a permission denied error. I think the root cause might be the fact that the callback itself also calls addScript()
Roan Kattouw [Thu, 16 Feb 2012 22:51:06 +0000 (22:51 +0000)]
Since I'm sick of all the mw.user-induced problems, break the dependency between mw.user.{options,tokens} and mw.user . With this change, mediawiki.js defines a skeleton object for mw.user containing just the options and tokens maps, and mediawiki.user.js copies those when it sets up the full mw.user object. This way of doing extending is kind of ugly but I don't have time to work on something nicer without breaking backwards compatibility. Because mw.user.{options,tokens} are loaded very early, this also means they're now guaranteed to be available to everything everywhere.
Platonides [Thu, 16 Feb 2012 21:32:53 +0000 (21:32 +0000)]
Fix r111590 typo.
Raimond Spekking [Thu, 16 Feb 2012 20:46:56 +0000 (20:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Brion Vibber [Thu, 16 Feb 2012 20:29:45 +0000 (20:29 +0000)]
* (bug 34445) section edit and TOC hide/show links are excluded from selection and copy/paste on supporting browsers
Tested on current Firefox, Chrome, Safari, Opera:
* Firefox excludes from select and copy
* Chrome, Safari exclude from select, but they turn up on the copy
* Opera doesn't seem to support the setting (event namespaced)
* IE not tested but 10 should support it if 9 doesn't
Sam Reed [Thu, 16 Feb 2012 20:13:35 +0000 (20:13 +0000)]
Merge r111667 into trunk
Aaron Schulz [Thu, 16 Feb 2012 18:22:09 +0000 (18:22 +0000)]
Improve error log formatting and added error message info for InvalidResponseException
Alexandre Emsenhuber [Thu, 16 Feb 2012 17:12:20 +0000 (17:12 +0000)]
Use local context to get message
Alexandre Emsenhuber [Thu, 16 Feb 2012 16:09:08 +0000 (16:09 +0000)]
Whitespaces fixes
Robin Pepermans [Thu, 16 Feb 2012 16:05:43 +0000 (16:05 +0000)]
(Bug 31417) Content-holding div needs an ID.
Since the introduction of the class mw-content-ltr/rtl, it has been used to get the page text which is very bad because there are two class names and it is not always on the same place (if at all). This ID will always hold the bodytext (excluding categories, ArticleFeedback, ...).
Antoine Musso [Thu, 16 Feb 2012 15:44:58 +0000 (15:44 +0000)]
remove debug statement from r111643
need REL1_19, 1.19wmf1 backports
Antoine Musso [Thu, 16 Feb 2012 15:40:32 +0000 (15:40 +0000)]
(bug 34420) - Special:Version should use git
You can test it using git init in our $IP and do a dummy commit with:
git commit -a RELEASE-NOTES-1.19
Then head to Special:Version and look at the magic version number.
This need a backport in REL1_19 / 1.19wmf1 since WMF is going to use
git "soon" (tm).
Alexandre Emsenhuber [Thu, 16 Feb 2012 12:59:48 +0000 (12:59 +0000)]
Added wfDeprecated() call to wfSpecialList() now there no more calls to that function in core or extensions
Antoine Musso [Thu, 16 Feb 2012 08:36:36 +0000 (08:36 +0000)]
always have $wgDoxyGenerateMan defined
r101807 introduced a new variable which was not always defined.
Aaron Schulz [Thu, 16 Feb 2012 05:04:17 +0000 (05:04 +0000)]
Fixed bogus call to method on a string
Sam Reed [Thu, 16 Feb 2012 02:52:46 +0000 (02:52 +0000)]
Make wfProfileOut call be the last thing before the return
Sam Reed [Thu, 16 Feb 2012 02:52:11 +0000 (02:52 +0000)]
Followup r107002
Add a TODO to do this via hook or similar
Sam Reed [Thu, 16 Feb 2012 02:44:31 +0000 (02:44 +0000)]
Add NewParserTest to TestsAutoLoader.php
Fix undefined variable in testHelpers.inc
Sam Reed [Thu, 16 Feb 2012 02:35:48 +0000 (02:35 +0000)]
Cleanup a few unused globals
Sam Reed [Thu, 16 Feb 2012 02:34:59 +0000 (02:34 +0000)]
Add missing >
Ping r111324
Sam Reed [Thu, 16 Feb 2012 02:05:49 +0000 (02:05 +0000)]
Bad Aaron
Sam Reed [Thu, 16 Feb 2012 02:01:00 +0000 (02:01 +0000)]
Add missing wfProfileOut( __METHOD__ );
Sam Reed [Thu, 16 Feb 2012 00:54:34 +0000 (00:54 +0000)]
Fix user related direct member variable access
Tim Starling [Thu, 16 Feb 2012 00:51:10 +0000 (00:51 +0000)]
Temp patch for bug 34428, merged from 1.19wmf1 r111602
Roan Kattouw [Wed, 15 Feb 2012 23:38:40 +0000 (23:38 +0000)]
Followup r110592: rename 'blocking' to 'async', and invert the logic everywhere. This makes blocking loading (async=false) the default as it was before. r110592 made async loading (blocking=false) the default, which caused backwards compatibility problems when page HTML generated by 1.18 interacted with the 1.19 version of mw.loader
Jeroen De Dauw [Wed, 15 Feb 2012 22:59:06 +0000 (22:59 +0000)]
comment out inclusion awaiting putting this stuff back after slush
Jeroen De Dauw [Wed, 15 Feb 2012 22:56:53 +0000 (22:56 +0000)]
Move to EP untill slush ends
Jeroen De Dauw [Wed, 15 Feb 2012 22:56:19 +0000 (22:56 +0000)]
Move to EP untill slush ends
Platonides [Wed, 15 Feb 2012 22:42:09 +0000 (22:42 +0000)]
Improve table comments.
Thomas Gries [Wed, 15 Feb 2012 22:40:38 +0000 (22:40 +0000)]
important fix inside HttpFunctions.php. I noticed that when you call HttpRequest::factory with noProxy=true for example inside an intranet, this is ignored in (Curl)HttpRequest because the proxy url is not cleared. This commit makes sure at lowest level - namel in the public function proxySetup() - that a optional(true) value of noProxy is observed and that it (now) also clears the proxy url. (I have been told that I am allowed to commit this patch. Please carefully review, as usual).
mrbluesky [Wed, 15 Feb 2012 21:20:05 +0000 (21:20 +0000)]
(bug 33442) Dont prompt for summary on page creation.
Sam Reed [Wed, 15 Feb 2012 21:06:13 +0000 (21:06 +0000)]
gearman has been nuked
Ping r110958
Rob Lanphier [Wed, 15 Feb 2012 20:44:58 +0000 (20:44 +0000)]
Bug 34397: align footer so that it doesn't overlap with sidebar in Simple skin
Aaron Schulz [Wed, 15 Feb 2012 20:24:15 +0000 (20:24 +0000)]
Delete the temp cdb file when an exception is thrown so they don't take up /tmp space
Raimond Spekking [Wed, 15 Feb 2012 20:11:31 +0000 (20:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Aaron Schulz [Wed, 15 Feb 2012 20:06:47 +0000 (20:06 +0000)]
Put the filename in more of the exceptions thrown
Daniel Friesen [Wed, 15 Feb 2012 19:44:54 +0000 (19:44 +0000)]
Add &useskin=default handling to always display the wiki's default skin.
Jeroen De Dauw [Wed, 15 Feb 2012 19:39:42 +0000 (19:39 +0000)]
follow up to r111468 - put in compatibility for php 5.2 using debug_backtrace hack
Daniel Friesen [Wed, 15 Feb 2012 19:33:13 +0000 (19:33 +0000)]
Add missing delimiters to the regexp in maintenace/dev/'s router.
Daniel Friesen [Wed, 15 Feb 2012 19:32:36 +0000 (19:32 +0000)]
Add an OutputPage to the EditPage::showEditForm:initial to match the EditPage::showEditForm:fields hook so that people will stop global'ing $wgOut. e.g.: In WikiEditor.
Jeroen De Dauw [Wed, 15 Feb 2012 16:53:50 +0000 (16:53 +0000)]
Follow up to r30985; not by ref
Alexandre Emsenhuber [Wed, 15 Feb 2012 16:21:58 +0000 (16:21 +0000)]
* Use local context to get messages
* Link to Special:Whatlinkshere/Page instead of Special:Whatlinkshere?target=Page for consistency
* Removed to useless empty lines
Alexandre Emsenhuber [Wed, 15 Feb 2012 16:17:02 +0000 (16:17 +0000)]
Move wfIncrStats() near other debugging functions
Platonides [Wed, 15 Feb 2012 16:04:33 +0000 (16:04 +0000)]
Follow-up r111468, there were some changes left.
Antoine Musso [Wed, 15 Feb 2012 15:29:22 +0000 (15:29 +0000)]
(bug 34192) Gender aliases for Albanian (Aln)
r111403 already did it for 'sq', this is for 'aln'.
Jeroen De Dauw [Wed, 15 Feb 2012 14:47:25 +0000 (14:47 +0000)]
fix call to protected method and killed dead code
Alexandre Emsenhuber [Wed, 15 Feb 2012 13:34:08 +0000 (13:34 +0000)]
Settings $this->mFile to false and checking for !$this->mFile the line after is rather... useless
Alexandre Emsenhuber [Wed, 15 Feb 2012 13:31:20 +0000 (13:31 +0000)]
Removed assertions calling MWNamespace::isMain() from MWNamespaceTest::testIsSubject() that give an error since the former now calls wfDeprecated()
Trevor Parscal [Wed, 15 Feb 2012 00:14:45 +0000 (00:14 +0000)]
Fixed green button styles to match colors in actual image files. You're welcome werdna!
Jeroen De Dauw [Tue, 14 Feb 2012 22:27:07 +0000 (22:27 +0000)]
move method and added warning on count function
Raimond Spekking [Tue, 14 Feb 2012 21:44:34 +0000 (21:44 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Jeroen De Dauw [Tue, 14 Feb 2012 21:42:22 +0000 (21:42 +0000)]
follow up to r111468 - fixed various issues caused by refactoring
Jeroen De Dauw [Tue, 14 Feb 2012 21:16:39 +0000 (21:16 +0000)]
follow up to r111468 - moved a bunch of methods from DBDataObject to DBTable and some minor changes
Antoine Musso [Tue, 14 Feb 2012 20:20:56 +0000 (20:20 +0000)]
enable purge of HTTPS URLs
Jeroen De Dauw [Tue, 14 Feb 2012 18:11:52 +0000 (18:11 +0000)]
follow up to r111264; split up class into one representing a table and one representing rows. Also getting rid of staticness, in particular LSB, so this becomes PHP 5.2 compatible. Not done yet, will follow up later
Alexandre Emsenhuber [Tue, 14 Feb 2012 15:06:13 +0000 (15:06 +0000)]
Also call $this->clear() from WikiPage::doDeleteUpdates() so that the object is in a consistent state after deletion
Alexandre Emsenhuber [Tue, 14 Feb 2012 14:10:32 +0000 (14:10 +0000)]
Always send 1 for "-total" item in wfIncrStats() when destination is UDP; it should not depend on the $count parameter
Antoine Musso [Tue, 14 Feb 2012 09:59:59 +0000 (09:59 +0000)]
split ns selector tests for filter / disable options
ping r111376
Aaron Schulz [Tue, 14 Feb 2012 07:25:48 +0000 (07:25 +0000)]
Reverted r111186, r111226: broken per CR
Sam Reed [Tue, 14 Feb 2012 04:05:49 +0000 (04:05 +0000)]
Documentations!
Daniel Friesen [Tue, 14 Feb 2012 02:22:02 +0000 (02:22 +0000)]
Introduce property: and itemprop: support for addMeta to add RDFa <meta property="..." content="..."> and Microdata <meta itemprop="..." content="..."> to the <head>.
This is done in a way that can also be feature tested, and technically could be expanded by extensions.
Andrew Garrett [Mon, 13 Feb 2012 22:39:15 +0000 (22:39 +0000)]
Modification to jquery.localize.js: For HTML elements, allow a raw="" parameter, which prevents escaping. Reviewed by Trevor before I committed it.
Andrew Garrett [Mon, 13 Feb 2012 22:32:44 +0000 (22:32 +0000)]
Port (with changes) r110866 to trunk. Reviewed by Brion before commit.
Brian Wolff [Mon, 13 Feb 2012 20:29:41 +0000 (20:29 +0000)]
follow-up r111342. Document the callerOffset paramter being used per CR.
Robin Pepermans [Mon, 13 Feb 2012 20:26:02 +0000 (20:26 +0000)]
Remove all usage of wfUILang(), deprecated in 1.18. Also some other minor tweaks. Didn't remove wfUILang itself yet in case someone uses older versions of the extensions with trunk/1.20.
Raimond Spekking [Mon, 13 Feb 2012 19:45:00 +0000 (19:45 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Niklas Laxström [Mon, 13 Feb 2012 19:36:49 +0000 (19:36 +0000)]
* (bug 34192) Namespace gender aliases for Albanian (sq)
Jeroen De Dauw [Mon, 13 Feb 2012 19:13:30 +0000 (19:13 +0000)]
fix doc
Alexandre Emsenhuber [Mon, 13 Feb 2012 18:42:35 +0000 (18:42 +0000)]
* (bug 34377) action=watch now parses messages using the correct title instead of "API"
Alexandre Emsenhuber [Mon, 13 Feb 2012 16:43:43 +0000 (16:43 +0000)]
Use local context to get message
Alexandre Emsenhuber [Mon, 13 Feb 2012 16:38:37 +0000 (16:38 +0000)]
Use WikiPage instead of Article to call doDeleteArticle
Antoine Musso [Mon, 13 Feb 2012 16:35:59 +0000 (16:35 +0000)]
Remove backslash from @return types
Ping r111103
Sam Reed [Mon, 13 Feb 2012 15:53:06 +0000 (15:53 +0000)]
Pull 1.19wmf1 related patches/code out of trunk/REL1_19, they exist in 1.18wmf1 and 1.19wmf1 now
Krinkle [Mon, 13 Feb 2012 15:25:08 +0000 (15:25 +0000)]
[mw.debug] Clean up
* Instead of inline global variable and lazy-loading, using ResourceLoader (using mw.config and mw.loader)
* Can't use OutputPage::addJsConfigVars / OutputPage::addModules because debug is called after those are handled, using ResourceLoader::makeConfigSetScript instead
Krinkle [Mon, 13 Feb 2012 15:17:15 +0000 (15:17 +0000)]
[RL] Comment mod and other minor changes
_ Add comment about why it casts to (object)
- Modify function comment
- Whitespace (start the function body on a new line in debug mode. In production mode this is trimmed away afterwards)
- Remove the jQuery->$ passage from loader. There is already a global alias for $ by jQuery, and aside from that every module has it's own (function(){}) wrapper that aliases it from jQuery (not from $), so there is no performance gain either by having it locally here since it doesn't use that.
Krinkle [Mon, 13 Feb 2012 15:13:09 +0000 (15:13 +0000)]
[JSTesting] Follow-up r110619: Fix introduced race-condition
- mediawiki.util has dependencies as well, load order is important.
- This index.html is very hairy and most people should just ignore it, it predates the automated ResourceLoader-ified Special:JavaScriptTesting page, hence the manual dependency resolution here.
Krinkle [Mon, 13 Feb 2012 15:08:26 +0000 (15:08 +0000)]
[Html] Follow-up r109990: Add support for excluding and disabling options
Krinkle [Mon, 13 Feb 2012 14:53:40 +0000 (14:53 +0000)]
[Html] Follow-up r109990: Add category to example namespaces
- Category is a special case since it is not moveable by default, useful to keep in the test
Sam Reed [Mon, 13 Feb 2012 14:22:37 +0000 (14:22 +0000)]
Bug 34353 - Fix for RELEASE-NOTES-1.19: diff colors are no longer from French Wikipedia
Alexandre Emsenhuber [Mon, 13 Feb 2012 14:01:32 +0000 (14:01 +0000)]
Removed FakeTitle::userCanEditCssJsSubpage() for consistency since Title::userCanEditCssJsSubpage() doesn't exist anymore
Mark A. Hershberger [Mon, 13 Feb 2012 12:40:21 +0000 (12:40 +0000)]
revert r111225 and r111201
Tim Starling [Mon, 13 Feb 2012 06:17:56 +0000 (06:17 +0000)]
Updated the message preload list for Vector and other changes since r52503