lhc/web/wiklou.git
15 years ago(bug 17581) Wrong index name in PostgreSQL's updater: was rc_timestamp_nobot, changed...
Alexandre Emsenhuber [Fri, 20 Feb 2009 09:53:45 +0000 (09:53 +0000)]
(bug 17581) Wrong index name in PostgreSQL's updater: was rc_timestamp_nobot, changed to rc_timestamp_bot

15 years agoDocument APCOND_* in DefaultSettings.php as requested in r47524
Roan Kattouw [Fri, 20 Feb 2009 08:07:50 +0000 (08:07 +0000)]
Document APCOND_* in DefaultSettings.php as requested in r47524

15 years agoFix bug 17571, now page1 would add to both cat1 and cat2.
Philip Tzou [Fri, 20 Feb 2009 06:47:03 +0000 (06:47 +0000)]
Fix bug 17571, now page1 would add to both cat1 and cat2.

15 years ago* Don't kill child processes during normal termination, that will leave the last...
Tim Starling [Fri, 20 Feb 2009 01:53:40 +0000 (01:53 +0000)]
* Don't kill child processes during normal termination, that will leave the last few jobs in the queue uncompleted
* Snicker-resistant terminology

15 years agoNote incorrect docs in DefaultSettings.php
Aryeh Gregor [Thu, 19 Feb 2009 23:59:04 +0000 (23:59 +0000)]
Note incorrect docs in DefaultSettings.php

15 years ago* (bug 16335) __NONEWSECTIONLINK__ magic word to suppress new section link.
Brion Vibber [Thu, 19 Feb 2009 22:14:59 +0000 (22:14 +0000)]
* (bug 16335) __NONEWSECTIONLINK__ magic word to suppress new section link.
Patch by Carlin: https://bugzilla.wikimedia.org/attachment.cgi?id=5680
With slight whitespace tweaks.

15 years agoLocalisation updates for core messages from translatewiki.net (2009-02-19 21:36 UTC)
Siebrand Mazeland [Thu, 19 Feb 2009 21:54:18 +0000 (21:54 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-19 21:36 UTC)

15 years agoAPI: (bug 17563) Fix regression from r46845 that changed the output for list=backlink...
Roan Kattouw [Thu, 19 Feb 2009 21:24:28 +0000 (21:24 +0000)]
API: (bug 17563) Fix regression from r46845 that changed the output for list=backlinks to use page IDs as array indexes instead of 0,1,2,... (which makes a big difference in JSON and breaks clients) and caused weird output for generator=backlinks as well. Patch by Brad Jorsch

15 years ago(bug 17570) $wgMaxRedirects is now correctly respected when following redirects ...
Alexandre Emsenhuber [Thu, 19 Feb 2009 20:21:18 +0000 (20:21 +0000)]
(bug 17570) $wgMaxRedirects is now correctly respected when following redirects (was previously one more than $wgMaxRedirects)

15 years agoescape $wgScript here
Aaron Schulz [Thu, 19 Feb 2009 19:08:22 +0000 (19:08 +0000)]
escape $wgScript here

15 years agoAdded change_tag, tag_summary and valid_tag for the SQLite updater and made the patch...
Alexandre Emsenhuber [Thu, 19 Feb 2009 12:38:32 +0000 (12:38 +0000)]
Added change_tag, tag_summary and valid_tag for the SQLite updater and made the patch work with SQLite

15 years agoNo need to get a DB object since we don't use it there
Alexandre Emsenhuber [Thu, 19 Feb 2009 11:20:29 +0000 (11:20 +0000)]
No need to get a DB object since we don't use it there

15 years agoI have no idea why I'm doing this, but this has to be done, force order on *links...
Domas Mituzas [Thu, 19 Feb 2009 10:38:42 +0000 (10:38 +0000)]
I have no idea why I'm doing this, but this has to be done, force order on *links,page reads

15 years ago* Some cleanup for Special:Import:
Raimond Spekking [Thu, 19 Feb 2009 08:43:35 +0000 (08:43 +0000)]
* Some cleanup for Special:Import:
** Do not show input field for import depth if $wgExportMaxLinkDepth == 0
** Add missing 'mw-label' for 2 labels
** Change class 'mw-label' to 'mw-submit' for the submit button for consistency with other forms
** Remove FIXME note as nothing to fix :)
** Add IDs to input forms
** Use specific Xml::fieldset functions

