lhc/web/wiklou.git
15 years agoCleanup for r43315 (per aaron's comment): remove extra set of parenthesis
Alexandre Emsenhuber [Sun, 9 Nov 2008 14:35:17 +0000 (14:35 +0000)]
Cleanup for r43315 (per aaron's comment): remove extra set of parenthesis

15 years ago* (bug 5530) Consistency between character encoding in {{PAGENAMEE}}, {{SUBPAGENAMEE...
Leon Weber [Sat, 8 Nov 2008 23:20:44 +0000 (23:20 +0000)]
* (bug 5530) Consistency between character encoding in {{PAGENAMEE}}, {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}}, patch by HardDisk

15 years ago* Redo thumb caching and make it a part of the default /thumb/ structure with hashes...
Chad Horohoe [Sat, 8 Nov 2008 22:20:23 +0000 (22:20 +0000)]
* Redo thumb caching and make it a part of the default /thumb/ structure with hashes as needed.
* Move the generic getHashPath accessor up a level to the FileRepo.

15 years ago(bug 8345) Don't autosummarize where a redirect was left unchanged
Alexandre Emsenhuber [Sat, 8 Nov 2008 20:36:21 +0000 (20:36 +0000)]
(bug 8345) Don't autosummarize where a redirect was left unchanged

15 years agoLocalisation updates. Remove a few duplicate optionals, and one fix for Latin.
Siebrand Mazeland [Sat, 8 Nov 2008 20:06:47 +0000 (20:06 +0000)]
Localisation updates. Remove a few duplicate optionals, and one fix for Latin.

15 years agoMore space fixes
Aaron Schulz [Sat, 8 Nov 2008 19:45:26 +0000 (19:45 +0000)]
More space fixes

15 years ago* getNotificationTimestamp() moved to Title.php
Aaron Schulz [Sat, 8 Nov 2008 19:41:38 +0000 (19:41 +0000)]
* getNotificationTimestamp() moved to Title.php
* remove deprecated UI nav method
* Various code cleanup and style tweaks

15 years agoFix typo
Aaron Schulz [Sat, 8 Nov 2008 19:34:08 +0000 (19:34 +0000)]
Fix typo

15 years agoFix comment
Aaron Schulz [Sat, 8 Nov 2008 19:33:04 +0000 (19:33 +0000)]
Fix comment

15 years ago* Add isSingleRevRedirect(). Refactor isValidMoveTarget() with this.
Aaron Schulz [Sat, 8 Nov 2008 19:31:08 +0000 (19:31 +0000)]
* Add isSingleRevRedirect(). Refactor isValidMoveTarget() with this.
* Add getNotificationTimestamp() function

15 years agoLocalisation updates for core messages from Betawiki (2008-11-08 20:20 CET)
Siebrand Mazeland [Sat, 8 Nov 2008 19:30:48 +0000 (19:30 +0000)]
Localisation updates for core messages from Betawiki (2008-11-08 20:20 CET)

15 years agoFix for r43295: check if $wgArticle is set
Aaron Schulz [Sat, 8 Nov 2008 18:30:04 +0000 (18:30 +0000)]
Fix for r43295: check if $wgArticle is set

15 years agoRemove hack to check if top rev will be deleted. Just unhide top rev after restore.
Aaron Schulz [Sat, 8 Nov 2008 18:19:46 +0000 (18:19 +0000)]
Remove hack to check if top rev will be deleted. Just unhide top rev after restore.

15 years agoRemove bit of debugging.
Chad Horohoe [Sat, 8 Nov 2008 17:36:07 +0000 (17:36 +0000)]
Remove bit of debugging.

15 years ago(bug 16265) Enabling apiThumbCacheExpiry produced invalid thumbs for things like...
Chad Horohoe [Sat, 8 Nov 2008 17:33:52 +0000 (17:33 +0000)]
(bug 16265) Enabling apiThumbCacheExpiry produced invalid thumbs for things like svg that get turned to png.

15 years ago(bug 4362) [[MediaWiki:History copyright]] no more used with most recent revision...
Alexandre Emsenhuber [Sat, 8 Nov 2008 16:09:37 +0000 (16:09 +0000)]
(bug 4362) [[MediaWiki:History copyright]] no more used with most recent revision when passing oldid parameter in the url

15 years ago(bug 15835) Added Content-Style-Type meta tag
Alexandre Emsenhuber [Sat, 8 Nov 2008 15:06:50 +0000 (15:06 +0000)]
(bug 15835) Added Content-Style-Type meta tag

15 years agoCode space tweaks
Aaron Schulz [Sat, 8 Nov 2008 02:21:13 +0000 (02:21 +0000)]
Code space tweaks

15 years agoMake sure the top rev is not hidden
Aaron Schulz [Sat, 8 Nov 2008 01:58:18 +0000 (01:58 +0000)]
Make sure the top rev is not hidden

15 years agoAdd proposed patch to:
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

15 years agoReturn TS in MW format
Aaron Schulz [Fri, 7 Nov 2008 21:19:34 +0000 (21:19 +0000)]
Return TS in MW format

15 years agoCheck for PHP 5.0.x bug *after* checking for PHP 4, so that we don't claim that the...
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.

15 years agoPartial revert of r43269 for HTMLDiff.php. In file addHtml() is a method. Thanks...
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.

15 years agoConsistent casing for wfGetDB(), getDB(), and getDBKey()
Siebrand Mazeland [Thu, 6 Nov 2008 22:38:42 +0000 (22:38 +0000)]
Consistent casing for wfGetDB(), getDB(), and getDBKey()

15 years agoConsistent casing for wfGetDB()
Siebrand Mazeland [Thu, 6 Nov 2008 22:30:55 +0000 (22:30 +0000)]
Consistent casing for wfGetDB()

15 years agoConsistent casing for addHTML()
Siebrand Mazeland [Thu, 6 Nov 2008 22:20:29 +0000 (22:20 +0000)]
Consistent casing for addHTML()

15 years agoUpdate on r43103. Add the 'norollbackdiff' toggle to 'misc', not to 'edit' per sugges...
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.

15 years agoadding AbortDiffCache hook to allow canceling the caching of a diff
Jack Phoenix [Thu, 6 Nov 2008 21:41:07 +0000 (21:41 +0000)]
adding AbortDiffCache hook to allow canceling the caching of a diff

15 years ago* Added the BitmapHandler_ClientOnly media handler, which allows server-side image...
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.

15 years agoLocalisation updates for core messages from Betawiki (2008-11-06 13:08 CET)
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)

15 years ago* Made SpecialVersion directly extends SpecialPage
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.

15 years ago* spacing tweaks
Alexandre Emsenhuber [Wed, 5 Nov 2008 16:54:48 +0000 (16:54 +0000)]
* spacing tweaks
* removed useless ?>
* removed useless inclusion of DatbaseFunctions.php

15 years agoRevert r43198: nothing evil with LocalSettings use as long as messages are defined
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

15 years agoRe r43174: Well I guess if you didn't understand it, there wasn't much hope of the...
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.

15 years agoRecommit part of r42352 related to bug 5101 (Image from Commons doesn't show up when...
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)

15 years agoLocalization update for he, and some whitespace fixes.
Rotem Liss [Tue, 4 Nov 2008 19:33:50 +0000 (19:33 +0000)]
Localization update for he, and some whitespace fixes.

15 years agoBreak long line
Aaron Schulz [Tue, 4 Nov 2008 15:57:40 +0000 (15:57 +0000)]
Break long line

15 years agoFix for r42632: grammar
Aaron Schulz [Tue, 4 Nov 2008 15:51:09 +0000 (15:51 +0000)]
Fix for r42632: grammar

15 years agoFollow up per r43173: message was renamed.
Raimond Spekking [Tue, 4 Nov 2008 05:51:59 +0000 (05:51 +0000)]
Follow up per r43173: message was renamed.

15 years agoRemove some unused globals.
Chad Horohoe [Tue, 4 Nov 2008 02:53:47 +0000 (02:53 +0000)]
Remove some unused globals.

15 years agoMinor tweak in debug output. Makes much more readible (and per most other debug state...
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.

15 years agoCleaned up some PHP coding style issues, and a few problems with
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.

15 years agoRevert r42890, this is not static
Aaron Schulz [Tue, 4 Nov 2008 01:18:59 +0000 (01:18 +0000)]
Revert r42890, this is not static

15 years agoEscaping once is enough.
Tim Starling [Tue, 4 Nov 2008 00:43:39 +0000 (00:43 +0000)]
Escaping once is enough.

15 years agoFix for r43173. 'patrol' log is part of core; it's not just for extensions.
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.

15 years agoFixes for r42642:
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

15 years agoLocalisation updates for core messages from Betawiki (2008-11-04 00:52 CET)
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)

15 years agoAs discussed with Aaron on irc. Remove "@param bool $wgEnotifUseRealName true will...
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.

15 years agoUpdate documentation as pointed out by Aaron. Fix on r43155.
Siebrand Mazeland [Mon, 3 Nov 2008 22:26:58 +0000 (22:26 +0000)]
Update documentation as pointed out by Aaron. Fix on r43155.

15 years agoAdd missing global $wgEnotifUseRealName. Fix for undefined variable notice in 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.

15 years agoTrim the final extension to avoid a confusing warning like
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

15 years ago(bug 15068) Added $wgEnotifUseRealName, which allows UserMailer to send out e-mails...
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.

15 years agoAssorted tweaks on further review and local testing:
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

15 years agoRetire 'newpages-showhideredirs' in favour of 'whatlinkshere-hideredirs'. Identical...
Siebrand Mazeland [Mon, 3 Nov 2008 18:23:42 +0000 (18:23 +0000)]
Retire 'newpages-showhideredirs' in favour of 'whatlinkshere-hideredirs'. Identical use case.

15 years agoFollow up on r43125. Rebuild all messages files.
Siebrand Mazeland [Mon, 3 Nov 2008 18:08:43 +0000 (18:08 +0000)]
Follow up on r43125. Rebuild all messages files.

15 years agoLocalization update.
Rotem Liss [Mon, 3 Nov 2008 18:04:45 +0000 (18:04 +0000)]
Localization update.

15 years agoMake show/hide links in watchlist consistent to recent changes (and ipblocklist too).
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.

15 years agoAPI: (bug 16225) apfrom=Talk:Foo behaved like apfrom=Foo because Talk: was interprete...
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.

15 years agoremove the skin-override message from messages.inc too
Ilmari Karonen [Mon, 3 Nov 2008 08:22:06 +0000 (08:22 +0000)]
remove the skin-override message from messages.inc too

15 years agooops, r43111 was incomplete, here's the rest of it :-/
Ilmari Karonen [Mon, 3 Nov 2008 08:08:02 +0000 (08:08 +0000)]
oops, r43111 was incomplete, here's the rest of it :-/

15 years agoHide skin tab in preferences entirely is $wgAllowUserSkin is false, remove the skin...
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.

15 years ago(bug 15544) Non-index entry points cause the "Wiki not set up" message to have corrup...
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.

15 years ago(bug 15737) Fix notices while expanding using PPCustomFrame. Patch by Juliano F....
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_*.

15 years agoRemove period from 'tog-norollbackdiff' for consistency
Siebrand Mazeland [Sun, 2 Nov 2008 23:56:52 +0000 (23:56 +0000)]
Remove period from 'tog-norollbackdiff' for consistency

15 years ago(bug 15761) Add user toggle to omit diff after rollback. Patch by FunPika.
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.

15 years ago(bug 15903) Add upload link to Nostalgia skin. Patch by Nikolaos S. Karastathis.
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.

15 years ago(bug 16113) Show/hide for redirects in Special:NewPages. Patch by Paul Copperman
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

15 years ago(bug 16143) Fix redirect loop on special pages starting with lower case letters....
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.

15 years agoFollow up on r43077
Siebrand Mazeland [Sun, 2 Nov 2008 19:18:40 +0000 (19:18 +0000)]
Follow up on r43077

15 years agoFix for 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

15 years ago* Fix comment
Aaron Schulz [Sun, 2 Nov 2008 18:35:58 +0000 (18:35 +0000)]
* Fix comment
* Rename HexToIP -> HexToQuad

15 years agoLocalisation updates for core messages from Betawiki (2008-11-02 18:42 CET)
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)

15 years agoLocalization update.
Rotem Liss [Sun, 2 Nov 2008 17:37:44 +0000 (17:37 +0000)]
Localization update.

15 years agoUse MediaWiki whitespace standards, please.
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.

15 years agoAPI: Move ApiQueryBlocks::convertHexIP() to IP::hexToIP() per Werdna's comment on...
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

15 years ago* Set a special temporary directory for ImageMagick with $wgImageMagickTempDir
Tim Starling [Sun, 2 Nov 2008 16:45:52 +0000 (16:45 +0000)]
* Set a special temporary directory for ImageMagick with $wgImageMagickTempDir

15 years agoEmit a warning message if a single page has multiple conflicting {{DEFAULTSORT:}...
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.)

15 years agoFix for r43064.
Raimond Spekking [Sun, 2 Nov 2008 06:46:02 +0000 (06:46 +0000)]
Fix for r43064.

15 years ago(bug 15125) Add Public Domain to default options when installing. Patch by Nathan...
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.

15 years agoPut the rcid in the URL if $wgUseNPPatrol or $wgUseRCPatrol is used.
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.

15 years agoLocalisation updates for core messages from Betawiki (2008-11-02 00:14 CET)
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)

