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.
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
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
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.
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)
Tim Starling [Tue, 17 Feb 2009 03:28:54 +0000 (03:28 +0000)]
Profile RawPage
Tim Starling [Tue, 17 Feb 2009 03:26:39 +0000 (03:26 +0000)]
Added some profiling sections for expensive functions
Tim Starling [Tue, 17 Feb 2009 03:17:19 +0000 (03:17 +0000)]
Added $wgRateLimitsExcludedIPs feature, based on live hack.
Tim Starling [Tue, 17 Feb 2009 03:07:41 +0000 (03:07 +0000)]
Live patch: use a query group for CategoryPage
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
Huji [Mon, 16 Feb 2009 21:09:54 +0000 (21:09 +0000)]
Localisation updates: Better translation for "IP" in the Persian messages
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.
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()
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
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).
Aaron Schulz [Mon, 16 Feb 2009 18:06:04 +0000 (18:06 +0000)]
Add gripe about FIFO and random row selection
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.
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
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)
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.
Aryeh Gregor [Mon, 16 Feb 2009 15:35:04 +0000 (15:35 +0000)]
Newline after help message to not mess up terminal
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
Rotem Liss [Mon, 16 Feb 2009 12:55:04 +0000 (12:55 +0000)]
Localization update for he.
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
Philip Tzou [Mon, 16 Feb 2009 11:48:12 +0000 (11:48 +0000)]
Update the Chinese conversion tables.
Roan Kattouw [Mon, 16 Feb 2009 11:20:58 +0000 (11:20 +0000)]
API: (bug 17502) meta=siteinfo&siprop=namespacealiases no longer lists namespace aliases already listed in siprop=namespaces
Raimond Spekking [Mon, 16 Feb 2009 08:51:38 +0000 (08:51 +0000)]
Cleanup image description page a bit:
* Remove the link to Special:FileDuplicateSearch from the "file history" section
of image description pages as the list of duplicated files is shown in the
next section anyway.
* Add the link to Special:FileDuplicateSearch to the message 'duplicatesoffile'
Tim Starling [Mon, 16 Feb 2009 08:11:39 +0000 (08:11 +0000)]
Fix the cascade protection templatelinks update routine, which apparently has been broken since it was introduced, causing it to flood the job queue with refreshLinks job on every parser cache miss:
* Fixed incorrect interpretation of the result of $parserOutput->getTemplates() which led to the array_diff() always being non-empty
* No need to check for $db->select()===false, it throws an exception in that case
* Do a non-recursive update, no need to update links for other pages on a page view
Tim Starling [Mon, 16 Feb 2009 07:03:21 +0000 (07:03 +0000)]
Fixed grc comment text
Tim Starling [Mon, 16 Feb 2009 04:50:26 +0000 (04:50 +0000)]
Better logging in runJobs.php. Committing for test on server.
Chad Horohoe [Mon, 16 Feb 2009 04:33:22 +0000 (04:33 +0000)]
(bug 17506) Respect $wgShowExceptionDetails when handling exceptions within exceptions. Based on patch by David Tabachnikov and Romi Romano5.
Raimond Spekking [Sun, 15 Feb 2009 21:25:06 +0000 (21:25 +0000)]
* Special:Prefixindex: Move table styling to shared.css
* Add CSS IDs to tables
* Use correct message 'allpagesprefix' for input form label
* Replace _ with ' ' in next page link
Siebrand Mazeland [Sun, 15 Feb 2009 18:55:24 +0000 (18:55 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-15 18:43 UTC)
Philip Tzou [Sun, 15 Feb 2009 17:34:12 +0000 (17:34 +0000)]
Update the Chinese conversion tables.
Siebrand Mazeland [Sun, 15 Feb 2009 12:21:44 +0000 (12:21 +0000)]
(bug 17497) Oasis opendocument added to mime.types (odg otg odt ott odp otp ods ots)
Raimond Spekking [Sun, 15 Feb 2009 09:26:08 +0000 (09:26 +0000)]
* Wrap warning message 'editinginterface' into a div with class 'mw-editinginterface'
Siebrand Mazeland [Sun, 15 Feb 2009 00:20:33 +0000 (00:20 +0000)]
* (bug 17472) use print <<<EOF in maintenance/importTextFile.php. Patch contribute by Jidanni.
* removed trailing whitespace
Alexandre Emsenhuber [Sat, 14 Feb 2009 17:09:57 +0000 (17:09 +0000)]
* Removed "global $action;" from SkinTemplate::outputPage(), getting it from $wgRequest instead (like for r46810)
* Changed "$action = $wgRequest->getText( 'action' )" to "$action = $wgRequest->getVal( 'action', 'view' )" as we do on index.php
Chad Horohoe [Sat, 14 Feb 2009 16:00:51 +0000 (16:00 +0000)]
Cleanup to $wgFeedClasses:
* Remove 2 unused globals
* (bug 17488) Link in toolbar to feeds should be localized (already have the feed-$format messages) Patch by Marcin Cieślak.
* Tangentially, can $wgFeedClasses be moved from Defines to DefaultSettings? Seems to make more sense in the latter.
Roan Kattouw [Sat, 14 Feb 2009 14:56:20 +0000 (14:56 +0000)]
API: Make information about the main module (ApiMain) and the pageset module (ApiPageSet) available through action=paraminfo
Siebrand Mazeland [Sat, 14 Feb 2009 11:56:10 +0000 (11:56 +0000)]
Localisation updates for extension messages from translatewiki.net (2009-02-14 11:51 UTC)
Philip Tzou [Sat, 14 Feb 2009 07:53:56 +0000 (07:53 +0000)]
Update the Chinese conversion tables.
Andrew Garrett [Sat, 14 Feb 2009 06:10:42 +0000 (06:10 +0000)]
Fix r45764, which made a whole bunch of random indices UNIQUE for no apparent reason.
Roan Kattouw [Fri, 13 Feb 2009 21:53:08 +0000 (21:53 +0000)]
Document ptlevel parameter. I should really learn to get stuff right in fewer than 5 commits
Roan Kattouw [Fri, 13 Feb 2009 21:49:01 +0000 (21:49 +0000)]
And yet another fixup for r47231: use older/newer rather than ascending/descending
Roan Kattouw [Fri, 13 Feb 2009 21:37:17 +0000 (21:37 +0000)]
...and remove another allpages leftover *sigh*
Roan Kattouw [Fri, 13 Feb 2009 21:36:34 +0000 (21:36 +0000)]
Fix leftover doc comment in ApiQueryProtectedTitles
Roan Kattouw [Fri, 13 Feb 2009 21:34:46 +0000 (21:34 +0000)]
API: (bug 16740) Adding list=protectedtitles to list create-protected titles
Philip Tzou [Fri, 13 Feb 2009 19:17:06 +0000 (19:17 +0000)]
Update the Chinese conversion tables.
Raimond Spekking [Fri, 13 Feb 2009 19:13:48 +0000 (19:13 +0000)]
* Replace hardcoded '...' as indication of a truncation with the 'ellipsis' message
Per Brion's suggestion in http://lists.wikimedia.org/pipermail/wikitech-l/2008-December/040796.html
Alexandre Emsenhuber [Fri, 13 Feb 2009 17:50:24 +0000 (17:50 +0000)]
bug 17477 and fix for r47196: Don't use global $title; this can work when executing index.php, but fails horribly in maintenance scripts (breaking checkBadRedirects.php at least)
Chad Horohoe [Fri, 13 Feb 2009 16:28:18 +0000 (16:28 +0000)]
(bug 17480) Typo in Italian lang file.
Roan Kattouw [Fri, 13 Feb 2009 16:17:39 +0000 (16:17 +0000)]
Add a <link rel="canonical"> tag on redirected page views per <googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html>
Roan Kattouw [Fri, 13 Feb 2009 15:36:32 +0000 (15:36 +0000)]
* API: Page prop=info by (ns, title) rather than offset
* Also fix a regression from r47214 which caused database errors when $this->titles or $this->missing was empty
Roan Kattouw [Fri, 13 Feb 2009 15:14:21 +0000 (15:14 +0000)]
API: Fix up r47214, which strangely had no commit message
* Use + instead of array_merge(), the latter messes up keys
* Fix a fatal error ($result not an object)
* Fix an interesting mistake when calling addTables(): addTables('foo', 'bar') doesn't add both tables, but adds foo AS bar
* Fix warning about $row->pt_namespace not being set
Commit message for r47214:
API: Refactor ApiQueryInfo
* Move result generating code from execute() to extractPageInfo()
** Merge code for existing and missing titles
* Don't loop over existing and missing titles separately, but on both in one go
* Move protection query code from execute() to getProtectionInfo()
** Merge code for existing and missing titles here as well
* Move subjectid/talkid query code from execute() to getTSIDs()
* Document some functions
Roan Kattouw [Fri, 13 Feb 2009 14:44:19 +0000 (14:44 +0000)]
Roan Kattouw [Fri, 13 Feb 2009 14:13:03 +0000 (14:13 +0000)]
API: More docs, break long lines in docs
Alexandre Emsenhuber [Fri, 13 Feb 2009 13:48:13 +0000 (13:48 +0000)]
(bug 17478) Fixed a PHP Strict standards error in maintenance/cleanupWatchlist.php
Shinjiman [Fri, 13 Feb 2009 13:06:36 +0000 (13:06 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Philip Tzou [Fri, 13 Feb 2009 06:24:05 +0000 (06:24 +0000)]
Update the Chinese conversion tables.
Andrew Garrett [Thu, 12 Feb 2009 23:42:33 +0000 (23:42 +0000)]
Trying to make the EditPage code a bit more readable by breaking lines and converting some of the more egregious offenders into using the Xml:: functions. I tested editing and so on, but do tell me if there's some automated test that I'm supposed to run it
through.
Aaron Schulz [Thu, 12 Feb 2009 20:06:05 +0000 (20:06 +0000)]
Added suppression log entries (if user can see them)
Niklas Laxström [Thu, 12 Feb 2009 19:54:32 +0000 (19:54 +0000)]
* (bug 13040) Gender-aware user namespace aliases
No aliases in this commit
Aaron Schulz [Thu, 12 Feb 2009 19:23:14 +0000 (19:23 +0000)]
Follow-up to r47192: do the same for PageHistory
Aaron Schulz [Thu, 12 Feb 2009 19:02:14 +0000 (19:02 +0000)]
* consolidated getDateMenu duplication into xml.php
* made filter settings carry over when pressing "go"
* made filter links a bit smaller
* removed DefaultQuery cruft
* updated docs
Roan Kattouw [Thu, 12 Feb 2009 17:29:17 +0000 (17:29 +0000)]
API: Prevent ApiQueryInfo from trying to set a continue value twice (which will fail with a fatal error)
Roan Kattouw [Thu, 12 Feb 2009 17:27:05 +0000 (17:27 +0000)]
API: Fix up r47142: use a boolean parameter for suggest
Siebrand Mazeland [Thu, 12 Feb 2009 17:25:27 +0000 (17:25 +0000)]
(bug 17448) Update for Danish language
Aaron Schulz [Thu, 12 Feb 2009 14:45:10 +0000 (14:45 +0000)]
(bug 5776) Add extra patrol link on bottom for diffs
Rotem Liss [Thu, 12 Feb 2009 12:56:38 +0000 (12:56 +0000)]
Localization update for he.
Philip Tzou [Thu, 12 Feb 2009 09:29:05 +0000 (09:29 +0000)]
Update the Chinese conversion tables.
Aaron Schulz [Thu, 12 Feb 2009 00:12:13 +0000 (00:12 +0000)]
Bug 15930 Nostalgia should have both edit links bolded
Andrew Garrett [Wed, 11 Feb 2009 23:44:02 +0000 (23:44 +0000)]
RELEASE-NOTES and alias NUMBEROFACTIVEUSERS for magic word ACTIVEUSERS introduced in r46822.
Philip Tzou [Wed, 11 Feb 2009 21:16:01 +0000 (21:16 +0000)]
Update the Chinese conversion tables.
New makefile script for ZhConversion.php.
Alexandre Emsenhuber [Wed, 11 Feb 2009 21:14:18 +0000 (21:14 +0000)]
Fix escaping of pipe-separator in revision (included via {{int:...}} in it)
Chad Horohoe [Wed, 11 Feb 2009 20:29:58 +0000 (20:29 +0000)]
(bug 12746) We shouldn't be sending out new password e-mails when a wiki is in read-only mode.
Roan Kattouw [Wed, 11 Feb 2009 19:28:07 +0000 (19:28 +0000)]
API: Remove stray $options = array(); from ApiPageSet
Previous commit message didn't mention changing ApiQueryInfo to sort $titles by page ID and to add info about missing pages in one go (the latter upon Brad Jorsch's suggestion)
Roan Kattouw [Wed, 11 Feb 2009 19:25:25 +0000 (19:25 +0000)]
* API: Add documentation to important API classes
* Move page_is_redirect up in ApiPageSet::getPageTableFields()
Siebrand Mazeland [Wed, 11 Feb 2009 18:34:02 +0000 (18:34 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-11 18:17 UTC)
Siebrand Mazeland [Wed, 11 Feb 2009 16:32:30 +0000 (16:32 +0000)]
Use pipe-separator instead of hard coded pipe symbol with leading and trailing space where used in English language messages
Aaron Schulz [Wed, 11 Feb 2009 16:08:36 +0000 (16:08 +0000)]
(bug 17414) Added magic words as a cache dependency
Aaron Schulz [Wed, 11 Feb 2009 15:56:53 +0000 (15:56 +0000)]
Add suggest=1 to search suggestion AJAX request. ApiOpenSearch won't execute such request if $wgEnableMWSuggest is disabled
Tim Starling [Wed, 11 Feb 2009 15:07:18 +0000 (15:07 +0000)]
(bug 17420) Send the correct content type from action=raw when the HTML file cache is enabled. Regression due to r45123/r45126. Will be backported to the 1.14 branch.
Purodha B Blissenbach [Wed, 11 Feb 2009 11:56:01 +0000 (11:56 +0000)]
Bugfis, making ?uselang=qqq an invalid language code, see
https://bugzilla.wikimedia.org/show_bug.cgi?id=17445
Tim Starling [Wed, 11 Feb 2009 08:18:44 +0000 (08:18 +0000)]
Fixed broken comment (fails on my version of MySQL)
Siebrand Mazeland [Tue, 10 Feb 2009 23:58:16 +0000 (23:58 +0000)]
Remove some unneeded spaces in output
Siebrand Mazeland [Tue, 10 Feb 2009 23:39:35 +0000 (23:39 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-10 23:29 UTC)
Roan Kattouw [Tue, 10 Feb 2009 19:10:58 +0000 (19:10 +0000)]
API: Page prop=imageinfo by (title, timestamp) rather than using an offset. Suggested by Brad Jorsch.
Rotem Liss [Tue, 10 Feb 2009 18:32:23 +0000 (18:32 +0000)]
Localization update.
Raimond Spekking [Tue, 10 Feb 2009 16:36:35 +0000 (16:36 +0000)]
typo from r47092. Spotted by SPQRobin
Raimond Spekking [Tue, 10 Feb 2009 16:19:34 +0000 (16:19 +0000)]
Localize time zone regions in Special:Preferences
Roan Kattouw [Tue, 10 Feb 2009 16:01:50 +0000 (16:01 +0000)]
API: (bug 17433) Added bot flag to list=watchlist&wlprop=flags output
Roan Kattouw [Tue, 10 Feb 2009 15:56:34 +0000 (15:56 +0000)]
API: Make UTF-8 cleanup actually work; it was broken from the beginning. Apparently I expected array_walk to behave like array_map, which is not the case.
Alexandre Emsenhuber [Tue, 10 Feb 2009 13:10:43 +0000 (13:10 +0000)]
Oops, accidentally reverted r47053 in m last commit
Alexandre Emsenhuber [Tue, 10 Feb 2009 13:04:18 +0000 (13:04 +0000)]
Allow entities so that the " " in pipe-separator are not escaped twice
Alexandre Emsenhuber [Tue, 10 Feb 2009 12:48:58 +0000 (12:48 +0000)]
rm deprecated note for MagicWordwgVariableIDs hook since it's the only way for an extension to register a new variable
Roan Kattouw [Tue, 10 Feb 2009 12:32:22 +0000 (12:32 +0000)]
API: Page prop=revisions by rev_id or (rev_page, rev_id), depending on mode, because the offset system potentially sucks. Suggested by Brad Jorsch
Siebrand Mazeland [Tue, 10 Feb 2009 06:54:37 +0000 (06:54 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-10 06:41 UTC)
Andrew Garrett [Mon, 9 Feb 2009 23:18:37 +0000 (23:18 +0000)]
Apply changes made live on Wikimedia cluster related to preprocessor caching to subversion. Patch worked on by Tim Starling and myself.
Changes from the original patch (r46936):
* Add versioning to the cache, so the cache can be purged.
* Only cache preprocessor output for input of over a certain amount (default of 1000 bytes).
Aaron Schulz [Mon, 9 Feb 2009 22:41:02 +0000 (22:41 +0000)]
Added missing Revision::FOR_THIS_USER flag