15 years agoBasic multiprocess operation via pcntl_fork()
Tim Starling [Thu, 19 Feb 2009 07:15:19 +0000 (07:15 +0000)]
Basic multiprocess operation via pcntl_fork()

15 years agoDon't do any backlink batches if there are no backlinks.
Tim Starling [Thu, 19 Feb 2009 02:10:55 +0000 (02:10 +0000)]
Don't do any backlink batches if there are no backlinks.

15 years agoFix regression in ForeignAPIRepo because somebody changed how the API returned data :)
Chad Horohoe [Wed, 18 Feb 2009 23:21:51 +0000 (23:21 +0000)]
Fix regression in ForeignAPIRepo because somebody changed how the API returned data :)

15 years agoRELEASE-NOTES for last commit.
Chad Horohoe [Wed, 18 Feb 2009 22:54:31 +0000 (22:54 +0000)]
RELEASE-NOTES for last commit.

15 years agoUse $this->mInfo, not $info. Hopefully now we can actually get correct Mime info...
Chad Horohoe [Wed, 18 Feb 2009 22:52:33 +0000 (22:52 +0000)]
Use $this->mInfo, not $info. Hopefully now we can actually get correct Mime info rather than guess-and-hope on the local install.

15 years agoAPI: (bug 17561) Recommit r44231 ("Added usprop=emailable to list=users"), which...
Roan Kattouw [Wed, 18 Feb 2009 22:31:46 +0000 (22:31 +0000)]
API: (bug 17561) Recommit r44231 ("Added usprop=emailable to list=users"), which was accidentally undone by r46845

15 years ago(bug 16762) Special:Movepage now shows a list of subpages when possible
Alexandre Emsenhuber [Wed, 18 Feb 2009 21:46:38 +0000 (21:46 +0000)]
(bug 16762) Special:Movepage now shows a list of subpages when possible

15 years ago* Special:ListUsers: Sort list of usergroups by alphabet
Raimond Spekking [Wed, 18 Feb 2009 20:34:13 +0000 (20:34 +0000)]
* Special:ListUsers: Sort list of usergroups by alphabet
* Add an ID to the inputform
* Use specific Xml::fieldset function

15 years ago(bug 17556) <link> parameters in Special:Contributions feeds (RSS and Atom) now point...
Chad Horohoe [Wed, 18 Feb 2009 20:00:05 +0000 (20:00 +0000)]
(bug 17556) <link> parameters in Special:Contributions feeds (RSS and Atom) now point to the actual contributors' feed.

15 years agoJust do a selectRow(). We're only returning 1 row anyway.
Chad Horohoe [Wed, 18 Feb 2009 19:37:23 +0000 (19:37 +0000)]
Just do a selectRow(). We're only returning 1 row anyway.

15 years agoFix regression in r47202, which stopped wpAutoSummary from being written to the output.
Andrew Garrett [Wed, 18 Feb 2009 19:03:08 +0000 (19:03 +0000)]
Fix regression in r47202, which stopped wpAutoSummary from being written to the output.

15 years agoLocalization update for he.
Rotem Liss [Wed, 18 Feb 2009 15:44:56 +0000 (15:44 +0000)]
Localization update for he.

15 years ago* API: (bug 17529) rvend ignored when rvstartid is specified
Roan Kattouw [Wed, 18 Feb 2009 15:26:09 +0000 (15:26 +0000)]
* API: (bug 17529) rvend ignored when rvstartid is specified
* To fix this, make the prop=revisions query slightly less performance-zealous and allow WHERE rev_timestamp <= 'foo' when sorting and rangescanning by rev_id
* Make adding ORDER BY in ApiQueryBase::addWhereRange() optional
* Move a RELEASE-NOTES entry to the right section

15 years agoProposed fix for bug 17552. Also the name of the function should be changed, because...
Tim Starling [Wed, 18 Feb 2009 12:41:28 +0000 (12:41 +0000)]
Proposed fix for bug 17552. Also the name of the function should be changed, because there's nothing internal about it.

15 years agoTweak for r47202: readd a space between the "summary" message and the input just...
Alexandre Emsenhuber [Wed, 18 Feb 2009 11:24:37 +0000 (11:24 +0000)]
Tweak for r47202: readd a space between the "summary" message and the input just after it

