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.
Siebrand Mazeland [Fri, 4 Sep 2009 06:44:06 +0000 (06:44 +0000)]
Use consistent quotes in new messages (r55800)
Siebrand Mazeland [Fri, 4 Sep 2009 06:42:17 +0000 (06:42 +0000)]
Remove title case in 'img-auth-accessdenied'
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
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 "-".
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.
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
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.
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.
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.
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.
Aaron Schulz [Fri, 4 Sep 2009 00:29:20 +0000 (00:29 +0000)]
Removed old comment and depreciated <tt> tags
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
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
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
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.
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
Rotem Liss [Thu, 3 Sep 2009 18:32:55 +0000 (18:32 +0000)]
Localization update.
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)
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)
Siebrand Mazeland [Thu, 3 Sep 2009 16:48:41 +0000 (16:48 +0000)]
Update messages.inc and rebuild messages files
Daniel Kinzler [Thu, 3 Sep 2009 16:15:55 +0000 (16:15 +0000)]
adding public access methods for use by XMLRC extension.
Shinjiman [Thu, 3 Sep 2009 15:19:42 +0000 (15:19 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
ThomasV [Thu, 3 Sep 2009 14:19:24 +0000 (14:19 +0000)]
get rid of invalid UTF8, strip control characters
Aaron Schulz [Thu, 3 Sep 2009 09:04:54 +0000 (09:04 +0000)]
Tailor revdelete-reason-dropdown a bit from copy-paste values
Aaron Schulz [Wed, 2 Sep 2009 23:13:21 +0000 (23:13 +0000)]
(bug 18862) RevisionDelete dropdowns
Aaron Schulz [Wed, 2 Sep 2009 22:16:24 +0000 (22:16 +0000)]
(bug 20372) Improve rollback-revisiondelete handling
Aaron Schulz [Wed, 2 Sep 2009 22:00:50 +0000 (22:00 +0000)]
clarify msg
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
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.
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
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.
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.
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.
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.
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.
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
Chad Horohoe [Tue, 1 Sep 2009 23:38:46 +0000 (23:38 +0000)]
Don't need that anymore
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/
Aaron Schulz [Tue, 1 Sep 2009 22:37:37 +0000 (22:37 +0000)]
May as well use the master for start/end points
Aaron Schulz [Tue, 1 Sep 2009 20:53:55 +0000 (20:53 +0000)]
Added a script to move users from one group to another
Alexandre Emsenhuber [Tue, 1 Sep 2009 20:22:00 +0000 (20:22 +0000)]
* (bug 20466) Hidden categories are no more displayed when printing
Michael Dale [Tue, 1 Sep 2009 18:57:28 +0000 (18:57 +0000)]
* fixed scaling issue on edit action.
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)
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.
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.
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.
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!
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)
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.
Happy-melon [Mon, 31 Aug 2009 18:43:14 +0000 (18:43 +0000)]
Better documentation for $wgPagePropLinkInvalidations.
Rotem Liss [Mon, 31 Aug 2009 14:44:43 +0000 (14:44 +0000)]
Localization update.
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
Ilmari Karonen [Mon, 31 Aug 2009 14:01:04 +0000 (14:01 +0000)]
followup to r55694: forgot to mark the new functions private
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)
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.
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.
Niklas Laxström [Mon, 31 Aug 2009 06:54:52 +0000 (06:54 +0000)]
Revert r55685, r55686 and r55687 for now. Limits not working.
Shinjiman [Mon, 31 Aug 2009 01:24:31 +0000 (01:24 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
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
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.
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.
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
Nephele [Sun, 30 Aug 2009 05:55:47 +0000 (05:55 +0000)]
Fixed EditFilterMerged hook to use hookError param
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).
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
Shinjiman [Sat, 29 Aug 2009 12:17:19 +0000 (12:17 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Rotem Liss [Sat, 29 Aug 2009 09:18:52 +0000 (09:18 +0000)]
Localization update.
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.
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
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.
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
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.
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.
Niklas Laxström [Fri, 28 Aug 2009 18:09:57 +0000 (18:09 +0000)]
Fix typo reported at twn
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
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
Roan Kattouw [Fri, 28 Aug 2009 17:54:35 +0000 (17:54 +0000)]
Add a patch file for the index change in r47488
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
Siebrand Mazeland [Fri, 28 Aug 2009 17:07:32 +0000 (17:07 +0000)]
Localisation updates for core JavaScript messages from translatewiki.net
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
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)
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)
Michael Dale [Fri, 28 Aug 2009 03:53:17 +0000 (03:53 +0000)]
* improved inline AMW upload
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
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
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
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)
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.
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
Brion Vibber [Thu, 27 Aug 2009 17:15:12 +0000 (17:15 +0000)]
correct notes line for 20404 -- not a tooltip
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
Michael Dale [Thu, 27 Aug 2009 16:56:54 +0000 (16:56 +0000)]
fixed : spaces to only look outside of "quotes"
Domas Mituzas [Thu, 27 Aug 2009 16:28:48 +0000 (16:28 +0000)]
I LOVE OO PEOPLE <3 <3 <3
Chad Horohoe [Thu, 27 Aug 2009 15:30:16 +0000 (15:30 +0000)]
Rm useless thumbs.db files.
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.
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.
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)
Michael Dale [Thu, 27 Aug 2009 14:46:54 +0000 (14:46 +0000)]
enabled async downloaded via configuration var: wgEnableAsyncDownload (pending windows fix)
Michael Dale [Thu, 27 Aug 2009 14:30:14 +0000 (14:30 +0000)]
quick fix for r55604 broken chunk upload class abstraction