lhc/web/wiklou.git
15 years agoLocalisation updates for core messages from Betawiki (2008-09-07 00:39 CEST)
Siebrand Mazeland [Sat, 6 Sep 2008 22:57:09 +0000 (22:57 +0000)]
Localisation updates for core messages from Betawiki (2008-09-07 00:39 CEST)

15 years agoRemove type check for userIsNew(), shouldn't be needed
Aaron Schulz [Sat, 6 Sep 2008 21:52:18 +0000 (21:52 +0000)]
Remove type check for userIsNew(), shouldn't be needed

15 years agoCommitting a work on progress on improvements to the new upload code. Still needs...
Bryan Tong Minh [Sat, 6 Sep 2008 21:26:46 +0000 (21:26 +0000)]
Committing a work on progress on improvements to the new upload code. Still needs some work to allow extensions to interact with it and also needs documentation. Modified SpecialUpload.php not committed.

15 years agoMight as well be more consistent with "change protection" links
Aaron Schulz [Sat, 6 Sep 2008 17:30:23 +0000 (17:30 +0000)]
Might as well be more consistent with "change protection" links

15 years agoFix regression from r40518; keep current values of page when no query params given
Aaron Schulz [Sat, 6 Sep 2008 17:12:45 +0000 (17:12 +0000)]
Fix regression from r40518; keep current values of page when no query params given

15 years agoFix typo for OldChangesList
Aaron Schulz [Sat, 6 Sep 2008 15:11:54 +0000 (15:11 +0000)]
Fix typo for OldChangesList

15 years ago* Mark non-autoconfirmed users in RC
Aaron Schulz [Sat, 6 Sep 2008 15:01:59 +0000 (15:01 +0000)]
* Mark non-autoconfirmed users in RC
* Avoid overselecting fields in RC and add $fields to SpecialRecentChangesQuery
* Some whitespace tweaks in RecentChange.php. Remove dead code.
* Avoid rc_new check in ChangesList
* Move some "unpatrolled" CSS to shared.css. Add 'newuser' CSS.
* Bump style version

15 years agoImplemented blob support for SQLite. Allows null characters to be inserted into the...
Tim Starling [Sat, 6 Sep 2008 13:56:59 +0000 (13:56 +0000)]
Implemented blob support for SQLite. Allows null characters to be inserted into the database. Avoids total breakage of the objectcache table. For trunk and 1.13.

15 years agoSyntax error. Consequently, getCookie() returns null if it can't find one, so we...
Chad Horohoe [Sat, 6 Sep 2008 12:51:09 +0000 (12:51 +0000)]
Syntax error. Consequently, getCookie() returns null if it can't find one, so we can just directly call it here and skip a logic step.

15 years ago* Add getCookie() method to WebRequest as a wrapper for $_COOKIE. Updated all instanc...
Chad Horohoe [Sat, 6 Sep 2008 12:38:34 +0000 (12:38 +0000)]
* Add getCookie() method to WebRequest as a wrapper for $_COOKIE. Updated all instances of $_COOKIE to use this.
* Switch from running fix_magic_quotes() on $_COOKIE and $_GET/$_POST to running it on $this->cookies and $this->data. Should keep us from interfering with other programs that might do the same (and/or trying to start up a second WebRequest object). This partially fixes bug 11558.
* Todo: Do similar things with $_SERVER/$_ENV and switch to a lazy-load style, rather than on every new WebRequest.

15 years ago* (bug 15492) list=recentchanges&rctype=log does't list log action
Victor Vasiliev [Sat, 6 Sep 2008 12:18:36 +0000 (12:18 +0000)]
* (bug 15492) list=recentchanges&rctype=log does't list log action
Patch by Roan Kattouw

15 years agoGive 3rd parameter of FauxRequest constructor default value.
Bryan Tong Minh [Sat, 6 Sep 2008 11:35:09 +0000 (11:35 +0000)]
Give 3rd parameter of FauxRequest constructor default value.

