Aaron Schulz [Sat, 8 Nov 2008 01:58:18 +0000 (01:58 +0000)]
Make sure the top rev is not hidden
Aaron Schulz [Fri, 7 Nov 2008 21:33:58 +0000 (21:33 +0000)]
Add proposed patch to:
* Store what rev (or page) something corresponds to (bug 15814)
* Store user_text (for log XML imports)
* Allow slightly longer type/action values
Aaron Schulz [Fri, 7 Nov 2008 21:19:34 +0000 (21:19 +0000)]
Return TS in MW format
Tim Starling [Fri, 7 Nov 2008 16:38:01 +0000 (16:38 +0000)]
Check for PHP 5.0.x bug *after* checking for PHP 4, so that we don't claim that the user needs to upgrade from 5.0 to 5.1 when in fact they're running PHP 4.
Siebrand Mazeland [Thu, 6 Nov 2008 22:43:19 +0000 (22:43 +0000)]
Partial revert of r43269 for HTMLDiff.php. In file addHtml() is a method. Thanks to demon for spotting this.
Siebrand Mazeland [Thu, 6 Nov 2008 22:38:42 +0000 (22:38 +0000)]
Consistent casing for wfGetDB(), getDB(), and getDBKey()
Siebrand Mazeland [Thu, 6 Nov 2008 22:30:55 +0000 (22:30 +0000)]
Consistent casing for wfGetDB()
Siebrand Mazeland [Thu, 6 Nov 2008 22:20:29 +0000 (22:20 +0000)]
Consistent casing for addHTML()
Siebrand Mazeland [Thu, 6 Nov 2008 22:09:28 +0000 (22:09 +0000)]
Update on r43103. Add the 'norollbackdiff' toggle to 'misc', not to 'edit' per suggestion by Aaron.
Jack Phoenix [Thu, 6 Nov 2008 21:41:07 +0000 (21:41 +0000)]
adding AbortDiffCache hook to allow canceling the caching of a diff
Tim Starling [Thu, 6 Nov 2008 20:59:34 +0000 (20:59 +0000)]
* Added the BitmapHandler_ClientOnly media handler, which allows server-side image scaling to be completely disabled for specific media types, via the $wgMediaHandlers configuration variable.
Siebrand Mazeland [Thu, 6 Nov 2008 12:16:01 +0000 (12:16 +0000)]
Localisation updates for core messages from Betawiki (2008-11-06 13:08 CET)
Alexandre Emsenhuber [Wed, 5 Nov 2008 19:28:55 +0000 (19:28 +0000)]
* Made SpecialVersion directly extends SpecialPage
* entries in $wgExtensionFunctions registred as "array( 'class', 'function' )" are now displayed correctly in Special:Version, e.g. for SkinPerPage extension.
Alexandre Emsenhuber [Wed, 5 Nov 2008 16:54:48 +0000 (16:54 +0000)]
* spacing tweaks
* removed useless ?>
* removed useless inclusion of DatbaseFunctions.php
Aaron Schulz [Wed, 5 Nov 2008 00:39:42 +0000 (00:39 +0000)]
Revert r43198: nothing evil with LocalSettings use as long as messages are defined
Tim Starling [Tue, 4 Nov 2008 22:36:01 +0000 (22:36 +0000)]
Re r43174: Well I guess if you didn't understand it, there wasn't much hope of the user understanding it.
Robert Stojnić [Tue, 4 Nov 2008 22:19:37 +0000 (22:19 +0000)]
Recommit part of r42352 related to bug 5101 (Image from Commons doesn't show up when searched in Wikipedia search box)
Rotem Liss [Tue, 4 Nov 2008 19:33:50 +0000 (19:33 +0000)]
Localization update for he, and some whitespace fixes.
Aaron Schulz [Tue, 4 Nov 2008 15:57:40 +0000 (15:57 +0000)]
Break long line
Aaron Schulz [Tue, 4 Nov 2008 15:51:09 +0000 (15:51 +0000)]
Fix for r42632: grammar
Raimond Spekking [Tue, 4 Nov 2008 05:51:59 +0000 (05:51 +0000)]
Follow up per r43173: message was renamed.
Chad Horohoe [Tue, 4 Nov 2008 02:53:47 +0000 (02:53 +0000)]
Remove some unused globals.
Chad Horohoe [Tue, 4 Nov 2008 02:04:53 +0000 (02:04 +0000)]
Minor tweak in debug output. Makes much more readible (and per most other debug statements that mention the calling method), since -> gets turned to -> in the debug comments.
Charles Melbye [Tue, 4 Nov 2008 01:53:48 +0000 (01:53 +0000)]
Cleaned up some PHP coding style issues, and a few problems with
bug 15868. Patch by NSK Nikolaos S. Karastathis.
Aaron Schulz [Tue, 4 Nov 2008 01:18:59 +0000 (01:18 +0000)]
Revert r42890, this is not static
Tim Starling [Tue, 4 Nov 2008 00:43:39 +0000 (00:43 +0000)]
Escaping once is enough.
Aaron Schulz [Tue, 4 Nov 2008 00:38:15 +0000 (00:38 +0000)]
Fix for r43173. 'patrol' log is part of core; it's not just for extensions.
Tim Starling [Tue, 4 Nov 2008 00:33:09 +0000 (00:33 +0000)]
Fixes for r42642:
* Fix excessively abbreviated variable names $y and $m
* Don't use empty() unless you want to suppress warnings
* More documentation for $wgFilterLogTypes
* hide_patrol_log instead of hidepatrollog, camelCase for variable and function names, hyphens for message names
* More spaces, break long lines
Siebrand Mazeland [Tue, 4 Nov 2008 00:08:42 +0000 (00:08 +0000)]
Localisation updates for core messages from Betawiki (2008-11-04 00:52 CET)
Siebrand Mazeland [Mon, 3 Nov 2008 22:33:18 +0000 (22:33 +0000)]
As discussed with Aaron on irc. Remove "@param bool $wgEnotifUseRealName true will use real name instead of username" altogether. It is not a parameter, so it should not be there. The setting is documented in DefaultSettings.php.
Siebrand Mazeland [Mon, 3 Nov 2008 22:26:58 +0000 (22:26 +0000)]
Update documentation as pointed out by Aaron. Fix on r43155.
Siebrand Mazeland [Mon, 3 Nov 2008 22:22:46 +0000 (22:22 +0000)]
Add missing global $wgEnotifUseRealName. Fix for undefined variable notice in r43155.
Raimond Spekking [Mon, 3 Nov 2008 22:11:06 +0000 (22:11 +0000)]
Trim the final extension to avoid a confusing warning like
"*.jpg " is not a permitted file type
Siebrand Mazeland [Mon, 3 Nov 2008 21:31:47 +0000 (21:31 +0000)]
(bug 15068) Added $wgEnotifUseRealName, which allows UserMailer to send out e-mails based on the user's real name if one is set. Defaults to false (use the username). Patch by ^demon (Chad Horohoe). Per suggestion of brion.
Tim Starling [Mon, 3 Nov 2008 21:06:15 +0000 (21:06 +0000)]
Assorted tweaks on further review and local testing:
* Default 1 child process
* Introduce a log system so that critical errors can be filtered out of the progress messages
* Warn on abnormal child termination
* Use the actual row count for progress instead of the end ID. I think we can afford to count rows.
* Check for bt_moved=0 in doOrphanList() after finishIncompleteMoves(), to avoid attempted double-move and resulting spurious "conflict detected" warning
Siebrand Mazeland [Mon, 3 Nov 2008 18:23:42 +0000 (18:23 +0000)]
Retire 'newpages-showhideredirs' in favour of 'whatlinkshere-hideredirs'. Identical use case.
Siebrand Mazeland [Mon, 3 Nov 2008 18:08:43 +0000 (18:08 +0000)]
Follow up on r43125. Rebuild all messages files.
Rotem Liss [Mon, 3 Nov 2008 18:04:45 +0000 (18:04 +0000)]
Localization update.
Raimond Spekking [Mon, 3 Nov 2008 17:45:38 +0000 (17:45 +0000)]
Make show/hide links in watchlist consistent to recent changes (and ipblocklist too).
Use the same messages for RC/WL to keep translations consistent.
Roan Kattouw [Mon, 3 Nov 2008 10:13:00 +0000 (10:13 +0000)]
API: (bug 16225) apfrom=Talk:Foo behaved like apfrom=Foo because Talk: was interpreted as a namespace prefix. This caused bugs when trying to query-continue with a title like Talk:Talk:Foo. Other XXfrom and XXprefix parameters probably had this bug as well.
Ilmari Karonen [Mon, 3 Nov 2008 08:22:06 +0000 (08:22 +0000)]
remove the skin-override message from messages.inc too
Ilmari Karonen [Mon, 3 Nov 2008 08:08:02 +0000 (08:08 +0000)]
oops, r43111 was incomplete, here's the rest of it :-/
Ilmari Karonen [Mon, 3 Nov 2008 07:56:50 +0000 (07:56 +0000)]
Hide skin tab in preferences entirely is $wgAllowUserSkin is false, remove the skin-override message.
Also ensure that PreferencesForm::mSkin is always normalized and is only saved if $wgAllowUserSkin is true.
Siebrand Mazeland [Mon, 3 Nov 2008 00:33:01 +0000 (00:33 +0000)]
(bug 15544) Non-index entry points cause the "Wiki not set up" message to have corrupt URLs. Patch by Matt Johnston with tiny changes in comments.
Fixed patch compared to r40719, finds the correct path if in any subdirectory (of those listed) or if in the main directory. Also validates if it has the right place.
Siebrand Mazeland [Mon, 3 Nov 2008 00:04:33 +0000 (00:04 +0000)]
(bug 15737) Fix notices while expanding using PPCustomFrame. Patch by Juliano F. Ravasi.
In PPCustomFrame_DOM and PPCustomFrame_Hash, no checking is performed in getArgument() when arguments not contained in frames are requested, causing PHP undefined variable error messages. This happens while expanding templates using a custom frame.
A simple check is needed using isset(), just like those found in PPFrame_* and PPTemplateFrame_*.
Siebrand Mazeland [Sun, 2 Nov 2008 23:56:52 +0000 (23:56 +0000)]
Remove period from 'tog-norollbackdiff' for consistency
Siebrand Mazeland [Sun, 2 Nov 2008 23:44:18 +0000 (23:44 +0000)]
(bug 15761) Add user toggle to omit diff after rollback. Patch by FunPika.
Siebrand Mazeland [Sun, 2 Nov 2008 23:05:05 +0000 (23:05 +0000)]
(bug 15903) Add upload link to Nostalgia skin. Patch by Nikolaos S. Karastathis.
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).