Tim Starling [Wed, 6 Jan 2010 05:48:05 +0000 (05:48 +0000)]
Made Special:Allmessages many times faster for a typical installation, by taking advantage of the message name list available from LocalisationCache to avoid unnecessary message loads. Now it only loads messages that are on the current page being displayed.
Tim Starling [Wed, 6 Jan 2010 04:08:59 +0000 (04:08 +0000)]
(bug 20837) Don't give a PHP notice when getSubitem() calls loadSubitem() which causes the whole item to be loaded. In this case there is no negative cache value stored so we need to use isset(). It was handled already for the case where the item was already loaded at function entry, but not for the case where the item is loaded halfway through loadSubitem().
Tim Starling [Wed, 6 Jan 2010 04:05:49 +0000 (04:05 +0000)]
Don't count unions of bracketed selects as being write queries
Mark A. Hershberger [Wed, 6 Jan 2010 03:50:59 +0000 (03:50 +0000)]
New tests for LanguageConverter->getPreferredVariant()
Refactor getPreferredVariant, new function getHeaderVariant()
New function (FauxRequest::setHeader()) to help with testing.
Mark A. Hershberger [Wed, 6 Jan 2010 03:42:30 +0000 (03:42 +0000)]
Random eol whitespace found while treking through files.
Removing unused call to $wgContLang->getFormattedNsText() from addNewUserLogEntry()
Roan Kattouw [Tue, 5 Jan 2010 23:39:16 +0000 (23:39 +0000)]
Add $maxlag parameter to LoadBalancer::getMaxLag() so it'll actually select the right DB when opening new connections. Looks like an ugly temp fix to me but I have no idea how to do it properly offhand.
Mark A. Hershberger [Tue, 5 Jan 2010 23:19:04 +0000 (23:19 +0000)]
typo, clarification.
Sam Reed [Tue, 5 Jan 2010 22:53:00 +0000 (22:53 +0000)]
Remove unused private "filterPage" function from specials/SpecialExport.php
Unused and private
Remove extra whitespace line also
Trevor Parscal [Tue, 5 Jan 2010 22:52:11 +0000 (22:52 +0000)]
Used trick found at: n8williams.com/devblog/javascript_and_ajax/jquery-dialog-error-in-ie7-runtime-error-invalid-argument to fix a jQuery UI bug.
Alexandre Emsenhuber [Tue, 5 Jan 2010 21:24:23 +0000 (21:24 +0000)]
Fix some doxygen warnings
Raimond Spekking [Tue, 5 Jan 2010 20:31:26 +0000 (20:31 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-05 20:00 UTC)
Trevor Parscal [Tue, 5 Jan 2010 18:44:27 +0000 (18:44 +0000)]
Switched to a silver non-directional portal-break.png image, which orphans portal-break-ltr.png and portal-break-rtl.png. We will keep those images around for a while, but probably remove them soon.
Jure Kajzer [Tue, 5 Jan 2010 13:35:19 +0000 (13:35 +0000)]
fixme for r58356
Chad Horohoe [Tue, 5 Jan 2010 10:50:07 +0000 (10:50 +0000)]
Only use one if, not 2
Siebrand Mazeland [Tue, 5 Jan 2010 09:34:42 +0000 (09:34 +0000)]
Follow-up r60650: run stylize.php and remove trailing whitespace
Mark A. Hershberger [Tue, 5 Jan 2010 09:07:12 +0000 (09:07 +0000)]
Coding Convention cleanup, removed extraneous references to $_SERVER
Mark A. Hershberger [Tue, 5 Jan 2010 08:40:50 +0000 (08:40 +0000)]
Add documentation for $wgVariantArticlePath
OverlordQ [Tue, 5 Jan 2010 07:25:03 +0000 (07:25 +0000)]
Helps to be consistent in adjective usage big->large (r60645)
OverlordQ [Tue, 5 Jan 2010 07:03:27 +0000 (07:03 +0000)]
Add missing message (r60644)
OverlordQ [Tue, 5 Jan 2010 05:44:31 +0000 (05:44 +0000)]
Split rangeblock error message, allow configuring max size of IPv6 blocks as well. (r58377)
Tim Starling [Tue, 5 Jan 2010 05:08:24 +0000 (05:08 +0000)]
Clarify comment on $wgBlockCIDRLimit, larger not below (r58377)
Mark A. Hershberger [Tue, 5 Jan 2010 04:34:44 +0000 (04:34 +0000)]
Make phpunit on Ubuntu work out-of-the-box (at least for me) and prepare for some LanguageConverter.php tests.
Raimond Spekking [Mon, 4 Jan 2010 18:51:46 +0000 (18:51 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-04 18:30 UTC)
Bryan Tong Minh [Mon, 4 Jan 2010 11:13:25 +0000 (11:13 +0000)]
API: Expand the thumburl to an absolute url to make it consistent with url and descriptionurl
Tim Starling [Mon, 4 Jan 2010 08:28:50 +0000 (08:28 +0000)]
Fix for bug 9413 and the related Malayalam issue reported on wikitech-l.
* Added $wgFixArchaicUnicode, which, if enabled, converts some deprecated Unicode sequences in Arabic and Malayalam text to their Unicode 5.1 equivalents.
* Added generateNormalizerData.php to generate the relevant data files. Added the generated data files also.
* Made most things call the new wrapper method $wgContLang->normalize() instead of UtfNormal::cleanUp(), so that Unicode normalization can be customised on a per-language basis.
* Added some generic support for conversion tables to Language so that subclasses can easily implement these kinds of transformations.
Max Semenik [Mon, 4 Jan 2010 07:58:58 +0000 (07:58 +0000)]
Removed dummy/obsolete language codes from installer
Rotem Liss [Mon, 4 Jan 2010 07:33:08 +0000 (07:33 +0000)]
Localization update for he.
Tim Starling [Mon, 4 Jan 2010 05:55:33 +0000 (05:55 +0000)]
Add missing class LanguageConverter
Bryan Tong Minh [Sun, 3 Jan 2010 22:45:34 +0000 (22:45 +0000)]
(bug 18885) Red links for media files do not support shared repositories
$wgUploadNavigationUrl now also affects images inline images that do not
exist. In that case the URL will get (?|&)wpDestFile=<filename> appended to
it as appropriate.
Roan Kattouw [Sun, 3 Jan 2010 20:16:25 +0000 (20:16 +0000)]
Followup to r60587: wrong user_groups join
Roan Kattouw [Sun, 3 Jan 2010 20:12:59 +0000 (20:12 +0000)]
API: Per Domas, don't FORCE INDEX when doing an INNER JOIN with the user_groups table
Siebrand Mazeland [Sun, 3 Jan 2010 19:59:22 +0000 (19:59 +0000)]
Localisation updates for core messages from translatewiki.net (2010-01-03 19:55 UTC)
Alexandre Emsenhuber [Sun, 3 Jan 2010 15:27:25 +0000 (15:27 +0000)]
And while I'm a it: also ignore style checks for geshi
Alexandre Emsenhuber [Sun, 3 Jan 2010 15:02:55 +0000 (15:02 +0000)]
Let's use the variables introduced in r59758 :)
Siebrand Mazeland [Sun, 3 Jan 2010 14:16:06 +0000 (14:16 +0000)]
Tweak date format further
Siebrand Mazeland [Sun, 3 Jan 2010 14:14:46 +0000 (14:14 +0000)]
Updaet time formatting per translatewiki.net/wiki/Thread:Support/Technical_issue#Technical_issue_1287
Siebrand Mazeland [Sun, 3 Jan 2010 12:50:59 +0000 (12:50 +0000)]
* set fallback for 'gl' to 'pt'
* remove superfluous newlines in 'pt'
Aaron Schulz [Sun, 3 Jan 2010 04:10:26 +0000 (04:10 +0000)]
Removed unused globals
Siebrand Mazeland [Sat, 2 Jan 2010 22:55:25 +0000 (22:55 +0000)]
Localisation updates for core messages from translatewiki.net
* add Komi-Permyak (koi)
* rebuild MessagesEn.php
Siebrand Mazeland [Sat, 2 Jan 2010 22:49:04 +0000 (22:49 +0000)]
Localisation updates for core messages from translatewiki.net (2010-01-02 22:35 UTC)
Roan Kattouw [Sat, 2 Jan 2010 21:49:39 +0000 (21:49 +0000)]
Fix coding style
Roan Kattouw [Sat, 2 Jan 2010 20:22:06 +0000 (20:22 +0000)]
(bug 20115) Special:Userlogin says "Log in / create account" even if the user can't create an account. Modified patch by Karun Dambietz
Bryan Tong Minh [Sat, 2 Jan 2010 15:03:17 +0000 (15:03 +0000)]
Fix for r58980: use wfMsgForContent
Aryeh Gregor [Fri, 1 Jan 2010 21:09:14 +0000 (21:09 +0000)]
Annual copyright year update
Alexandre Emsenhuber [Fri, 1 Jan 2010 19:49:37 +0000 (19:49 +0000)]
* If two log type have the same description, they're now both displayed in the type selector on Special:Log
This just happened on the French Wiktionary where http://fr.wiktionary.org/wiki/MediaWiki:Suppressionlog and http://fr.wiktionary.org/wiki/MediaWiki:Dellogpage had the same value and the "delete" log was missing
Chad Horohoe [Fri, 1 Jan 2010 16:15:07 +0000 (16:15 +0000)]
(bug 21986) Special page names were are now capitalized by content language
Siebrand Mazeland [Fri, 1 Jan 2010 16:09:23 +0000 (16:09 +0000)]
Localisation updates for core magic words from translatewiki.net
Siebrand Mazeland [Fri, 1 Jan 2010 16:00:56 +0000 (16:00 +0000)]
Localisation updates for core special page aliases from translatewiki.net
Siebrand Mazeland [Fri, 1 Jan 2010 15:47:13 +0000 (15:47 +0000)]
Localisation updates for core messages from translatewiki.net (2010-01-01 15:00 UTC)
Siebrand Mazeland [Thu, 31 Dec 2009 21:48:34 +0000 (21:48 +0000)]
Localisation updates for core messages from translatewiki.net (2009-12-31 20:58 UTC)
Philip Tzou [Thu, 31 Dec 2009 17:14:59 +0000 (17:14 +0000)]
bug 21974, don't return $this->mPreferredVariant if $fromUser = false
Raimond Spekking [Wed, 30 Dec 2009 19:59:42 +0000 (19:59 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-30 19:00 UTC)
Raimond Spekking [Wed, 30 Dec 2009 13:47:23 +0000 (13:47 +0000)]
* (bug 2971) Swap links of hist & diff location on Special:Contributions for consistency with RC/WL
Now RC/WL incl. enhanced versions and Contributions have the same order of 'diff' and 'hist' links.
Alexandre Emsenhuber [Wed, 30 Dec 2009 12:32:40 +0000 (12:32 +0000)]
Per Tim Starling, fixes for r58061:
* renamed $wgEnableSorbs to $wgEnableDnsBlacklist and $wgSorbsUrl to $wgDnsBlacklistUrls (backward compatibility kept)
* renamed User::inSorbsBlacklist() to User::isDnsBlacklisted()
Raimond Spekking [Wed, 30 Dec 2009 11:33:56 +0000 (11:33 +0000)]
fix for r60502. /selfslap
Raimond Spekking [Wed, 30 Dec 2009 11:28:02 +0000 (11:28 +0000)]
User 'escapenotentites' to allow entities like •
Raimond Spekking [Wed, 30 Dec 2009 10:42:03 +0000 (10:42 +0000)]
Consistency tweak: coalesce diff/hist links with pipe instead of () ()
Raimond Spekking [Wed, 30 Dec 2009 09:48:51 +0000 (09:48 +0000)]
Follow-up r60494: Forgot this one to rename.
Raimond Spekking [Wed, 30 Dec 2009 08:51:25 +0000 (08:51 +0000)]
Rename hook per Tim's CR on r58192
Tim Starling [Wed, 30 Dec 2009 08:01:17 +0000 (08:01 +0000)]
Fix for r58197, removed unnecessary array_merge()
Raimond Spekking [Wed, 30 Dec 2009 07:08:52 +0000 (07:08 +0000)]
Tweak 'HMTL 5' -> 'HTML5' per suggestion on translatewiki: translatewiki.net/wiki/Thread:Support/HTML5
See http://en.wikipedia.org/wiki/HTML5 too.
Tim Starling [Wed, 30 Dec 2009 06:44:52 +0000 (06:44 +0000)]
Remove unprefixed constant "CASCADE" due to risk of conflicts. It was added in r19097 but apparently was never used.
Alexandre Emsenhuber [Tue, 29 Dec 2009 13:21:28 +0000 (13:21 +0000)]
Whitespaces fixes:
* removed trailing spaces
* use tabs for indentation
* replaces tab with space between "global" and variables in pg_* functions
Roan Kattouw [Tue, 29 Dec 2009 11:44:45 +0000 (11:44 +0000)]
Make refreshLinks.php purge orphaned redirect table rows, i.e. rows whose rd_from refers to a page that's not a redirect or doesn't even exist
Roan Kattouw [Tue, 29 Dec 2009 11:18:50 +0000 (11:18 +0000)]
API: Fix breakage due to MySQL 5.1 behavior change: replace an implicit comma join with an explicit INNER JOIN and add a FORCE INDEX
Siebrand Mazeland [Tue, 29 Dec 2009 10:50:56 +0000 (10:50 +0000)]
Localisation updates for core messages from translatewiki.net (2009-12-29 10:29 UTC)
Alexandre Emsenhuber [Mon, 28 Dec 2009 14:42:04 +0000 (14:42 +0000)]
Follow-up r60093: forgot this one
Jure Kajzer [Mon, 28 Dec 2009 14:10:00 +0000 (14:10 +0000)]
query parser rewrite to get boolean operators to work
Alexandre Emsenhuber [Sun, 27 Dec 2009 17:08:33 +0000 (17:08 +0000)]
fix variable name
Alexandre Emsenhuber [Sun, 27 Dec 2009 16:44:57 +0000 (16:44 +0000)]
Remove "non-message checks" from the header, like for the body to avoid rows in the header with no associated items in the body
Aryeh Gregor [Sun, 27 Dec 2009 15:44:24 +0000 (15:44 +0000)]
- in regex character classes has special meaning
Fix for r60376, pointed out by Thana on bug 21946.
Siebrand Mazeland [Sun, 27 Dec 2009 15:07:55 +0000 (15:07 +0000)]
Localisation updates for extension messages from translatewiki.net (2009-12-27 14:53 UTC)
Alexandre Emsenhuber [Sun, 27 Dec 2009 14:59:27 +0000 (14:59 +0000)]
Added --prefix option to maintenance/language/checkLanguage.php to add interwiki prefix to links (when using --links option)
OverlordQ [Sat, 26 Dec 2009 23:15:03 +0000 (23:15 +0000)]
Followup to r56514 r56174 empty strings are not NULL
Alex Z [Sat, 26 Dec 2009 22:04:37 +0000 (22:04 +0000)]
Fix for r60418, need to check whether the /destination/ file exists
locally, not the file at the current title
Alex Z [Sat, 26 Dec 2009 21:56:05 +0000 (21:56 +0000)]
Per CR on r58079, add a permission check for 'reupload-shared' to
Title::isValidMoveOperation when moving a file over one on a shared repo
Alexandre Emsenhuber [Sat, 26 Dec 2009 20:03:33 +0000 (20:03 +0000)]
Whitespaces fixes:
* removed trailing spaces
* removed some useless whitespaces
* fixed some indentation
Alexandre Emsenhuber [Sat, 26 Dec 2009 16:51:15 +0000 (16:51 +0000)]
Follow-up r60412: forgot to remove the class from AutoLoader
Alexandre Emsenhuber [Sat, 26 Dec 2009 15:11:41 +0000 (15:11 +0000)]
removed --output=metawiki from maintenance/language/transstat.php; we don't use meta.wikimedia.org/wiki/Localization_statistics since ages
Siebrand Mazeland [Sat, 26 Dec 2009 09:36:50 +0000 (09:36 +0000)]
Localisation updates for core messages from translatewiki.net (2009-12-26 09:25 UTC)
Alexandre Emsenhuber [Fri, 25 Dec 2009 18:50:00 +0000 (18:50 +0000)]
Readd $wgPhpCli (removed in r59446), it was already here before JS2, and FlaggedRevs extension is using it
Alexandre Emsenhuber [Fri, 25 Dec 2009 18:35:52 +0000 (18:35 +0000)]
RELEASE-NOTES cleanup:
* removed JS2-specific settings since this was reverted in r59446
* removed $wgSpecialVersionExtended, reverted in r54735
Aryeh Gregor [Thu, 24 Dec 2009 23:01:19 +0000 (23:01 +0000)]
Handle minus signs in sortable tables
Bug 21946. Patch by Conrad Irwin (cirwin).
Bryan Tong Minh [Thu, 24 Dec 2009 21:19:55 +0000 (21:19 +0000)]
Bump wgStyleVersion for various revision above r59683.
Bryan Tong Minh [Thu, 24 Dec 2009 21:02:40 +0000 (21:02 +0000)]
Follow up to r57868: Fix virus scanner on Windows (r57801 et al)
Roan Kattouw [Thu, 24 Dec 2009 19:33:01 +0000 (19:33 +0000)]
API: (bug 21945) Add chomp control in YAML
Siebrand Mazeland [Thu, 24 Dec 2009 17:35:17 +0000 (17:35 +0000)]
Localisation updates for core messages from translatewiki.net (2009-12-24 17:23 UTC)
Rotem Liss [Thu, 24 Dec 2009 14:26:57 +0000 (14:26 +0000)]
Localization update for he.
Siebrand Mazeland [Wed, 23 Dec 2009 20:35:34 +0000 (20:35 +0000)]
Localisation updates for core messages from translatewiki.net (2009-12-23 20:19 UTC)
Happy-melon [Wed, 23 Dec 2009 15:30:33 +0000 (15:30 +0000)]
Make the lock icon for https links blue tint to match the link colour and all the other link ornaments. New icon created by David Gothberg on enwiki. Image might benefit from compression.
Tim Starling [Wed, 23 Dec 2009 04:55:21 +0000 (04:55 +0000)]
Fix for r58087, the revision count obtained this way might not be at all accurate.
Philip Tzou [Tue, 22 Dec 2009 14:36:00 +0000 (14:36 +0000)]
follow-up r60272 and r60292. replace getText with getCheck.
Philip Tzou [Tue, 22 Dec 2009 14:12:23 +0000 (14:12 +0000)]
follow-up r60272. replace $_GET with $wgRequest->getText.
Siebrand Mazeland [Mon, 21 Dec 2009 23:44:11 +0000 (23:44 +0000)]
Localisation updates for core messages from translatewiki.net
Bryan Tong Minh [Mon, 21 Dec 2009 21:30:59 +0000 (21:30 +0000)]
Follow up to r60277: Restore the uploadFormTextTop and uploadFormTextAfterSummary text injection points.
Bryan Tong Minh [Mon, 21 Dec 2009 20:50:37 +0000 (20:50 +0000)]
Restored wpDestFileWarningAck, but this time in case this ignored warning is the only warning, continue the upload normally instead of showing an empty warning screen.
Moved the warning message higher up the form just below the filename input box for better visibility.
Rotem Liss [Mon, 21 Dec 2009 19:58:19 +0000 (19:58 +0000)]
Localization update.
Bryan Tong Minh [Mon, 21 Dec 2009 19:57:43 +0000 (19:57 +0000)]
Restore hooks UploadForm:initial and UploadForm:BeforeProcessing removed in r57868.
Raimond Spekking [Mon, 21 Dec 2009 19:50:45 +0000 (19:50 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-21 19:00 UTC)
Philip Tzou [Mon, 21 Dec 2009 18:55:42 +0000 (18:55 +0000)]
follow-up r59522. follow Tim's suggestion to serve same vary and XVO headers for the same URL. Now the vary headers should be consistent. Feel free to test it.