lhc/web/wiklou.git
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

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

12 years agoDon't output skinned errors in case of unhandled API exceptions
Max Semenik [Mon, 20 Feb 2012 19:19:52 +0000 (19:19 +0000)]
Don't output skinned errors in case of unhandled API exceptions

12 years agor99633: Fixed raw access to context field, which is lazy-loaded and thus the relevant...
Aaron Schulz [Mon, 20 Feb 2012 18:39:15 +0000 (18:39 +0000)]
r99633: Fixed raw access to context field, which is lazy-loaded and thus the relevant code was broken (bug 34544)

12 years agoxdiff_string_rabdiff() appeared in version 1.5.0 of xdiff extension.
Platonides [Mon, 20 Feb 2012 16:03:40 +0000 (16:03 +0000)]
xdiff_string_rabdiff() appeared in version 1.5.0 of xdiff extension.
PHP manual saying PECL xdiff >= 0.2.0 is wrong.
Follow-up to r111701

12 years agoRemove duplicate translations also present in MessagesKs_arab.php ("ks" falls back...
Robin Pepermans [Mon, 20 Feb 2012 14:43:38 +0000 (14:43 +0000)]
Remove duplicate translations also present in MessagesKs_arab.php ("ks" falls back to "ks-arab").

12 years agor111795: Split out upgradeLegacyArchiveRow() function and added NS/title to condition...
Aaron Schulz [Mon, 20 Feb 2012 11:00:56 +0000 (11:00 +0000)]
r111795: Split out upgradeLegacyArchiveRow() function and added NS/title to condition. The $idCol var was misleading as obviously ar_timestamp is not unique.

12 years agoRemove obsolete and broken lang2po.php.
Siebrand Mazeland [Mon, 20 Feb 2012 10:08:41 +0000 (10:08 +0000)]
Remove obsolete and broken lang2po.php.

12 years agoRemove trailing newlines.
Siebrand Mazeland [Mon, 20 Feb 2012 10:03:13 +0000 (10:03 +0000)]
Remove trailing newlines.

12 years agoFixes for highlighter.
Siebrand Mazeland [Mon, 20 Feb 2012 09:57:56 +0000 (09:57 +0000)]
Fixes for highlighter.

12 years agoRemove trailing newlines.
Siebrand Mazeland [Mon, 20 Feb 2012 09:57:23 +0000 (09:57 +0000)]
Remove trailing newlines.

12 years agoFollowup r111903; Introduce a new Tidy hack to prevent tidy from stripping the <link...
Daniel Friesen [Mon, 20 Feb 2012 02:12:48 +0000 (02:12 +0000)]
Followup r111903; Introduce a new Tidy hack to prevent tidy from stripping the <link> and <meta> elements from the body which are used in Microdata.
We do this by replacing every <link> and <meta> with a <html-link> or <html-meta> element and adding html-link and html-meta to tidy's new-empty-tags config so that Tidy doesn't strip it, and then restoring the <html-*> elements back to normal.

12 years agoFollowup r111891; Update tidy.conf so that it doesn't strip out <data> and <time...
Daniel Friesen [Mon, 20 Feb 2012 01:01:53 +0000 (01:01 +0000)]
Followup r111891; Update tidy.conf so that it doesn't strip out <data> and <time> elements. However this will not fix the way tidy strips out <link> and <meta> tags.

12 years agoFollowup r111891; Update the test to also make sure things like http-equiv and rel...
Daniel Friesen [Mon, 20 Feb 2012 00:42:24 +0000 (00:42 +0000)]
Followup r111891; Update the test to also make sure things like http-equiv and rel=stylesheet don't link through. And update the sanitizer code so that bad <link> and <meta> tags show in proper plaintext when tidy is enabled just like they do when not.

12 years agoFollowup r111898; Do the same for the attribute whitelist.
Daniel Friesen [Mon, 20 Feb 2012 00:03:24 +0000 (00:03 +0000)]
Followup r111898; Do the same for the attribute whitelist.

12 years agoFollowup r111891; Base the $staticInitialised variable off of the global setup so...
Daniel Friesen [Sun, 19 Feb 2012 23:40:48 +0000 (23:40 +0000)]
Followup r111891; Base the $staticInitialised variable off of the global setup so that the parser test suite is not royally screwed up by the fact that it sets globals for parsing AFTER already executing parsing code based off of different globals.

12 years ago* Marked some FileBackendMultiWrite functions as protected as they should be
Aaron Schulz [Sun, 19 Feb 2012 23:40:02 +0000 (23:40 +0000)]
* Marked some FileBackendMultiWrite functions as protected as they should be
* Broke up a few variable declarations to make NetBeans happy
* Clarified documentation a bit

12 years agoCall directly numRows() on the result object instead of DatabaseBase::numRows()
Alexandre Emsenhuber [Sun, 19 Feb 2012 22:29:51 +0000 (22:29 +0000)]
Call directly numRows() on the result object instead of DatabaseBase::numRows()

12 years agoHandle one part of bug 32545 while improving MediaWiki's support for Microdata in...
Daniel Friesen [Sun, 19 Feb 2012 21:43:37 +0000 (21:43 +0000)]
Handle one part of bug 32545 while improving MediaWiki's support for Microdata in content by adding support for the <data>, <time>, <meta>, and <link> elements. The latter two are only permitted when Microdata is enabled, and for security are only allowed to be actual elements when they have a strict set of attributes set.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sun, 19 Feb 2012 20:47:51 +0000 (20:47 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoAdd support for sorting fractions in jquery.tablesorter
Derk-Jan Hartman [Sun, 19 Feb 2012 19:56:56 +0000 (19:56 +0000)]
Add support for sorting fractions in jquery.tablesorter

Fixes bug 15404

12 years agoUse local context to get messages
Alexandre Emsenhuber [Sun, 19 Feb 2012 19:47:14 +0000 (19:47 +0000)]
Use local context to get messages

12 years agor111795: update line to remove bogus $db argument
Aaron Schulz [Sun, 19 Feb 2012 19:47:09 +0000 (19:47 +0000)]
r111795: update line to remove bogus $db argument

12 years agoFollowup to r111861. Remove messages for highlightbroken because they are no longer...
Derk-Jan Hartman [Sun, 19 Feb 2012 13:14:47 +0000 (13:14 +0000)]
Followup to r111861. Remove messages for highlightbroken because they are no longer in use.

12 years agoBug 27619: Remove the option to show broken links as: link?
Derk-Jan Hartman [Sun, 19 Feb 2012 13:06:18 +0000 (13:06 +0000)]
Bug 27619: Remove the option to show broken links as: link?

Being bold here, but otherwise it will still be there in 2016

12 years agoFollow-up r111855: add watchlist-summary to messages.inc.
Siebrand Mazeland [Sun, 19 Feb 2012 09:18:45 +0000 (09:18 +0000)]
Follow-up r111855: add watchlist-summary to messages.inc.

12 years agoAdd message keys to the message files to define that messages and show it on Special...
Raimond Spekking [Sun, 19 Feb 2012 09:09:51 +0000 (09:09 +0000)]
Add message keys to the message files to define that messages and show it on Special:AllMessages.
Per request of Der Umherirrende https://translatewiki.net/wiki/Thread:Support/Missing_message_keys_in_messages_files

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

12 years ago(bug 34421) duplicate Subject / wrong To: headers in mail
Antoine Musso [Sat, 18 Feb 2012 15:34:12 +0000 (15:34 +0000)]
(bug 34421) duplicate Subject / wrong To: headers in mail

This fixup our mail sending system which duplicated the Subject and To: header.
In some conditions it used only the email address for the From: field skipping
the username ($dest in old code only contains the email address).

Mails sent to a single recipients will look alike with mail() or PEAR Mail.
For multiple recipients:
 - php mail() will show the recipient email and 'undisclosed-recipients:'
 - PEAR Mail will only show 'undisclosed-recipients:'

Reverts r111820
Follow  r111819
Fixup    r93397

12 years agoAdd support to tablesorter to handle IP/CIDR notation
Derk-Jan Hartman [Sat, 18 Feb 2012 14:35:14 +0000 (14:35 +0000)]
Add support to tablesorter to handle IP/CIDR notation

This fixes bug 34475

12 years agoFix extraneous quote from r111800
Sam Reed [Sat, 18 Feb 2012 14:28:38 +0000 (14:28 +0000)]
Fix extraneous quote from r111800

Doesn't fix Niklas' issue, but it tidies it up for the moment

12 years agoUse local context to get messages
Alexandre Emsenhuber [Sat, 18 Feb 2012 14:14:10 +0000 (14:14 +0000)]
Use local context to get messages

12 years agoRemoved wfDeprecated() call from LogPage::logName() and LogPage::logHeader(); they...
Alexandre Emsenhuber [Sat, 18 Feb 2012 13:21:01 +0000 (13:21 +0000)]
Removed wfDeprecated() call from LogPage::logName() and LogPage::logHeader(); they are still widely used including in core.

12 years ago(bug 34421) avoid duplicate Subject headers in mail
Antoine Musso [Sat, 18 Feb 2012 10:57:34 +0000 (10:57 +0000)]
(bug 34421) avoid duplicate Subject headers in mail

r93397 duplicated the Subject header since it was passed both as an
argument of mail() and in the additional headers array.

This is r111765 done right.

Tested using both Pear and mail() methods.

12 years agorevert r111765 bug 34421 avoid duplicate Subject headers
Antoine Musso [Sat, 18 Feb 2012 10:37:11 +0000 (10:37 +0000)]
revert r111765 bug 34421 avoid duplicate Subject headers

Was removing subjects when sending mails through PEAR.

12 years agoProper $=jQuery aliasing in tablesorter test
Roan Kattouw [Sat, 18 Feb 2012 10:36:32 +0000 (10:36 +0000)]
Proper $=jQuery aliasing in tablesorter test

12 years agoFix possibly undefined variables
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

12 years agoAdd missing dependency of mediawiki.user to mediawiki.api.watch. May resolve some...
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

12 years agofollow-up to r111802, we dont need internal document.ready trigger since the entire...
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