15 years ago* Rewrote wfArrayMerge() in terms of array plus
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.

15 years agoUpdate doc comment for wfArrayMerge() to note the behavior difference between array_m...
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. :)

15 years agoAPI: Followup on r43014: clean up some more
Roan Kattouw [Sat, 1 Nov 2008 22:19:39 +0000 (22:19 +0000)]
API: Followup on r43014: clean up some more

15 years agoFix rangeblock detection
Alex Z [Sat, 1 Nov 2008 21:46:47 +0000 (21:46 +0000)]
Fix rangeblock detection

15 years agoConvert from old DiffHistoryBlob format. Untested, committing for test by Jelte.
Tim Starling [Sat, 1 Nov 2008 21:38:46 +0000 (21:38 +0000)]
Convert from old DiffHistoryBlob format. Untested, committing for test by Jelte.

15 years agoAPI: Clean up ApiQueryBlocks, which was a stylistic mess. I can't believe I actually...
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 )

15 years agopass user ID to Block::newFromDB in case of renames per comments on r42843.
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.

15 years agoPass user id to newFromDB() as well
Aaron Schulz [Sat, 1 Nov 2008 16:44:23 +0000 (16:44 +0000)]
Pass user id to newFromDB() as well

15 years agoImplemented xdiff_string_bpatch() in pure PHP, allowing DiffHistoryBlob objects to...
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.

