lhc/web/wiklou.git
14 years agoFix some misnamed IDs from the AllMessages refactor.
Chad Horohoe [Mon, 10 Aug 2009 00:32:37 +0000 (00:32 +0000)]
Fix some misnamed IDs from the AllMessages refactor.

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-09 20:10 UTC)
Siebrand Mazeland [Sun, 9 Aug 2009 20:21:31 +0000 (20:21 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-09 20:10 UTC)

14 years agoSave 25kb in PNG size reductions (partial fix of bug 19381):
Laurence Parry [Sun, 9 Aug 2009 19:11:53 +0000 (19:11 +0000)]
Save 25kb in PNG size reductions (partial fix of bug 19381):
14.8kb in skins\common\images\icons
7.1kb in skin\common\images
1.4kb in skins\common\images\de
0.8kb in skins\common\images\ksh
0.2kb in skins\common\images\be-tarask
0.4kb in skins\vector\images
0.1kb in skins\vector
0.2kb in skins\monobook

14 years agoSupport script loader
Niklas Laxström [Sun, 9 Aug 2009 16:20:14 +0000 (16:20 +0000)]
Support script loader

14 years agoFix PHP Fatal error for r54627.
Shinjiman [Sun, 9 Aug 2009 16:04:48 +0000 (16:04 +0000)]
Fix PHP Fatal error for r54627.

14 years agopatchPath not patchPatch
Chad Horohoe [Sun, 9 Aug 2009 15:27:29 +0000 (15:27 +0000)]
patchPath not patchPatch

14 years ago* Use DB_ADMIN for fixSlaveDesync, rebuildtextindex, updateSearchIndex, patchSql
Chad Horohoe [Sun, 9 Aug 2009 15:22:34 +0000 (15:22 +0000)]
* Use DB_ADMIN for fixSlaveDesync, rebuildtextindex, updateSearchIndex, patchSql
* Duplicate archive() as DatabaseBase::patchPath(), clean up patchSql to use this

14 years agoMake DB_STD the normal DB access level. Some scripts need DB_ADMIN, so return that...
Chad Horohoe [Sun, 9 Aug 2009 13:40:43 +0000 (13:40 +0000)]
Make DB_STD the normal DB access level. Some scripts need DB_ADMIN, so return that in them.

14 years agofindhooks and syntaxChecker don't need DB access :)
Alexandre Emsenhuber [Sun, 9 Aug 2009 13:31:15 +0000 (13:31 +0000)]
findhooks and syntaxChecker don't need DB access :)

14 years agoMake $site and $lang global, just to be safe. Call finalSetup() in loadWikimediaSetti...
Chad Horohoe [Sun, 9 Aug 2009 12:55:56 +0000 (12:55 +0000)]
Make $site and $lang global, just to be safe. Call finalSetup() in loadWikimediaSettings()

14 years agoMove $wgUseNormalUser setting to constructors.
Chad Horohoe [Sun, 9 Aug 2009 12:26:11 +0000 (12:26 +0000)]
Move $wgUseNormalUser setting to constructors.

14 years ago* set $wgUseRootUser in __construct() so that it's available in config files
Alexandre Emsenhuber [Sun, 9 Aug 2009 12:17:03 +0000 (12:17 +0000)]
* set $wgUseRootUser in __construct() so that it's available in config files
* added missing global declaration for $slaveIndexes in FixSlaveDesync::execute()

14 years agoUse parsekit instead. php -l sucks.
Chad Horohoe [Sat, 8 Aug 2009 23:13:03 +0000 (23:13 +0000)]
Use parsekit instead. php -l sucks.

14 years agoMove a few more of these to subclass Maintenance.
Chad Horohoe [Sat, 8 Aug 2009 22:33:17 +0000 (22:33 +0000)]
Move a few more of these to subclass Maintenance.

14 years ago* (bug 20131) PHP Notice: Undfined index: page_latest in includes/ChangesList.php...
Alexandre Emsenhuber [Sat, 8 Aug 2009 20:47:11 +0000 (20:47 +0000)]
* (bug 20131) PHP Notice: Undfined index: page_latest in includes/ChangesList.php on line 476

Special:Recentchangeslinked now also selects the 'page_latest' field for users having the 'rollback' right, as Special:Recentchanges does

14 years agoUnused global.
Chad Horohoe [Sat, 8 Aug 2009 20:36:02 +0000 (20:36 +0000)]
Unused global.

14 years agoMake this script really work :)
Alexandre Emsenhuber [Sat, 8 Aug 2009 19:35:48 +0000 (19:35 +0000)]
Make this script really work :)
* Fatal error: Call to undefined method DatabaseMysql::getTable()
* Fatal error: Cannot use object of type stdClass as array
* return $pendingDBs from nextJobDB::getPendingDbs()

