lhc/web/wiklou.git
14 years agoTweak 'img-auth-nologinnWL' (r55800)
Siebrand Mazeland [Fri, 4 Sep 2009 06:59:44 +0000 (06:59 +0000)]
Tweak 'img-auth-nologinnWL' (r55800)

14 years agoRemove unused message 'img-auth-desc' (r55800)
Siebrand Mazeland [Fri, 4 Sep 2009 06:55:19 +0000 (06:55 +0000)]
Remove unused message 'img-auth-desc' (r55800)

14 years agoFix potential arbitrary script execution vulnerability. Doesn't seem to be exploitabl...
Tim Starling [Fri, 4 Sep 2009 06:51:38 +0000 (06:51 +0000)]
Fix potential arbitrary script execution vulnerability. Doesn't seem to be exploitable with a default install of PHP, but it might be possible with third-party extensions enabled.

14 years agoUse consistent quotes in new messages (r55800)
Siebrand Mazeland [Fri, 4 Sep 2009 06:44:06 +0000 (06:44 +0000)]
Use consistent quotes in new messages (r55800)

14 years agoRemove title case in 'img-auth-accessdenied'
Siebrand Mazeland [Fri, 4 Sep 2009 06:42:17 +0000 (06:42 +0000)]
Remove title case in 'img-auth-accessdenied'

14 years agoFollow-up to r55800
Siebrand Mazeland [Fri, 4 Sep 2009 06:19:02 +0000 (06:19 +0000)]
Follow-up to r55800
* update messages.inc to correctly create subgroup img_auth
* rebuild messages files

14 years agoBug 20489 Configure illegal file characters https://bugzilla.wikimedia.org/show_bug...
Jack D. Pond [Fri, 4 Sep 2009 03:44:14 +0000 (03:44 +0000)]
Bug 20489 Configure illegal file characters https://bugzilla.wikimedia.org/show_bug.cgi?id=20489
$wgIllegalFileChars configurable to add chars for filename automatically converted to "-".

14 years agoFix disabling of APC cache when loading message files: apc.enabled has been PHP_INI_S...
Tim Starling [Fri, 4 Sep 2009 03:41:25 +0000 (03:41 +0000)]
Fix disabling of APC cache when loading message files: apc.enabled has been PHP_INI_SYSTEM since 3.0.13 but apc.cache_by_default works. This reduces the required APC cache space by about half on my test wiki, from 20MB to 10MB.

14 years agobug 19646 Localization of img_auth.php - with enhancements
Jack D. Pond [Fri, 4 Sep 2009 02:44:05 +0000 (02:44 +0000)]
bug 19646 Localization of img_auth.php - with enhancements
https://bugzilla.wikimedia.org/show_bug.cgi?id=19646

1. Localize img_auth.php using core messages
2. Reorder checks to make sense (and eliminate redundancy)n
3. Add hook 'ImgAuthBeforeStream' to allow custom checking
4. Add globals wgImgAuthDetails,
5. Move all "wfDebugLog" into the rejection functions

14 years agoFixed a bug whereby if a recache is triggered via getSubitem(), the subitem requested...
Tim Starling [Fri, 4 Sep 2009 02:40:53 +0000 (02:40 +0000)]
Fixed a bug whereby if a recache is triggered via getSubitem(), the subitem requested will be saved into the process cache as missing.

14 years ago(bug 20471) In update.php, disable the LocalisationCache storage backend before Setup...
Tim Starling [Fri, 4 Sep 2009 02:03:23 +0000 (02:03 +0000)]
(bug 20471) In update.php, disable the LocalisationCache storage backend before Setup.php is run, to avoid having extensions die when they try to access the l10n_cache table from $wgExtensionSetupFunctions.

14 years agoAdded $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for databas...
Tim Starling [Fri, 4 Sep 2009 01:49:34 +0000 (01:49 +0000)]
Added $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for database connection and query errors. We've had a few LocalisationCache bugs that required backtraces to track down.

14 years agoApplied patch by Juliano F. Ravasi for bug 20431: constructor for PPCustomFrame_...
Tim Starling [Fri, 4 Sep 2009 00:43:51 +0000 (00:43 +0000)]
Applied patch by Juliano F. Ravasi for bug 20431: constructor for PPCustomFrame_* failed to initialise the object properly.