15 years agoFormat number, and allow use of plural for 'move-subpages' and 'move-talk-subpages...
Siebrand Mazeland [Wed, 18 Feb 2009 09:55:28 +0000 (09:55 +0000)]
Format number, and allow use of plural for 'move-subpages' and 'move-talk-subpages'. This allows for "(up to $1 {{PLURAL:$2|page|pages}}" or whichever construct is required for a correct message in a language.

15 years agoCorrect apparent typing error in message shareduploadwiki-desc introduced with revisi...
Purodha B Blissenbach [Wed, 18 Feb 2009 08:58:18 +0000 (08:58 +0000)]
Correct apparent typing error in message shareduploadwiki-desc introduced with revision 47394.

15 years agoFixed Title::getBrokenLinksFrom(), totally broken by r47374. Caused breakage of Speci...
Tim Starling [Wed, 18 Feb 2009 08:35:15 +0000 (08:35 +0000)]
Fixed Title::getBrokenLinksFrom(), totally broken by r47374. Caused breakage of Special:BrokenRedirects on Wikimedia. Removed $options parameter, it was not used anywhere and definitely should never be used anywhere due to the risk of breaking the wiki. Brought the coding style into this century.

15 years agoFollow up r47392: Rename magic word for existing translations too
Raimond Spekking [Wed, 18 Feb 2009 08:25:04 +0000 (08:25 +0000)]
Follow up r47392: Rename magic word for existing translations too

15 years agoFix borkage with variant links in old top links
Brion Vibber [Wed, 18 Feb 2009 06:22:38 +0000 (06:22 +0000)]
Fix borkage with variant links in old top links

15 years agoDon't give a warning if there are no files in the page set.
Tim Starling [Wed, 18 Feb 2009 06:04:09 +0000 (06:04 +0000)]
Don't give a warning if there are no files in the page set.

15 years agoFix logic error from bad casing
Andrew Garrett [Wed, 18 Feb 2009 05:29:11 +0000 (05:29 +0000)]
Fix logic error from bad casing

15 years agoelement->tags
Andrew Garrett [Wed, 18 Feb 2009 05:19:55 +0000 (05:19 +0000)]
element->tags

15 years agoFix accidental regression of 'summary' message to text-only.
Andrew Garrett [Wed, 18 Feb 2009 05:17:09 +0000 (05:17 +0000)]
Fix accidental regression of 'summary' message to text-only.

15 years agoPartial revert of r47192 (* removed DefaultQuery cruft) -- That cruft was kinda impor...
Andrew Garrett [Wed, 18 Feb 2009 04:49:25 +0000 (04:49 +0000)]
Partial revert of r47192 (* removed DefaultQuery cruft) -- That cruft was kinda important.

15 years agoImplement tag display for EnhancedChangesList -- TODO implement the CSS styling of...
Andrew Garrett [Wed, 18 Feb 2009 04:39:52 +0000 (04:39 +0000)]
Implement tag display for EnhancedChangesList -- TODO implement the CSS styling of tags for EnhancedChangesList. Incidentally, why do we have two methods for formatting a diff for EnhancedChangesList?

15 years agoEnding newline
Andrew Garrett [Wed, 18 Feb 2009 03:22:17 +0000 (03:22 +0000)]
Ending newline

15 years agoFixed E_NOTICE
Aaron Schulz [Wed, 18 Feb 2009 03:12:26 +0000 (03:12 +0000)]
Fixed E_NOTICE

15 years agoUse accessor hasSharedCache() rather than calling the param directly.
Chad Horohoe [Wed, 18 Feb 2009 02:54:58 +0000 (02:54 +0000)]
Use accessor hasSharedCache() rather than calling the param directly.

15 years agoRevert r46628, r46639 for now "Don't allow padding parser functions to be used to...
Brion Vibber [Wed, 18 Feb 2009 02:24:55 +0000 (02:24 +0000)]
Revert r46628, r46639 for now "Don't allow padding parser functions to be used to truncate strings."
Doesn't seem to be a compelling reason to add this special-case restriction at this time, and there appear to be ways to work around it anyway, so let's not play the arms race. :)