15 years agoAdd session accessor functions to WebRequest
Bryan Tong Minh [Sat, 6 Sep 2008 08:58:24 +0000 (08:58 +0000)]
Add session accessor functions to WebRequest

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sat, 6 Sep 2008 08:46:14 +0000 (08:46 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years ago* add some newlines after periods
Siebrand Mazeland [Sat, 6 Sep 2008 08:02:34 +0000 (08:02 +0000)]
* add some newlines after periods
* remove some "sorry" and "please"

15 years agoAdd class to textarea for protected pages (bug 11825)
Aaron Schulz [Sat, 6 Sep 2008 07:41:34 +0000 (07:41 +0000)]
Add class to textarea for protected pages (bug 11825)

15 years agoSet values from query params (bug 12750)
Aaron Schulz [Sat, 6 Sep 2008 07:20:13 +0000 (07:20 +0000)]
Set values from query params (bug 12750)

15 years agoclean up form (bug 15163)
Aaron Schulz [Sat, 6 Sep 2008 07:11:36 +0000 (07:11 +0000)]
clean up form (bug 15163)

15 years agoFixed bug 15148, total breakage of Special:BlockIP on PostgreSQL:
Tim Starling [Sat, 6 Sep 2008 07:05:14 +0000 (07:05 +0000)]
Fixed bug 15148, total breakage of Special:BlockIP on PostgreSQL:

* Migrated to a unique index for IP block conflict detection, like we did for MySQL some aeons ago.
* Modified DatabasePostgres to return a correct affected row count for INSERT IGNORE. Tested for single and multi.
* Fixed an unrelated bug: duplicate index rc_timestamp in tables.sql
* Tested for install and upgrade on PG 8.3.

No changelog because I'll backport it to 1.13.

15 years agoRevert r40513, failing parser test for non-bug.
Tim Starling [Sat, 6 Sep 2008 04:14:58 +0000 (04:14 +0000)]
Revert r40513, failing parser test for non-bug.

15 years ago(bug 11475) Remove useless final param in $dbw->replace() call.
Chad Horohoe [Sat, 6 Sep 2008 03:15:35 +0000 (03:15 +0000)]
(bug 11475) Remove useless final param in $dbw->replace() call.

15 years agoBump $wgStyleVersion for r40507
Chad Horohoe [Sat, 6 Sep 2008 02:46:55 +0000 (02:46 +0000)]
Bump $wgStyleVersion for r40507

15 years agoAdd more protection info on edit (bug 6179)
Aaron Schulz [Fri, 5 Sep 2008 22:46:46 +0000 (22:46 +0000)]
Add more protection info on edit (bug 6179)

15 years ago(bug 6702) Improve some default system messages
Aryeh Gregor [Fri, 5 Sep 2008 22:11:58 +0000 (22:11 +0000)]
(bug 6702) Improve some default system messages

15 years ago* (bug 14398) mwsuggest.js: Let width of container be configurable
Robert Stojnić [Fri, 5 Sep 2008 20:50:24 +0000 (20:50 +0000)]
* (bug 14398) mwsuggest.js: Let width of container be configurable
Dynamically change container *width* to fit as much as possible of suggestions. Width change is
animated (os_animation_steps=6), and is expands up to double of original size (os_container_max_width=2).
All of this can be overriden in site/user js.

15 years agoMinor CameCase fix
Siebrand Mazeland [Fri, 5 Sep 2008 19:02:56 +0000 (19:02 +0000)]
Minor CameCase fix

15 years agoRevert r40385. Half-assed attempt at making something configurable that doesn't need...
Chad Horohoe [Fri, 5 Sep 2008 18:29:42 +0000 (18:29 +0000)]
Revert r40385. Half-assed attempt at making something configurable that doesn't need to be leads to borken code. /thumb/ is no longer configurable...just like it was before.

15 years agoAdd level select (bug 12961)
Aaron Schulz [Fri, 5 Sep 2008 18:03:42 +0000 (18:03 +0000)]
Add level select (bug 12961)

15 years ago*Add history link to protect log items
Aaron Schulz [Fri, 5 Sep 2008 17:34:44 +0000 (17:34 +0000)]
*Add history link to protect log items
*Made typeAction() more general
*Tweaked code for less tab whitespace

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Fri, 5 Sep 2008 16:38:19 +0000 (16:38 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoForgot RELEASE-NOTES for last commit
Aryeh Gregor [Fri, 5 Sep 2008 16:32:57 +0000 (16:32 +0000)]
Forgot RELEASE-NOTES for last commit

15 years agoRefresh category table counts sometimes for small categories
Aryeh Gregor [Fri, 5 Sep 2008 16:31:34 +0000 (16:31 +0000)]
Refresh category table counts sometimes for small categories

When someone views a category page, if the number of retrieved pages is the whole category (no from= or until=, 200 or less retrieved), and that number doesn't match the number in the category table, we already detect that this is wrong and ignore the bogus category table number.  Now the software also refreshes the bogus category counts in the database in this case, which should be pretty much instantaneous since it has less than 200 entries.

This adds no overhead for categories that have correct counts, and fixes the most visible case when category counts are wrong: small categories, when you can easily count the pages.

15 years agoFix typo causing fatal error for Postgres in updaters.inc
Aryeh Gregor [Fri, 5 Sep 2008 15:39:08 +0000 (15:39 +0000)]
Fix typo causing fatal error for Postgres in updaters.inc

Reported by kreegee in #mediawiki.  I don't usually touch pgsql, but the problem and the fix both seem fairly obvious here.  :)  Also fixed another instance of the same typo lurking in some docs that I stumbled on.

15 years agoDon't fail fatally when Linker::link() is passed a non-object
Aryeh Gregor [Fri, 5 Sep 2008 15:35:16 +0000 (15:35 +0000)]
Don't fail fatally when Linker::link() is passed a non-object

This matches old behavior of makeKnownLinkObj() et al., effectively reverting part of r38162.  We'd usually like to render the rest of the page even if one link fails.  We might want to raise an E_USER_WARNING here, though.

15 years ago(bug 15486) API action=block ignores autoblock parameter
Roan Kattouw [Fri, 5 Sep 2008 15:05:57 +0000 (15:05 +0000)]
(bug 15486) API action=block ignores autoblock parameter

15 years agotweak comment
Aaron Schulz [Fri, 5 Sep 2008 07:17:47 +0000 (07:17 +0000)]
tweak comment

15 years agoShow localised log names in revision deletion log (bug 13694)
Aaron Schulz [Fri, 5 Sep 2008 04:53:49 +0000 (04:53 +0000)]
Show localised log names in revision deletion log (bug 13694)

15 years ago* Don't force rendering in File::getThumbnail(). The old code (pre-filerepo) required...
Tim Starling [Fri, 5 Sep 2008 04:23:24 +0000 (04:23 +0000)]
* Don't force rendering in File::getThumbnail(). The old code (pre-filerepo) required rendering to be forced all the time, the new code is much smarter about when to render and doesn't need rendering to be forced. Forcing rendering causes non-scaler servers to be used for scaling.
* Use File::transform() in the core instead of the deprecated File::getThumbnail().

15 years agoAdd begin() for good housekeeping
Aaron Schulz [Fri, 5 Sep 2008 04:14:15 +0000 (04:14 +0000)]
Add begin() for good housekeeping

15 years agoIn wfDebugLog(): log the hostname if $wgShowHostnames is true. Cache the hostname.
Tim Starling [Fri, 5 Sep 2008 03:46:07 +0000 (03:46 +0000)]
In wfDebugLog(): log the hostname if $wgShowHostnames is true. Cache the hostname.

15 years agoDocument isOpen() and lastQuery(). (set|clear|get)Flag still need some lovin'...I...
Chad Horohoe [Fri, 5 Sep 2008 03:41:31 +0000 (03:41 +0000)]
Document isOpen() and lastQuery(). (set|clear|get)Flag still need some lovin'...I just don't know what they do.

15 years agoIn wfShellExec(), log return code 127 to a special log file, to check for missing...
Tim Starling [Fri, 5 Sep 2008 03:32:09 +0000 (03:32 +0000)]
In wfShellExec(), log return code 127 to a special log file, to check for missing executables on the Wikimedia cluster.

15 years agoBetter test name for test 13. Like test 12, we should say *what* about wfTime() we...
Chad Horohoe [Fri, 5 Sep 2008 01:36:51 +0000 (01:36 +0000)]
Better test name for test 13. Like test 12, we should say *what* about wfTime() we're checking.

15 years ago(bug 15292) New message notification for unregistred users now works again
Alexandre Emsenhuber [Thu, 4 Sep 2008 23:25:53 +0000 (23:25 +0000)]
(bug 15292) New message notification for unregistred users now works again

15 years agomissing svn:keywords property
Alexandre Emsenhuber [Thu, 4 Sep 2008 22:20:32 +0000 (22:20 +0000)]
missing svn:keywords property

15 years ago(bug 15466) Added action=purge to the API. Modified patch by ^demon
Roan Kattouw [Thu, 4 Sep 2008 21:53:43 +0000 (21:53 +0000)]
(bug 15466) Added action=purge to the API. Modified patch by ^demon

15 years ago(bug 15482) Special:Recentchangeslinked has no longer two submit buttons
Alexandre Emsenhuber [Thu, 4 Sep 2008 21:20:16 +0000 (21:20 +0000)]
(bug 15482) Special:Recentchangeslinked has no longer two submit buttons

15 years agoLocalisation updates for core from Betawiki
Siebrand Mazeland [Thu, 4 Sep 2008 20:59:09 +0000 (20:59 +0000)]
Localisation updates for core from Betawiki

15 years agoLocalisation updates for core messages from Betawiki (2008-09-04 22:41 CEST)
Siebrand Mazeland [Thu, 4 Sep 2008 20:50:29 +0000 (20:50 +0000)]
Localisation updates for core messages from Betawiki (2008-09-04 22:41 CEST)

15 years ago* Document OutputPageCheckLastModified hook
Alexandre Emsenhuber [Thu, 4 Sep 2008 20:38:08 +0000 (20:38 +0000)]
* Document OutputPageCheckLastModified hook
* Added includes/diff/ to the list of paths in maintenance/findhooks.php

15 years agoMore EditPage cleanup, mainly coding/whitespace tweaks. Also note that from previous...
Aaron Schulz [Thu, 4 Sep 2008 20:14:12 +0000 (20:14 +0000)]
More EditPage cleanup, mainly coding/whitespace tweaks. Also note that from previous commit, showDeletionLog() is called regardless of special intros.

15 years ago(bug 15479) action=login no longer sets wait parameter when result="Throttled"; regre...
Roan Kattouw [Thu, 4 Sep 2008 19:48:48 +0000 (19:48 +0000)]
(bug 15479) action=login no longer sets wait parameter when result="Throttled"; regression from r40054

15 years agoClean up showIntro():
Aaron Schulz [Thu, 4 Sep 2008 19:32:58 +0000 (19:32 +0000)]
Clean up showIntro():
* Tweak code style
* Move exists() check to deletion log function
* Document this fucking code

15 years agoOops
Roan Kattouw [Thu, 4 Sep 2008 15:52:23 +0000 (15:52 +0000)]
Oops

15 years ago* Split patrol code
Roan Kattouw [Thu, 4 Sep 2008 15:17:51 +0000 (15:17 +0000)]
* Split patrol code
** Backend code moved to RecentChange::reallyMarkPatrolled() and doMarkPatrolled()
** Adapted Article::markpatrolled()
* (bug 15466) Added action=patrol to the API. Modified patch by Soxred93
* Added rctoken=patrol to list=recentchanges
* Detect duplicate warnings in ApiBase::setWarning()

15 years agoRevert r40251 by aaron. Broke &editintro= bug15455.
Daniel Friesen [Thu, 4 Sep 2008 13:57:52 +0000 (13:57 +0000)]
Revert r40251 by aaron. Broke &editintro= bug15455.

15 years ago(bug 15471) Fix regression from r40088 which caused apprefix=Main_Page/ to fail becau...
Roan Kattouw [Thu, 4 Sep 2008 13:42:22 +0000 (13:42 +0000)]
(bug 15471) Fix regression from r40088 which caused apprefix=Main_Page/ to fail because Main Page/. is not a valid title

15 years ago(bug 15473) Correcting Doxygen comment for ApiEditPage
Roan Kattouw [Thu, 4 Sep 2008 13:40:33 +0000 (13:40 +0000)]
(bug 15473) Correcting Doxygen comment for ApiEditPage

15 years agoClarify documentation
Tim Starling [Thu, 4 Sep 2008 07:45:52 +0000 (07:45 +0000)]
Clarify documentation

15 years agoAvoid string '::' call in $wgSpecialPageCacheUpdates
Aaron Schulz [Thu, 4 Sep 2008 07:28:48 +0000 (07:28 +0000)]
Avoid string '::' call in $wgSpecialPageCacheUpdates

15 years agoIgnore invalid titles in $out->getLanguageLinks().
Tim Starling [Thu, 4 Sep 2008 06:37:51 +0000 (06:37 +0000)]
Ignore invalid titles in $out->getLanguageLinks().

15 years agoFix for bug 13770, second attempt. Tested with a conflicting install of both dom...
Tim Starling [Thu, 4 Sep 2008 06:19:27 +0000 (06:19 +0000)]
Fix for bug 13770, second attempt. Tested with a conflicting install of both dom and domxml, as per the report.

15 years agoNo more icky mkdir() calls. Grepping for mkdir() now returns nothing :)
Chad Horohoe [Thu, 4 Sep 2008 04:15:27 +0000 (04:15 +0000)]
No more icky mkdir() calls. Grepping for mkdir() now returns nothing :)

