lhc/web/wiklou.git
13 years ago(bug 22514) SpecialRecentChangesQuery should also work on Special:RecentChangesLinked...
Chad Horohoe [Fri, 6 Aug 2010 13:07:46 +0000 (13:07 +0000)]
(bug 22514) SpecialRecentChangesQuery should also work on Special:RecentChangesLinked. Commented since inception, no reason not to call it here as well. Need this for FlaggedRevs stuff later anyway ;-)

13 years agoRemove dupe implementations of begin/commit from Postgres. Also included checks for...
Chad Horohoe [Fri, 6 Aug 2010 12:54:39 +0000 (12:54 +0000)]
Remove dupe implementations of begin/commit from Postgres. Also included checks for $mTrxLevel on commit/rollback, based on patch on bug 24629

13 years ago(bug 24665) When starttimestamp is not specified, fake it by setting it to NOW, not...
Roan Kattouw [Fri, 6 Aug 2010 12:15:23 +0000 (12:15 +0000)]
(bug 24665) When starttimestamp is not specified, fake it by setting it to NOW, not to the timestamp of the last edit. This caused 'pagedeleted' errors for pages that were deleted then partially undeleted that could only be gotten rid of by setting starttimestamp, while the docs claim not setting starttimestamp causes all such errors to be silenced

13 years ago(bug 24687) Remove spurious require() calls. Everything in StubObject is a class...
Chad Horohoe [Fri, 6 Aug 2010 12:12:29 +0000 (12:12 +0000)]
(bug 24687) Remove spurious require() calls. Everything in StubObject is a class and in the autoloader

13 years agoReduce unnecessary seperate nested if's, move them up to the top if (as per most...
Sam Reed [Fri, 6 Aug 2010 11:20:39 +0000 (11:20 +0000)]
Reduce unnecessary seperate nested if's, move them up to the top if (as per most of the others where this is necessary!)

13 years agoFollowup r70460 per Umherirrender comment
Sam Reed [Fri, 6 Aug 2010 11:18:39 +0000 (11:18 +0000)]
Followup r70460 per Umherirrender comment

Add "required" to ApiParamInfo