15 years agoCall static isValidIsbn() statically. Not sure why E_ALL | E_STRICT didn't yell at...
Chad Horohoe [Wed, 18 Feb 2009 02:00:14 +0000 (02:00 +0000)]
Call static isValidIsbn() statically. Not sure why E_ALL | E_STRICT didn't yell at this.

15 years agoEnglish version of message badsiglength did not exactly conform with program code.
Purodha B Blissenbach [Wed, 18 Feb 2009 01:01:09 +0000 (01:01 +0000)]
English version of message badsiglength did not exactly conform with program code.

15 years agoFollowup to r46951 and friends: add $wgExportMaxLinkDepth, defaulting to 0.
Brion Vibber [Wed, 18 Feb 2009 00:48:39 +0000 (00:48 +0000)]
Followup to r46951 and friends: add $wgExportMaxLinkDepth, defaulting to 0.
If set to non-zero, this specifies the maximum link depth that will be followed for exports. Remember "6 degrees of separation", this could easily kill on a site like Wikipedia. :)

15 years agoLinktrail extended for ksh.
Purodha B Blissenbach [Wed, 18 Feb 2009 00:33:02 +0000 (00:33 +0000)]
Linktrail extended for ksh.

15 years agoCorrect Tongan language native name to "lea faka-Tonga" (Bug 17546)
Purodha B Blissenbach [Wed, 18 Feb 2009 00:29:27 +0000 (00:29 +0000)]
Correct Tongan language native name to "lea faka-Tonga" (Bug 17546)

15 years agoMessage text "Special:ListGroupRights" more specific.
Purodha B Blissenbach [Tue, 17 Feb 2009 23:54:47 +0000 (23:54 +0000)]
Message text "Special:ListGroupRights" more specific.

15 years agoFix more double quoting
Aaron Schulz [Tue, 17 Feb 2009 23:52:18 +0000 (23:52 +0000)]
Fix more double quoting

15 years agoTrailing whitespace
Andrew Garrett [Tue, 17 Feb 2009 23:50:08 +0000 (23:50 +0000)]
Trailing whitespace

15 years agoFix r47288 by using the *real* openoffice MIME types, pulled from http://books.evc...
Andrew Garrett [Tue, 17 Feb 2009 23:49:17 +0000 (23:49 +0000)]
Fix r47288 by using the *real* openoffice MIME types, pulled from books.evc-cit.info/odbook/ch01.html#mimetype-table

15 years ago(bug 17542) RevisionDeleted failed on deleted revisions (double-quoting)
Aaron Schulz [Tue, 17 Feb 2009 23:36:02 +0000 (23:36 +0000)]
(bug 17542) RevisionDeleted failed on deleted revisions (double-quoting)

15 years agoFix double-escaping in r47202.
Andrew Garrett [Tue, 17 Feb 2009 23:33:57 +0000 (23:33 +0000)]
Fix double-escaping in r47202.

15 years ago(bug 14980) Make shareduploadwiki(-desc) a param to sharedupload. Also RELEASE-NOTES...
Chad Horohoe [Tue, 17 Feb 2009 23:18:40 +0000 (23:18 +0000)]
(bug 14980) Make shareduploadwiki(-desc) a param to sharedupload. Also RELEASE-NOTES for adding repo names.

15 years agoRename new ACTIVEUSERS word to NUMBEROFACTIVEUSERS
Aaron Schulz [Tue, 17 Feb 2009 23:05:04 +0000 (23:05 +0000)]
Rename new ACTIVEUSERS word to NUMBEROFACTIVEUSERS

15 years agoRevert r47196, r47219 "* (bug 13040) Gender-aware user namespace aliases" and followup
Brion Vibber [Tue, 17 Feb 2009 23:00:57 +0000 (23:00 +0000)]
Revert r47196, r47219 "* (bug 13040) Gender-aware user namespace aliases" and followup
Using $wgTitle in a Title member function in a weird way that makes no sense. What's this code trying to accomplish, and can it do it in a way that's not broken?

15 years agoTweak msg. Indefinite articles rock.
Chad Horohoe [Tue, 17 Feb 2009 22:56:52 +0000 (22:56 +0000)]
Tweak msg. Indefinite articles rock.