15 years agoWork around database corruption reported on WP:VPT -- unlinked title instead of PHP...
Tim Starling [Thu, 4 Sep 2008 03:23:42 +0000 (03:23 +0000)]
Work around database corruption reported on WP:VPT -- unlinked title instead of PHP error. Break long lines.

15 years agoDocumentation
Tim Starling [Thu, 4 Sep 2008 03:22:26 +0000 (03:22 +0000)]
Documentation

15 years ago* (bug 2889) MediaWiki:Print.css applies to the printable version
Brion Vibber [Thu, 4 Sep 2008 03:13:55 +0000 (03:13 +0000)]
* (bug 2889) MediaWiki:Print.css applies to the printable version

MediaWiki:Handheld.css and MediaWiki:Print.css now available (handheld only if $wgHandheldStyle is configured).

15 years agoNo need to wrap it in a ResultWrapper object as Database::query() already returns...
Alexandre Emsenhuber [Thu, 4 Sep 2008 01:29:24 +0000 (01:29 +0000)]
No need to wrap it in a ResultWrapper object as Database::query() already returns a ResultWrapper object

15 years agoMade ChangesList::insertUserRelatedLinks public for use by hooks.
David McCabe [Wed, 3 Sep 2008 22:57:26 +0000 (22:57 +0000)]
Made ChangesList::insertUserRelatedLinks public for use by hooks.