14 years agoRemoved old comment and depreciated <tt> tags
Aaron Schulz [Fri, 4 Sep 2009 00:29:20 +0000 (00:29 +0000)]
Removed old comment and depreciated <tt> tags

14 years ago(bug 19912) Fixed regression were file links were never greyed out as needed
Aaron Schulz [Thu, 3 Sep 2009 23:59:33 +0000 (23:59 +0000)]
(bug 19912) Fixed regression were file links were never greyed out as needed

14 years agoRemoved pointless intval of the $ids array; it was done a second time already for...
Aaron Schulz [Thu, 3 Sep 2009 23:37:57 +0000 (23:37 +0000)]
Removed pointless intval of the $ids array; it was done a second time already for the places that want it and broke the timestamp arrays for the things that don't

14 years agoFixed regression that made re-upload links give overwrite warnings and such
Aaron Schulz [Thu, 3 Sep 2009 23:24:11 +0000 (23:24 +0000)]
Fixed regression that made re-upload links give overwrite warnings and such

14 years agoHopefully reduce memory leaks in parser tests... now clearing $wgOut on each run!
Brion Vibber [Thu, 3 Sep 2009 22:44:28 +0000 (22:44 +0000)]
Hopefully reduce memory leaks in parser tests... now clearing $wgOut on each run!
Also fixed a test case for category links with language variants, which was testing the wrong link as revealed after this fix.

