Siebrand Mazeland [Sun, 2 Nov 2008 22:58:35 +0000 (22:58 +0000)]
(bug 16113) Show/hide for redirects in Special:NewPages. Patch by Paul Copperman
Siebrand Mazeland [Sun, 2 Nov 2008 21:51:57 +0000 (21:51 +0000)]
(bug 16143) Fix redirect loop on special pages starting with lower case letters. Patch by FunPika.
Siebrand Mazeland [Sun, 2 Nov 2008 19:18:40 +0000 (19:18 +0000)]
Follow up on r43077
Raimond Spekking [Sun, 2 Nov 2008 18:46:27 +0000 (18:46 +0000)]
Fix for r43077:
* Use wfMsg to show error message in user preference language. wfMsgForContent does not make sense
* Rename new message name to MediaWiki code standards. Use dash and not underscore
Aaron Schulz [Sun, 2 Nov 2008 18:35:58 +0000 (18:35 +0000)]
* Fix comment
* Rename HexToIP -> HexToQuad
Siebrand Mazeland [Sun, 2 Nov 2008 17:56:08 +0000 (17:56 +0000)]
Localisation updates for core messages from Betawiki (2008-11-02 18:42 CET)
Rotem Liss [Sun, 2 Nov 2008 17:37:44 +0000 (17:37 +0000)]
Localization update.
Aryeh Gregor [Sun, 2 Nov 2008 17:17:19 +0000 (17:17 +0000)]
Use MediaWiki whitespace standards, please.
This file is really a mess, though. We need a unified system of
functions that will autodetect any IP address format and convert to any
desired format, not this hodgepodge of inconsistently-named and
inconsistently-operating hacks.
Roan Kattouw [Sun, 2 Nov 2008 16:50:59 +0000 (16:50 +0000)]
API: Move ApiQueryBlocks::convertHexIP() to IP::hexToIP() per Werdna's comment on r43040
Tim Starling [Sun, 2 Nov 2008 16:45:52 +0000 (16:45 +0000)]
* Set a special temporary directory for ImageMagick with $wgImageMagickTempDir
Ilmari Karonen [Sun, 2 Nov 2008 14:21:04 +0000 (14:21 +0000)]
Emit a warning message if a single page has multiple conflicting {{DEFAULTSORT:}} keys.
(Also, replace wfMsg() with wfMsgForContent() for the unknown_extension_tag message.)
Raimond Spekking [Sun, 2 Nov 2008 06:46:02 +0000 (06:46 +0000)]
Fix for r43064.
X! [Sun, 2 Nov 2008 05:32:57 +0000 (05:32 +0000)]
(bug 15125) Add Public Domain to default options when installing. Patch by Nathan Larson.
Alex Z [Sun, 2 Nov 2008 03:37:24 +0000 (03:37 +0000)]
Put the rcid in the URL if $wgUseNPPatrol or $wgUseRCPatrol is used.
Siebrand Mazeland [Sat, 1 Nov 2008 23:30:36 +0000 (23:30 +0000)]
Localisation updates for core messages from Betawiki (2008-11-02 00:14 CET)
Tim Starling [Sat, 1 Nov 2008 23:20:25 +0000 (23:20 +0000)]
* Rewrote wfArrayMerge() in terms of array plus
* Two callers of wfArrayMerge() were bugs, both assuming strange and complex behaviour in wfArrayMerge() which has never been present or documented.
* Introduced wfMergeErrorArrays() to remove duplicates from merged error arrays, e.g. from getUserPermissionsErrors().
* Rewrote the remaining callers of wfArrayMerge() to use array plus. It makes the code clearer, assuming the reader knows more about basic PHP operators than GlobalFunctions.php. Considering the two bugs discussed above, this seems like a fair assumption. If you don't know PHP, you shouldn't be writing MediaWiki code.
Brion Vibber [Sat, 1 Nov 2008 22:30:56 +0000 (22:30 +0000)]
Update doc comment for wfArrayMerge() to note the behavior difference between array_merge() with string keys and the + operator on arrays. Now with less cursing. :)
Roan Kattouw [Sat, 1 Nov 2008 22:19:39 +0000 (22:19 +0000)]
API: Followup on r43014: clean up some more
Alex Z [Sat, 1 Nov 2008 21:46:47 +0000 (21:46 +0000)]
Fix rangeblock detection
Tim Starling [Sat, 1 Nov 2008 21:38:46 +0000 (21:38 +0000)]
Convert from old DiffHistoryBlob format. Untested, committing for test by Jelte.
Roan Kattouw [Sat, 1 Nov 2008 19:23:14 +0000 (19:23 +0000)]
API: Clean up ApiQueryBlocks, which was a stylistic mess. I can't believe I actually wrote that code (I was young and foolish, I guess :P )
Alex Z [Sat, 1 Nov 2008 18:15:45 +0000 (18:15 +0000)]
pass user ID to Block::newFromDB in case of renames per comments on r42843.
Aaron Schulz [Sat, 1 Nov 2008 16:44:23 +0000 (16:44 +0000)]
Pass user id to newFromDB() as well
Tim Starling [Sat, 1 Nov 2008 13:36:08 +0000 (13:36 +0000)]
Implemented xdiff_string_bpatch() in pure PHP, allowing DiffHistoryBlob objects to be decompressed without libxdiff. Negligible performance difference. This provides a stability guarantee -- if libxdiff disappears or changes, we can continue to read old blobs. It also means we don't have to package libxdiff for all app servers.
Tim Starling [Sat, 1 Nov 2008 13:24:02 +0000 (13:24 +0000)]
Typo
Tim Starling [Sat, 1 Nov 2008 12:06:23 +0000 (12:06 +0000)]
* Added $wgDebugLogPrefix, to allow users (or in this case, multiprocess command-line scripts) to set a debug log line prefix
* Improved blob_tracking.sql docs
* Allow testCompression.php to run until happy instead of a specified revision count
* Added docs for some debugging globals in DefaultSettings.php
In experimental script recompressTracked.php:
* Fixed crippling bugs, seems to work now. Needs more testing.
* Improved usage documentation
* Use DiffHistoryBlob by default if available
* Set a process-specific log prefix, added more debugging output
* Optimised commit() slightly by merging the locking read queries using IN()
* Fixed finishIncompleteMoves() so doPage() acts on only that page. Also run finishIncompleteMoves() for orphan lists.
Tim Starling [Sat, 1 Nov 2008 09:39:40 +0000 (09:39 +0000)]
New DiffHistoryBlob storage format and compression method, which maintains a good compression ratio in the case of vandalism by replacement with small text. The storage format allows edit wars to be dealt with as well, but an efficient algorithm for that may be more difficult.
Rotem Liss [Sat, 1 Nov 2008 09:08:14 +0000 (09:08 +0000)]
Localization update for he, and reordering the right and action messages.
Siebrand Mazeland [Sat, 1 Nov 2008 07:46:43 +0000 (07:46 +0000)]
Follow up on r42980. Register message and fix alignment.
Charles Melbye [Sat, 1 Nov 2008 06:11:40 +0000 (06:11 +0000)]
Let's hide the (preview) link, as it won't do anything now.
Charles Melbye [Sat, 1 Nov 2008 06:09:08 +0000 (06:09 +0000)]
Made it so that users can't test out skins if user skins are disabled (per
Werdna), and user skin selection has now been disabled on the preferences
special page, with a notice on top telling why that happened.
Charles Melbye [Sat, 1 Nov 2008 04:39:31 +0000 (04:39 +0000)]
Added a new configuration option: $wgAllowUserSkin
Alex Z [Sat, 1 Nov 2008 00:00:25 +0000 (00:00 +0000)]
(bug 16207) - Fix title protection in the API. $expiry is cast to an array near the start and doesn't have the correct timestamp format here anyway.
Huji [Fri, 31 Oct 2008 23:39:31 +0000 (23:39 +0000)]
Localisation updates: Avoiding Arabic-style pluralization
Siebrand Mazeland [Fri, 31 Oct 2008 23:27:15 +0000 (23:27 +0000)]
Localisation updates for core messages from Betawiki (2008-11-01 00:21 CET)
Siebrand Mazeland [Fri, 31 Oct 2008 22:47:24 +0000 (22:47 +0000)]
Add missing messages for [right|action]-move-userpages
Rotem Liss [Fri, 31 Oct 2008 17:03:49 +0000 (17:03 +0000)]
Localization update for he.
Bryan Tong Minh [Fri, 31 Oct 2008 15:53:15 +0000 (15:53 +0000)]
ISO 8601 timestamps can have decimal seconds
Siebrand Mazeland [Fri, 31 Oct 2008 15:44:39 +0000 (15:44 +0000)]
Update native form for 'ay'
Siebrand Mazeland [Fri, 31 Oct 2008 13:32:01 +0000 (13:32 +0000)]
(bug 13710) Allow to force "watch this" checkbox via URL. Patch by Max Semenik.
Raimond Spekking [Fri, 31 Oct 2008 10:43:49 +0000 (10:43 +0000)]
Fixing a Fatal error: Using $this when not in object context in F:\xampp\htdocs\wiki2\includes\Linker.php on line 1759
Siebrand Mazeland [Thu, 30 Oct 2008 22:45:23 +0000 (22:45 +0000)]
Localisation updates from Betawiki
Alex Z [Thu, 30 Oct 2008 21:45:16 +0000 (21:45 +0000)]
(bug 10080) (bug 15820) - Allow modification of blocks without unblocking, and show a notice if the user is already blocked when first visiting the form (if a user is specified).
Roan Kattouw [Thu, 30 Oct 2008 17:24:40 +0000 (17:24 +0000)]
API: Fix r42813, committed some stuff that shouldn't be committed just yet
Aaron Schulz [Thu, 30 Oct 2008 16:17:37 +0000 (16:17 +0000)]
Make getSubjectPage return $this if the title is the same. This avoids process cache loss.
Roan Kattouw [Thu, 30 Oct 2008 14:51:57 +0000 (14:51 +0000)]
API: Tweak r42794 (add docs for ApiBase class constants) a little
Roan Kattouw [Thu, 30 Oct 2008 14:43:41 +0000 (14:43 +0000)]
API: Self-revert r42811 (BREAKING CHANGE: Putting meta=siteinfo output in <siteinfo> element for consistency with every other API module.). On second thought, it's not really necessary.
Roan Kattouw [Thu, 30 Oct 2008 14:36:05 +0000 (14:36 +0000)]
API: BREAKING CHANGE: Putting meta=siteinfo output in <siteinfo> element for consistency with every other API module. Previously, it was just put in the <query> element, where it doesn't belong.
Siebrand Mazeland [Thu, 30 Oct 2008 13:39:09 +0000 (13:39 +0000)]
Localisation updates for core messages from Betawiki (2008-10-30 14:23 CET)
Siebrand Mazeland [Thu, 30 Oct 2008 13:22:19 +0000 (13:22 +0000)]
Localisation updates special page aliases from Betawiki.
Aaron Schulz [Thu, 30 Oct 2008 10:04:30 +0000 (10:04 +0000)]
Make getTimestampFromId() need a title. Avoids some secondary lookups and orphans revs will be overlooked.
Brion Vibber [Thu, 30 Oct 2008 04:48:52 +0000 (04:48 +0000)]
Revert r42799, r42800 "(bug 1999) Add editable footer message, via [[MediaWiki:Footermessage]]"
Full wiki parsing of messages is slow, thus not done on every page view on principle (eg sitenotice cache).
X! [Thu, 30 Oct 2008 03:32:36 +0000 (03:32 +0000)]
Add to messages.inc, ignore the <li> if it does not exist, and add to Modern too.
X! [Thu, 30 Oct 2008 03:00:22 +0000 (03:00 +0000)]
(bug 1999) Add editable footer message, via [[MediaWiki:Footermessage]]
Brion Vibber [Thu, 30 Oct 2008 01:12:56 +0000 (01:12 +0000)]
* (bug 11533) Fixed insane slowdown when in read-only mode for long periods
of time with CACHE_NONE (default objectcache table configuration).
MediaWikiBagOStuff was refusing to perform any cache updates when in read-only
mode. This made sense originally when read-only mode was an extreme hardcore
"nothing can write to the DB EVAR because we're doing weird things to it",
but today we do allow backend writes of various sorts, and it's mainly meant
to stop user-level activity.
The refusal to perform updates caused the MessageCache to spend a long period
of time retrying the storage of the cache if it had expired out of the table previously... which is kind of bad as every page load would be insanely slow. :D
Chad Horohoe [Thu, 30 Oct 2008 00:39:21 +0000 (00:39 +0000)]
Add some docs on these class constants
Bryan Tong Minh [Wed, 29 Oct 2008 19:21:21 +0000 (19:21 +0000)]
Need setOffset and setLimit as well
Bryan Tong Minh [Wed, 29 Oct 2008 18:15:39 +0000 (18:15 +0000)]
Add IndexPager::getResult so that other code (API) can access the result.
Aaron Schulz [Wed, 29 Oct 2008 15:47:58 +0000 (15:47 +0000)]
Redo r41723: still show rcnotefrom as needed, but not rcnote. Add rclegend message if it is not empty.
Aaron Schulz [Wed, 29 Oct 2008 15:35:18 +0000 (15:35 +0000)]
Revert r41723 and follow-up r41811: rcnotefrom had one non-redundant field and a place for local legends is needed
Tim Starling [Wed, 29 Oct 2008 15:15:29 +0000 (15:15 +0000)]
* Added recompressTracked.php, the second part of the recompression project. Uses the sorted list of blobs compiled by trackBlobs.php to recompress the entire contents of a set of external storage clusters to a new set of clusters, and updates the text table accordingly.
* Tweaked blob_tracking indexes now that I know what I'm doing with them
* Standardised isHappy() on no arguments. Use an uncompressed size limit instead of the weird things I did originally.
Siebrand Mazeland [Wed, 29 Oct 2008 11:18:27 +0000 (11:18 +0000)]
Update documentation for 'pa' because of incubator project for Western Punjabi (pnb).
Aaron Schulz [Wed, 29 Oct 2008 04:41:44 +0000 (04:41 +0000)]
Fix typo
Aaron Schulz [Wed, 29 Oct 2008 04:17:31 +0000 (04:17 +0000)]
Don't show orphaned revisions (will matter for bug 11402 later)
Charles Melbye [Tue, 28 Oct 2008 23:14:56 +0000 (23:14 +0000)]
Forgot to update RELEASE-NOTES for r42749
Charles Melbye [Tue, 28 Oct 2008 22:19:30 +0000 (22:19 +0000)]
Added a new configuration setting called $wgRC2UDPInterwikiPrefix that will
prefix the page name in the UDP feed with the Interwiki prefix specified
in the $wgLocalInterwiki variable.
Aaron Schulz [Tue, 28 Oct 2008 21:25:09 +0000 (21:25 +0000)]
Spacing tweaks
Aaron Schulz [Tue, 28 Oct 2008 21:22:20 +0000 (21:22 +0000)]
Paranoid page table check
Aaron Schulz [Tue, 28 Oct 2008 20:15:37 +0000 (20:15 +0000)]
Don't use public-audience-only function
Siebrand Mazeland [Tue, 28 Oct 2008 19:11:29 +0000 (19:11 +0000)]
Localisation updates special page aliases from Betawiki.
Domas Mituzas [Tue, 28 Oct 2008 18:49:00 +0000 (18:49 +0000)]
usertext, not user :)
Alexandre Emsenhuber [Tue, 28 Oct 2008 18:42:49 +0000 (18:42 +0000)]
Fixes for r42735:
* option's name is USE INDEX
* use the index is user_timestamp (per domas)
* force it on the 'revision' table, not 'page'
Rotem Liss [Tue, 28 Oct 2008 18:23:52 +0000 (18:23 +0000)]
Localization update.
Alex Z [Tue, 28 Oct 2008 18:05:25 +0000 (18:05 +0000)]
add an id to form elements
Chad Horohoe [Tue, 28 Oct 2008 17:51:38 +0000 (17:51 +0000)]
Use FORCE INDEX here, because Domas said we should :) All hail Domas.
Tim Starling [Tue, 28 Oct 2008 14:55:42 +0000 (14:55 +0000)]
Fix docs
Roan Kattouw [Tue, 28 Oct 2008 14:35:48 +0000 (14:35 +0000)]
API: (bug 16158) Generators choke on pagelinks entries with negative pl_namespace. Throw a warning instead of an error for the time being
Roan Kattouw [Tue, 28 Oct 2008 14:20:29 +0000 (14:20 +0000)]
API: * (bug 16159) Add wlshow=patrolled|!patrolled to list=watchlist
* Followup of r42077: fix bug 15945 (use User::useRCPatrol() and useNPPatrol() rather than isAllowed('patrol')) for list=watchlist as well
Huji [Tue, 28 Oct 2008 14:08:30 +0000 (14:08 +0000)]
(bug 16160) Suggestion box should be resized from left in RTl layout
Aaron Schulz [Tue, 28 Oct 2008 13:42:05 +0000 (13:42 +0000)]
Move getEarliestTime() to Title
Alexandre Emsenhuber [Tue, 28 Oct 2008 12:41:51 +0000 (12:41 +0000)]
Use $wgJsMimeType for JavaScript's Mime type
Nicolas Dumazet [Tue, 28 Oct 2008 09:24:52 +0000 (09:24 +0000)]
Adding function hook for numberofviews
Siebrand Mazeland [Tue, 28 Oct 2008 08:37:47 +0000 (08:37 +0000)]
Tweak 'unusedtemplatestext': use "{{ns:template}}" instead of "template"
Siebrand Mazeland [Tue, 28 Oct 2008 08:30:31 +0000 (08:30 +0000)]
(bug 15765) Fix inconsistent "talk" for NS_PROJECT_TALK
Huji [Tue, 28 Oct 2008 08:29:15 +0000 (08:29 +0000)]
Localisation updates: Adding/updating Persian translations: "Type" is not a Persian word, thus is replaced by synonyms
Tim Starling [Tue, 28 Oct 2008 08:07:00 +0000 (08:07 +0000)]
In sortable tables:
* (bug 8063) Use the content language digit transform table.
* Don't recognise C-style hexadecimal notation as a number, that feature never actually worked.
* Be more forgiving about things that look like numbers but turn out not to be. Sort them stringwise.
* Optimised ts_resortTable by having it calculate the sort keys at the start, and then using a single trivial comparison function. There are potentially many more comparisons than rows. Observed factor of 2 speedup.
* Use RegExp.test() instead of String.match() when a true/false value is desired, as recommended by the Mozilla reference
Alex Z [Tue, 28 Oct 2008 02:38:59 +0000 (02:38 +0000)]
partial revert of r42695, don't trim the comment
Alex Z [Tue, 28 Oct 2008 02:32:56 +0000 (02:32 +0000)]
Fix profiling
Aryeh Gregor [Tue, 28 Oct 2008 00:23:26 +0000 (00:23 +0000)]
Forgot profiling for last commit
Siebrand Mazeland [Tue, 28 Oct 2008 00:14:03 +0000 (00:14 +0000)]
Localisation updates special page aliases from Betawiki.
Aryeh Gregor [Mon, 27 Oct 2008 23:58:00 +0000 (23:58 +0000)]
Create new, better tooltip/accesskey methods
Old Linker::tooltipAndAccesskey() and Linker::tooltip(), which pass
around raw bits of HTML, are now wrappers for Linker::titleAttrib() and
Linker::accesskey(). Actual usages have not been changed for now.
Note that this might have some slight performance implication, since
the accesskey message will typically be retrieved twice per view
instead of once: once for the accesskey attribute, once for the bit
we're appending to the title attribute. This used to be avoided by
using a single tooltipAndAccesskey() method, but that's pretty ugly.
Of course, the second hit should reach the local accesskey cache and
not result in a second memcached hit, but I recall Tim saying that that
still takes 100 us or something unreasonable like that.
Causes no new parser test failures, and I didn't notice any difference
in the UI with a quick check.
Aryeh Gregor [Mon, 27 Oct 2008 23:57:43 +0000 (23:57 +0000)]
Allow '0' as an accesskey.
PHP weak typing strikes again!
Siebrand Mazeland [Mon, 27 Oct 2008 23:17:06 +0000 (23:17 +0000)]
Localisation updates for core messages from Betawiki (2008-10-28 00:10 CET)
Alex Z [Mon, 27 Oct 2008 22:41:17 +0000 (22:41 +0000)]
(bug 4253) - recentchanges IRC:
* Don't include the title in diff ULRs
* If the message is still too long, trim the comment.
Siebrand Mazeland [Mon, 27 Oct 2008 21:07:21 +0000 (21:07 +0000)]
Localisation updates for special page aliases from Betawiki.
Aaron Schulz [Mon, 27 Oct 2008 20:54:27 +0000 (20:54 +0000)]
Remove redundant code
Siebrand Mazeland [Mon, 27 Oct 2008 20:16:05 +0000 (20:16 +0000)]
Localisation updates for special page aliases from Betawiki.
Aaron Schulz [Mon, 27 Oct 2008 19:59:54 +0000 (19:59 +0000)]
rc_deleted must be given; not secure otherwise
Siebrand Mazeland [Mon, 27 Oct 2008 19:47:39 +0000 (19:47 +0000)]
Localisation updates for special page aliases from Betawiki.
Siebrand Mazeland [Mon, 27 Oct 2008 19:43:37 +0000 (19:43 +0000)]
Revert r42659 per revert of r42658 by aaron in r42664 by brion.