Mark A. Hershberger [Thu, 7 Jan 2010 09:32:09 +0000 (09:32 +0000)]
Make LTR wgLang do the right thing on RTL wgContLang wikis. See bug 6100 and dupes like bug 4047, bug 19228, bug 9137, etc.
Mark A. Hershberger [Thu, 7 Jan 2010 05:02:35 +0000 (05:02 +0000)]
follow-up r60765
Mark A. Hershberger [Thu, 7 Jan 2010 05:00:19 +0000 (05:00 +0000)]
follow-up r60763 and r58275. Parser tests now pass.
Mark A. Hershberger [Thu, 7 Jan 2010 04:53:15 +0000 (04:53 +0000)]
follow-up r60763 and r58275. Parser tests now pass.
Philip Tzou [Thu, 7 Jan 2010 04:50:32 +0000 (04:50 +0000)]
follow-up r60743.
1. Changed the conditions, not only for LuceneSearch, but also more commonly to others.
2. Reduced code duplication.
Mark A. Hershberger [Thu, 7 Jan 2010 04:13:14 +0000 (04:13 +0000)]
Refactor LanguageConversion so that title conversion isn't so flimsy. Pull MagicWord detection into Parser->doDoubleUnderscore() && remove ParserConvert.
Aaron Schulz [Thu, 7 Jan 2010 01:21:02 +0000 (01:21 +0000)]
Follow up r60759: forgot to commit hook change
Tim Starling [Thu, 7 Jan 2010 00:22:18 +0000 (00:22 +0000)]
Add a Database::getType() function so that we can get rid of $wgDBtype in favour of OOP goodness.
Aaron Schulz [Wed, 6 Jan 2010 23:22:55 +0000 (23:22 +0000)]
Fixed CSS error
Sam Reed [Wed, 6 Jan 2010 23:21:46 +0000 (23:21 +0000)]
"apprfiltercascade - Filter protections based on cascadingness (ignored when apprtype isn't set)
One value: cascading, noncascading, all"
So it can't be both. Change 2nd if to else if
Niklas Laxström [Wed, 6 Jan 2010 22:19:48 +0000 (22:19 +0000)]
Add comment about unused parameters to constructor too + coding style
Raimond Spekking [Wed, 6 Jan 2010 21:52:51 +0000 (21:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-06 19:00 UTC)
Sam Reed [Wed, 6 Jan 2010 21:27:25 +0000 (21:27 +0000)]
Minor followup to r60744, fix for comment 2
Philip Tzou [Wed, 6 Jan 2010 20:17:01 +0000 (20:17 +0000)]
Change or to ||.
Sam Reed [Wed, 6 Jan 2010 19:59:42 +0000 (19:59 +0000)]
Attempt at normalistion of comparison styles - empty string on left and right hand side normalised to it being on the rhs
Before this change, there were (? being regex 0 or 1)
"" ===? 1
'' ===? 24
"" !==? 8
'' !==? 32
== "" 14
== '' 344
!= "" 9
!== "" 4
!= '' 151
!== '' 85
Rhs was the much more common, and the preferred style by many developers.. (Was a similar discussion in #mediawiki recently.. After that lolbugreport i think)
Where there is a string (non empty) on the lhs, and variable/method call on the rhs still need normalising
Philip Tzou [Wed, 6 Jan 2010 19:51:29 +0000 (19:51 +0000)]
1. Add conditions to stripForSearch for LuceneSearch / MWSearch.
2. Add double-width roman characters conversion support to zh, gan, and yue.
Roan Kattouw [Wed, 6 Jan 2010 19:24:26 +0000 (19:24 +0000)]
Followup to r60271: pass the delimeter to preg_quote() per CR comment
Siebrand Mazeland [Wed, 6 Jan 2010 18:59:32 +0000 (18:59 +0000)]
Follow-up to r60721. Broken maintanance/language/rebuildLanguage.php and probably more. Fix by Nikerabbit.
Max Semenik [Wed, 6 Jan 2010 18:52:19 +0000 (18:52 +0000)]
Fixed insane selectField() usage from r58322
Max Semenik [Wed, 6 Jan 2010 16:55:01 +0000 (16:55 +0000)]
Clean-up for r60598: introduced a global setting for non-existant languages.
Needs further integration into Language class, probably even getLanguageNames(), but I don't want
to mess with preferences (which also display bogus language codes, btw) or LocalisationCache yet.
Jure Kajzer [Wed, 6 Jan 2010 14:00:17 +0000 (14:00 +0000)]
Fixed variable name typo from r60665. (problems while sending file in previous attempt r60730)
Jure Kajzer [Wed, 6 Jan 2010 13:52:58 +0000 (13:52 +0000)]
Fixed variable name typo from r60665.
Sam Reed [Wed, 6 Jan 2010 13:45:06 +0000 (13:45 +0000)]
* (bug 20233) ApiLogin::execute() doesn't handle LoginForm :: RESET_PASS
As per Bryans comment, and as per SpecialUserlogin - "The e-mailed temporary password should not be used for actual logins;"
Therefore treat RESET_PASS as WRONG_PASS
Roan Kattouw [Wed, 6 Jan 2010 11:49:03 +0000 (11:49 +0000)]
Followup to r60697: add a comment to js2stopgap.js pointing out that we patched jQuery there, and raise $wgStyleVersion
Roan Kattouw [Wed, 6 Jan 2010 10:20:38 +0000 (10:20 +0000)]
Per CR on r58358, refactor obtaining the language code from a filename into Language::getCodeFromFileName() and use it in Language::getLanguageNames() and LocalisationUpdate
Rotem Liss [Wed, 6 Jan 2010 09:56:06 +0000 (09:56 +0000)]
Localization update for he.
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