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.
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
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.
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.
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.
Raimond Spekking [Wed, 18 Feb 2009 08:25:04 +0000 (08:25 +0000)]
Follow up r47392: Rename magic word for existing translations too
Brion Vibber [Wed, 18 Feb 2009 06:22:38 +0000 (06:22 +0000)]
Fix borkage with variant links in old top links
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.
Andrew Garrett [Wed, 18 Feb 2009 05:29:11 +0000 (05:29 +0000)]
Fix logic error from bad casing
Andrew Garrett [Wed, 18 Feb 2009 05:19:55 +0000 (05:19 +0000)]
element->tags
Andrew Garrett [Wed, 18 Feb 2009 05:17:09 +0000 (05:17 +0000)]
Fix accidental regression of 'summary' message to text-only.
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.
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?
Andrew Garrett [Wed, 18 Feb 2009 03:22:17 +0000 (03:22 +0000)]
Ending newline
Aaron Schulz [Wed, 18 Feb 2009 03:12:26 +0000 (03:12 +0000)]
Fixed E_NOTICE
Chad Horohoe [Wed, 18 Feb 2009 02:54:58 +0000 (02:54 +0000)]
Use accessor hasSharedCache() rather than calling the param directly.
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. :)
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.
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.
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. :)
Purodha B Blissenbach [Wed, 18 Feb 2009 00:33:02 +0000 (00:33 +0000)]
Linktrail extended for ksh.
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)
Purodha B Blissenbach [Tue, 17 Feb 2009 23:54:47 +0000 (23:54 +0000)]
Message text "Special:ListGroupRights" more specific.
Aaron Schulz [Tue, 17 Feb 2009 23:52:18 +0000 (23:52 +0000)]
Fix more double quoting
Andrew Garrett [Tue, 17 Feb 2009 23:50:08 +0000 (23:50 +0000)]
Trailing whitespace
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
Aaron Schulz [Tue, 17 Feb 2009 23:36:02 +0000 (23:36 +0000)]
(bug 17542) RevisionDeleted failed on deleted revisions (double-quoting)
Andrew Garrett [Tue, 17 Feb 2009 23:33:57 +0000 (23:33 +0000)]
Fix double-escaping in r47202.
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.
Aaron Schulz [Tue, 17 Feb 2009 23:05:04 +0000 (23:05 +0000)]
Rename new ACTIVEUSERS word to NUMBEROFACTIVEUSERS
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?
Chad Horohoe [Tue, 17 Feb 2009 22:56:52 +0000 (22:56 +0000)]
Tweak msg. Indefinite articles rock.
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.
Chad Horohoe [Tue, 17 Feb 2009 22:35:36 +0000 (22:35 +0000)]
Override FileRepo::newFile() when $time is set. See docs on parent.
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.
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.
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
Brion Vibber [Tue, 17 Feb 2009 22:06:20 +0000 (22:06 +0000)]
Tweak to r47279 -- include final newline to keep the terminal clean :)
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)
Chad Horohoe [Tue, 17 Feb 2009 21:14:34 +0000 (21:14 +0000)]
Fix spacing properly this time.
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)
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)
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.
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
Siebrand Mazeland [Tue, 17 Feb 2009 18:07:39 +0000 (18:07 +0000)]
Fix syntax error
Siebrand Mazeland [Tue, 17 Feb 2009 18:06:44 +0000 (18:06 +0000)]
Fix syntax error
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
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.
Aaron Schulz [Tue, 17 Feb 2009 15:05:23 +0000 (15:05 +0000)]
Try to avoid file caching php fatals, it's very annoying
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)