15 years agoTypo
Tim Starling [Sat, 1 Nov 2008 13:24:02 +0000 (13:24 +0000)]
Typo

15 years ago* Added $wgDebugLogPrefix, to allow users (or in this case, multiprocess command...
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.

15 years agoNew DiffHistoryBlob storage format and compression method, which maintains a good...
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.

15 years agoLocalization update for he, and reordering the right and action messages.
Rotem Liss [Sat, 1 Nov 2008 09:08:14 +0000 (09:08 +0000)]
Localization update for he, and reordering the right and action messages.

15 years agoFollow up on r42980. Register message and fix alignment.
Siebrand Mazeland [Sat, 1 Nov 2008 07:46:43 +0000 (07:46 +0000)]
Follow up on r42980. Register message and fix alignment.

15 years agoLet's hide the (preview) link, as it won't do anything now.
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.

15 years agoMade it so that users can't test out skins if user skins are disabled (per
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.

15 years agoAdded a new configuration option: $wgAllowUserSkin
Charles Melbye [Sat, 1 Nov 2008 04:39:31 +0000 (04:39 +0000)]
Added a new configuration option: $wgAllowUserSkin

15 years ago(bug 16207) - Fix title protection in the API. $expiry is cast to an array near the...
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.

15 years agoLocalisation updates: Avoiding Arabic-style pluralization
Huji [Fri, 31 Oct 2008 23:39:31 +0000 (23:39 +0000)]
Localisation updates: Avoiding Arabic-style pluralization