lhc/web/wiklou.git
13 years agoRemoves $wgSecureLoginStickHTTPS which was never really used
Antoine Musso [Sat, 8 Jan 2011 13:06:17 +0000 (13:06 +0000)]
Removes $wgSecureLoginStickHTTPS which was never really used

Follow up r75585

13 years agoFollow-up r79845: add function documentation; only call wfMakeDirsParent if we have...
Bryan Tong Minh [Sat, 8 Jan 2011 11:49:09 +0000 (11:49 +0000)]
Follow-up r79845: add function documentation; only call wfMakeDirsParent if we have a dest path.

On r79845 I submitted a wrong commit summary, here is it for reference:

(bug 6672) Images are now autorotated according to their EXIF orientation. Following the Flickr example, this only affects thumbnails, with the source unrotated.

* Introduced BitmapHandler::canRotate() and BitmapHandler::getRotation() to check if rotation is supported and what the amount of rotation is
* Factored out scaler determination into BitmapHandler::getScalerType()
* ImageMagick uses the -auto-orientation option
* GD uses imagerotate()
* Unconditionally show the thumb size on the image page, don't know why this wasn't shown for SVGs etc.

13 years agoBug 26563: Add bytes changed per revision for stub and full article dumps
Rob Lanphier [Sat, 8 Jan 2011 03:11:06 +0000 (03:11 +0000)]
Bug 26563: Add bytes changed per revision for stub and full article dumps

13 years agoFix & additions for strtr vs str_replace benchmarks (for bug 26605 discussion)
Brion Vibber [Sat, 8 Jan 2011 01:10:42 +0000 (01:10 +0000)]
Fix & additions for strtr vs str_replace benchmarks (for bug 26605 discussion)

The strtr function in the benchmark was slightly artificially accelerated by replacing '_' with '' (empty) instead of ' ' (space), making the output string shorter and thus processing faster. This is now fixed, which makes the results slightly closer.
I also added 'indirect' functions to the benchmark, which instead of calling strtr/str_replace directly, call a global function which then calls them (equivalent to what we'd do if we turned the replaces into wf* global functions)

strtr() does appear to be slightly faster than str_replace() for this workload, but it's fairly modest and approximately the same as the overhead of a function call.

Results on my test box (MacBook Pro, 2.4GHz Core 2 Duo, Mac OS X 10.6.6, 64-bit PHP 5.3.4 built via MacPorts) with 10,000 reps:

$ php bench_strtr_str_replace.php --count=10000
10000 times: function bench_strtr_str_replace->benchstrtr() :
    19.67ms (  0.00ms each)
10000 times: function bench_strtr_str_replace->benchstr_replace() :
    22.05ms (  0.00ms each)
10000 times: function bench_strtr_str_replace->benchstrtr_indirect() :
    22.53ms (  0.00ms each)
10000 times: function bench_strtr_str_replace->benchstr_replace_indirect() :
    26.29ms (  0.00ms each)

13 years agoFollow up r79848. Fix the syntax error.
Platonides [Sat, 8 Jan 2011 00:46:45 +0000 (00:46 +0000)]
Follow up r79848. Fix the syntax error.

13 years ago* (bug 26625) fix regression in Special:PrefixIndex from r75314; pages weren't listed...
Brion Vibber [Fri, 7 Jan 2011 23:52:19 +0000 (23:52 +0000)]
* (bug 26625) fix regression in Special:PrefixIndex from r75314; pages weren't listed if namespace was set but no prefix given

13 years agoRm code that has been commented out for almost 6 years
Chad Horohoe [Fri, 7 Jan 2011 22:41:24 +0000 (22:41 +0000)]
Rm code that has been commented out for almost 6 years

13 years agoAdd DatabaseBase::classFromType() to reduce the 'Database' . $type duplication
Chad Horohoe [Fri, 7 Jan 2011 22:32:52 +0000 (22:32 +0000)]
Add DatabaseBase::classFromType() to reduce the 'Database' . $type duplication

13 years agoFollow-up r79713: add authors to README as well
Bryan Tong Minh [Fri, 7 Jan 2011 22:13:14 +0000 (22:13 +0000)]
Follow-up r79713: add authors to README as well

13 years ago$wgMaxUploadSize may now be set to an array to specify the upload size limit per...
Bryan Tong Minh [Fri, 7 Jan 2011 22:12:05 +0000 (22:12 +0000)]
$wgMaxUploadSize may now be set to an array to specify the upload size limit per upload type.

Backwards compatible, if not set to an array, applies to all uploads. If set to an array, per upload type maximums can be set, using the file and url keys. If the * key is set this value will be used as maximum for non-specified types.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Fri, 7 Jan 2011 21:37:38 +0000 (21:37 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-01-07 20:49:00 UTC)

13 years agoUse __construct()
Chad Horohoe [Fri, 7 Jan 2011 20:49:11 +0000 (20:49 +0000)]
Use __construct()

13 years agoRemove ancient and deprecated newFromParams() constructor wrappers from various Datab...
Chad Horohoe [Fri, 7 Jan 2011 20:25:52 +0000 (20:25 +0000)]
Remove ancient and deprecated newFromParams() constructor wrappers from various DatabaseBase implementations. Only callers are AskSql and WikiTrust. Both are calling the (very old) Database class anyway, so are obviously expecting a MySQL connection and can use the fallback (which yells wfDeprecated) in DatabaseBase

13 years ago(bug 26497) printable=yes and handheld=yes request parameters were broken. Fixed...
Roan Kattouw [Fri, 7 Jan 2011 20:22:50 +0000 (20:22 +0000)]
(bug 26497) printable=yes and handheld=yes request parameters were broken. Fixed this in a bit of an ugly way, by propagating these parameters to load.php and running OutputPage::transformCssMedia() on it there. This revision also fixes the fact that ResourceLoader ignored $wgHandheldForIPhone, and no longer wraps styles in @media all { } because it's useless and breaks @import (which can't be used inside @media ; this is bug 26478)

