Tim Starling [Sat, 17 Jun 2006 04:32:41 +0000 (04:32 +0000)]
Commit the transaction after an upload is recorded and logged, to avoid losing images due to a rollback later on.
Tim Starling [Sat, 17 Jun 2006 04:11:21 +0000 (04:11 +0000)]
Fixed inconsistent error return in Image::getThumbnail() -- was returning null if height wasn't specified, an icon thumb if it was. Made it return null all the time, and fixed ImageGallery.php to understand that return value. Also made ImageGallery give informative errors if $wgIgnoreImageErrors is off.
Niklas Laxström [Fri, 16 Jun 2006 22:30:39 +0000 (22:30 +0000)]
* (bug 6300) Bug fixes for sr: variants
* Patch from Robert Stojnic
Niklas Laxström [Fri, 16 Jun 2006 22:20:19 +0000 (22:20 +0000)]
* Update to Alemannic localization (gsw)
Rob Church [Fri, 16 Jun 2006 19:33:49 +0000 (19:33 +0000)]
Plus que d'Allemand
Niklas Laxström [Fri, 16 Jun 2006 18:47:15 +0000 (18:47 +0000)]
* Updates from Rotem Liss
Niklas Laxström [Fri, 16 Jun 2006 15:14:46 +0000 (15:14 +0000)]
* Update to Slovak translation (sk)
Niklas Laxström [Fri, 16 Jun 2006 14:52:58 +0000 (14:52 +0000)]
* Add something to tooltip-recreate
* Be consistent and talk about page and not article
Rob Church [Fri, 16 Jun 2006 14:20:17 +0000 (14:20 +0000)]
Use standard linker functions to make user and tool links; fixes a bizarre blip I've just noticed on a local install.
Rob Church [Fri, 16 Jun 2006 13:58:42 +0000 (13:58 +0000)]
Introduce {{NUMBEROFADMINS}} magic word
Brion Vibber [Fri, 16 Jun 2006 03:28:11 +0000 (03:28 +0000)]
* (bug 6324) Fix regression in enhanced RC alignment
Brion Vibber [Fri, 16 Jun 2006 03:16:46 +0000 (03:16 +0000)]
Fix purge of image on delete
Brion Vibber [Fri, 16 Jun 2006 01:16:45 +0000 (01:16 +0000)]
(bug 2099) Deleted files can now be archived and undeleted, if you set up an appropriate non-web-accessible directory.
Set $wgSaveDeletedFiles on and an appropriate directory path in $wgFileStore['deleted']['directory']
Niklas Laxström [Thu, 15 Jun 2006 21:57:39 +0000 (21:57 +0000)]
* Restructured and added plural
Niklas Laxström [Thu, 15 Jun 2006 21:38:22 +0000 (21:38 +0000)]
* Die die die ugly quotes
Niklas Laxström [Thu, 15 Jun 2006 20:07:58 +0000 (20:07 +0000)]
* Fixed a comment
Niklas Laxström [Thu, 15 Jun 2006 19:18:29 +0000 (19:18 +0000)]
* Still fixing cases
Niklas Laxström [Thu, 15 Jun 2006 17:22:22 +0000 (17:22 +0000)]
* Update to Catalan localization (ca)
Niklas Laxström [Thu, 15 Jun 2006 16:34:41 +0000 (16:34 +0000)]
* (bug 1120) Update for Czech language (Cs)
Rob Church [Thu, 15 Jun 2006 07:29:00 +0000 (07:29 +0000)]
(bug 4054) Add "boteditletter" to recent changes flags
Rob Church [Thu, 15 Jun 2006 07:14:15 +0000 (07:14 +0000)]
Revert r14768, it's broken.
Rob Church [Thu, 15 Jun 2006 06:55:42 +0000 (06:55 +0000)]
(bug 5865) Show warning when editing another users' user page and provide a link to edit their talk page instead
Rob Church [Thu, 15 Jun 2006 06:35:24 +0000 (06:35 +0000)]
(bug 6095) Introduce RunUnknownJob hook, see docs/hooks.txt for more information
Brion Vibber [Thu, 15 Jun 2006 04:58:03 +0000 (04:58 +0000)]
A batch-deletion script based on the batch-move script
Rob Church [Wed, 14 Jun 2006 13:12:08 +0000 (13:12 +0000)]
Introduce EditFormPreloadText hook, see docs/hooks.txt for more information
Niklas Laxström [Wed, 14 Jun 2006 12:13:58 +0000 (12:13 +0000)]
* (bug 6296) Update to Indonesian localisation (id) #21
Niklas Laxström [Wed, 14 Jun 2006 12:08:17 +0000 (12:08 +0000)]
* (bug 6162) Change date format for Dutch Low Saxon (nds-nl)
Niklas Laxström [Wed, 14 Jun 2006 11:56:25 +0000 (11:56 +0000)]
* (bug 6280) Correct GRAMMAR for Slovenian localisation (sl)
Brion Vibber [Tue, 13 Jun 2006 23:54:08 +0000 (23:54 +0000)]
* Return correct content-type header with 304 responses for StreamFile; it confuses Safari if you let it return "text/html".
Brion Vibber [Tue, 13 Jun 2006 20:22:08 +0000 (20:22 +0000)]
Cancel output buffering in StreamFile; when used inside gzip buffering this could cause funny timeout behavior as the Content-Length was wrong.
Brion Vibber [Tue, 13 Jun 2006 18:46:08 +0000 (18:46 +0000)]
The hell is this? Removing.
Brion Vibber [Tue, 13 Jun 2006 18:35:11 +0000 (18:35 +0000)]
Clean up after r14751:
* No longer spews "uninitialized variable" notice all over output during category preview
* Don't alter global configuration variables when there's no reason to
Note that __NOGALLERY__ still isn't respected on preview (was this even tested?)
Magnus Manske [Tue, 13 Jun 2006 11:37:09 +0000 (11:37 +0000)]
Bug 6031 (feature request for __NOGALLERY__ on category pages) fixed
Magnus Manske [Tue, 13 Jun 2006 10:11:12 +0000 (10:11 +0000)]
bug 2700 (preSaveTransform not working in gallery links) fixed
Brion Vibber [Tue, 13 Jun 2006 05:11:23 +0000 (05:11 +0000)]
* Disable $wgAllowExternalImages by default.
Rob Church [Mon, 12 Jun 2006 23:06:39 +0000 (23:06 +0000)]
Expand 5127 to cover editing existing pages, too
Rob Church [Mon, 12 Jun 2006 12:38:41 +0000 (12:38 +0000)]
(bug 5932) Introduce {{PAGESINNAMESPACE}} magic word
Rob Church [Mon, 12 Jun 2006 11:59:12 +0000 (11:59 +0000)]
Introduce $wgContentNamespaces which allows for articles to exist in namespaces other than the main namespace, and still be counted as valid content in the site statistics.
Rob Church [Mon, 12 Jun 2006 11:10:07 +0000 (11:10 +0000)]
Replace "nogomatch" with "noexactmatch" and place the magic colon in the messages themselves. Some minor tweaks to the actual message content.
Brion Vibber [Mon, 12 Jun 2006 06:04:51 +0000 (06:04 +0000)]
HTML normalization: use double-quotes on RFC and PMID quotes for consistency with upcoming normalizer's output
Brion Vibber [Mon, 12 Jun 2006 05:46:33 +0000 (05:46 +0000)]
HTML output normalization: remove extra space after class="thumbcaption"
Brion Vibber [Mon, 12 Jun 2006 05:33:48 +0000 (05:33 +0000)]
* Use double quoted consistently on attributes in linker output; preparing for new normalization code when tidy not in use
Brion Vibber [Mon, 12 Jun 2006 05:16:12 +0000 (05:16 +0000)]
* Avoid some notices in page history with bad input
Niklas Laxström [Sun, 11 Jun 2006 21:45:19 +0000 (21:45 +0000)]
* Restructured and tweaked book sources a little
Niklas Laxström [Sun, 11 Jun 2006 17:17:51 +0000 (17:17 +0000)]
* Update to Dutch translation (nl)
Niklas Laxström [Sun, 11 Jun 2006 16:23:59 +0000 (16:23 +0000)]
* Commenting out messages which contain U+FFFD, this file needs fixing
Niklas Laxström [Sun, 11 Jun 2006 16:15:51 +0000 (16:15 +0000)]
* Update to Latin translation (la)
Niklas Laxström [Sun, 11 Jun 2006 15:40:17 +0000 (15:40 +0000)]
* Restructured
Niklas Laxström [Sun, 11 Jun 2006 15:27:10 +0000 (15:27 +0000)]
* Added functions
Niklas Laxström [Sun, 11 Jun 2006 15:20:18 +0000 (15:20 +0000)]
* Restructured
Niklas Laxström [Sun, 11 Jun 2006 15:08:09 +0000 (15:08 +0000)]
* Update to Vlax Romany localization (rmy)
Tim Starling [Sun, 11 Jun 2006 04:48:27 +0000 (04:48 +0000)]
Don't do 100 queries to view 50 revisions in history pages.
Antoine Musso [Sat, 10 Jun 2006 18:28:50 +0000 (18:28 +0000)]
having some fun with doxygen error log
Brion Vibber [Sat, 10 Jun 2006 00:00:45 +0000 (00:00 +0000)]
Add regression tests for bug 3298 (<noinclude> etc in subst), and tests for 4926 (<noinclude> etc in message transform).
Brion Vibber [Fri, 9 Jun 2006 23:23:37 +0000 (23:23 +0000)]
Revert bad patch for (bug 2069) Merge the LanguageUtf8 class into the Language class
Niklas Laxström [Fri, 9 Jun 2006 22:16:37 +0000 (22:16 +0000)]
* Restructured
Niklas Laxström [Fri, 9 Jun 2006 22:02:21 +0000 (22:02 +0000)]
* (bug 6260) Update to Interlingua localization (ia)
Brion Vibber [Fri, 9 Jun 2006 21:59:26 +0000 (21:59 +0000)]
* Fix regression(?) in behavior of initial-whitespace-pre in <center>
Brion Vibber [Fri, 9 Jun 2006 21:21:00 +0000 (21:21 +0000)]
* Whitespace now normalized more or less properly in HTML attributes
Niklas Laxström [Fri, 9 Jun 2006 17:17:58 +0000 (17:17 +0000)]
* (bug 6254) Update to Indonesian translation (id) #20
Niklas Laxström [Fri, 9 Jun 2006 17:03:21 +0000 (17:03 +0000)]
* Removed duplicate message
Niklas Laxström [Fri, 9 Jun 2006 16:50:53 +0000 (16:50 +0000)]
* Update to Yiddish localization (yi)
Niklas Laxström [Fri, 9 Jun 2006 15:52:29 +0000 (15:52 +0000)]
* Restructured
Niklas Laxström [Fri, 9 Jun 2006 15:41:49 +0000 (15:41 +0000)]
* (bug 2069) Merge the LanguageUtf8 class into the Language class
* Based on patch from Rotem Liss
Rob Church [Fri, 9 Jun 2006 15:28:48 +0000 (15:28 +0000)]
Remove a number of needless {{ns:project}}-type transforms from messages files. These usages already have separate label text. Such transforms are wasteful on each page view.
Niklas Laxström [Fri, 9 Jun 2006 14:01:18 +0000 (14:01 +0000)]
* Added some functions
Niklas Laxström [Fri, 9 Jun 2006 13:38:59 +0000 (13:38 +0000)]
* Restructured
Niklas Laxström [Fri, 9 Jun 2006 13:28:36 +0000 (13:28 +0000)]
* Missing functions
Brion Vibber [Fri, 9 Jun 2006 08:24:47 +0000 (08:24 +0000)]
* (bug 6243) Fix email for usernames containing dots when using PEAR::Mail
Niklas Laxström [Thu, 8 Jun 2006 19:42:07 +0000 (19:42 +0000)]
* {{PLURAL}} can now take up to five forms. Needed for some languages
Rob Church [Thu, 8 Jun 2006 18:03:48 +0000 (18:03 +0000)]
TYPOS IN COMMENTS MAKE BABY JESUS CRY
a.k.a keeping the anal-retentives quiet
Domas Mituzas [Thu, 8 Jun 2006 15:12:26 +0000 (15:12 +0000)]
revert back to 14660
Domas Mituzas [Thu, 8 Jun 2006 14:20:21 +0000 (14:20 +0000)]
Aaaaah, typo
Domas Mituzas [Thu, 8 Jun 2006 14:11:16 +0000 (14:11 +0000)]
AutoLoad OutputPage, HistoryBlob, Block, MessageCache, move $wgBlobCache to HistoryBlobStub static private.
Domas Mituzas [Thu, 8 Jun 2006 13:47:38 +0000 (13:47 +0000)]
Autoload Linker, Skin.php, move $wgValidSkinNames to static private at Skin, use Skin::getSkinNames()...
Rob Church [Thu, 8 Jun 2006 13:30:35 +0000 (13:30 +0000)]
(bug 5945) Introduce {{CONTENTLANGUAGE}} magic word
Domas Mituzas [Thu, 8 Jun 2006 13:27:11 +0000 (13:27 +0000)]
move autoloading up :)
Domas Mituzas [Thu, 8 Jun 2006 13:21:42 +0000 (13:21 +0000)]
screw global defines :)
Domas Mituzas [Thu, 8 Jun 2006 13:08:22 +0000 (13:08 +0000)]
woo, revert the revert, apc 3.0.8 seems to work with this :)
Tim Starling [Thu, 8 Jun 2006 07:05:57 +0000 (07:05 +0000)]
Made wfDebugDieBacktrace() throw an exception: roughly backwards-compatible behaviour for the benefit of the extensions which use this function. Marked wfAbruptExit() and wfErrorExit() obsolete, they're only called from one extension as far as I know (gis), and nowhere from within the core.
Niklas Laxström [Wed, 7 Jun 2006 21:25:42 +0000 (21:25 +0000)]
* Consistency
Niklas Laxström [Wed, 7 Jun 2006 20:58:58 +0000 (20:58 +0000)]
* Restructured
Niklas Laxström [Wed, 7 Jun 2006 20:49:58 +0000 (20:49 +0000)]
* Restructured
Niklas Laxström [Wed, 7 Jun 2006 20:36:39 +0000 (20:36 +0000)]
* Restructured
Domas Mituzas [Wed, 7 Jun 2006 20:13:29 +0000 (20:13 +0000)]
use microtime(true), properly initialize non-existing arrays (avoids warnings :)
Niklas Laxström [Wed, 7 Jun 2006 20:04:30 +0000 (20:04 +0000)]
* xhtml
Niklas Laxström [Wed, 7 Jun 2006 19:58:45 +0000 (19:58 +0000)]
* (bug 5981) Add plural function Slovenian (sl)
Domas Mituzas [Wed, 7 Jun 2006 13:58:51 +0000 (13:58 +0000)]
revert r14636, private static arrays seem to crash APC on half of our boxen, will have to investigate (or ask nicely Tim to help there)
Domas Mituzas [Wed, 7 Jun 2006 12:26:58 +0000 (12:26 +0000)]
autoload Profiling, ParserCache, WebRequest
Domas Mituzas [Wed, 7 Jun 2006 11:44:10 +0000 (11:44 +0000)]
AutoLoad Title.php, move global cache arrays to static Title:: variables
Brion Vibber [Wed, 7 Jun 2006 09:18:34 +0000 (09:18 +0000)]
* (bug 6230) Regression fix: <nowiki> in [URL link text]
Brion Vibber [Wed, 7 Jun 2006 08:57:38 +0000 (08:57 +0000)]
Regression fix: installer broken by changes to include system, exceptions, and access modifiers.
Brion Vibber [Wed, 7 Jun 2006 08:28:43 +0000 (08:28 +0000)]
* Regression fix: suppress warning about session failure when clicking to
edit with 'preview on first edit' enabled.
Brion Vibber [Wed, 7 Jun 2006 07:50:43 +0000 (07:50 +0000)]
Unbreak the wiki when the base BagOStuff class is used for faux cache objects (as in parser tests)
This was broken in r14631 by declaring the class abstract, and therefore non-instantiable.
Tim Starling [Wed, 7 Jun 2006 06:40:24 +0000 (06:40 +0000)]
Removed most exit() calls from the MediaWiki core, by replacing them with either a throw or by classic error checking. OutputPage::fatalError() and similar functions are deprecated, use either OutputPage::showFatalError() to return control or throw new FatalError() to relinquish it. Backwards compatibility of all interfaces has been maintained, thus extensions should continue to work and can be ported at a later date.
Tim Starling [Wed, 7 Jun 2006 04:17:51 +0000 (04:17 +0000)]
removed obsolete function
Tim Starling [Wed, 7 Jun 2006 04:15:58 +0000 (04:15 +0000)]
Valid exit status codes range from 0 to 254.
Brion Vibber [Wed, 7 Jun 2006 00:21:39 +0000 (00:21 +0000)]
* (bug 4280) Use 'noindex,nofollow' instead of 'noindex,follow' for default
meta robots tag on diff view and special pages. Should reduce impact of
robots on scrolling special pages, diffs etc on sites where robots.txt
doesn't forbid access.
Brion Vibber [Tue, 6 Jun 2006 23:50:16 +0000 (23:50 +0000)]
* (bug 3837) Leave <center> as is instead of doing an unsafe text replacement
to <div class="center">. <center> is perfectly valid in the target doctype
(XHTML 1.0 Transitional), while the replacement didn't catch all cases and
could even result in invalid output from valid input.
Tim Starling [Tue, 6 Jun 2006 23:16:32 +0000 (23:16 +0000)]
default argument