15 years agofix XHTML error
Alexandre Emsenhuber [Wed, 3 Sep 2008 22:47:34 +0000 (22:47 +0000)]
fix XHTML error

15 years agoAdded OldChangesListRecentChangesLine hook for customizing RC messages in OldChangesL...
David McCabe [Wed, 3 Sep 2008 22:13:03 +0000 (22:13 +0000)]
Added OldChangesListRecentChangesLine hook for customizing RC messages in OldChangesList mode. TODO: Customize other ChangesList implementations.

15 years agoLocalisation updates for core messages from Betawiki (2008-09-03 23:15 CEST)
Siebrand Mazeland [Wed, 3 Sep 2008 21:28:24 +0000 (21:28 +0000)]
Localisation updates for core messages from Betawiki (2008-09-03 23:15 CEST)

15 years agoParser test for bug 15453
Chad Horohoe [Wed, 3 Sep 2008 18:01:51 +0000 (18:01 +0000)]
Parser test for bug 15453

15 years agoAdd @ingroup definitions to these. Created new group HTTP for web-related things...
Chad Horohoe [Wed, 3 Sep 2008 17:30:20 +0000 (17:30 +0000)]
Add @ingroup definitions to these. Created new group HTTP for web-related things (cookies, headers, HTTP requests, etc).