13 years agoFollowup r66267, usage of $revisionInfo is undefined, but isset is on $uploadInfo...
Sam Reed [Fri, 7 Jan 2011 19:51:58 +0000 (19:51 +0000)]
Followup r66267, usage of $revisionInfo is undefined, but isset is on $uploadInfo, guessing the usages wanted to be $uploadInfo

13 years agoFollow-up r79828: Add dot
Raimond Spekking [Fri, 7 Jan 2011 19:51:27 +0000 (19:51 +0000)]
Follow-up r79828: Add dot

13 years agoDocument how the mime<->extension map is supposed to work, to my best understanding...
Bryan Tong Minh [Fri, 7 Jan 2011 19:41:38 +0000 (19:41 +0000)]
Document how the mime<->extension map is supposed to work, to my best understanding from reading the code. Fixed the built-in mini-mime.types according to this specification. Should fix bug 26367.

13 years agoRm stray html tag
Chad Horohoe [Fri, 7 Jan 2011 19:41:08 +0000 (19:41 +0000)]
Rm stray html tag

13 years agoForgot param 1, make URL param 2 per Nikerabbit
Chad Horohoe [Fri, 7 Jan 2011 18:41:55 +0000 (18:41 +0000)]
Forgot param 1, make URL param 2 per Nikerabbit