15 years agoFollow-up to r47217 "Add a <link rel="canonical"> tag on redirected page views per...
Brion Vibber [Tue, 17 Feb 2009 22:51:19 +0000 (22:51 +0000)]
Follow-up to r47217 "Add a <link rel="canonical"> tag on redirected page views per googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html"
We can use a relative link in the HTML here and save a few bytes of output; consumer is required to be able to expand relative links it finds here.

15 years agoOverride FileRepo::newFile() when $time is set. See docs on parent.
Chad Horohoe [Tue, 17 Feb 2009 22:35:36 +0000 (22:35 +0000)]
Override FileRepo::newFile() when $time is set. See docs on parent.

15 years agoFollowup: Make the repo names 'shared-repo-name-'. Someone might name their repo...
Chad Horohoe [Tue, 17 Feb 2009 22:34:22 +0000 (22:34 +0000)]
Followup: Make the repo names 'shared-repo-name-'. Someone might name their repo 'from' and then complain.

15 years ago* Add method to FileRepo to get the human-readable name of the repository (getDisplay...
Chad Horohoe [Tue, 17 Feb 2009 22:27:10 +0000 (22:27 +0000)]
* Add method to FileRepo to get the human-readable name of the repository (getDisplayName())
* Use this in ImagePage to show what repo the dupes are from
* Added default "shared repository" message for shared repos without names.

15 years agoFollowup to r47269 "* (bug 17488) Link in toolbar to feeds should be localized (alrea...
Brion Vibber [Tue, 17 Feb 2009 22:21:02 +0000 (22:21 +0000)]
Followup to r47269 "* (bug 17488) Link in toolbar to feeds should be localized (already have the feed-$format messages) Patch by Marcin Cieślak."
* Fixed release notes to clarify this is for classic skin
* HTML-escaping the message to match Monobook behavior

15 years agoTweak to r47279 -- include final newline to keep the terminal clean :)
Brion Vibber [Tue, 17 Feb 2009 22:06:20 +0000 (22:06 +0000)]
Tweak to r47279 -- include final newline to keep the terminal clean :)

15 years ago* Only show dupe messages for remote images once. Twice is redundant :)
Chad Horohoe [Tue, 17 Feb 2009 21:33:12 +0000 (21:33 +0000)]
* Only show dupe messages for remote images once. Twice is redundant :)
* Phased out sharedupload(duplicate|conflict)(\-linktext)? messages (removed from en and messages.inc)

15 years agoFix spacing properly this time.
Chad Horohoe [Tue, 17 Feb 2009 21:14:34 +0000 (21:14 +0000)]
Fix spacing properly this time.