15 years agoImplement 'thumbDir' configuration parameter for local and foreign repos. Replaces...
Chad Horohoe [Wed, 3 Sep 2008 15:47:42 +0000 (15:47 +0000)]
Implement 'thumbDir' configuration parameter for local and foreign repos. Replaces apiThumbCacheDir as it's redundant. Also allows for customization of the default '/thumb/' path on local repos.

15 years ago(bug 15448) YAML output returns empty strings instead of 0. Surprisingly, this was...
Roan Kattouw [Wed, 3 Sep 2008 14:47:49 +0000 (14:47 +0000)]
(bug 15448) YAML output returns empty strings instead of 0. Surprisingly, this was not caused by PHP's "helpful" 0=='' ; research shows this was a regression from r32485 that no one ever noticed

15 years ago(bug 15444) API: Throwing a regular 'unknownerror' rather than ('unknownerror', AS_EN...
Roan Kattouw [Wed, 3 Sep 2008 14:26:41 +0000 (14:26 +0000)]
(bug 15444) API: Throwing a regular 'unknownerror' rather than ('unknownerror', AS_END) when EditPage::AS_END is returned, for consistency with other write modules.

15 years agoFix for r40379, allow commas again
Aryeh Gregor [Wed, 3 Sep 2008 14:02:32 +0000 (14:02 +0000)]
Fix for r40379, allow commas again

15 years ago+docs
Chad Horohoe [Wed, 3 Sep 2008 13:50:37 +0000 (13:50 +0000)]
+docs

15 years agoUse ECMAScript standard, section 9.3, to decide what's a number
Aryeh Gregor [Wed, 3 Sep 2008 13:45:10 +0000 (13:45 +0000)]
Use ECMAScript standard, section 9.3, to decide what's a number

r40348 was kind of broken, in terms of considering strings like "e" to be numbers.  The version before that would also act incorrectly for strings like ".".

15 years agofix case
Aaron Schulz [Wed, 3 Sep 2008 04:43:17 +0000 (04:43 +0000)]
fix case

15 years agoMove doMassUserBlock() to core
Aaron Schulz [Wed, 3 Sep 2008 04:17:20 +0000 (04:17 +0000)]
Move doMassUserBlock() to core

15 years agoRemoved useless ss_row_id condition. Fixed "$activeUsers === -1", comparison fails...
Tim Starling [Wed, 3 Sep 2008 04:07:14 +0000 (04:07 +0000)]
Removed useless ss_row_id condition. Fixed "$activeUsers === -1", comparison fails because it's actually the string "-1", no doubt because it's a BIGINT which is too big for PHP to represent with an numeric type.

15 years agoMinus one is plural in English.
Tim Starling [Wed, 3 Sep 2008 03:54:38 +0000 (03:54 +0000)]
Minus one is plural in English.

15 years agoTemporarily reverted SpecialUpload.php to r37968, before Bryan's changes, pending...
Tim Starling [Wed, 3 Sep 2008 03:19:18 +0000 (03:19 +0000)]
Temporarily reverted SpecialUpload.php to r37968, before Bryan's changes, pending resolution of issues described by private email, specifically:
* No means for an extension to add extra upload sources
* initialize() method not generic
* stashSession() not generic enough for conceivable alternate UIs
* UploadFromUrl still uses $wgOut
* Not enough comments

15 years agoThis part of r40323 is useful.
Tim Starling [Wed, 3 Sep 2008 02:32:01 +0000 (02:32 +0000)]
This part of r40323 is useful.

15 years agoReverting r40323, as per comments on wikitech-l. Deprecated doesn't mean removed...
Tim Starling [Wed, 3 Sep 2008 02:28:41 +0000 (02:28 +0000)]
Reverting r40323, as per comments on wikitech-l. Deprecated doesn't mean removed. It doesn't even mean it'll be removed in the future. It just means you shouldn't use it.

15 years agoStyle: use local variable, use else if
Aryeh Gregor [Wed, 3 Sep 2008 00:18:11 +0000 (00:18 +0000)]
Style: use local variable, use else if

15 years ago(bug 15422) Sort more types of numbers in sortable tables
Aryeh Gregor [Wed, 3 Sep 2008 00:16:43 +0000 (00:16 +0000)]
(bug 15422) Sort more types of numbers in sortable tables

Patch based on one by Mike Horvath.

15 years ago(bug 15436) Support more currency types for sortable tables
Aryeh Gregor [Tue, 2 Sep 2008 22:59:58 +0000 (22:59 +0000)]
(bug 15436) Support more currency types for sortable tables

Patch by Mike Horvath.

15 years agoAdd ampersand to hook
Aaron Schulz [Tue, 2 Sep 2008 21:38:42 +0000 (21:38 +0000)]
Add ampersand to hook

15 years agoMake getLatestRevID faster
Aaron Schulz [Tue, 2 Sep 2008 21:29:22 +0000 (21:29 +0000)]
Make getLatestRevID faster

15 years agoFully deprecate $wgProxyKey. Has been marked as deprecated since 1.4, but never seems...
Chad Horohoe [Tue, 2 Sep 2008 15:15:54 +0000 (15:15 +0000)]
Fully deprecate $wgProxyKey. Has been marked as deprecated since 1.4, but never seems to have been done. Sites with $wgProxyKey set will continue to use the setting (added a fallback in Setup). Fixes bugs 9258 and 12089.

15 years agoRemove unused and uninitialized variable in wikibits.js
Aryeh Gregor [Tue, 2 Sep 2008 02:11:50 +0000 (02:11 +0000)]
Remove unused and uninitialized variable in wikibits.js

Pointed out by Mike Horvath on bug 15399.

15 years ago* fixing error causing a PHP E_NOTICE.
Ryan Schmidt [Mon, 1 Sep 2008 21:58:05 +0000 (21:58 +0000)]
* fixing error causing a PHP E_NOTICE.

15 years ago(bug 15405) Sort yen correctly in sortable tables
Aryeh Gregor [Mon, 1 Sep 2008 19:53:36 +0000 (19:53 +0000)]
(bug 15405) Sort yen correctly in sortable tables

Patch by Mike Horvath.

15 years agoLocalization update.
Rotem Liss [Mon, 1 Sep 2008 19:46:58 +0000 (19:46 +0000)]
Localization update.

15 years ago* Remove mysql var and move field init to updaters.inc
Aaron Schulz [Mon, 1 Sep 2008 19:22:28 +0000 (19:22 +0000)]
* Remove mysql var and move field init to updaters.inc

15 years ago(bug 15399) Disable odd/even classes for sortable tables
Aryeh Gregor [Mon, 1 Sep 2008 19:15:04 +0000 (19:15 +0000)]
(bug 15399) Disable odd/even classes for sortable tables

These might or might not be useful, but if they are useful they should be added in PHP, not JavaScript.  There have been reports of significant slowness for large tables due to the row numbering.  This also fixes a bug where setting ts_alternate_row_colors = false would only work until the user tried sorting the table.

Patch by Mike Horvath.

15 years ago* $wgAllowExternalImagesFrom may now be an array of multiple strings.
Ryan Schmidt [Mon, 1 Sep 2008 18:49:14 +0000 (18:49 +0000)]
* $wgAllowExternalImagesFrom may now be an array of multiple strings.
* Added an on-wiki external image whitelist. Items in this whitelist are
  treated as regular expression fragments to match for when possibly
  displaying an external image inline. Controlled by $wgEnableImageWhitelist
  (true by default)

15 years agoFix r40194, which was obviously incorrect. There's no reason $sectionTitle should...
Tim Starling [Mon, 1 Sep 2008 15:05:25 +0000 (15:05 +0000)]
Fix r40194, which was obviously incorrect. There's no reason $sectionTitle should be valid, so you should probably check to see if Title::newFromText() succeeded, rather than checking the validity of some unrelated variable. Also: use the new three-parameter Title::makeTitleSafe(), instead of cloning and setting mFragment directly.