13 years agoMove over some initial_setup() for Postgres (THIS IS BROKEN, NEEDS REVIEW/WORK FROM...
Chad Horohoe [Fri, 7 Jan 2011 18:24:56 +0000 (18:24 +0000)]
Move over some initial_setup() for Postgres (THIS IS BROKEN, NEEDS REVIEW/WORK FROM POSTGRES GUYS!!)
* Ported canCreateAccounts() check
* Moved creation of new user to setupUser()
* Moved DB creation (still needs schema stuff) to setupDatabase() where it belongs
* Added ts2 setup

TODO:
* UI for non-admin account (like MysqlInstaller::getSettingsForm) and maybe move ts2 and other "optional" settings there
* Schema creation/setup

13 years agoRevert r79807
Sam Reed [Fri, 7 Jan 2011 18:08:35 +0000 (18:08 +0000)]
Revert r79807

13 years agoFix indentation in r79746
Roan Kattouw [Fri, 7 Jan 2011 12:59:25 +0000 (12:59 +0000)]
Fix indentation in r79746

13 years agoAllow CLI installer to set $whShowExceptionDetails
Sam Reed [Fri, 7 Jan 2011 05:43:51 +0000 (05:43 +0000)]
Allow CLI installer to set $whShowExceptionDetails

13 years ago[[user:Microchip08]] suggested that it'd be cool if special:contribs redirected
Brian Wolff [Fri, 7 Jan 2011 03:13:16 +0000 (03:13 +0000)]
[[user:Microchip08]] suggested that it'd be cool if special:contribs redirected
to special:contributions. I also think it'd be cool, so tada.

I'm unusre if creating new special page aliases that aren't strictly neccesary
is discouraged. If it is, please mark this fixme or revert it or find me and yell at me ;)

13 years agoWiden documentation header also
Sam Reed [Fri, 7 Jan 2011 03:12:07 +0000 (03:12 +0000)]
Widen documentation header also

13 years agoWiden api help splitters
Sam Reed [Fri, 7 Jan 2011 03:04:03 +0000 (03:04 +0000)]
Widen api help splitters

13 years agoRemove some blank lines
Sam Reed [Fri, 7 Jan 2011 02:53:00 +0000 (02:53 +0000)]
Remove some blank lines

Spaces to tabs in ApiBase

13 years agoAdd some more requireOnlyOneParameter related errors
Sam Reed [Fri, 7 Jan 2011 02:42:16 +0000 (02:42 +0000)]
Add some more requireOnlyOneParameter related errors

Remove some duplicated errors

13 years agoRemove one invalid errors, add 2 that could be returned
Sam Reed [Fri, 7 Jan 2011 02:29:31 +0000 (02:29 +0000)]
Remove one invalid errors, add 2 that could be returned

13 years agoUpdate comment for r64876
Tim Starling [Fri, 7 Jan 2011 01:38:06 +0000 (01:38 +0000)]
Update comment for r64876

13 years agoFollowup r72119, add some braces
Sam Reed [Fri, 7 Jan 2011 00:55:09 +0000 (00:55 +0000)]
Followup r72119, add some braces

Document $db in parserTest

13 years agoComment in code says - truncate to 250 bytes, then add ellipse. but
Brian Wolff [Fri, 7 Jan 2011 00:17:52 +0000 (00:17 +0000)]
Comment in code says - truncate to 250 bytes, then add ellipse. but
we don't add the ellipse, so change it to add the ellipse. The
comment and code should be the same, and since we have the room
might as well add the ellipse.

This normally wouldn't affect much, since users with JS on
will be prevented from adding that long a summary on the
client side

13 years agoMore tweaks/comments/fixups per r79455
Sam Reed [Thu, 6 Jan 2011 23:35:59 +0000 (23:35 +0000)]
More tweaks/comments/fixups per r79455

ApiParse is a mess!