14 years ago* (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless argument
Alexandre Emsenhuber [Thu, 3 Sep 2009 21:15:07 +0000 (21:15 +0000)]
* (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless argument
This function seems to not be used anywhere in core :)
Patch by Juliano F. Ravasi - http://bug-attachment.wikimedia.org/attachment.cgi?id=6528

14 years agoLocalization update.
Rotem Liss [Thu, 3 Sep 2009 18:32:55 +0000 (18:32 +0000)]
Localization update.

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-03 16:52 UTC)
Siebrand Mazeland [Thu, 3 Sep 2009 17:11:56 +0000 (17:11 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-03 16:52 UTC)

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-03 16:52 UTC)
Siebrand Mazeland [Thu, 3 Sep 2009 17:05:41 +0000 (17:05 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-03 16:52 UTC)

14 years agoUpdate messages.inc and rebuild messages files
Siebrand Mazeland [Thu, 3 Sep 2009 16:48:41 +0000 (16:48 +0000)]
Update messages.inc and rebuild messages files

14 years agoadding public access methods for use by XMLRC extension.
Daniel Kinzler [Thu, 3 Sep 2009 16:15:55 +0000 (16:15 +0000)]
adding public access methods for use by XMLRC extension.

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Thu, 3 Sep 2009 15:19:42 +0000 (15:19 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoget rid of invalid UTF8, strip control characters
ThomasV [Thu, 3 Sep 2009 14:19:24 +0000 (14:19 +0000)]
get rid of invalid UTF8, strip control characters

14 years agoTailor revdelete-reason-dropdown a bit from copy-paste values
Aaron Schulz [Thu, 3 Sep 2009 09:04:54 +0000 (09:04 +0000)]
Tailor revdelete-reason-dropdown a bit from copy-paste values

14 years ago(bug 18862) RevisionDelete dropdowns
Aaron Schulz [Wed, 2 Sep 2009 23:13:21 +0000 (23:13 +0000)]
(bug 18862) RevisionDelete dropdowns

14 years ago(bug 20372) Improve rollback-revisiondelete handling
Aaron Schulz [Wed, 2 Sep 2009 22:16:24 +0000 (22:16 +0000)]
(bug 20372) Improve rollback-revisiondelete handling

14 years agoclarify msg
Aaron Schulz [Wed, 2 Sep 2009 22:00:50 +0000 (22:00 +0000)]
clarify msg

14 years ago* Fix for r55741 - selecting no revisions made PHP notices
Aaron Schulz [Wed, 2 Sep 2009 21:46:21 +0000 (21:46 +0000)]
* Fix for r55741 - selecting no revisions made PHP notices
* Some unrelated cleanups to old code

14 years ago* (bug 20464) Force manual recaching to false in LocalisationCache::disableBackend...
Alexandre Emsenhuber [Wed, 2 Sep 2009 20:16:26 +0000 (20:16 +0000)]
* (bug 20464) Force manual recaching to false in LocalisationCache::disableBackend() since otherwise an Exception with the message "No localisation cache found for English. Please run maintenance/rebuildLocalisationCache.php." is thrown each time update.php is executed.

14 years ago* (bug 20446) When changing user rights with User@remotewiki and remotewiki is the...
Alexandre Emsenhuber [Wed, 2 Sep 2009 15:58:49 +0000 (15:58 +0000)]
* (bug 20446) When changing user rights with User@remotewiki and remotewiki is the local wiki, the user is now treated as the local user

14 years agoFix for r53194: according to the XSLT 1.0 spec, the MIME type should be text/xml...
Tim Starling [Wed, 2 Sep 2009 08:05:47 +0000 (08:05 +0000)]
Fix for r53194: according to the XSLT 1.0 spec, the MIME type should be text/xml or application/xml. In XSLT 2.0, it is application/xslt+xml. Either way, text/xsl is wrong.

14 years agoUse transparent instead of inherit, for compatibility with IE, as suggested by Simetr...
Tim Starling [Wed, 2 Sep 2009 07:47:54 +0000 (07:47 +0000)]
Use transparent instead of inherit, for compatibility with IE, as suggested by Simetrical on CR r52669.

14 years agoFixes for r51204: removed useless $wgVariant and StubUserVariant. In Skin::makeGlobal...
Tim Starling [Wed, 2 Sep 2009 07:19:35 +0000 (07:19 +0000)]
Fixes for r51204: removed useless $wgVariant and StubUserVariant. In Skin::makeGlobalVariablesScript(), use $wgContLang->getPreferredVariant() instead, which is the variant used in the relevant server-side code.

14 years agoRevert r52158 per CR: was attempting to convert text to UTF-8 that was already UTF...
Tim Starling [Wed, 2 Sep 2009 06:34:07 +0000 (06:34 +0000)]
Revert r52158 per CR: was attempting to convert text to UTF-8 that was already UTF-8, this would have resulted in mojibake.

14 years agoRemove completely useless change to the include_path that doesn't work for 99% of...
Chad Horohoe [Wed, 2 Sep 2009 02:51:18 +0000 (02:51 +0000)]
Remove completely useless change to the include_path that doesn't work for 99% of the people using this. Incidentally, that amounts to about 0 people.

14 years ago* Fixed CR r48837. Although using ids[]=x in the query string is wrong and broken...
Tim Starling [Wed, 2 Sep 2009 01:59:36 +0000 (01:59 +0000)]
* Fixed CR r48837. Although using ids[]=x in the query string is wrong and broken, ids[x]=1 works just fine and is a convenient interface.
* Fixed CR r49408: removed JS dependency for multiple revision delete/undelete. Using <button type=submit> we can submit the parameter "action=revisiondelete". The custom action is then distributed to Special:Revisiondelete, which can understand this kind of entry point with only minor changes.
* Also used <button type=submit> to avoid submitting the htmldiff button caption back to the server
* Show the same buttons at the top and bottom of the history page, refactored duplicated code

14 years agoDon't need that anymore
Chad Horohoe [Tue, 1 Sep 2009 23:38:46 +0000 (23:38 +0000)]
Don't need that anymore

14 years agoAdd new maintenance script for mass-rollbacking edits by a given user or IP address...
Chad Horohoe [Tue, 1 Sep 2009 23:08:54 +0000 (23:08 +0000)]
Add new maintenance script for mass-rollbacking edits by a given user or IP address. Also can pass a list of titles in case you want to limit it to some pages but not others \o/

14 years agoMay as well use the master for start/end points
Aaron Schulz [Tue, 1 Sep 2009 22:37:37 +0000 (22:37 +0000)]
May as well use the master for start/end points

14 years agoAdded a script to move users from one group to another
Aaron Schulz [Tue, 1 Sep 2009 20:53:55 +0000 (20:53 +0000)]
Added a script to move users from one group to another

14 years ago* (bug 20466) Hidden categories are no more displayed when printing
Alexandre Emsenhuber [Tue, 1 Sep 2009 20:22:00 +0000 (20:22 +0000)]
* (bug 20466) Hidden categories are no more displayed when printing

14 years ago* fixed scaling issue on edit action.
Michael Dale [Tue, 1 Sep 2009 18:57:28 +0000 (18:57 +0000)]
* fixed scaling issue on edit action.

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-01 17:21 UTC)
Siebrand Mazeland [Tue, 1 Sep 2009 18:00:02 +0000 (18:00 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-01 17:21 UTC)

14 years ago* r55034#c3604 re-factored presently used curl options to back-end agnostic options.
Michael Dale [Tue, 1 Sep 2009 16:01:51 +0000 (16:01 +0000)]
* r55034#c3604 re-factored presently used curl options to back-end agnostic options.
* broke out curl and php based requests into separate classes ( more general cleanup is of course possible :)
* @@todo these tokens need to be mapped to php fopen stream "context" along with a more general mapping of the rest of the curl options.

14 years agoFollow-up to r55700 - patch up a path through which Article::mParserOutput could...
Happy-melon [Tue, 1 Sep 2009 14:11:29 +0000 (14:11 +0000)]
Follow-up to r55700 - patch up a path through which Article::mParserOutput could be called without being set, and armour the call in Article::getRobotPolicy against other unforeseen paths.

14 years ago(bug 20463) Replace is_a() with instanceof. Installer already bails on PHP4 before...
Chad Horohoe [Tue, 1 Sep 2009 14:09:33 +0000 (14:09 +0000)]
(bug 20463) Replace is_a() with instanceof. Installer already bails on PHP4 before we get here, so it's ok. Still one usage of is_a() in t/Test.php, but nothing calls it and I don't care.

14 years agoMinor spacing tweaks, etc to make it even more like Monobook. Further proving that...
Chad Horohoe [Tue, 1 Sep 2009 01:11:56 +0000 (01:11 +0000)]
Minor spacing tweaks, etc to make it even more like Monobook. Further proving that there is Entirely Too Much Duplication Here!

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-31 19:30 UTC)
Raimond Spekking [Mon, 31 Aug 2009 20:16:22 +0000 (20:16 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-31 19:30 UTC)

14 years ago(bug14900) Make __INDEX__ and __NOINDEX__ not override $wgArticleRobotPolicies where...
Happy-melon [Mon, 31 Aug 2009 19:19:12 +0000 (19:19 +0000)]
(bug14900) Make __INDEX__ and __NOINDEX__ not override $wgArticleRobotPolicies where the two conflict.

14 years agoBetter documentation for $wgPagePropLinkInvalidations.
Happy-melon [Mon, 31 Aug 2009 18:43:14 +0000 (18:43 +0000)]
Better documentation for $wgPagePropLinkInvalidations.

14 years agoLocalization update.
Rotem Liss [Mon, 31 Aug 2009 14:44:43 +0000 (14:44 +0000)]
Localization update.

14 years agoskip math-related tests if $wgUseTeX is set to false in LocalSettings: this probably...
Ilmari Karonen [Mon, 31 Aug 2009 14:29:11 +0000 (14:29 +0000)]
skip math-related tests if $wgUseTeX is set to false in LocalSettings: this probably means we don't have a working texvc program available

14 years agofollowup to r55694: forgot to mark the new functions private
Ilmari Karonen [Mon, 31 Aug 2009 14:01:04 +0000 (14:01 +0000)]
followup to r55694: forgot to mark the new functions private

14 years agoredo r45388 (hopefully) more cleanly (see also bug 16916: Unnecessary title disambigu...
Ilmari Karonen [Mon, 31 Aug 2009 13:58:28 +0000 (13:58 +0000)]
redo r45388 (hopefully) more cleanly (see also bug 16916: Unnecessary title disambiguation by cleanupImages.php)

14 years ago(bug 18880) Make LogEventsList::showLogExtract() more versatile by allowing it to...
Happy-melon [Mon, 31 Aug 2009 11:54:53 +0000 (11:54 +0000)]
(bug 18880) Make LogEventsList::showLogExtract() more versatile by allowing it to take a string-by-reference instead of OutputPage; hence allowing it to be used for buffered content.

14 years agoReimplement r55685, r55686, r55687, with correct parsing of the associative array...
Happy-melon [Mon, 31 Aug 2009 11:30:50 +0000 (11:30 +0000)]
Reimplement r55685, r55686, r55687, with correct parsing of the associative array.  Also add message description to MessagesQqq as requested at r55685.

14 years agoRevert r55685, r55686 and r55687 for now. Limits not working.
Niklas Laxström [Mon, 31 Aug 2009 06:54:52 +0000 (06:54 +0000)]
Revert r55685, r55686 and r55687 for now. Limits not working.

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Mon, 31 Aug 2009 01:24:31 +0000 (01:24 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoFollow-up to r55685 - update messages.inc, and fix wierd positioning of comment in...
Happy-melon [Sun, 30 Aug 2009 22:06:05 +0000 (22:06 +0000)]
Follow-up to r55685 - update messages.inc, and fix wierd positioning of comment in RELEASE-NOTES

14 years ago* Allow IndexPager->mLimitsShown to be an associative array of limit => text-to-displ...
Happy-melon [Sun, 30 Aug 2009 21:50:10 +0000 (21:50 +0000)]
* Allow IndexPager->mLimitsShown to be an associative array of limit => text-to-display-in-limit-form pairs.
* Use this to add an "all" value to the limit form in Special:AllMessages.  In reality, "all" is only 5000, but this is plenty more than most wikis should have.

14 years agoUse $wgScript rather than $this->getTitle()->getLocalURL() for the action parameter...
Alexandre Emsenhuber [Sun, 30 Aug 2009 19:41:18 +0000 (19:41 +0000)]
Use $wgScript rather than $this->getTitle()->getLocalURL() for the action parameter, since the title parameter is already present in the hidden fields and it doesn't work with ugly URLS
Reported by MaxSem on IRC.

14 years ago(bug 2257) Add a $frame parameter to recursiveTagParse so tag extensions can expand...
Nephele [Sun, 30 Aug 2009 06:37:10 +0000 (06:37 +0000)]
(bug 2257) Add a $frame parameter to recursiveTagParse so tag extensions can expand template parameters

14 years agoFixed EditFilterMerged hook to use hookError param
Nephele [Sun, 30 Aug 2009 05:55:47 +0000 (05:55 +0000)]
Fixed EditFilterMerged hook to use hookError param

14 years agoAdded font size for simple search label - this broke cause of the other font sizing...
Trevor Parscal [Sat, 29 Aug 2009 23:34:19 +0000 (23:34 +0000)]
Added font size for simple search label - this broke cause of the other font sizing changes that have been made recently (r55333).

14 years ago(bug 20260) SQLite: don't always autocreate DB and its directory. If the file isn...
Chad Horohoe [Sat, 29 Aug 2009 12:35:40 +0000 (12:35 +0000)]
(bug 20260) SQLite: don't always autocreate DB and its directory. If the file isn't readable at execution time, we now throw an exception

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 29 Aug 2009 12:17:19 +0000 (12:17 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoLocalization update.
Rotem Liss [Sat, 29 Aug 2009 09:18:52 +0000 (09:18 +0000)]
Localization update.

14 years agoAdd set_time_limit( 0 ) to the installer; this should cut down on cases during instal...
Benjamin Lees [Sat, 29 Aug 2009 07:40:18 +0000 (07:40 +0000)]
Add set_time_limit( 0 ) to the installer; this should cut down on cases during installation where no user gets created, and during upgrades where people don't know that they might have to run the script several times.

14 years agoMediawiki:tags-tag amended accordig to request of User:Lloffiwr at http://translatewi...
Purodha B Blissenbach [Sat, 29 Aug 2009 03:02:53 +0000 (03:02 +0000)]
Mediawiki:tags-tag amended accordig to request of User:Lloffiwr at translatewiki.net/wiki/Support#tags-tag

14 years ago(bug 20223) Move .comment and .changedby to shared.css and out of Monobook/Modern.
Chad Horohoe [Fri, 28 Aug 2009 23:34:55 +0000 (23:34 +0000)]
(bug 20223) Move .comment and .changedby to shared.css and out of Monobook/Modern.

14 years ago* Add buffering to ApiFormatBase, which allows buffering the result without needing...
Bryan Tong Minh [Fri, 28 Aug 2009 21:18:39 +0000 (21:18 +0000)]
* Add buffering to ApiFormatBase, which allows buffering the result without needing ob_* functions. This is for async downloads, but I couldn't get it to work yet so this commit does not contain the files that actually use the buffering.
* Hide internalhttpsession parameter from web requests

14 years agoAdd MakeSysop and MakeBot as aliases for UserRights so that links to them won't total...
Alex Z [Fri, 28 Aug 2009 20:41:36 +0000 (20:41 +0000)]
Add MakeSysop and MakeBot as aliases for UserRights so that links to them won't totally break when the extensions are disabled (bugs 14156/20291).
Adding to core since I wasn't able to find a clean way to do it with WikimediaMessages.

14 years agoFix wfShellBackgroundExec for windows. Works in maintenance/eval.php mode, have not...
Bryan Tong Minh [Fri, 28 Aug 2009 19:32:07 +0000 (19:32 +0000)]
Fix wfShellBackgroundExec for windows. Works in maintenance/eval.php mode, have not tested when running php as webserver module.

14 years agoFix typo reported at twn
Niklas Laxström [Fri, 28 Aug 2009 18:09:57 +0000 (18:09 +0000)]
Fix typo reported at twn

14 years ago* (bug 19055) maintenance/rebuildrecentchanges.php now purges Special:Recentchanges...
Alexandre Emsenhuber [Fri, 28 Aug 2009 18:04:40 +0000 (18:04 +0000)]
* (bug 19055) maintenance/rebuildrecentchanges.php now purges Special:Recentchanges's RSS and Atom feed cache
Purging cache timestamps should be sufficient since it won't allow cached versions to be used.
Also fix some errors in docs/memcached.txt.
Based on a patch by Jidanni - http://bug-attachment.wikimedia.org/attachment.cgi?id=6187

14 years agoReverted breakage of non-ASCII message keys, Domas says that's not allowed. Optimised...
Tim Starling [Fri, 28 Aug 2009 17:58:54 +0000 (17:58 +0000)]
Reverted breakage of non-ASCII message keys, Domas says that's not allowed. Optimised Language::lcfirst and Language::ucfirst() instead.
Timings in microseconds for ASCII no-change, ASCII change, non-ASCII no-change, non-ASCII change:
lcfirst: 1.8, 3.6, 21.2, 22.1
ucfirst: 1.5, 2.3, 21.1, 21.7

14 years agoAdd a patch file for the index change in r47488
Roan Kattouw [Fri, 28 Aug 2009 17:54:35 +0000 (17:54 +0000)]
Add a patch file for the index change in r47488

14 years agosweet spot for compression, per:
Domas Mituzas [Fri, 28 Aug 2009 17:46:19 +0000 (17:46 +0000)]
sweet spot for compression, per:
* http://spreadsheets.google.com/pub?key=t-EjyzEfh0t39hoQbf-a5fw

14 years agoLocalisation updates for core JavaScript messages from translatewiki.net
Siebrand Mazeland [Fri, 28 Aug 2009 17:07:32 +0000 (17:07 +0000)]
Localisation updates for core JavaScript messages from translatewiki.net

14 years agoAPI: BREAKING CHANGE: (bug 20426) Instead of throwing an error when a limit is set...
Roan Kattouw [Fri, 28 Aug 2009 16:37:48 +0000 (16:37 +0000)]
API: BREAKING CHANGE: (bug 20426) Instead of throwing an error when a limit is set too high/low, throw a warning and continue with the limit set to the maximum/minimum

14 years agoRemove a few language codes that were 'supported' without any localisation. Have...
Siebrand Mazeland [Fri, 28 Aug 2009 15:15:37 +0000 (15:15 +0000)]
Remove a few language codes that were 'supported' without any localisation. Have no known projects that use localisation for them. Language support could be re-added if a sufficient localisation level would be reached in translatewiki.net. Were added in r28537 or r28572.
* Easter Yiddish (ydd)
* Palembang (plm)
* Tamazight (tzm)
* Iriga Bicolano (bto)

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-26 12:55 UTC)
Raimond Spekking [Fri, 28 Aug 2009 13:06:15 +0000 (13:06 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-26 12:55 UTC)

14 years ago* improved inline AMW upload
Michael Dale [Fri, 28 Aug 2009 03:53:17 +0000 (03:53 +0000)]
* improved inline AMW upload

14 years agoRevert r53534 (bug 15745, Make the edit summary link parser detect links more like...
Chad Horohoe [Thu, 27 Aug 2009 22:27:42 +0000 (22:27 +0000)]
Revert r53534 (bug 15745, Make the edit summary link parser detect links more like the real parser). Causes preg_replace_callback bug in 5.2.8 and below, crashes lots of things. See bug 19845 and bugs.php.net/bug.php?id=48501

14 years agoAPI: Add user-agent and method (GET/POST) to request logging, and only log the action...
Roan Kattouw [Thu, 27 Aug 2009 22:09:28 +0000 (22:09 +0000)]
API: Add user-agent and method (GET/POST) to request logging, and only log the action= parameter for mustBePosted modules

14 years agoAPI: Refactor the XML formatter a bit so that ApiFormatXml::recXmlPrint() is now...
Roan Kattouw [Thu, 27 Aug 2009 21:15:20 +0000 (21:15 +0000)]
API: Refactor the XML formatter a bit so that ApiFormatXml::recXmlPrint() is now actually usable as a generic XML formatter

14 years ago* some js2 cleanup and refactoring for upload support
Michael Dale [Thu, 27 Aug 2009 18:26:51 +0000 (18:26 +0000)]
* some js2 cleanup and refactoring for upload support
* some minor work needed to finish cleaning up inline add media wizard upload across all upload modes (firefogg / normal http post)

14 years agoAPI: Cache API help in memcached, inital use of the API log added earlier seems to...
Roan Kattouw [Thu, 27 Aug 2009 18:25:51 +0000 (18:25 +0000)]
API: Cache API help in memcached, inital use of the API log added earlier seems to indicate that the help is expensive. Cache doesn't seem to help for me locally, so we probably need to test this on a real server and see if it really works.

14 years agoRevert r52983 for now, could cause unexpected syntax interactions, we want to investi...
Andrew Garrett [Thu, 27 Aug 2009 17:16:15 +0000 (17:16 +0000)]
Revert r52983 for now, could cause unexpected syntax interactions, we want to investigate this before deploying it

14 years agocorrect notes line for 20404 -- not a tooltip
Brion Vibber [Thu, 27 Aug 2009 17:15:12 +0000 (17:15 +0000)]
correct notes line for 20404 -- not a tooltip

14 years agoAPI: Add optional API request logging to a file or UDP; intending to use this on...
Roan Kattouw [Thu, 27 Aug 2009 17:07:23 +0000 (17:07 +0000)]
API: Add optional API request logging to a file or UDP; intending to use this on the cluster to get some data about API usage and things like which queries are expensive

14 years agofixed : spaces to only look outside of "quotes"
Michael Dale [Thu, 27 Aug 2009 16:56:54 +0000 (16:56 +0000)]
fixed : spaces to only look outside of "quotes"

14 years agoI LOVE OO PEOPLE <3 <3 <3
Domas Mituzas [Thu, 27 Aug 2009 16:28:48 +0000 (16:28 +0000)]
I LOVE OO PEOPLE <3 <3 <3

14 years agoRm useless thumbs.db files.
Chad Horohoe [Thu, 27 Aug 2009 15:30:16 +0000 (15:30 +0000)]
Rm useless thumbs.db files.

14 years agoFixed bug with MW 1.4 style archive rows, with ar_text set: ar_flags can be gzip...
Tim Starling [Thu, 27 Aug 2009 15:02:00 +0000 (15:02 +0000)]
Fixed bug with MW 1.4 style archive rows, with ar_text set: ar_flags can be gzip. Reported by email.

14 years agoAPI: Do a STRAIGHT_JOIN in ApiQueryBacklinks's first query to counter a MySQL 4 bug...
Roan Kattouw [Thu, 27 Aug 2009 14:58:19 +0000 (14:58 +0000)]
API: Do a STRAIGHT_JOIN in ApiQueryBacklinks's first query to counter a MySQL 4 bug where the optmizer chooses to do a table scan on page instead.

14 years agoenabled async download via configuration var: wgEnableAsyncDownload (pending windows...
Michael Dale [Thu, 27 Aug 2009 14:47:52 +0000 (14:47 +0000)]
enabled async download via configuration var: wgEnableAsyncDownload (pending windows fix)
 (should have been part of the last commit)