15 years agoLocalisation updates for core messages from translatewiki.net (2009-02-17 21:00 UTC)
Siebrand Mazeland [Tue, 17 Feb 2009 21:10:11 +0000 (21:10 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-17 21:00 UTC)

15 years agoFollow-up to r47361: code style cleanup (consolidate a couple of duplicated checks...
Brion Vibber [Tue, 17 Feb 2009 19:08:24 +0000 (19:08 +0000)]
Follow-up to r47361: code style cleanup (consolidate a couple of duplicated checks, unneeded variable copying)

15 years agoGeneral cleanup of SQL in Title and File. Fixes bug 17392: 'FOR UPDATE' should be...
Chad Horohoe [Tue, 17 Feb 2009 19:03:40 +0000 (19:03 +0000)]
General cleanup of SQL in Title and File. Fixes bug 17392: 'FOR UPDATE' should be passed in an array, not as a string.

15 years agoLocalisation updates for core from translatewiki.net
Siebrand Mazeland [Tue, 17 Feb 2009 18:45:02 +0000 (18:45 +0000)]
Localisation updates for core from translatewiki.net
* updates for namespaces, special page aliases, and magic words

15 years agoFix syntax error
Siebrand Mazeland [Tue, 17 Feb 2009 18:07:39 +0000 (18:07 +0000)]
Fix syntax error

15 years agoFix syntax error
Siebrand Mazeland [Tue, 17 Feb 2009 18:06:44 +0000 (18:06 +0000)]
Fix syntax error

15 years agoLocalisation updates for core from translatewiki.net
Siebrand Mazeland [Tue, 17 Feb 2009 17:57:25 +0000 (17:57 +0000)]
Localisation updates for core from translatewiki.net
* resolving a bug here and there with duplicate special page names in the same localisation
* updates for namespaces, special page aliases, and magic words

15 years agoTweak for bug 11852. Made handling of message cache key normalisation more consistent.
Aaron Schulz [Tue, 17 Feb 2009 15:36:15 +0000 (15:36 +0000)]
Tweak for bug 11852. Made handling of message cache key normalisation more consistent.

15 years agoTry to avoid file caching php fatals, it's very annoying
Aaron Schulz [Tue, 17 Feb 2009 15:05:23 +0000 (15:05 +0000)]
Try to avoid file caching php fatals, it's very annoying

15 years ago* Skip COMMIT query when no write queries have been done.
Tim Starling [Tue, 17 Feb 2009 14:06:42 +0000 (14:06 +0000)]
* Skip COMMIT query when no write queries have been done.
* Improvement to ChronologyProtector: only record the master position if a write query was done. This should help to avoid the worst of the ChronologyProtector side-effects, such as having action=raw CSS requests block for a time equivalent to the slave lag on every page view, while maintaining the benefits, like preventing a 404 from being displayed after page creation.

15 years agoIn Revision::newFromTitle(): don't do a query with WHERE rev_id='' when the page...
Tim Starling [Tue, 17 Feb 2009 14:02:12 +0000 (14:02 +0000)]
In Revision::newFromTitle(): don't do a query with WHERE rev_id='' when the page doesn't exist

15 years agoAdded a comment that change_tag and related tables are in 1.15 and not 1.14
Alexandre Emsenhuber [Tue, 17 Feb 2009 12:22:01 +0000 (12:22 +0000)]
Added a comment that change_tag and related tables are in 1.15 and not 1.14

15 years agoFollow up r47335: Adding to RELEASE NOTES as the bug reporter confirmed that it fixed...
Raimond Spekking [Tue, 17 Feb 2009 10:19:51 +0000 (10:19 +0000)]
Follow up r47335: Adding to RELEASE NOTES as the bug reporter confirmed that it fixed the bug.

15 years agoSupport early loading of the Profiler class from a different directory (live patch)
Tim Starling [Tue, 17 Feb 2009 03:32:07 +0000 (03:32 +0000)]
Support early loading of the Profiler class from a different directory (live patch)

15 years agoProfile RawPage
Tim Starling [Tue, 17 Feb 2009 03:28:54 +0000 (03:28 +0000)]
Profile RawPage

15 years agoAdded some profiling sections for expensive functions
Tim Starling [Tue, 17 Feb 2009 03:26:39 +0000 (03:26 +0000)]
Added some profiling sections for expensive functions

15 years agoAdded $wgRateLimitsExcludedIPs feature, based on live hack.
Tim Starling [Tue, 17 Feb 2009 03:17:19 +0000 (03:17 +0000)]
Added $wgRateLimitsExcludedIPs feature, based on live hack.

15 years agoLive patch: use a query group for CategoryPage
Tim Starling [Tue, 17 Feb 2009 03:07:41 +0000 (03:07 +0000)]
Live patch: use a query group for CategoryPage

15 years ago* Fix batching
Tim Starling [Tue, 17 Feb 2009 02:48:40 +0000 (02:48 +0000)]
* Fix batching
* Report when there is a directory where a file should be

15 years agoLocalisation updates: Better translation for "IP" in the Persian messages
Huji [Mon, 16 Feb 2009 21:09:54 +0000 (21:09 +0000)]
Localisation updates: Better translation for "IP" in the Persian messages

15 years agoPrettify code of Special:Preferences#Misc. Use Xml::functions.
Raimond Spekking [Mon, 16 Feb 2009 19:19:45 +0000 (19:19 +0000)]
Prettify code of Special:Preferences#Misc. Use Xml::functions.
This maybe fixes bug 17482 (Formatting error in "preferences") but I cannot see the effect in my installations.

15 years agoMade WatchlistCleanup and CapsCleanup extend TableCleanup rather than FiveUpgrade...
Alexandre Emsenhuber [Mon, 16 Feb 2009 19:09:28 +0000 (19:09 +0000)]
Made WatchlistCleanup and CapsCleanup extend TableCleanup rather than FiveUpgrade so that they don't need to re-implement cleanup() and runTable()

15 years agoAPI: Add AS explicitly for PostgreSQL compatibility and fix hinky indentation in...
Roan Kattouw [Mon, 16 Feb 2009 19:08:07 +0000 (19:08 +0000)]
API: Add AS explicitly for PostgreSQL compatibility and fix hinky indentation in ApiQueryUsers. Patch by Brad Jorsch

15 years agoRenamed 'ug' to 'ug-latn' to make room for a future 'ug-arab' (and possibly ug-cyrl).
Siebrand Mazeland [Mon, 16 Feb 2009 18:55:04 +0000 (18:55 +0000)]
Renamed 'ug' to 'ug-latn' to make room for a future 'ug-arab' (and possibly ug-cyrl).

15 years agoAdd gripe about FIFO and random row selection
Aaron Schulz [Mon, 16 Feb 2009 18:06:04 +0000 (18:06 +0000)]
Add gripe about FIFO and random row selection

15 years agoFix r47319: this is reverting the wrong revision (cause was r40912). Move cat stuff...
Aaron Schulz [Mon, 16 Feb 2009 17:57:38 +0000 (17:57 +0000)]
Fix r47319: this is reverting the wrong revision (cause was r40912). Move cat stuff up to original point.

15 years agoAPI: Fix yet another regression from r46845 that completely broke list=users. Patch...
Roan Kattouw [Mon, 16 Feb 2009 17:47:54 +0000 (17:47 +0000)]
API: Fix yet another regression from r46845 that completely broke list=users. Patch by Brad Jorsch

15 years agoLocalisation updates for core messages from translatewiki.net (2009-02-16 16:59 UTC)
Raimond Spekking [Mon, 16 Feb 2009 17:25:02 +0000 (17:25 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-16 16:59 UTC)

15 years agoPartial revert of r41018 "Wrap $log->addEntry() in transaction"
Aryeh Gregor [Mon, 16 Feb 2009 16:50:22 +0000 (16:50 +0000)]
Partial revert of r41018 "Wrap $log->addEntry() in transaction"

In addition to wrapping the given function call in a transaction, the
commit also (without explanation or apparent purpose) moved a block of
code to a totally different place, which broke it entirely.
Specifically, it moved the update of the category table on article
delete to AFTER THE CATEGORYLINKS ROWS WERE ALREADY DELETED, which meant
that it found the article was in no categories, and article deletions
silently failed to decrement the category count (bug 17155).

Could you PLEASE not commit all sorts of stuff under the guise of
one-line commit messages that don't actually relate to what you did.
Thank you.

15 years agoNewline after help message to not mess up terminal
Aryeh Gregor [Mon, 16 Feb 2009 15:35:04 +0000 (15:35 +0000)]
Newline after help message to not mess up terminal

15 years ago* Mostly reverted r41081 and related. Although the motivation (to save a query) is...
Tim Starling [Mon, 16 Feb 2009 14:26:34 +0000 (14:26 +0000)]
* Mostly reverted r41081 and related. Although the motivation (to save a query) is noble, it's a complex special case relying on subtle inter-module effects, making the code quite unclear and the performance advantage hard to reproduce in new code.
* r41081 was causing the job queue to be flooded with tiny htmlCacheUpdate jobs which were less than the batch size and so, according to the original logic, should have been done immediately. This was causing template updates to be delayed even when the template has few backlinks. This is fixed.
* Introduced a shared cache called BacklinkCache with the main purpose of sharing data from these backlink queries, thus recovering the performance of r41081.
* Refactored backlink partitioning code, which in r40741 was copied from HTMLCacheUpdate to LinksUpdate with a bug intact. The bug caused every htmlCacheUpdate or refreshLinks2 job to be split into at least two pieces even when number of rows is less than the batch size.
* Fixed a bug from r40741 causing refreshLinks2 jobs with end=false to be ignored.
* Made SquidUpdate::newFromTitles() accept a TitleArray

15 years agoLocalization update for he.
Rotem Liss [Mon, 16 Feb 2009 12:55:04 +0000 (12:55 +0000)]
Localization update for he.

15 years agoRedo r47313 in a more readable way (probably more efficient too) by not using all...
Roan Kattouw [Mon, 16 Feb 2009 12:19:29 +0000 (12:19 +0000)]
Redo r47313 in a more readable way (probably more efficient too) by not using all those array_* functions