Andrew Garrett [Mon, 10 Aug 2009 11:04:30 +0000 (11:04 +0000)]
Fix silly bug in r54703 r53546
Victor Vasiliev [Mon, 10 Aug 2009 10:13:24 +0000 (10:13 +0000)]
Update parser tests for r54693
Andrew Garrett [Mon, 10 Aug 2009 09:32:55 +0000 (09:32 +0000)]
Moar error handling for r53546
Philip Tzou [Mon, 10 Aug 2009 08:01:08 +0000 (08:01 +0000)]
Fix a bug of LanguageConverter::findVariantLink(). If the article has already existed, there is no need to check it again, otherwise it may cause a fault.
Philip Tzou [Mon, 10 Aug 2009 06:10:08 +0000 (06:10 +0000)]
Update the Chinese conversion tables.
Aryeh Gregor [Mon, 10 Aug 2009 02:06:19 +0000 (02:06 +0000)]
Remove extraneous type="" for CSS/JS in HTML 5
Removed in a bunch of places, but of course there are zillions left!
This is one of the things that would be a lot easier if we could just
drop support for non-HTML 5 output.
Aryeh Gregor [Mon, 10 Aug 2009 01:42:45 +0000 (01:42 +0000)]
Don't use summary attribute in TOCs
The summary attribute is obsolete in HTML 5. It wasn't serving any
useful purpose anyway, since it duplicated the h2 inside the table. (Of
course, we should really stop using <table> for TOCs altogether!)
Chad Horohoe [Mon, 10 Aug 2009 00:32:37 +0000 (00:32 +0000)]
Fix some misnamed IDs from the AllMessages refactor.
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)
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
Niklas Laxström [Sun, 9 Aug 2009 16:20:14 +0000 (16:20 +0000)]
Support script loader
Shinjiman [Sun, 9 Aug 2009 16:04:48 +0000 (16:04 +0000)]
Fix PHP Fatal error for r54627.
Chad Horohoe [Sun, 9 Aug 2009 15:27:29 +0000 (15:27 +0000)]
patchPath not patchPatch
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
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.
Alexandre Emsenhuber [Sun, 9 Aug 2009 13:31:15 +0000 (13:31 +0000)]
findhooks and syntaxChecker don't need DB access :)
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()
Chad Horohoe [Sun, 9 Aug 2009 12:26:11 +0000 (12:26 +0000)]
Move $wgUseNormalUser setting to constructors.
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()
Chad Horohoe [Sat, 8 Aug 2009 23:13:03 +0000 (23:13 +0000)]
Use parsekit instead. php -l sucks.
Chad Horohoe [Sat, 8 Aug 2009 22:33:17 +0000 (22:33 +0000)]
Move a few more of these to subclass Maintenance.
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
Chad Horohoe [Sat, 8 Aug 2009 20:36:02 +0000 (20:36 +0000)]
Unused global.
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()
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
Shinjiman [Sat, 8 Aug 2009 18:05:50 +0000 (18:05 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
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"
Shinjiman [Sat, 8 Aug 2009 16:28:49 +0000 (16:28 +0000)]
Localisation 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
Jan Luca Naumann [Sat, 8 Aug 2009 16:02:30 +0000 (16:02 +0000)]
(fixes for r54628) Add PLURAL to "last change" message
Niklas Laxström [Sat, 8 Aug 2009 15:15:04 +0000 (15:15 +0000)]
Whitespace changes
Roan Kattouw [Sat, 8 Aug 2009 12:47:09 +0000 (12:47 +0000)]
Make RELEASE-NOTES entry from r54326 more concise
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"
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.
Aaron Schulz [Sat, 8 Aug 2009 01:22:15 +0000 (01:22 +0000)]
Take the IPv4 part of mapped addresses rather than broken '.'->':' replace
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)
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
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.
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.
Trevor Parscal [Fri, 7 Aug 2009 21:03:24 +0000 (21:03 +0000)]
Moved some things around to please Apple Dictionary... some more...
Trevor Parscal [Fri, 7 Aug 2009 21:02:47 +0000 (21:02 +0000)]
Changed from using point to em units for font size.
Trevor Parscal [Fri, 7 Aug 2009 20:24:52 +0000 (20:24 +0000)]
Removed a debugging statement! r54599 must use this too!
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.
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.
Jan Luca Naumann [Fri, 7 Aug 2009 16:45:21 +0000 (16:45 +0000)]
Update RELEASE-NOTES for r54590
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
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
Tobias [Fri, 7 Aug 2009 14:44:32 +0000 (14:44 +0000)]
using wgOut->parseInline for signature preview in preferences. following r54454
Andrew Garrett [Fri, 7 Aug 2009 14:44:30 +0000 (14:44 +0000)]
Fix apparent regression in r54225
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
Alexandre Emsenhuber [Fri, 7 Aug 2009 12:13:39 +0000 (12:13 +0000)]
removed 'wiki' option, already present in Maintenance.php
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
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
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)
Chad Horohoe [Fri, 7 Aug 2009 04:29:04 +0000 (04:29 +0000)]
Keep track of failures and tweak final output
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.
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.
Aryeh Gregor [Fri, 7 Aug 2009 02:17:56 +0000 (02:17 +0000)]
Whitespace
Michael Dale [Fri, 7 Aug 2009 01:32:14 +0000 (01:32 +0000)]
fixed infinite loop bug on removing all clips from sequence
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.
Michael Dale [Fri, 7 Aug 2009 00:16:54 +0000 (00:16 +0000)]
fixed bug in addClass append
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
Michael Dale [Thu, 6 Aug 2009 23:43:44 +0000 (23:43 +0000)]
updated firefogg to the "webstream" settings constancy with wikiAtHome
Andrew Garrett [Thu, 6 Aug 2009 22:55:44 +0000 (22:55 +0000)]
Error-handling for GIF getLongDesc
Chad Horohoe [Thu, 6 Aug 2009 22:35:19 +0000 (22:35 +0000)]
Followup r54516, remove globals entirely.
Michael Dale [Thu, 6 Aug 2009 22:25:47 +0000 (22:25 +0000)]
* made wgMaxUploadSize check work with js2/firefogg uploading interface.
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
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
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).
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.
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
Rotem Liss [Thu, 6 Aug 2009 13:52:21 +0000 (13:52 +0000)]
Localization update.
Jan Luca Naumann [Thu, 6 Aug 2009 13:46:59 +0000 (13:46 +0000)]
(fix for r54516) Update RELEASE-NOTES
Jan Luca Naumann [Thu, 6 Aug 2009 13:40:13 +0000 (13:40 +0000)]
(r54511) Replace global array with hook
Chad Horohoe [Thu, 6 Aug 2009 12:47:11 +0000 (12:47 +0000)]
Fix regression.
Shinjiman [Thu, 6 Aug 2009 11:20:08 +0000 (11:20 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
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
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
Philip Tzou [Thu, 6 Aug 2009 04:53:17 +0000 (04:53 +0000)]
Localization updates for zh-hans.
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.
Aaron Schulz [Thu, 6 Aug 2009 04:06:36 +0000 (04:06 +0000)]
fix more breakage from r54255
Shinjiman [Thu, 6 Aug 2009 02:18:51 +0000 (02:18 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
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.
Trevor Parscal [Wed, 5 Aug 2009 22:46:10 +0000 (22:46 +0000)]
Removed some unneeded specificity of headings.
Rotem Liss [Wed, 5 Aug 2009 20:13:14 +0000 (20:13 +0000)]
Localization update for he, and removing trailing whitespace in en.
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)
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
Trevor Parscal [Wed, 5 Aug 2009 18:30:42 +0000 (18:30 +0000)]
Fixes IE bug that causes lists in panel to show bullets.
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.
Alexandre Emsenhuber [Wed, 5 Aug 2009 15:41:19 +0000 (15:41 +0000)]
follow-up r54454 and r54457: rebuild message file
Tobias [Wed, 5 Aug 2009 15:27:38 +0000 (15:27 +0000)]
adding <nowiki> to user signature in MessagesEn.php (fixing r54454)
Tobias [Wed, 5 Aug 2009 15:05:30 +0000 (15:05 +0000)]
adding new messages to messages.inc (fixing r54454)
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)
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
Chad Horohoe [Wed, 5 Aug 2009 11:59:25 +0000 (11:59 +0000)]
Might as well.
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
Benjamin Lees [Wed, 5 Aug 2009 04:27:19 +0000 (04:27 +0000)]
Convert check to use wfShorthandToInteger()
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
Chad Horohoe [Wed, 5 Aug 2009 04:09:02 +0000 (04:09 +0000)]
Update http_session_download, digit2html, lang2po, langmemusage.
Chad Horohoe [Wed, 5 Aug 2009 03:15:16 +0000 (03:15 +0000)]
Remove completely unused file copy functions (grep'd core & extensions)