14 years agoDeprecate the $wgExtraRandompageSQL config variable by adding a hook, SpecialRandomBe...
Alex Z [Sat, 8 Aug 2009 19:09:16 +0000 (19:09 +0000)]
Deprecate the $wgExtraRandompageSQL config variable by adding a hook, SpecialRandomBeforeSQL
This allows extensions more flexibility to modify the query,
or replace it entirely by setting their own query and returning false
$wgExtraRandompageSQL still retained for back-compat

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 8 Aug 2009 18:05:50 +0000 (18:05 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agofixes for r54633: Add wfMsgExt for parsing PLURAL in message "newmessagesdifflink"
Jan Luca Naumann [Sat, 8 Aug 2009 17:34:12 +0000 (17:34 +0000)]
fixes for r54633: Add wfMsgExt for parsing PLURAL in message "newmessagesdifflink"

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 8 Aug 2009 16:28:49 +0000 (16:28 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 8 Aug 2009 16:12:55 +0000 (16:12 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years ago(fixes for r54628) Add PLURAL to "last change" message
Jan Luca Naumann [Sat, 8 Aug 2009 16:02:30 +0000 (16:02 +0000)]
(fixes for r54628) Add PLURAL to "last change" message

14 years agoWhitespace changes
Niklas Laxström [Sat, 8 Aug 2009 15:15:04 +0000 (15:15 +0000)]
Whitespace changes

14 years agoMake RELEASE-NOTES entry from r54326 more concise
Roan Kattouw [Sat, 8 Aug 2009 12:47:09 +0000 (12:47 +0000)]
Make RELEASE-NOTES entry from r54326 more concise

14 years ago(fixes for r54590 & bug 20103) Use now only one query and add number to messages...
Jan Luca Naumann [Sat, 8 Aug 2009 10:37:34 +0000 (10:37 +0000)]
(fixes for r54590 & bug 20103) Use now only one query and add number to messages "youhavenewmessages" and "mytalk"

14 years ago* (bug 20127) Fix regression when the executive does not found in the path specified...
Shinjiman [Sat, 8 Aug 2009 10:32:37 +0000 (10:32 +0000)]
* (bug 20127) Fix regression when the executive does not found in the path specified while the SVG renderer is defined. Added detection by the $PATH variable.

14 years agoTake the IPv4 part of mapped addresses rather than broken '.'->':' replace
Aaron Schulz [Sat, 8 Aug 2009 01:22:15 +0000 (01:22 +0000)]
Take the IPv4 part of mapped addresses rather than broken '.'->':' replace

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-08 00:08 UTC)
Siebrand Mazeland [Sat, 8 Aug 2009 00:19:11 +0000 (00:19 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-08 00:08 UTC)

14 years ago* sequence fixes for adding new media ( was adding new clips with generic playback...
Michael Dale [Fri, 7 Aug 2009 22:59:49 +0000 (22:59 +0000)]
* sequence fixes for adding new media ( was adding new clips with generic playback library instead of type based playback lib clips)
* fixed bug where drag and drop of clips did not work where you re-arranged clips while not displaying the add-media-wizard tab
* fixed display of sequence playhead on clip click
* added deselect of clips on escape
* Other minor code cleanup

14 years agoFixed IE5 bug that made the simple search input area too large.
Trevor Parscal [Fri, 7 Aug 2009 21:37:03 +0000 (21:37 +0000)]
Fixed IE5 bug that made the simple search input area too large.

14 years agoRemoved bullet icons from Vector drop down menus in older versions of IE.
Trevor Parscal [Fri, 7 Aug 2009 21:10:41 +0000 (21:10 +0000)]
Removed bullet icons from Vector drop down menus in older versions of IE.

14 years agoMoved some things around to please Apple Dictionary... some more...
Trevor Parscal [Fri, 7 Aug 2009 21:03:24 +0000 (21:03 +0000)]
Moved some things around to please Apple Dictionary... some more...

14 years agoChanged from using point to em units for font size.
Trevor Parscal [Fri, 7 Aug 2009 21:02:47 +0000 (21:02 +0000)]
Changed from using point to em units for font size.

14 years agoRemoved a debugging statement! r54599 must use this too!
Trevor Parscal [Fri, 7 Aug 2009 20:24:52 +0000 (20:24 +0000)]
Removed a debugging statement! r54599 must use this too!

14 years agoOpera 8 can't get a ref to a form element, so it was just spitting out errors. This...
Trevor Parscal [Fri, 7 Aug 2009 20:24:10 +0000 (20:24 +0000)]
Opera 8 can't get a ref to a form element, so it was just spitting out errors. This checks the form element is valid before trying to use it.

14 years agoMade some changes which don't affect normal users, but content loaded into Apple...
Trevor Parscal [Fri, 7 Aug 2009 17:26:08 +0000 (17:26 +0000)]
Made some changes which don't affect normal users, but content loaded into Apple Dictionary should be somewhat more usable.

14 years agoUpdate RELEASE-NOTES for r54590
Jan Luca Naumann [Fri, 7 Aug 2009 16:45:21 +0000 (16:45 +0000)]
Update RELEASE-NOTES for r54590

14 years agoAdd after the link for "My Talk" "<number of new messages(edits)>" if there are some
Jan Luca Naumann [Fri, 7 Aug 2009 16:39:35 +0000 (16:39 +0000)]
Add after the link for "My Talk" "<number of new messages(edits)>" if there are some

14 years agoFix bug 19261 by saving the username as the signature if it is submitted empty
Andrew Garrett [Fri, 7 Aug 2009 16:06:06 +0000 (16:06 +0000)]
Fix bug 19261 by saving the username as the signature if it is submitted empty

14 years agousing wgOut->parseInline for signature preview in preferences. following r54454
Tobias [Fri, 7 Aug 2009 14:44:32 +0000 (14:44 +0000)]
using wgOut->parseInline for signature preview in preferences. following r54454

14 years agoFix apparent regression in r54225
Andrew Garrett [Fri, 7 Aug 2009 14:44:30 +0000 (14:44 +0000)]
Fix apparent regression in r54225

14 years ago* update identation
Alexandre Emsenhuber [Fri, 7 Aug 2009 14:05:26 +0000 (14:05 +0000)]
* update identation
* added missing "global $wgQueryCacheLimit"
* require QueryPage.php to set $wgQueryPages correctly before using it

14 years agoremoved 'wiki' option, already present in Maintenance.php
Alexandre Emsenhuber [Fri, 7 Aug 2009 12:13:39 +0000 (12:13 +0000)]
removed 'wiki' option, already present in Maintenance.php

14 years agoFix E_ERROR: Call to a member function delete() on a non-object in maintenance/clear_...
Alexandre Emsenhuber [Fri, 7 Aug 2009 11:44:18 +0000 (11:44 +0000)]
Fix E_ERROR: Call to a member function delete() on a non-object in maintenance/clear_interwiki_cache.php on line 45

14 years agoWas occassionally failing due to race condition caused by mt_rand behaviour:
Niklas Laxström [Fri, 7 Aug 2009 11:01:15 +0000 (11:01 +0000)]
Was occassionally failing due to race condition caused by mt_rand behaviour:
cache/l10n_cache-en.cdb.tmp.1770228300
cache/l10n_cache-en.cdb.tmp.1770228300

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-07 09:18 UTC)
Siebrand Mazeland [Fri, 7 Aug 2009 09:34:25 +0000 (09:34 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-07 09:18 UTC)

14 years agoKeep track of failures and tweak final output
Chad Horohoe [Fri, 7 Aug 2009 04:29:04 +0000 (04:29 +0000)]
Keep track of failures and tweak final output

14 years agoBasic syntax checker. Needs to not be slow and support uploading to CodeReview.
Chad Horohoe [Fri, 7 Aug 2009 04:19:09 +0000 (04:19 +0000)]
Basic syntax checker. Needs to not be slow and support uploading to CodeReview.

14 years agoStart using some HTML 5 form features
Aryeh Gregor [Fri, 7 Aug 2009 03:32:20 +0000 (03:32 +0000)]
Start using some HTML 5 form features

autofocus attribute added in some places; this looks like it's respected
by both recent Opera and recent WebKit.  Its function is
self-explanatory.  :)  I used this in a few obvious places like
Special:UserLogin and Special:ResetPass to focus the first field in the
form.  Could be used in other places too: Special:Search, etc.

required attribute added in some places.  This is only supported in
recent Opera at the moment.  Also self-explanatory: it won't allow form
submission if the field is empty.

For stuff using HTMLForm (i.e., Special:Preferences), validation will be
done for integers and floats.  Browsers that support this (recent Opera)
will not allow non-integers to be submitted for integer fields, will not
allow non-floating-point values to be submitted for float fields, and
will enforce any min/max values specified.  Opera also gives little up
and down arrows to allow the user to increment/decrement the value in
addition to letting them edit the field as text.

For HTMLForm and account creation, the email input type is used for
e-mails.  This enforces a sane set of values for e-mails (alphanumerics
plus some ASCII punctuation, with an @ in it).  Again, this is supported
only by recent Opera (yay Opera!).  Note that this is actually more
restrictive than what we currently check for on the server side; it
might be sane to tighten up our server-side checks to forbid e-mail
addresses that HTML 5 forbids.

In all cases, the extra features aren't added if $wgHtml5 is false, and
will be ignored by non-supporting browsers.

The major room for further improvement here is use of the pattern
attribute.  We can have the client refuse to submit the form unless it
matches a regex!  The HTML 5 spec says that if a title attribute is
provided, it should be a message that explains what the valid values
are and browsers should provide it to the user if the regex doesn't
match, so it's not a usability problem.  I didn't bother adding that
anywhere at this point because it would require adding new messages, but
it should be easy to do.  Note of course that HTMLForm should be updated
to verify that pattern matches on the server side as well -- this way we
have a clean, unified way of ensuring that our client and server checks
are the same.

14 years agoWhitespace
Aryeh Gregor [Fri, 7 Aug 2009 02:17:56 +0000 (02:17 +0000)]
Whitespace

14 years agofixed infinite loop bug on removing all clips from sequence
Michael Dale [Fri, 7 Aug 2009 01:32:14 +0000 (01:32 +0000)]
fixed infinite loop bug on removing all clips from sequence

14 years ago(bug 19289) importDump.php can now handle bzip2 and 7zip.
Benjamin Lees [Fri, 7 Aug 2009 00:53:21 +0000 (00:53 +0000)]
(bug 19289) importDump.php can now handle bzip2 and 7zip.

I split out our 7zip stream wrapper into its own file, 7zip.inc.

14 years agofixed bug in addClass append
Michael Dale [Fri, 7 Aug 2009 00:16:54 +0000 (00:16 +0000)]
fixed bug in addClass append

14 years agointegration of default transcode settings presets to stand alone firefogg encoder app
Michael Dale [Thu, 6 Aug 2009 23:56:34 +0000 (23:56 +0000)]
integration of default transcode settings presets to stand alone firefogg encoder app

14 years agoupdated firefogg to the "webstream" settings constancy with wikiAtHome
Michael Dale [Thu, 6 Aug 2009 23:43:44 +0000 (23:43 +0000)]
updated firefogg to the "webstream" settings constancy with wikiAtHome

14 years agoError-handling for GIF getLongDesc
Andrew Garrett [Thu, 6 Aug 2009 22:55:44 +0000 (22:55 +0000)]
Error-handling for GIF getLongDesc

14 years agoFollowup r54516, remove globals entirely.
Chad Horohoe [Thu, 6 Aug 2009 22:35:19 +0000 (22:35 +0000)]
Followup r54516, remove globals entirely.

14 years ago* made wgMaxUploadSize check work with js2/firefogg uploading interface.
Michael Dale [Thu, 6 Aug 2009 22:25:47 +0000 (22:25 +0000)]
* made wgMaxUploadSize check work with js2/firefogg uploading interface.

14 years ago* added check to chunk uploads to make sure we have not append beyond $wgMaxUploadSiz...
Michael Dale [Thu, 6 Aug 2009 22:08:40 +0000 (22:08 +0000)]
* added check to chunk uploads to make sure we have not append beyond $wgMaxUploadSize size

14 years ago* changed egreg_replace to preg_replace, the former is deprecated since PHP 5.3
Alexandre Emsenhuber [Thu, 6 Aug 2009 20:08:54 +0000 (20:08 +0000)]
* changed egreg_replace to preg_replace, the former is deprecated since PHP 5.3
* fixed E_NOTICE: undefined variable $subdir

14 years ago* Fail fast on trying to find create restrictions for pages that exist.
Andrew Garrett [Thu, 6 Aug 2009 16:26:04 +0000 (16:26 +0000)]
* Fail fast on trying to find create restrictions for pages that exist.
* Break out loadRestrictionsFromRow into a new function loadRestrictionsFromRows (which actually accepts an array of rows, unlike the original), and loadRestrictionsFromResultWrapper, which has the semantics of the old function (and wraps around loadRestrictionsFromRows).

14 years agoMove ID-Name cache to a static variable, so it can be added to externally.
Andrew Garrett [Thu, 6 Aug 2009 16:23:23 +0000 (16:23 +0000)]
Move ID-Name cache to a static variable, so it can be added to externally.

14 years agoIf an object has already been unstubbed (i.e. we have a copy of the StubObject, which...
Andrew Garrett [Thu, 6 Aug 2009 16:11:12 +0000 (16:11 +0000)]
If an object has already been unstubbed (i.e. we have a copy of the StubObject, which has since been unstubbed but the copy not updated), then return the already-unstubbed object instead of unstubbing it again

14 years agoLocalization update.
Rotem Liss [Thu, 6 Aug 2009 13:52:21 +0000 (13:52 +0000)]
Localization update.

14 years ago(fix for r54516) Update RELEASE-NOTES
Jan Luca Naumann [Thu, 6 Aug 2009 13:46:59 +0000 (13:46 +0000)]
(fix for r54516) Update RELEASE-NOTES

14 years ago(r54511) Replace global array with hook
Jan Luca Naumann [Thu, 6 Aug 2009 13:40:13 +0000 (13:40 +0000)]
(r54511) Replace global array with hook

14 years agoFix regression.
Chad Horohoe [Thu, 6 Aug 2009 12:47:11 +0000 (12:47 +0000)]
Fix regression.

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Thu, 6 Aug 2009 11:20:08 +0000 (11:20 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoAdd interface for adding own statistics with $wgStatsOther:
Jan Luca Naumann [Thu, 6 Aug 2009 10:01:08 +0000 (10:01 +0000)]
Add interface for adding own statistics with $wgStatsOther:
* Enable/Disable this with $wgAllowStatsOther
* Use $wgStatsOther['<name of statistic>'] = <value (number)> for adding the statistic

14 years ago* <b>Notice</b>: Undefined variable: val2 in <b>/var/www/sandwiki/includes/specials...
Niklas Laxström [Thu, 6 Aug 2009 09:45:38 +0000 (09:45 +0000)]
* <b>Notice</b>:  Undefined variable: val2 in <b>/var/www/sandwiki/includes/specials/SpecialUpload.php</b> on line <b>741</b>
* Fixed regression from r54428

14 years agoLocalization updates for zh-hans.
Philip Tzou [Thu, 6 Aug 2009 04:53:17 +0000 (04:53 +0000)]
Localization updates for zh-hans.

14 years agoFix up the gender support for the Chinese languages.
Shinjiman [Thu, 6 Aug 2009 04:18:15 +0000 (04:18 +0000)]
Fix up the gender support for the Chinese languages.
Thanks Liangent to point them out.
Follow up of r51027 (bug 18847) and r54473.

14 years agofix more breakage from r54255
Aaron Schulz [Thu, 6 Aug 2009 04:06:36 +0000 (04:06 +0000)]
fix more breakage from r54255

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Thu, 6 Aug 2009 02:18:51 +0000 (02:18 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoClean up missing param error, show help on die. -params are still kind of wonky....
Chad Horohoe [Thu, 6 Aug 2009 00:32:50 +0000 (00:32 +0000)]
Clean up missing param error, show help on die. -params are still kind of wonky. Could use a second set of eyes.

14 years agoRemoved some unneeded specificity of headings.
Trevor Parscal [Wed, 5 Aug 2009 22:46:10 +0000 (22:46 +0000)]
Removed some unneeded specificity of headings.

14 years agoLocalization update for he, and removing trailing whitespace in en.
Rotem Liss [Wed, 5 Aug 2009 20:13:14 +0000 (20:13 +0000)]
Localization update for he, and removing trailing whitespace in en.

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-05 18:15 UTC)
Raimond Spekking [Wed, 5 Aug 2009 18:44:56 +0000 (18:44 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-05 18:15 UTC)

14 years agoUpdates for: per-revision delete flags, log exports, and a per-page redirect flag
Tomasz Finc [Wed, 5 Aug 2009 18:35:23 +0000 (18:35 +0000)]
Updates for: per-revision delete flags, log exports, and a per-page redirect flag

14 years agoFixes IE bug that causes lists in panel to show bullets.
Trevor Parscal [Wed, 5 Aug 2009 18:30:42 +0000 (18:30 +0000)]
Fixes IE bug that causes lists in panel to show bullets.

14 years agoFixed bug that caused an undefined index error - now we check the key before checking...
Trevor Parscal [Wed, 5 Aug 2009 16:38:08 +0000 (16:38 +0000)]
Fixed bug that caused an undefined index error - now we check the key before checking value.

14 years agofollow-up r54454 and r54457: rebuild message file
Alexandre Emsenhuber [Wed, 5 Aug 2009 15:41:19 +0000 (15:41 +0000)]
follow-up r54454 and r54457: rebuild message file

14 years agoadding <nowiki> to user signature in MessagesEn.php (fixing r54454)
Tobias [Wed, 5 Aug 2009 15:27:38 +0000 (15:27 +0000)]
adding <nowiki> to user signature in MessagesEn.php (fixing r54454)

14 years agoadding new messages to messages.inc (fixing r54454)
Tobias [Wed, 5 Aug 2009 15:05:30 +0000 (15:05 +0000)]
adding new messages to messages.inc (fixing r54454)

14 years agoAdding signature preview on Special:Preferences and introducing help text for signatu...
Tobias [Wed, 5 Aug 2009 14:45:21 +0000 (14:45 +0000)]
Adding signature preview on Special:Preferences and introducing help text for signature. (bug 16836)

14 years ago* use wfScript() in OutputPage to build the url for mwScriptLoader.php so that $wgScr...
Alexandre Emsenhuber [Wed, 5 Aug 2009 14:37:00 +0000 (14:37 +0000)]
* use wfScript() in OutputPage to build the url for mwScriptLoader.php so that $wgScriptExtension is used
* use $wgScriptExtension when matching the path in mwScriptLoader.php
* some more typos in mwScriptLoader.php

14 years agoMight as well.
Chad Horohoe [Wed, 5 Aug 2009 11:59:25 +0000 (11:59 +0000)]
Might as well.

14 years ago(bug 17864 + bug 19519) - Do input normalization on the username before doing existen...
Alex Z [Wed, 5 Aug 2009 04:42:54 +0000 (04:42 +0000)]
(bug 17864 + bug 19519) - Do input normalization on the username before doing existence/permission checks

14 years agoConvert check to use wfShorthandToInteger()
Benjamin Lees [Wed, 5 Aug 2009 04:27:19 +0000 (04:27 +0000)]
Convert check to use wfShorthandToInteger()

14 years agoOutputPage::formatPermissionsErrorMessage() expects an array of arrays, passing an...
Alex Z [Wed, 5 Aug 2009 04:20:13 +0000 (04:20 +0000)]
OutputPage::formatPermissionsErrorMessage() expects an array of arrays, passing an array of strings causes a warning in PHP 5.3

14 years agoUpdate http_session_download, digit2html, lang2po, langmemusage.
Chad Horohoe [Wed, 5 Aug 2009 04:09:02 +0000 (04:09 +0000)]
Update http_session_download, digit2html, lang2po, langmemusage.

14 years agoRemove completely unused file copy functions (grep'd core & extensions)
Chad Horohoe [Wed, 5 Aug 2009 03:15:16 +0000 (03:15 +0000)]
Remove completely unused file copy functions (grep'd core & extensions)

14 years agoOk I think this is a sign I'm done for the evening. Fixing other test checkin --...
Brion Vibber [Wed, 5 Aug 2009 03:02:02 +0000 (03:02 +0000)]
Ok I think this is a sign I'm done for the evening. Fixing other test checkin -- was searching for bogus bash to test the fallabck ;)

14 years agoremove junk function I gave up on -- no clear way to get unbuffered reads from termin...
Brion Vibber [Wed, 5 Aug 2009 02:59:32 +0000 (02:59 +0000)]
remove junk function I gave up on -- no clear way to get unbuffered reads from terminal in direct PHP (and who wants to reimplement readline anyway?)

14 years agoAdd support for using bash's built-in readline or equivalent for single-line input...
Brion Vibber [Wed, 5 Aug 2009 02:57:11 +0000 (02:57 +0000)]
Add support for using bash's built-in readline or equivalent for single-line input editing in eval.php etc, if the PHP readline extension is not available.

This is handy when running on Mac OS X with Apple's default PHP installation...
If bash cannot be found, will fall back to the fgets() we did before -- a horrible realm in which arrow keys and backspace don't work.

Note that this isn't quite as good as full readline support, since we don't get to retain entry history.

14 years agoFollowup to r54416
OverlordQ [Wed, 5 Aug 2009 02:34:41 +0000 (02:34 +0000)]
Followup to r54416
Dont log messages when you 'increase' the limit from a number to itself.

14 years agoRemove trailing ?>
Chad Horohoe [Wed, 5 Aug 2009 02:24:50 +0000 (02:24 +0000)]
Remove trailing ?>

14 years agoDrop the wfProfileIn/wfProfileOut if we want the class to be usable outside MW :)
Brion Vibber [Wed, 5 Aug 2009 01:37:19 +0000 (01:37 +0000)]
Drop the wfProfileIn/wfProfileOut if we want the class to be usable outside MW :)

14 years agoFollow up to r54414 and r54356. Hopefully catches all of the edge cases of erroneous...
OverlordQ [Wed, 5 Aug 2009 01:33:18 +0000 (01:33 +0000)]
Follow up to r54414 and r54356. Hopefully catches all of the edge cases of erroneous input. On a side note, if PHP is configured with too low a limit it can die before it even reaches the code in Setup.php