13 years agoUpdating main-rtl.css for Vector skin to ensure all left-aligned (or left-directioned...
Huji [Fri, 6 Aug 2010 10:57:59 +0000 (10:57 +0000)]
Updating main-rtl.css for Vector skin to ensure all left-aligned (or left-directioned) elements of the page are mirrored to right correctly.

13 years agoUpdating main-rtl.css for Vector skin to ensure all left-aligned (or left-directioned...
Huji [Fri, 6 Aug 2010 10:43:28 +0000 (10:43 +0000)]
Updating main-rtl.css for Vector skin to ensure all left-aligned (or left-directioned) elements of the page are mirrored to right correctly.

13 years agoUpdating main-rtl.css for Vector skin to ensure all left-aligned (or left-directioned...
Huji [Fri, 6 Aug 2010 10:33:01 +0000 (10:33 +0000)]
Updating main-rtl.css for Vector skin to ensure all left-aligned (or left-directioned) elements of the page are mirrored to right correctly.

13 years agoFixup 3 messages per TW support
Sam Reed [Fri, 6 Aug 2010 06:56:19 +0000 (06:56 +0000)]
Fixup 3 messages per TW support

13 years agoFollow up r70520. More for loop fixes.
Derk-Jan Hartman [Fri, 6 Aug 2010 01:24:49 +0000 (01:24 +0000)]
Follow up r70520. More for loop fixes.

13 years agows cleanups
Mark A. Hershberger [Fri, 6 Aug 2010 00:46:24 +0000 (00:46 +0000)]
ws cleanups

13 years agoFix failing parserTests by defineing wgUseDynamicDates=1 as required by r70501
Mark A. Hershberger [Fri, 6 Aug 2010 00:37:38 +0000 (00:37 +0000)]
Fix failing parserTests by defineing wgUseDynamicDates=1 as required by r70501
(Without these mods later unrelated tests also fail… needs checking)

13 years agoupdate ParserTestSuiteBackend to match signature on setupRecorder()
Mark A. Hershberger [Thu, 5 Aug 2010 23:58:16 +0000 (23:58 +0000)]
update ParserTestSuiteBackend to match signature on setupRecorder()

13 years agoMessage and formatting tweaks for r70520. Forgot to commit this in r70527.
Siebrand Mazeland [Thu, 5 Aug 2010 21:17:50 +0000 (21:17 +0000)]
Message and formatting tweaks for r70520. Forgot to commit this in r70527.

13 years agoMessage and formatting tweaks for r70520
Siebrand Mazeland [Thu, 5 Aug 2010 20:50:50 +0000 (20:50 +0000)]
Message and formatting tweaks for r70520

13 years agoEnable $wgExperimentalHtmlIds by default
Aryeh Gregor [Thu, 5 Aug 2010 20:30:49 +0000 (20:30 +0000)]
Enable $wgExperimentalHtmlIds by default

This will result in much prettier anchors, which should actually be
intelligible in foreign languages.  For instance, for a section named
"שלום", the URL will end in "#שלום" instead of
"#.D7.A9.D7.9C.D7.95.D7.9D".  Old links will still work, since the
legacy anchors are still being output too.

This has been enabled on TranslateWiki since January, and there have
been zero complaints.  I tested just now in IE6, Firefox 3.6, Firefox
4.0, Chrome dev channel, and Opera 10.60, and all work.  I tested Opera
10.50 and IE8 some months ago as well.  A test case is at:

http://www.mediawiki.org/wiki/User:Simetrical/Id_test

(A lot of the tests are expected to fail because they already fail
anyway.)  Earlier testing indicated that Opera 10.10 wouldn't work
correctly, but that's negligible by now compared to the readability
improvements for foreign languages.  Additional testing would be
appreciated, particularly in IE7, IE8, and IE9 in their various
compatibility modes, but I hope this should be good to go by now.

13 years ago(bug 24648) Update docs for $wgHtml5
Aryeh Gregor [Thu, 5 Aug 2010 20:21:59 +0000 (20:21 +0000)]
(bug 24648) Update docs for $wgHtml5

I'd really like to remove this and set it always true, but we can't do
that until it's enabled on Wikimedia for a while successfully.

13 years agoImprove $wgExperimentalHtmlIds support
Aryeh Gregor [Thu, 5 Aug 2010 20:16:43 +0000 (20:16 +0000)]
Improve $wgExperimentalHtmlIds support

Now works (again?) in IE6.  That didn't like getting non-legacy ID's on
redirects -- it doesn't interpret them as UTF-8, so anything non-ASCII
breaks.  If this works in all the browsers I test in, I'll enable it --
it will produce *much* nicer-looking anchors for non-English wikis, and
also section names with English punctuation.

13 years agoImprovement for r70521: simplification, avoid iterating over an array. Thanks, thedj!
Max Semenik [Thu, 5 Aug 2010 20:11:44 +0000 (20:11 +0000)]
Improvement for r70521: simplification, avoid iterating over an array. Thanks, thedj!

13 years agoRestored line accidentally removed in r70520
Max Semenik [Thu, 5 Aug 2010 19:21:24 +0000 (19:21 +0000)]
Restored line accidentally removed in r70520

13 years agoFollow-up to r70520: forgot to add new files
Max Semenik [Thu, 5 Aug 2010 19:18:20 +0000 (19:18 +0000)]
Follow-up to r70520: forgot to add new files

13 years agoJavaScript-based password complexity checker on account creation and password change...
Max Semenik [Thu, 5 Aug 2010 19:16:31 +0000 (19:16 +0000)]
JavaScript-based password complexity checker on account creation and password change. Needs attention from CSS gurus to look decently.
Note that OutputPage::addPasswordSecurity() doesn't check the enabling setting to make this code reusable by extensions who don't always want to follow core settings.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 5 Aug 2010 19:13:11 +0000 (19:13 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-05 18:59:00 UTC)

13 years agoUse ParserOptions accessors.
Platonides [Thu, 5 Aug 2010 19:01:47 +0000 (19:01 +0000)]
Use ParserOptions accessors.
Only one direct usage remains, in ParserCache::getKey, which will be rewritten.

13 years agoMake intfunction go accross the ParserOptions.
Platonides [Thu, 5 Aug 2010 18:43:49 +0000 (18:43 +0000)]
Make intfunction go accross the ParserOptions.

Things like calling setUserLang( true ) to use the content language are unsupported and shouldn't be done.

13 years agoFurther cleanup by removing unused member variables, adding protected access and...
Niklas Laxström [Thu, 5 Aug 2010 18:38:42 +0000 (18:38 +0000)]
Further cleanup by removing unused member variables, adding protected access and documentation

Found no direct access to member variables in the repo.

13 years agoRemove unused fourth parameter for message cache constructor
Niklas Laxström [Thu, 5 Aug 2010 18:26:13 +0000 (18:26 +0000)]
Remove unused fourth parameter for message cache constructor

13 years agoSimplify MessageCache by removing mUseCache
Niklas Laxström [Thu, 5 Aug 2010 18:19:34 +0000 (18:19 +0000)]
Simplify MessageCache by removing mUseCache

Instead, make sure mMemc is always valid

13 years agoFail fast if given invalid input. We've had some of these in the past and they were...
Niklas Laxström [Thu, 5 Aug 2010 16:40:50 +0000 (16:40 +0000)]
Fail fast if given invalid input. We've had some of these in the past and they were hard to track down.

13 years agoRefactor so that tooltipAndAccesskeyAttribs does not cause 6 message cause hits if...
Niklas Laxström [Thu, 5 Aug 2010 16:22:42 +0000 (16:22 +0000)]
Refactor so that tooltipAndAccesskeyAttribs does not cause 6 message cause hits if tooltip and accesskey don't even exists

13 years agoFollowup r70500 again. More crappy spaces
Sam Reed [Thu, 5 Aug 2010 15:43:06 +0000 (15:43 +0000)]
Followup r70500 again. More crappy spaces

13 years ago(bug 24668) Followup to r48165: code accounting for pages being moved OUT of the...
Roan Kattouw [Thu, 5 Aug 2010 15:37:21 +0000 (15:37 +0000)]
(bug 24668) Followup to r48165: code accounting for pages being moved OUT of the MediaWiki namespace needs to actually be run when moving OUT of it, not when moving INTO it

13 years agoFollowup r70500, apparently we use spaces there...
Sam Reed [Thu, 5 Aug 2010 15:34:26 +0000 (15:34 +0000)]
Followup r70500, apparently we use spaces there...

13 years agoMove the math option inside ParserOptions instead of having Math.php directly sneakin...
Platonides [Thu, 5 Aug 2010 15:24:36 +0000 (15:24 +0000)]
Move the math option inside ParserOptions instead of having Math.php directly sneaking into $wgUser.
Throw an exception if trying to use the DateFormat ParserOption and the UseDynamicDates option is not set.

13 years ago* (bug 23848) Add {{ARTICLEPATH}} Magic Word
Sam Reed [Thu, 5 Aug 2010 15:21:15 +0000 (15:21 +0000)]
* (bug 23848) Add {{ARTICLEPATH}} Magic Word

Apply my patch, as it seems to be working when I tried it this time

13 years agoFollow up r70498. Actually remove the quickUserCan().
Platonides [Thu, 5 Aug 2010 14:46:14 +0000 (14:46 +0000)]
Follow up r70498. Actually remove the quickUserCan().

13 years agoChange quickUserCan( 'edit' ) and getIsPrintable() into setEditSection( false )
Platonides [Thu, 5 Aug 2010 14:37:50 +0000 (14:37 +0000)]
Change quickUserCan( 'edit' ) and getIsPrintable() into setEditSection( false )

Follow up r48544. Init ParserOptions::mIsPrintable in initialiseFromUser()
Move the "No edit section it's printable" from Parser to Article.
This leaves getIsPrintable() unused. Left there for extensions (none seems to be using it, could be removed).

The "even if the user has them on" comment wasn't accurate. The user preference only controls them via CSS.
Anyway, it would work as expected now if it got moved into ParserOptions. The setEditSection() no longer set it to true.

Remove the quickUserCan( 'edit' ) which is just a hidden way of calling $wgUser from the Parser to be explicitely
done in Article to disable the editsection. This results in quickUserCan being called once instead of twice if $wgUseETag == true;.

13 years agoUserMailer.php: Send diff links from old->new on $wgEnotifImpersonal, not from unrela...
Ævar Arnfjörð Bjarmason [Thu, 5 Aug 2010 12:50:34 +0000 (12:50 +0000)]
UserMailer.php: Send diff links from old->new on $wgEnotifImpersonal, not from unrelated_old->old

Since UserMailer's $wgEnotifImpersonal setting was introduced in
r21897 it has ostensibly been sending out mails like these:

    The OpenStreetMap Wiki page Servers has been changed on 10:20, 5 August 2010
    by TomH, see http://wiki.openstreetmap.org/wiki/Servers for the current
    revision.

    See http://wiki.openstreetmap.org/w/index.php?title=Servers&oldid=507861&diff=prev

That link takes you to a page with the diff between:

    Revision as of 2010-07-26T15:22:38 -> Revision as of 2010-07-29T13:03:51

Instead it should take you to:

    Revision as of 2010-07-29T13:03:51 -> Revision as of 2010-08-05T10:20:50

So that you get a diff *to* the 10:20 revision mentioned in the
original E-Mail. Switch diff=prev to diff=next to fix this. Now it'll
emit a link like:

    http://wiki.openstreetmap.org/w/index.php?title=Servers&oldid=507861&diff=next

Reported-by: Grant Slater <openstreetmap@firefishy.com>
13 years agoFollowup r69091 Where did those spaces come from? :/
Sam Reed [Thu, 5 Aug 2010 07:08:06 +0000 (07:08 +0000)]
Followup r69091 Where did those spaces come from? :/

13 years agostylize api up to date
Sam Reed [Thu, 5 Aug 2010 07:02:09 +0000 (07:02 +0000)]
stylize api up to date

13 years agoRevert r70489
Sam Reed [Thu, 5 Aug 2010 06:58:11 +0000 (06:58 +0000)]
Revert r70489

13 years agoMove if ( is_array( $value ) && !$dupes ) { up to else block after the first !is_arra...
Sam Reed [Thu, 5 Aug 2010 06:08:23 +0000 (06:08 +0000)]
Move if ( is_array( $value ) && !$dupes ) { up to else block after the first !is_array. If it's not not an array, it's an array, and therefore, we can just filter dupes if requested

13 years agoFollowup r70480, per Nikerabbits comment, there '''is''' something to do
Sam Reed [Thu, 5 Aug 2010 06:02:57 +0000 (06:02 +0000)]
Followup r70480, per Nikerabbits comment, there '''is''' something to do

13 years ago-rakkaus/#mediawiki-i18n- [04-Aug-2010 22:02:04] PHP Notice: Undefined variable...
Sam Reed [Wed, 4 Aug 2010 22:02:57 +0000 (22:02 +0000)]
-rakkaus/#mediawiki-i18n- [04-Aug-2010 22:02:04] PHP Notice:  Undefined variable: required in /www/w/includes/api/ApiBase.php on line 749

13 years ago"$something ? false : true" is silly.
Aryeh Gregor [Wed, 4 Aug 2010 21:47:09 +0000 (21:47 +0000)]
"$something ? false : true" is silly.

Note: not actually tested, but it's really hard to see how it will
fail . . . really!

13 years agoFollowup r70479
Sam Reed [Wed, 4 Aug 2010 21:21:35 +0000 (21:21 +0000)]
Followup r70479

If string is required, but it's value === '', that's missing!

13 years agoFurther followup to r70460/r70461 and r70477
Sam Reed [Wed, 4 Aug 2010 21:19:53 +0000 (21:19 +0000)]
Further followup to r70460/r70461 and r70477

Move code into getParameterFromSettings, most of the flesh is there anyway (it checks isset( $value ) ), so we can use the else to check if it's required

A followup could be to whinge if '' is returned for a string

13 years agoMake search enforced by API in search by setting PARAM_REQUIRED
Sam Reed [Wed, 4 Aug 2010 20:47:58 +0000 (20:47 +0000)]
Make search enforced by API in search by setting PARAM_REQUIRED

Same for ApiQueryCategoryMembers and ApiWatch title params

More followup to r70461

13 years agoFollowup r70460/r70461
Sam Reed [Wed, 4 Aug 2010 20:27:56 +0000 (20:27 +0000)]
Followup r70460/r70461

use self consistently

Fold in duplicate loop

missingparam can be done during attempt to set ParamCache, we might aswell give up and not finish populating the param cache if we're gonna die from a missing param

13 years agoFollowup r70474 and r70461, drop missingparam from getPossibleErrors
Sam Reed [Wed, 4 Aug 2010 19:32:23 +0000 (19:32 +0000)]
Followup r70474 and r70461, drop missingparam from getPossibleErrors

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 4 Aug 2010 19:28:41 +0000 (19:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-04 18:59:00 UTC)

13 years agoFollowup r70461 if PARAM_REQUIRED is set, use for missing param in getPossibleErrors...
Sam Reed [Wed, 4 Aug 2010 19:20:15 +0000 (19:20 +0000)]
Followup r70461 if PARAM_REQUIRED is set, use for missing param in getPossibleErrors in ApiBase

All but ApiQueryBacklinks

13 years ago* Display links to book sources as external links because they are.
Danny B [Wed, 4 Aug 2010 15:45:49 +0000 (15:45 +0000)]
* Display links to book sources as external links because they are.

13 years agoFollow-up r66912: Update fallback for Uighur from ug-latn to ug-arab)
Siebrand Mazeland [Wed, 4 Aug 2010 14:41:35 +0000 (14:41 +0000)]
Follow-up r66912: Update fallback for Uighur from ug-latn to ug-arab)

13 years agoFollowup to r70460 and r70461: Use true instead of 1
X! [Wed, 4 Aug 2010 14:29:39 +0000 (14:29 +0000)]
Followup to r70460 and r70461: Use true instead of 1

13 years agoFollowup to r70460: Committed wrong version of ApiBase.php, convert all core API...
X! [Wed, 4 Aug 2010 14:15:33 +0000 (14:15 +0000)]
Followup to r70460: Committed wrong version of ApiBase.php, convert all core API modules to PARAM_REQUIRED syntax

13 years ago* PARAM_REQUIRED parameter flag added. If this flag is set, and the end user does...
X! [Wed, 4 Aug 2010 13:35:08 +0000 (13:35 +0000)]
* PARAM_REQUIRED parameter flag added. If this flag is set, and the end user does not set
  the parameter, the API will automatically throw an error.

13 years agoAdd new partial index for Postgres
Greg Sabino Mullane [Wed, 4 Aug 2010 12:40:42 +0000 (12:40 +0000)]
Add new partial index for Postgres

13 years agoCorrect casing for PL/pgSQL
Greg Sabino Mullane [Wed, 4 Aug 2010 11:58:35 +0000 (11:58 +0000)]
Correct casing for PL/pgSQL

13 years agoMinor adjustments for schema comparison
Greg Sabino Mullane [Wed, 4 Aug 2010 11:12:36 +0000 (11:12 +0000)]
Minor adjustments for schema comparison

13 years agoRemove invalid comma
Greg Sabino Mullane [Wed, 4 Aug 2010 11:09:56 +0000 (11:09 +0000)]
Remove invalid comma

13 years agoLocalization update for he.
Rotem Liss [Wed, 4 Aug 2010 10:04:26 +0000 (10:04 +0000)]
Localization update for he.

13 years agoFolloow-up r70433: Add new message key to maintenance script
Raimond Spekking [Wed, 4 Aug 2010 07:52:44 +0000 (07:52 +0000)]
Folloow-up r70433: Add new message key to maintenance script

13 years ago* (bug 24656) API's parse module needs option to disable PP report
Sam Reed [Wed, 4 Aug 2010 07:44:23 +0000 (07:44 +0000)]
* (bug 24656) API's parse module needs option to disable PP report

13 years agoX installed -> X is installed
Niklas Laxström [Wed, 4 Aug 2010 04:56:12 +0000 (04:56 +0000)]
X installed -> X is installed

Trying to make it more clear that we only detected the state and
not that we installed X now.

13 years agoPreserve cl_timestamp in updateCollation.php
Aryeh Gregor [Wed, 4 Aug 2010 00:29:20 +0000 (00:29 +0000)]
Preserve cl_timestamp in updateCollation.php

For those crazy Wikinews people, and other DPL users.  Why do we use a
crazy auto-updating column type instead of specifying the current time
explicitly when we want to update it, again . . . ?

13 years agohttp://www.mediawiki.org/wiki/User:Catrope/Stub_threshold shows us people setting...
Platonides [Tue, 3 Aug 2010 22:32:09 +0000 (22:32 +0000)]
mediawiki.org/wiki/User:Catrope/Stub_threshold shows us people setting it to insanely large values trying to disable it.
r70433 addressed the UI. Here we proxy its access via a new method getStubThreshold() that disables it if a page of such size cannot be
created (by an user), so we can serve them parser cached articles again.

13 years agoUse Disabled for the value 0 of stub threshold since there seems to be some confusion...
Platonides [Tue, 3 Aug 2010 22:13:16 +0000 (22:13 +0000)]
Use Disabled for the value 0 of stub threshold since there seems to be some confusion on how to disable it.

13 years agoTypo
Platonides [Tue, 3 Aug 2010 22:03:56 +0000 (22:03 +0000)]
Typo

13 years agoUse exact counts in updateCollation.php
Aryeh Gregor [Tue, 3 Aug 2010 21:11:16 +0000 (21:11 +0000)]
Use exact counts in updateCollation.php

There's no reason to avoid a one-time COUNT(*), is there?  It will be
free if collations are actually up-to-date, because the column is
indexed.

13 years agoDon't run updateCollations if they're up-to-date
Aryeh Gregor [Tue, 3 Aug 2010 21:07:13 +0000 (21:07 +0000)]
Don't run updateCollations if they're up-to-date

I forgot a "return;" here.

13 years agoFix breakage for people with DB prefixes
Aryeh Gregor [Tue, 3 Aug 2010 20:58:40 +0000 (20:58 +0000)]
Fix breakage for people with DB prefixes

13 years agoWhitespace, mis-spelling
Mark A. Hershberger [Tue, 3 Aug 2010 20:52:24 +0000 (20:52 +0000)]
Whitespace, mis-spelling

13 years agoRELEASE-NOTES for category changes
Aryeh Gregor [Tue, 3 Aug 2010 20:51:05 +0000 (20:51 +0000)]
RELEASE-NOTES for category changes

13 years agoClean up code now that the old path is gone
Aryeh Gregor [Tue, 3 Aug 2010 20:50:58 +0000 (20:50 +0000)]
Clean up code now that the old path is gone

13 years agoDon't duplicate the "title" query parameter
Aryeh Gregor [Tue, 3 Aug 2010 20:50:52 +0000 (20:50 +0000)]
Don't duplicate the "title" query parameter

Kind of hacky to just unset this one parameter, but it's what Pager.php
does.

13 years agoFix bug in sorting due to $wgRequest eating nulls
Aryeh Gregor [Tue, 3 Aug 2010 20:50:46 +0000 (20:50 +0000)]
Fix bug in sorting due to $wgRequest eating nulls

I'll fix this up so that the query string looks nicer later.  Embedding
nulls in query strings is not a great idea.

13 years agoFix page moves with new category sort scheme
Aryeh Gregor [Tue, 3 Aug 2010 20:50:38 +0000 (20:50 +0000)]
Fix page moves with new category sort scheme

Some other things might have to be updated, like the API and extensions.

13 years agoSort pages in categories without namespace prefix
Aryeh Gregor [Tue, 3 Aug 2010 20:50:31 +0000 (20:50 +0000)]
Sort pages in categories without namespace prefix

This removes $wgCategoryPrefixedDefaultSortkey and effectively always
makes it false.  The setting was added in the first place to hack around
the default, clearly broken behavior, but this just fixes it instead, so
the setting is no longer needed.

Running maintenance/updateCollation.php for the first time will fix
this, no need to run refreshLinks.php.  If you've already run
updateCollation.php, you can do UPDATE categorylinks SET cl_collation =
76; or such and then run the script again.

13 years agoEnable new category sort by default
Aryeh Gregor [Tue, 3 Aug 2010 20:50:01 +0000 (20:50 +0000)]
Enable new category sort by default

Patch best viewed with whitespace changes ignored.  This will doubtless
introduce a bunch of bugs.  Please report any so I can fix them.  If
they're big enough and the fix isn't obvious, please revert.

13 years agoFollow up to r69185: add documentation for wfUILang()
Niklas Laxström [Tue, 3 Aug 2010 20:39:35 +0000 (20:39 +0000)]
Follow up to r69185: add documentation for wfUILang()

13 years agoFollow-up r69898: fix Undefined variable: wgCookiePrefix in /ApiLogin.php on line 94
Siebrand Mazeland [Tue, 3 Aug 2010 20:05:38 +0000 (20:05 +0000)]
Follow-up r69898: fix Undefined variable: wgCookiePrefix in /ApiLogin.php on line 94

13 years agoFollow-up r70109: use restore_error_handler()
Niklas Laxström [Tue, 3 Aug 2010 19:46:18 +0000 (19:46 +0000)]
Follow-up r70109: use restore_error_handler()

13 years agoIf getMasterPos can be safely inherited, so can setFakeMaster
Platonides [Tue, 3 Aug 2010 19:37:46 +0000 (19:37 +0000)]
If getMasterPos can be safely inherited, so can setFakeMaster

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 3 Aug 2010 19:17:55 +0000 (19:17 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-03 18:53:00 UTC)

13 years agoRemove all calls to $wgMessageCache->loadAllMessages()
Platonides [Tue, 3 Aug 2010 19:15:43 +0000 (19:15 +0000)]
Remove all calls to $wgMessageCache->loadAllMessages()
Deprecated and empty since r52503

13 years agoUse int: to keep references consistent.
Siebrand Mazeland [Tue, 3 Aug 2010 19:15:23 +0000 (19:15 +0000)]
Use int: to keep references consistent.

13 years ago* fix changed link in $bookstoreList
Danny B [Tue, 3 Aug 2010 18:45:50 +0000 (18:45 +0000)]
* fix changed link in $bookstoreList

13 years agoWeigh reverse with factor 20 so coloring takes effect more quickly.
Siebrand Mazeland [Tue, 3 Aug 2010 18:42:14 +0000 (18:42 +0000)]
Weigh reverse with factor 20 so coloring takes effect more quickly.

13 years agoUse firstChar() in firstLetterForLists()
Aryeh Gregor [Tue, 3 Aug 2010 17:47:10 +0000 (17:47 +0000)]
Use firstChar() in firstLetterForLists()

This will hopefully avoid regression in non-English languages when this
stub starts being used.

13 years agoChange from global to parameter.
Platonides [Tue, 3 Aug 2010 14:16:10 +0000 (14:16 +0000)]
Change from global to parameter.

13 years agoFollow up r70356.
Platonides [Tue, 3 Aug 2010 13:23:31 +0000 (13:23 +0000)]
Follow up r70356.
Improve WebRequest getAcceptLang(): Add support for q=0 language and the special range "*", always return the language codes in lowercase.

13 years agoBold outside link
Siebrand Mazeland [Mon, 2 Aug 2010 22:08:24 +0000 (22:08 +0000)]
Bold outside link

13 years agoFix typos.
Siebrand Mazeland [Mon, 2 Aug 2010 21:58:42 +0000 (21:58 +0000)]
Fix typos.

13 years agoFix typo.
Siebrand Mazeland [Mon, 2 Aug 2010 21:41:15 +0000 (21:41 +0000)]
Fix typo.

13 years agoFollow-up to r64587:
Max Semenik [Mon, 2 Aug 2010 20:16:36 +0000 (20:16 +0000)]
Follow-up to r64587:
* Use WebRequest::getAcceptLang() instead of home-brewed code (and in LanguageConverter too).
* Refactored that function to use getHeader()

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 2 Aug 2010 19:41:49 +0000 (19:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-02 19:17:00 UTC)

13 years ago* (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto
Raimond Spekking [Mon, 2 Aug 2010 19:03:18 +0000 (19:03 +0000)]
* (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto

13 years agoRemoved Article::getRobotPolicyForView() - deprecated and not used anywhere
Max Semenik [Mon, 2 Aug 2010 18:51:18 +0000 (18:51 +0000)]
Removed Article::getRobotPolicyForView() - deprecated and not used anywhere