13 years agoAdding some spaces, and some else block comments (due to length or ApiParse [and...
Sam Reed [Thu, 6 Jan 2011 23:19:19 +0000 (23:19 +0000)]
Adding some spaces, and some else block comments (due to length or ApiParse [and as such bug 26534] being duplicated and crappy), to help matching and readability

13 years agoImproves on r79766, and thus also r79582 - the original only applied the width and...
Trevor Parscal [Thu, 6 Jan 2011 22:46:05 +0000 (22:46 +0000)]
Improves on r79766, and thus also r79582 - the original only applied the width and height to the .icon selector.

13 years agoadd comment per bug 17961
Ilmari Karonen [Thu, 6 Jan 2011 22:45:59 +0000 (22:45 +0000)]
add comment per bug 17961

13 years agoTypofix key names
Chad Horohoe [Thu, 6 Jan 2011 22:45:34 +0000 (22:45 +0000)]
Typofix key names

13 years ago(bug 25969) Allow hyphens in db name/prefix. Lots of duplication here :(
Chad Horohoe [Thu, 6 Jan 2011 22:43:46 +0000 (22:43 +0000)]
(bug 25969) Allow hyphens in db name/prefix. Lots of duplication here :(

13 years agoImproves on r79582 - no need to delete the rules, just merge them! Do you really...
Trevor Parscal [Thu, 6 Jan 2011 22:42:30 +0000 (22:42 +0000)]
Improves on r79582 - no need to delete the rules, just merge them! Do you really want to second-guess why jQuery UI put them there?

13 years agoFix docs per comment on r78774
Chad Horohoe [Thu, 6 Jan 2011 22:33:21 +0000 (22:33 +0000)]
Fix docs per comment on r78774

13 years agoFollow up r79759. Title::loadRestrictionsFromRows called by LiquidThreads
Platonides [Thu, 6 Jan 2011 22:19:42 +0000 (22:19 +0000)]
Follow up r79759. Title::loadRestrictionsFromRows called by LiquidThreads

13 years agofollow-up r79706 (the cl_timestamp updating on null edit bug) add comment to
Brian Wolff [Thu, 6 Jan 2011 22:09:58 +0000 (22:09 +0000)]
follow-up r79706 (the cl_timestamp updating on null edit bug) add comment to
sql file about the length of the cl_sortkey_prefix field, per comment on CR
by Nikerabbit.

13 years agoFix string concat error in r66150. Also was a bug/notice in TW
Sam Reed [Thu, 6 Jan 2011 22:06:47 +0000 (22:06 +0000)]
Fix string concat error in r66150. Also was a bug/notice in TW

13 years agoAddress my r76242 fixme.
Platonides [Thu, 6 Jan 2011 21:26:20 +0000 (21:26 +0000)]
Address my r76242 fixme.
Remove invalidateTitleProtectionCache().
Set $mTitleProtection to the proper value when we change it instead of forcing a reload via the protected_titles table.
Make Title::loadRestrictionsFromRows() private since it is only called by the private loadRestrictionsFromResultWrapper() and nobody should be fiddling with such title internals anyway  (follow up to r54527).
Removed the invalidateTitleProtectionCache() from getCascadeProtectionSources() since that function only deals with titles which do exist. There's nothing to invalidate there.

13 years agoFollow-up r78452: missed a couple of hidden fields in SpecialUpload
Happy-melon [Thu, 6 Jan 2011 21:17:03 +0000 (21:17 +0000)]
Follow-up r78452: missed a couple of hidden fields in SpecialUpload

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Thu, 6 Jan 2011 21:04:43 +0000 (21:04 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-01-06 20:47:00 UTC)

13 years agoAdd benchmark for bug 26605 Use strtr instead of str_replace when possible
Sam Reed [Thu, 6 Jan 2011 21:00:44 +0000 (21:00 +0000)]
Add benchmark for bug 26605 Use strtr instead of str_replace when possible

13 years agoGroup settings modifications at the top of the file
Alexandre Emsenhuber [Thu, 6 Jan 2011 21:00:17 +0000 (21:00 +0000)]
Group settings modifications at the top of the file

13 years agoMore ancient deprecated functions:
Happy-melon [Thu, 6 Jan 2011 20:40:42 +0000 (20:40 +0000)]
More ancient deprecated functions:
* OutputPage::setParserOptions() - 1.6 (r12183)
* OutputPage::addPrimaryWikitext() - 1.10 (r19095)
* OutputPage::addSecondaryWikiText() - 1.10 (r19520)
* OutputPage::tryParserCache() - 1.16 (r52888)
* OutputPage::reportTime() - 1.6 (r11117)
* OutputPage::<various error pages> - 1.7 (r14631)

13 years agoFix grammatical error. Spotted by Lloffiwr.
Siebrand Mazeland [Thu, 6 Jan 2011 20:16:37 +0000 (20:16 +0000)]
Fix grammatical error. Spotted by Lloffiwr.

13 years agoRevert r78000 (removing PHP version from environment checks), never got a chance...
Chad Horohoe [Thu, 6 Jan 2011 20:03:52 +0000 (20:03 +0000)]
Revert r78000 (removing PHP version from environment checks), never got a chance to redo this prettier

13 years ago$wgMaxUploadSize may now be set to an array to specify the upload size limit per...
Bryan Tong Minh [Thu, 6 Jan 2011 19:42:55 +0000 (19:42 +0000)]
$wgMaxUploadSize may now be set to an array to specify the upload size limit per upload type.

Backwards compatible, if not set to an array, applies to all uploads. If set to an array, per upload type maximums can be set, using the file and url keys. If the * key is set this value will be used as maximum for non-specified types.

13 years agoFollowup r79702, r66793, r66822
Sam Reed [Thu, 6 Jan 2011 19:27:17 +0000 (19:27 +0000)]
Followup r79702, r66793, r66822

Add patch to kill bad original ar_page_revid index (did exist as 2 definitions under the same name). Add patch to add index ar_revid per FIXME, though, hopefully only a temporary index

Updated tables.sql with new index

13 years agoFixes for r75545: don't use MEDIAWIKI_INSTALL in the updaters classes, it's not what...
Chad Horohoe [Thu, 6 Jan 2011 19:25:47 +0000 (19:25 +0000)]
Fixes for r75545: don't use MEDIAWIKI_INSTALL in the updaters classes, it's not what it's for. Add new DBO_DDLMODE flag which does the same thing (and moved it up to DatabaseUpdater, in case any other children need it)

13 years agoFollow up r78786. Do not mark as @deprecated yet, since it is called by getQueryInfo().
Platonides [Thu, 6 Jan 2011 19:15:02 +0000 (19:15 +0000)]
Follow up r78786. Do not mark as @deprecated yet, since it is called by getQueryInfo().

13 years agoMore ancient deprecated functions:
Happy-melon [Thu, 6 Jan 2011 18:53:53 +0000 (18:53 +0000)]
More ancient deprecated functions:
* Linker::postParseLinkColour() - 1.5 (r8662)
* Linker::editSectionLink() and editSectionLinkForOther() - 1.14 (r38161)

Linker::tooltip() and Linker::tooltipWithAccessKey() are old, but still used all over the place.

13 years agoFix ParserOptions so it uses correct language when transforming messages as reported...
Chad Horohoe [Thu, 6 Jan 2011 18:22:24 +0000 (18:22 +0000)]
Fix ParserOptions so it uses correct language when transforming messages as reported on translatewiki.net.

13 years agoRemove unused global $wgRestrictionTypes, changed into Title::getRestrictionTypes...
Platonides [Thu, 6 Jan 2011 18:15:50 +0000 (18:15 +0000)]
Remove unused global $wgRestrictionTypes, changed into Title::getRestrictionTypes() in r79655

13 years agoRemove ancient deprecated functions:
Happy-melon [Thu, 6 Jan 2011 18:04:04 +0000 (18:04 +0000)]
Remove ancient deprecated functions:
* Article::getDB(), deprecated in 1.13 (r36334)
* Article::showArticle() - 1.7 (r14809)
* User::SetupSession() - 1.8 (r15823)
* User::isBot() - 1.8 (r15689)
Annotate other deprecated functions with @since <version>

13 years agoFollowup r79684: forgot to commit a file
Chad Horohoe [Thu, 6 Jan 2011 17:41:09 +0000 (17:41 +0000)]
Followup r79684: forgot to commit a file

13 years agoFollow up r79715. Remove some plaintext. But don't do it again.
Platonides [Thu, 6 Jan 2011 17:27:03 +0000 (17:27 +0000)]
Follow up r79715. Remove some plaintext. But don't do it again.

13 years agoname attribute is invalid on <tr>s, and long-since deprecated generally.
Happy-melon [Thu, 6 Jan 2011 17:22:38 +0000 (17:22 +0000)]
name attribute is invalid on <tr>s, and long-since deprecated generally.

13 years agoPass 0 as 2nd parameter of an Article Constructor (2 cases)
Sam Reed [Thu, 6 Jan 2011 17:06:05 +0000 (17:06 +0000)]
Pass 0 as 2nd parameter of an Article Constructor (2 cases)

13 years agoFix bug 26570 (user CSS preview broken) and bug 26555 (styles added with $out->addSty...
Roan Kattouw [Thu, 6 Jan 2011 16:58:29 +0000 (16:58 +0000)]
Fix bug 26570 (user CSS preview broken) and bug 26555 (styles added with $out->addStyle() are loaded after site/user CSS)

Did this by moving RL <link> generation from getHeadLinks() to buildCssLinks() (Trevor did this earlier), but did it right this time:
* Updated callers for buildCssLinks() parameter list change so stuff doesn't explode
* Considered making buildCssLinks() tolerant of a missing $sk parameter, but decided against this: it's not used in SVN extensions anywhere
* Changed addInlineStyle() to add styles to $this->mInlineStyles instead of $this->mScripts. This unbreaks addInlineStyle(), which was used for CSS previews
* Added styles added through addStyle()/addInlineStyle() in the right place (right after normal RL styles)

13 years agoFix -rakkaus/#mediawiki-i18n- [06-Jan-2011 16:10:59] PHP Notice: Undefined variable...
Sam Reed [Thu, 6 Jan 2011 16:24:49 +0000 (16:24 +0000)]
Fix -rakkaus/#mediawiki-i18n- [06-Jan-2011 16:10:59] PHP Notice:  Undefined variable: text in /www/w/includes/api/ApiParse.php on line 295 from r79455

13 years agoMore documentation formatting
Happy-melon [Thu, 6 Jan 2011 15:55:56 +0000 (15:55 +0000)]
More documentation formatting

13 years agoFixup my FIXME on r79708
Sam Reed [Thu, 6 Jan 2011 15:47:57 +0000 (15:47 +0000)]
Fixup my FIXME on r79708

Check inner array set, before doing count

Also add method documentation

13 years agoFollowup r79709, re-add equals
Sam Reed [Thu, 6 Jan 2011 15:27:49 +0000 (15:27 +0000)]
Followup r79709, re-add equals

Removed due to previous CR, that had not had any response to, so presumed right

13 years agoFollowup r79707, nicer whitespace. Beyond this, I'm beyond caring...
Sam Reed [Thu, 6 Jan 2011 15:25:31 +0000 (15:25 +0000)]
Followup r79707, nicer whitespace. Beyond this, I'm beyond caring...

13 years ago(bug 26535) Variable naming collision in MessageBlobStore::updateMessage() caused...
Roan Kattouw [Thu, 6 Jan 2011 15:13:24 +0000 (15:13 +0000)]
(bug 26535) Variable naming collision in MessageBlobStore::updateMessage() caused exception ('Non-string key given' in MessageCache) when conflicted updates were retried.

13 years agowfEmptyMsg() doesn't require a second parameter anymore
Alexandre Emsenhuber [Thu, 6 Jan 2011 13:07:51 +0000 (13:07 +0000)]
wfEmptyMsg() doesn't require a second parameter anymore

13 years agostrrev() per Roan's suggestion
Tim Starling [Thu, 6 Jan 2011 12:07:36 +0000 (12:07 +0000)]
strrev() per Roan's suggestion

13 years agoAdded three more people to the author list.
Tim Starling [Thu, 6 Jan 2011 09:42:57 +0000 (09:42 +0000)]
Added three more people to the author list.

13 years agoFix for bug 20281. Determining the function of this code is left as an exercise to...
Tim Starling [Thu, 6 Jan 2011 09:41:24 +0000 (09:41 +0000)]
Fix for bug 20281. Determining the function of this code is left as an exercise to the reader.

13 years agoFixup FIXME on r65818
Sam Reed [Thu, 6 Jan 2011 03:27:01 +0000 (03:27 +0000)]
Fixup FIXME on r65818

13 years agoFixup fixme on r67819
Sam Reed [Thu, 6 Jan 2011 03:24:35 +0000 (03:24 +0000)]
Fixup fixme on r67819

13 years agoFixup minor FIXME on r66724
Sam Reed [Thu, 6 Jan 2011 03:21:01 +0000 (03:21 +0000)]
Fixup minor FIXME on r66724

13 years agoFixup raw sql building
Sam Reed [Thu, 6 Jan 2011 02:51:32 +0000 (02:51 +0000)]
Fixup raw sql building

13 years ago(Bug 25254) cl_timestamp gets updated on null edit where it shouldn't.
Brian Wolff [Thu, 6 Jan 2011 02:42:51 +0000 (02:42 +0000)]
(Bug 25254) cl_timestamp gets updated on null edit where it shouldn't.
Caused by two things:
*after the new category collation stuff, the if this category has changed
code was comparing the user supplied sortkey, with the collation sortable
sortkey, which didn't work. (See also CR for r70415) This is new issue in 1.17
*If the sortkey was too long (long enough to get truncated by DB), then the
did this sortkey change code also failed since it was  comparing the
non-truncated sortkey to the truncated sortkey. This issue is present
in older (all previous?) versions of mediawiki. This issue especially affects
non-latin wikis that use 3-byte characters.

This bug primarily is an issue for people using DPL type extension.

I wasn't sure if i should add RELEASE-NOTES, since i'm tagging this 1.17

13 years agoFix fixme on r71071, if passed type is not in the array returned by getExtensionTypes...
Sam Reed [Thu, 6 Jan 2011 02:30:02 +0000 (02:30 +0000)]
Fix fixme on r71071, if passed type is not in the array returned by getExtensionTypes(), return the other message by default

13 years agoPer fixme on r66822, change index to CREATE INDEX /*i*/ar_page_revid ON /*_*/archive...
Sam Reed [Thu, 6 Jan 2011 02:15:53 +0000 (02:15 +0000)]
Per fixme on r66822, change index to CREATE INDEX /*i*/ar_page_revid ON /*_*/archive (ar_rev_id);

13 years agoFixup nasty way of listing tables and left joining in other tables. Use better join_c...
Sam Reed [Thu, 6 Jan 2011 01:23:05 +0000 (01:23 +0000)]
Fixup nasty way of listing tables and left joining in other tables. Use better join_conds syntax

13 years agoMinor followup to r79649. Rename variables
Sam Reed [Thu, 6 Jan 2011 00:31:23 +0000 (00:31 +0000)]
Minor followup to r79649. Rename variables

13 years agoFollow-up to r78285: remove blacklisted file types from $wgFileExtensions in Setup...
Benjamin Lees [Thu, 6 Jan 2011 00:12:49 +0000 (00:12 +0000)]
Follow-up to r78285: remove blacklisted file types from $wgFileExtensions in Setup.php, rather than in specials/SpecialUpload.php.

13 years agoUnused global
Platonides [Wed, 5 Jan 2011 23:59:04 +0000 (23:59 +0000)]
Unused global

13 years agoUnused global
Platonides [Wed, 5 Jan 2011 23:56:10 +0000 (23:56 +0000)]
Unused global

13 years ago $messageMemc is used as local variable in line 63, function setUp
Platonides [Wed, 5 Jan 2011 23:54:07 +0000 (23:54 +0000)]
 $messageMemc is used as local variable in line 63, function setUp
 $messageMemc is used as local variable in line 74, function setUp

13 years agoWrote jquery.colorUtil plugin.
Krinkle [Wed, 5 Jan 2011 23:24:07 +0000 (23:24 +0000)]
Wrote jquery.colorUtil plugin.
* Introduces rgbToHsl and hslToRgb functions
* Introdoces a simple way to get a brigher or darker color
* Moved getRGB() function and colors-array from jquery.color to it so they are publically available.
* Applied fixed from JSLint to all of this
* Made jquery.color use these instead to avoid duplication and added dependency for it

13 years agoRemove the createaccount error check, failing since r79377.
Platonides [Wed, 5 Jan 2011 23:20:54 +0000 (23:20 +0000)]
Remove the createaccount error check, failing since r79377.
The * group have createaccount right, so this seems an error.

13 years agoMove pass/fail message out of doEnvironmentChecks(), return a Status and let callers...
Chad Horohoe [Wed, 5 Jan 2011 23:20:12 +0000 (23:20 +0000)]
Move pass/fail message out of doEnvironmentChecks(), return a Status and let callers do it instead. Also moves the <span> out of the message.

13 years agoDocumentation format
Happy-melon [Wed, 5 Jan 2011 23:08:13 +0000 (23:08 +0000)]
Documentation format

13 years agoFailing test for bug 11748
Platonides [Wed, 5 Jan 2011 22:44:56 +0000 (22:44 +0000)]
Failing test for bug 11748

13 years ago* Validate e-mail address if provided
Chad Horohoe [Wed, 5 Jan 2011 22:37:14 +0000 (22:37 +0000)]
* Validate e-mail address if provided
* Actually setEmail() on the sysop account we're creating
* Reinstate "subscribe to mediawiki-announce" feature (reverts r79089) which actually works

13 years ago* (bug 26480) add a pppageprops param to prop=pageprops
Sam Reed [Wed, 5 Jan 2011 22:11:39 +0000 (22:11 +0000)]
* (bug 26480) add a pppageprops param to prop=pageprops

13 years agoMinor code order tweaks in ApiQueryPageProps.
Sam Reed [Wed, 5 Jan 2011 21:59:05 +0000 (21:59 +0000)]
Minor code order tweaks in ApiQueryPageProps.

Remove getPossibleErrors, as it adds an error that this module doesn't through

13 years ago* (bug 26484) add a lltitles param to prop=langlinks
Sam Reed [Wed, 5 Jan 2011 21:51:12 +0000 (21:51 +0000)]
* (bug 26484) add a lltitles param to prop=langlinks

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Wed, 5 Jan 2011 21:32:10 +0000 (21:32 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-01-05 21:11:00 UTC)

13 years ago* (bug 26483) add a iwtitles param to prop=iwlinks
Sam Reed [Wed, 5 Jan 2011 21:28:18 +0000 (21:28 +0000)]
* (bug 26483) add a iwtitles param to prop=iwlinks

13 years agoAdd IDs to various revdel notices for skinning.
Happy-melon [Wed, 5 Jan 2011 21:25:04 +0000 (21:25 +0000)]
Add IDs to various revdel notices for skinning.

13 years agoFollow-up r79655: array_diff makes in_array unnecessary
Bryan Tong Minh [Wed, 5 Jan 2011 19:58:09 +0000 (19:58 +0000)]
Follow-up r79655: array_diff makes in_array unnecessary