lhc/web/wiklou.git
12 years agoFixes bug 34723: applies the English language to CSS/JS both as a user subpage and...
Amir E. Aharoni [Sun, 26 Feb 2012 11:39:49 +0000 (11:39 +0000)]
Fixes bug 34723: applies the English language to CSS/JS both as a user subpage and a MediaWiki space page, and consequently applies LTR to JS and CSS in the textarea.

12 years agorename test file to end with Test.php :D
Antoine Musso [Sat, 25 Feb 2012 21:39:54 +0000 (21:39 +0000)]
rename test file to end with Test.php :D

12 years agobasic tests for bug 34508
Antoine Musso [Sat, 25 Feb 2012 21:22:49 +0000 (21:22 +0000)]
basic tests for bug 34508

12 years agoFollow-up r112410: (bug 34702) Use localised parentheses for comment, too.
Siebrand Mazeland [Sat, 25 Feb 2012 20:53:54 +0000 (20:53 +0000)]
Follow-up r112410: (bug 34702) Use localised parentheses for comment, too.

12 years ago(bug 34702) Use localised parentheses in Special:Contributions.
Siebrand Mazeland [Sat, 25 Feb 2012 20:42:08 +0000 (20:42 +0000)]
(bug 34702) Use localised parentheses in Special:Contributions.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sat, 25 Feb 2012 20:36:21 +0000 (20:36 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFixes bug 34715 Image redirects show the "redirected from" subtitle twice.
Derk-Jan Hartman [Sat, 25 Feb 2012 20:30:38 +0000 (20:30 +0000)]
Fixes bug 34715 Image redirects show the "redirected from" subtitle twice.

ImagePage no longer needs to set the "redirectedfrom" header by itself. Seems Article.php is taking care of it now. I suspect this was caused by the refactoring of WikiPage, Article, etc.

12 years agorelease-notes 1.19: Mark .wikitable change as BREAKING-CHANGES
Krinkle [Sat, 25 Feb 2012 16:36:43 +0000 (16:36 +0000)]
release-notes 1.19: Mark .wikitable change as BREAKING-CHANGES

12 years agoForgot to commit this file in r112396
Alexandre Emsenhuber [Sat, 25 Feb 2012 16:00:26 +0000 (16:00 +0000)]
Forgot to commit this file in r112396

12 years ago* (bug 34246) Display MediaWiki:Whatlinkshere-summary again in Special:Whatlinkshere
Alexandre Emsenhuber [Sat, 25 Feb 2012 15:59:12 +0000 (15:59 +0000)]
* (bug 34246) Display MediaWiki:Whatlinkshere-summary again in Special:Whatlinkshere

12 years ago* (bug 34528) Don't parse section name in edit section tooltips
Alexandre Emsenhuber [Sat, 25 Feb 2012 15:23:45 +0000 (15:23 +0000)]
* (bug 34528) Don't parse section name in edit section tooltips

12 years agoPass __METHOD__ to DatabaseBase::begin(), DatabaseBase::commit() and DatabaseBase...
Alexandre Emsenhuber [Sat, 25 Feb 2012 13:23:43 +0000 (13:23 +0000)]
Pass __METHOD__ to DatabaseBase::begin(), DatabaseBase::commit() and DatabaseBase::rollback()

12 years agoUse local context to get messages
Alexandre Emsenhuber [Sat, 25 Feb 2012 13:21:26 +0000 (13:21 +0000)]
Use local context to get messages

12 years agofixing bug 34609 - datepicker should always be set to display:none by default
Ryan Kaldari [Sat, 25 Feb 2012 03:02:23 +0000 (03:02 +0000)]
fixing bug 34609 - datepicker should always be set to display:none by default

12 years agoFixed $headers check in streamFile() to use isset()
Aaron Schulz [Sat, 25 Feb 2012 02:01:35 +0000 (02:01 +0000)]
Fixed $headers check in streamFile() to use isset()

12 years agoMore file streaming related profiling
Aaron Schulz [Sat, 25 Feb 2012 01:43:20 +0000 (01:43 +0000)]
More file streaming related profiling

12 years agoAdded some StreamFile profiling
Aaron Schulz [Sat, 25 Feb 2012 00:53:56 +0000 (00:53 +0000)]
Added some StreamFile profiling

12 years agoAttempting to address bug 34653; It seems ApiQueryLogEvents has not kept up with...
Arthur Richards [Fri, 24 Feb 2012 23:39:42 +0000 (23:39 +0000)]
Attempting to address bug 34653; It seems ApiQueryLogEvents has not kept up with changes to the Logging classes. I've changed some aspects of the ApiQueryLogEvents to use a DatabaseLogEntry object when extracting log row information and updated addLogParams to use this new scheme for handling parameters. I have not been able to sufficiently test this and I am still concerned about backwards compatibility with old parameter formats for older log records as well as parameter handling for the 'rights' and 'block' log types.

12 years ago[mw.loader] Remove 'media' type support in addInlineCSS
Krinkle [Fri, 24 Feb 2012 23:32:36 +0000 (23:32 +0000)]
[mw.loader] Remove 'media' type support in addInlineCSS

* This was never used in practice because the server only gives css text strings for media type "" or "all". Because server side concatenates everything together during pre-processing and e.g. print-stylesheet parts of it are wrapped in @media print {}

* Follows-up r110988

12 years ago[mw.loader] Refactor addInlineCSS's logic, fixing various bugs
Krinkle [Fri, 24 Feb 2012 23:22:30 +0000 (23:22 +0000)]
[mw.loader] Refactor addInlineCSS's logic, fixing various bugs

* Using mw.util.addCSS as base to instance of bug 33305 automatically
* Expose as mw.loader.addStyleTag
* Re-use the code in mw.util.addCSS
* Drop the "text > Cdata > element > jQuery object > innerHTML", in favor of setting cssText or appending a text node (html escapement isn't a problem when working with text nodes directly).
* Appending this way also works in IE, no need for the dispose/re-create style-tag logic in the try-catch().

* Follows-up r110988 (fixme)

12 years ago[JSTesting] actually commit the file (follows-up r112368)
Krinkle [Fri, 24 Feb 2012 23:14:02 +0000 (23:14 +0000)]
[JSTesting] actually commit the file (follows-up r112368)

12 years ago[JSTesting] Add more mw.loader tests
Krinkle [Fri, 24 Feb 2012 23:13:24 +0000 (23:13 +0000)]
[JSTesting] Add more mw.loader tests
* Follows-up r12279, r112281
* Follows-up r110988: Adds test for @import (currently failing: bug 34669)
* Adding StyleTest.css.php for making this easier and re-usable

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Fri, 24 Feb 2012 21:11:11 +0000 (21:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agor112128: Comment out dupe message keys
Raimond Spekking [Fri, 24 Feb 2012 20:31:11 +0000 (20:31 +0000)]
r112128: Comment out dupe message keys

12 years agoavoid test suite file leaks
Antoine Musso [Fri, 24 Feb 2012 20:30:55 +0000 (20:30 +0000)]
avoid test suite file leaks

12 years agor100315: removed now redundant code
Aaron Schulz [Fri, 24 Feb 2012 20:22:16 +0000 (20:22 +0000)]
r100315: removed now redundant code

12 years agowikistandard.css is not a common skin file, it is only used by the classic/standard...
Ryan Kaldari [Fri, 24 Feb 2012 20:13:30 +0000 (20:13 +0000)]
wikistandard.css is not a common skin file, it is only used by the classic/standard skin. moving from skins/common/ to skins/standard

12 years agoIn FSFileBackend:
Aaron Schulz [Fri, 24 Feb 2012 20:10:36 +0000 (20:10 +0000)]
In FSFileBackend:
* Removed some error suppression as display_errors should never be enabled for production sites and the suppression hid useful log information.

12 years agofollow-up to r111861, fixing classic skin
Ryan Kaldari [Fri, 24 Feb 2012 20:03:40 +0000 (20:03 +0000)]
follow-up to r111861, fixing classic skin

12 years agoTest that verifies uniqueness of query module prefixes
Max Semenik [Fri, 24 Feb 2012 18:49:48 +0000 (18:49 +0000)]
Test that verifies uniqueness of query module prefixes

12 years agoMore __METHOD__ in our madness
Sam Reed [Fri, 24 Feb 2012 18:45:24 +0000 (18:45 +0000)]
More __METHOD__ in our madness

12 years agoImprove documentation
Sam Reed [Fri, 24 Feb 2012 18:38:04 +0000 (18:38 +0000)]
Improve documentation

12 years agoMore __METHOD__ into db related methods
Sam Reed [Fri, 24 Feb 2012 17:00:52 +0000 (17:00 +0000)]
More __METHOD__ into db related methods

12 years agobetter structure filename error output
Antoine Musso [Fri, 24 Feb 2012 16:54:48 +0000 (16:54 +0000)]
better structure filename error output

When dumping an array, PHPUnit limit the number of characters shown. That would
just hide the relevant part of the path:

1) StructureTest::testUnitTestFileNamesEndWithTest
[...]
 Array (
+    0 => '/some/path/tests/phpunit/incl...ge.php'
+    1 => '/some/path/tests/phpunit/incl...ki.php'
 )

By stripping the common path ( /some/path/tests/phpunit ), we end up with a
more useful output:

 Array (
+    0 => 'includes/RecentChange.php'
+    1 => 'includes/Wiki.php'
 )

12 years agoavoid exif tests file leakage
Antoine Musso [Fri, 24 Feb 2012 15:43:11 +0000 (15:43 +0000)]
avoid exif tests file leakage

Exif test are leaking files heavily on our test server. This quick patch make
it sure we delete temporary files.

Ideally, we should have something like a temporary filesystem backend that
would self destruct :-D

requires r112326: wfRecursiveRemoveDir()

12 years agomove wfRecursiveRemoveDir to global functions
Antoine Musso [Fri, 24 Feb 2012 15:41:06 +0000 (15:41 +0000)]
move wfRecursiveRemoveDir to global functions

That useful method was hidden in SeleniumWebSettings. I need it to clean
up test files leakages.

12 years agoPass __METHOD__ to DatabaseBase::begin(), DatabaseBase::commit() and DatabaseBase...
Alexandre Emsenhuber [Fri, 24 Feb 2012 14:47:49 +0000 (14:47 +0000)]
Pass __METHOD__ to DatabaseBase::begin(), DatabaseBase::commit() and DatabaseBase::rollback()

12 years agoUse local context to get message
Alexandre Emsenhuber [Fri, 24 Feb 2012 12:52:42 +0000 (12:52 +0000)]
Use local context to get message

12 years agoFix bug 34684 in my PathRouter code:
Daniel Friesen [Fri, 24 Feb 2012 11:31:36 +0000 (11:31 +0000)]
Fix bug 34684 in my PathRouter code:
- Update the tests to test extra characters and patterns like like \\ and $1
- Also update the tests to make sure that matches that don't have enough data to work fail
- Replace the str_replace and preg_match based code with code based on preg_replace_callback.

12 years agoContribsPager can't accept multiple namespaces, passing an array causes a warning...
Tim Starling [Fri, 24 Feb 2012 04:29:50 +0000 (04:29 +0000)]
ContribsPager can't accept multiple namespaces, passing an array causes a warning in DatabaseMysql::strencode(). Not sure if/how this worked in 1.18 but it's broken in 1.19wmf1. Tested.

12 years agoExamples can just be a string
Sam Reed [Fri, 24 Feb 2012 02:06:39 +0000 (02:06 +0000)]
Examples can just be a string

So if it's not false, it can be string|array, if it's a string, just put it in an array

12 years ago[JSTesting] mock/restore mw.messages as well, like mw.config
Krinkle [Fri, 24 Feb 2012 01:00:54 +0000 (01:00 +0000)]
[JSTesting] mock/restore mw.messages as well, like mw.config

12 years ago[JSTesting] Refactor mw.loader test to be more extendable
Krinkle [Fri, 24 Feb 2012 00:44:33 +0000 (00:44 +0000)]
[JSTesting] Refactor mw.loader test to be more extendable

12 years agoImproved profiling of a few functions a bit
Aaron Schulz [Thu, 23 Feb 2012 23:00:38 +0000 (23:00 +0000)]
Improved profiling of a few functions a bit

12 years agofix doc, this is not an array
Jeroen De Dauw [Thu, 23 Feb 2012 22:58:11 +0000 (22:58 +0000)]
fix doc, this is not an array

12 years agodocs++
Jeroen De Dauw [Thu, 23 Feb 2012 22:26:38 +0000 (22:26 +0000)]
docs++

12 years agoPass __METHOD__ to DatabaseBase::begin(), DatabaseBase::commit() and DatabaseBase...
Alexandre Emsenhuber [Thu, 23 Feb 2012 20:01:17 +0000 (20:01 +0000)]
Pass __METHOD__ to DatabaseBase::begin(), DatabaseBase::commit() and DatabaseBase::rollback()

12 years agoUse local context to get messages
Alexandre Emsenhuber [Thu, 23 Feb 2012 19:57:42 +0000 (19:57 +0000)]
Use local context to get messages

12 years agoBug 34604 - [mw.config] wgActionPaths should be an object instead of a numeral array...
Krinkle [Thu, 23 Feb 2012 02:45:45 +0000 (02:45 +0000)]
Bug 34604 - [mw.config] wgActionPaths should be an object instead of a numeral array JavaScript

12 years agorelease-notes-1.19
Krinkle [Thu, 23 Feb 2012 02:43:57 +0000 (02:43 +0000)]
release-notes-1.19
* Update some bug summaries to clearer versions (to lessen ambiguity as to whether it describes the removed behavior or the added one).

* Removed "Some deprecated presentational html attributes will now be automatically
  converted to css." duplicate entry of "Most presentational html attributes like valign are now converted to inline css style rules."

* Removed bug 24037, which was reverted.

12 years agoFollow-up r112172: fix inline-block support for IE6/IE7
Krinkle [Thu, 23 Feb 2012 01:25:14 +0000 (01:25 +0000)]
Follow-up r112172: fix inline-block support for IE6/IE7

12 years agoSwap Fran Rogers to Fran McCrory per request
Sam Reed [Thu, 23 Feb 2012 01:23:53 +0000 (01:23 +0000)]
Swap Fran Rogers to Fran McCrory per request

12 years agoFollow-up r112172: embed
Krinkle [Thu, 23 Feb 2012 01:00:06 +0000 (01:00 +0000)]
Follow-up r112172: embed

12 years ago* (bug 33045) Use locally-sourced spinner image for mediawiki.feedback module instead...
Brion Vibber [Thu, 23 Feb 2012 00:53:29 +0000 (00:53 +0000)]
* (bug 33045) Use locally-sourced spinner image for mediawiki.feedback module instead of Commons image

Switched from an <img> with a hardcoded Commons link to a <span>, a stylesheet, and a locally-hosted copy of the image.

12 years ago[mw.util] bug fix and minor clean up
Krinkle [Thu, 23 Feb 2012 00:39:15 +0000 (00:39 +0000)]
[mw.util] bug fix and minor clean up
* Fixes bug 34603 (Patch by Rainer <Rainer@Rillke.eu>) and other instances of the same bug
-- Use 'util' instead of 'this' to allow re-usage of the method in a different context
* Use ternary operator instead of the default operator in mw.util.wikiGetlink to check it for type instead of thruthy-ness (so that falsy-values such as '' work, and thruthy non-string values such as objects fail).

12 years agobug 34599: special:uploadwizard loading insecure content from commons
Brion Vibber [Thu, 23 Feb 2012 00:37:21 +0000 (00:37 +0000)]
bug 34599: special:uploadwizard loading insecure content from commons

This is in mediawiki.feedback module which is hosted in core.

A quick fix to load this spinner image protocol-relative. Should be replaced with CSS and a locally-hosted image.

12 years agoFix spacing in r111809
Roan Kattouw [Wed, 22 Feb 2012 23:34:08 +0000 (23:34 +0000)]
Fix spacing in r111809

12 years ago(bug 34600) Older skins using useHeadElement=false were broken in 1.18 . Modified...
Roan Kattouw [Wed, 22 Feb 2012 21:43:59 +0000 (21:43 +0000)]
(bug 34600) Older skins using useHeadElement=false were broken in 1.18 . Modified patch by Vitaliy Flippov

12 years agor112128: Add new message keys to maintenance files otherwise the next run of the...
Raimond Spekking [Wed, 22 Feb 2012 20:00:19 +0000 (20:00 +0000)]
r112128: Add new message keys to maintenance files otherwise the next run of the translatewiki.net export script would kick them.
But ignore them for translation per Nikerabbit: "I don't want these messages to be translated." https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112061#c31329

12 years agoFollowup, restore the irctext variable just in vase, ping r112132
Niklas Laxström [Wed, 22 Feb 2012 19:01:02 +0000 (19:01 +0000)]
Followup, restore the irctext variable just in vase, ping r112132

12 years agoUglier than ugly hack to fix block log any many others by not having the username...
Niklas Laxström [Wed, 22 Feb 2012 18:56:14 +0000 (18:56 +0000)]
Uglier than ugly hack to fix block log any many others by not having the username prepended on the messages

12 years agor112045/bug 34508: Make upload/upload and overwrite match old IRC format
Rob Lanphier [Wed, 22 Feb 2012 18:29:18 +0000 (18:29 +0000)]
r112045/bug 34508: Make upload/upload and overwrite match old IRC format

12 years agoUse local context to get messages
Alexandre Emsenhuber [Wed, 22 Feb 2012 15:53:21 +0000 (15:53 +0000)]
Use local context to get messages

12 years agor112061: Add new message keys to maintenance files otherwise the next run of the...
Raimond Spekking [Wed, 22 Feb 2012 11:33:56 +0000 (11:33 +0000)]
r112061: Add new message keys to maintenance files otherwise the next run of the translatewiki.net export script would kick them.
But ignore them for translation per Nikerabbit: "I don't want these messages to be translated." https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112061#c31329

12 years agoThis script uses about 550MB of RAM on 1.19wmf1. Increase memory limit appropriately.
Tim Starling [Wed, 22 Feb 2012 06:14:57 +0000 (06:14 +0000)]
This script uses about 550MB of RAM on 1.19wmf1. Increase memory limit appropriately.

12 years ago* General log formatting fixes, like using the content language, for IRC feeds (works...
Aaron Schulz [Wed, 22 Feb 2012 02:28:17 +0000 (02:28 +0000)]
* General log formatting fixes, like using the content language, for IRC feeds (works similar to LogPage::actionText). Use getPrefixedText() for the log title, not just the non-namespace part.
* Made patrol log IRC code behave as it did pre-r97495.

12 years agoOutput directory option, to allow messages to be put directly into /h/w/c
Tim Starling [Wed, 22 Feb 2012 02:09:05 +0000 (02:09 +0000)]
Output directory option, to allow messages to be put directly into /h/w/c

12 years agoMade getIRCActionText() public again...since the old LogPage still uses it, ugh
Aaron Schulz [Wed, 22 Feb 2012 00:36:31 +0000 (00:36 +0000)]
Made getIRCActionText() public again...since the old LogPage still uses it, ugh

12 years agoMade use of new getIRCActionComment() function so that comments are back in IRC lines.
Aaron Schulz [Wed, 22 Feb 2012 00:26:29 +0000 (00:26 +0000)]
Made use of new getIRCActionComment() function so that comments are back in IRC lines.

12 years agoMove parameters were backwards
Sam Reed [Wed, 22 Feb 2012 00:00:44 +0000 (00:00 +0000)]
Move parameters were backwards

Ping r112061

12 years agor112062: updated LogEntry publish() function too
Aaron Schulz [Tue, 21 Feb 2012 23:51:18 +0000 (23:51 +0000)]
r112062: updated LogEntry publish() function too

12 years agor112062: swap the getPlainActionText() for IRC with new getIRCActionText() function
Aaron Schulz [Tue, 21 Feb 2012 23:42:10 +0000 (23:42 +0000)]
r112062: swap the getPlainActionText() for IRC with new getIRCActionText() function

12 years agoSeparate out an IRC actionText field for RecentChange. The two are currently the...
Aaron Schulz [Tue, 21 Feb 2012 23:39:14 +0000 (23:39 +0000)]
Separate out an IRC actionText field for RecentChange. The two are currently the same but that will change soon.

12 years agoBug 34508 - [Regression] IRC string output for log messages no longer compatible
Sam Reed [Tue, 21 Feb 2012 23:38:08 +0000 (23:38 +0000)]
Bug 34508 - [Regression] IRC string output for log messages no longer compatible

Update messages/MessagesEn.php

Add large backcompat switch conditional thing

12 years agoAdded $performer parameter to PatrolLog::record() and pass it from WikiPage::doEdit...
Alexandre Emsenhuber [Tue, 21 Feb 2012 22:27:33 +0000 (22:27 +0000)]
Added $performer parameter to PatrolLog::record() and pass it from WikiPage::doEdit() and RecentChange::doMarkPatrolled() since the performer is not necessarily $wgUser

12 years agoAdds a supportsURLLoading method which returns false to user tokens and user options...
Trevor Parscal [Tue, 21 Feb 2012 22:08:23 +0000 (22:08 +0000)]
Adds a supportsURLLoading method which returns false to user tokens and user options modules. This prevents them from being linked to direction which fixes an issue where in debug mode logged in users were being served anon tokens and options. This should resolve bug #34469.

12 years agoPer Aaron, follow-up r112036: add __METHOD__ to DatabaseBase::rollback() too
Alexandre Emsenhuber [Tue, 21 Feb 2012 22:04:43 +0000 (22:04 +0000)]
Per Aaron, follow-up r112036: add __METHOD__ to DatabaseBase::rollback() too

12 years agoRefactors the check if a particular IP is in the list of configured squid servers...
Arthur Richards [Tue, 21 Feb 2012 22:00:58 +0000 (22:00 +0000)]
Refactors the check if a particular IP is in the list of configured squid servers into its own function.

12 years agoEffectively revert r112042
Sam Reed [Tue, 21 Feb 2012 21:54:27 +0000 (21:54 +0000)]
Effectively revert r112042

Followup r112045, remove the irc key name changes

12 years agoconsistently use $entry
Sam Reed [Tue, 21 Feb 2012 21:27:39 +0000 (21:27 +0000)]
consistently use $entry

12 years agoFirst merge of the rest of the code from bug 34508 patch 1 and patch 3
Sam Reed [Tue, 21 Feb 2012 21:26:15 +0000 (21:26 +0000)]
First merge of the rest of the code from bug 34508 patch 1 and patch 3

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Tue, 21 Feb 2012 21:17:58 +0000 (21:17 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoImprove documentation
Sam Reed [Tue, 21 Feb 2012 21:15:05 +0000 (21:15 +0000)]
Improve documentation

Fix whitespace

Fix weird conditional loading of DB_MASTER from specials/SpecialEditWatchlist.php

12 years agoPart 1 for bug 34508, commit all the messages added in patch 3
Sam Reed [Tue, 21 Feb 2012 21:12:24 +0000 (21:12 +0000)]
Part 1 for bug 34508, commit all the messages added in patch 3

12 years agoFollowup r112034, use both selectors not just one, don't break cached pages or 3rd...
Daniel Friesen [Tue, 21 Feb 2012 20:23:42 +0000 (20:23 +0000)]
Followup r112034, use both selectors not just one, don't break cached pages or 3rd party skins.

12 years agoPass __METHOD__ to DatabaseBase::begin() and DatabaseBase::commit()
Alexandre Emsenhuber [Tue, 21 Feb 2012 19:56:43 +0000 (19:56 +0000)]
Pass __METHOD__ to DatabaseBase::begin() and DatabaseBase::commit()

12 years agoUse local context to get messages
Alexandre Emsenhuber [Tue, 21 Feb 2012 19:49:22 +0000 (19:49 +0000)]
Use local context to get messages

12 years agoFollowup r98045: fix bug 34504 wrt "Jump to" links in cached pages showing unexpected...
Brion Vibber [Tue, 21 Feb 2012 19:25:16 +0000 (19:25 +0000)]
Followup r98045: fix bug 34504 wrt "Jump to" links in cached pages showing unexpectedly after 1.19 upgrade

Changed the updated styles to use the old (and still kept) id instead of the new (and thus not previously existing) class.
Should work on both old and new pages now.

12 years agoFollowup r105123, fix for MWDebug logging SQL queries on command line mode
John Du Hart [Tue, 21 Feb 2012 16:48:46 +0000 (16:48 +0000)]
Followup r105123, fix for MWDebug logging SQL queries on command line mode

12 years agoBug 34538 again. Bug reproduced and fix tested.
Tim Starling [Mon, 20 Feb 2012 23:47:47 +0000 (23:47 +0000)]
Bug 34538 again. Bug reproduced and fix tested.

12 years ago* Fixed failure of the edit toolbar to load when $wgResourceLoaderExperimentalAsyncLo...
Tim Starling [Mon, 20 Feb 2012 23:29:47 +0000 (23:29 +0000)]
* Fixed failure of the edit toolbar to load when $wgResourceLoaderExperimentalAsyncLoading is enabled and module execution occurs before the edit box appears in the DOM. Similar to bug 34538.
* Also fixed breakage of byteLimit on edit in the same scenario.
* For 1.19 backport so no release notes.

12 years agoRevert RDFa and Microdata improvements to addMeta in r111439 till after the git migra...
Daniel Friesen [Mon, 20 Feb 2012 22:48:43 +0000 (22:48 +0000)]
Revert RDFa and Microdata improvements to addMeta in r111439 till after the git migration.

12 years agoRevert CryptRand class in r111964 till after the git migration.
Daniel Friesen [Mon, 20 Feb 2012 22:35:14 +0000 (22:35 +0000)]
Revert CryptRand class in r111964 till after the git migration.

12 years agoRevert Microdata improvements in r111891, r111898, r111899, r111901, r111903, and...
Daniel Friesen [Mon, 20 Feb 2012 22:32:18 +0000 (22:32 +0000)]
Revert Microdata improvements in r111891, r111898, r111899, r111901, r111903, and r111906 till after the git migration.

12 years agofix documentation: WikiPage::newFromID() can return null
Alexandre Emsenhuber [Mon, 20 Feb 2012 21:48:01 +0000 (21:48 +0000)]
fix documentation: WikiPage::newFromID() can return null

12 years agoFix parse error from r111965
Alexandre Emsenhuber [Mon, 20 Feb 2012 21:39:33 +0000 (21:39 +0000)]
Fix parse error from r111965

12 years agoPass __METHOD__ to DatabaseBase::begin() and DatabaseBase::commit()
Alexandre Emsenhuber [Mon, 20 Feb 2012 21:36:54 +0000 (21:36 +0000)]
Pass __METHOD__ to DatabaseBase::begin() and DatabaseBase::commit()

12 years agofix bug #34495 — patrol log credit the user patrolled, not the user patrolling
Mark A. Hershberger [Mon, 20 Feb 2012 21:36:07 +0000 (21:36 +0000)]
fix bug #34495 — patrol log credit the user patrolled, not the user patrolling

12 years agoCommit a new cryptographic random generator class for use in MediaWiki.
Daniel Friesen [Mon, 20 Feb 2012 21:22:52 +0000 (21:22 +0000)]
Commit a new cryptographic random generator class for use in MediaWiki.
Waiting for it to be reviewed before actually making use of it inside code and adding a RELEASE-NOTES entry.

12 years agoUse local context to get messages
Alexandre Emsenhuber [Mon, 20 Feb 2012 21:14:12 +0000 (21:14 +0000)]
Use local context to get messages