lhc/web/wiklou.git
18 years agoMade wfDebugDieBacktrace() throw an exception: roughly backwards-compatible behaviour...
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.

18 years ago* Consistency
Niklas Laxström [Wed, 7 Jun 2006 21:25:42 +0000 (21:25 +0000)]
* Consistency

18 years ago* Restructured
Niklas Laxström [Wed, 7 Jun 2006 20:58:58 +0000 (20:58 +0000)]
* Restructured

18 years ago* Restructured
Niklas Laxström [Wed, 7 Jun 2006 20:49:58 +0000 (20:49 +0000)]
* Restructured

18 years ago* Restructured
Niklas Laxström [Wed, 7 Jun 2006 20:36:39 +0000 (20:36 +0000)]
* Restructured

18 years agouse microtime(true), properly initialize non-existing arrays (avoids warnings :)
Domas Mituzas [Wed, 7 Jun 2006 20:13:29 +0000 (20:13 +0000)]
use microtime(true), properly initialize non-existing arrays (avoids warnings :)

18 years ago* xhtml
Niklas Laxström [Wed, 7 Jun 2006 20:04:30 +0000 (20:04 +0000)]
* xhtml

18 years ago* (bug 5981) Add plural function Slovenian (sl)
Niklas Laxström [Wed, 7 Jun 2006 19:58:45 +0000 (19:58 +0000)]
* (bug 5981) Add plural function Slovenian (sl)

18 years agorevert r14636, private static arrays seem to crash APC on half of our boxen, will...
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)

18 years agoautoload Profiling, ParserCache, WebRequest
Domas Mituzas [Wed, 7 Jun 2006 12:26:58 +0000 (12:26 +0000)]
autoload Profiling, ParserCache, WebRequest

18 years agoAutoLoad Title.php, move global cache arrays to static Title:: variables
Domas Mituzas [Wed, 7 Jun 2006 11:44:10 +0000 (11:44 +0000)]
AutoLoad Title.php, move global cache arrays to static Title:: variables

18 years ago* (bug 6230) Regression fix: <nowiki> in [URL link text]
Brion Vibber [Wed, 7 Jun 2006 09:18:34 +0000 (09:18 +0000)]
* (bug 6230) Regression fix: <nowiki> in [URL link text]

18 years agoRegression fix: installer broken by changes to include system, exceptions, and access...
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.

18 years ago* Regression fix: suppress warning about session failure when clicking to
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.

18 years agoUnbreak the wiki when the base BagOStuff class is used for faux cache objects (as...
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.

18 years agoRemoved most exit() calls from the MediaWiki core, by replacing them with either...
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.

18 years agoremoved obsolete function
Tim Starling [Wed, 7 Jun 2006 04:17:51 +0000 (04:17 +0000)]
removed obsolete function

18 years agoValid exit status codes range from 0 to 254.
Tim Starling [Wed, 7 Jun 2006 04:15:58 +0000 (04:15 +0000)]
Valid exit status codes range from 0 to 254.

18 years ago* (bug 4280) Use 'noindex,nofollow' instead of 'noindex,follow' for default
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.

18 years ago* (bug 3837) Leave <center> as is instead of doing an unsafe text replacement
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.

18 years agodefault argument
Tim Starling [Tue, 6 Jun 2006 23:16:32 +0000 (23:16 +0000)]
default argument

18 years agoSome initial work on exceptions. More to follow.
Tim Starling [Tue, 6 Jun 2006 23:07:26 +0000 (23:07 +0000)]
Some initial work on exceptions. More to follow.

18 years ago* (bug 3202) Attributes now allowed on <pre> tags
Brion Vibber [Tue, 6 Jun 2006 22:56:38 +0000 (22:56 +0000)]
* (bug 3202) Attributes now allowed on <pre> tags
* Sanitizer::validateTagAttributes now available to discard illegal/unsafe
  attribute values from an array.

18 years agoParser tests for <pre> tag with attributes (bug 3202)
Brion Vibber [Tue, 6 Jun 2006 22:50:28 +0000 (22:50 +0000)]
Parser tests for <pre> tag with attributes (bug 3202)

18 years agoFix the converter tests; the language object doesn't seem to set up the converter...
Brion Vibber [Tue, 6 Jun 2006 22:08:33 +0000 (22:08 +0000)]
Fix the converter tests; the language object doesn't seem to set up the converter properly otherwise

18 years agoAvoid notice message when there's not a matching variant fallback present
Brion Vibber [Tue, 6 Jun 2006 22:07:54 +0000 (22:07 +0000)]
Avoid notice message when there's not a matching variant fallback present

18 years ago* Updates from Rotem
Niklas Laxström [Tue, 6 Jun 2006 22:01:36 +0000 (22:01 +0000)]
* Updates from Rotem

18 years ago* Reformat (fixes bug 6206)
Niklas Laxström [Tue, 6 Jun 2006 21:43:47 +0000 (21:43 +0000)]
* Reformat (fixes bug 6206)

18 years agoRemove some obsolete globals.
Brion Vibber [Tue, 6 Jun 2006 20:56:49 +0000 (20:56 +0000)]
Remove some obsolete globals.

18 years agoRedirect Special:Logs to Special:Log
Rob Church [Tue, 6 Jun 2006 18:31:42 +0000 (18:31 +0000)]
Redirect Special:Logs to Special:Log

18 years agonuke UpdateClasses.php, autoload MacBinary, Licenses
Domas Mituzas [Tue, 6 Jun 2006 12:50:39 +0000 (12:50 +0000)]
nuke UpdateClasses.php, autoload MacBinary, Licenses

18 years agoAutoload QueryPage
Domas Mituzas [Tue, 6 Jun 2006 12:35:47 +0000 (12:35 +0000)]
Autoload QueryPage

18 years agoAutoLoad RawPage, EditPage, ExternalEdit, PageHistory, move DIR_NEXT and DIR_PREV...
Domas Mituzas [Tue, 6 Jun 2006 12:28:44 +0000 (12:28 +0000)]
AutoLoad RawPage, EditPage, ExternalEdit, PageHistory, move DIR_NEXT and DIR_PREV constants into PageHistory::

18 years agoAutoload WatchedItem
Domas Mituzas [Tue, 6 Jun 2006 12:10:08 +0000 (12:10 +0000)]
Autoload WatchedItem

18 years agoAutoload Exif and move global defines to Exif:: namespace
Domas Mituzas [Tue, 6 Jun 2006 12:08:11 +0000 (12:08 +0000)]
Autoload Exif and move global defines to Exif:: namespace

18 years agoautoload WikiError
Domas Mituzas [Tue, 6 Jun 2006 11:51:31 +0000 (11:51 +0000)]
autoload WikiError

18 years agoAutoLoad JobQueue
Domas Mituzas [Tue, 6 Jun 2006 11:48:05 +0000 (11:48 +0000)]
AutoLoad JobQueue

18 years agoAutoLoad ImageGalery
Domas Mituzas [Tue, 6 Jun 2006 11:46:16 +0000 (11:46 +0000)]
AutoLoad ImageGalery

18 years agoAutoLoad RecentChange
Domas Mituzas [Tue, 6 Jun 2006 11:44:18 +0000 (11:44 +0000)]
AutoLoad RecentChange

18 years agoAutoLoad Feed classes
Domas Mituzas [Tue, 6 Jun 2006 11:39:46 +0000 (11:39 +0000)]
AutoLoad Feed classes

18 years agoAutoLoad LinkCache & LinkBatch
Domas Mituzas [Tue, 6 Jun 2006 11:36:38 +0000 (11:36 +0000)]
AutoLoad LinkCache & LinkBatch

18 years agoAutoLoad Article
Domas Mituzas [Tue, 6 Jun 2006 11:29:23 +0000 (11:29 +0000)]
AutoLoad Article

18 years agoAutoLoad Revision
Domas Mituzas [Tue, 6 Jun 2006 10:56:46 +0000 (10:56 +0000)]
AutoLoad Revision

18 years agoMove revision deletion constants into Revision::
Domas Mituzas [Tue, 6 Jun 2006 10:54:23 +0000 (10:54 +0000)]
Move revision deletion constants into Revision::

18 years agoAutoLoad search classes
Domas Mituzas [Tue, 6 Jun 2006 10:33:23 +0000 (10:33 +0000)]
AutoLoad search classes

18 years agoAutoLoad ImagePage and CategoryPage
Domas Mituzas [Tue, 6 Jun 2006 10:23:27 +0000 (10:23 +0000)]
AutoLoad ImagePage and CategoryPage

18 years agoAutoLoad UpdateClasses: SiteStatsUpdate, LinksUpdate, SearchUpdate, SquidUpdate
Domas Mituzas [Tue, 6 Jun 2006 10:15:57 +0000 (10:15 +0000)]
AutoLoad UpdateClasses: SiteStatsUpdate, LinksUpdate, SearchUpdate, SquidUpdate

18 years agoAutoLoad Math.php
Domas Mituzas [Tue, 6 Jun 2006 10:00:53 +0000 (10:00 +0000)]
AutoLoad Math.php

18 years agoWelcome back AutoLoader, this time in small batches :-)
Domas Mituzas [Tue, 6 Jun 2006 09:50:01 +0000 (09:50 +0000)]
Welcome back AutoLoader, this time in small batches :-)

18 years ago* (bug 6175) Improvement to German translation (de)
Niklas Laxström [Tue, 6 Jun 2006 09:30:48 +0000 (09:30 +0000)]
* (bug 6175) Improvement to German translation (de)

18 years ago* (bug 6197) Update to Indonesian translation (id) #19
Niklas Laxström [Tue, 6 Jun 2006 09:04:51 +0000 (09:04 +0000)]
* (bug 6197) Update to Indonesian translation (id) #19

18 years ago* Edit security precautions in raw HTML mode, etc
Brion Vibber [Tue, 6 Jun 2006 06:21:50 +0000 (06:21 +0000)]
* Edit security precautions in raw HTML mode, etc

18 years ago* (bug 2587) Fix for section editing with comment prefix
Brion Vibber [Tue, 6 Jun 2006 00:51:34 +0000 (00:51 +0000)]
* (bug 2587) Fix for section editing with comment prefix
* (bug 2607) Fix for section editing with mix of wiki and HTML headings
* (bug 3342) Fix for section editing with headings wrapped in <noinclude>
* (bug 3476) Fix for section editing with faux headings in extensions
* (bug 5272) Fix for section editing with HTML-heading subsections
* Fix for bogus wiki headings improperly detected with following text
* Fix for HTML headings improperly not detected with preceding/following text
* Section extraction and replacement functions merged into one implementation
  on the Parser object, so they can't get out of sync with each other.

18 years agoSection extraction tests for bugs 2607, 3342, 5272
Brion Vibber [Mon, 5 Jun 2006 21:51:34 +0000 (21:51 +0000)]
Section extraction tests for bugs 2607, 3342, 5272

18 years agoMore section extraction tests: trailing comments, starting comments (bug 2587), inval...
Brion Vibber [Mon, 5 Jun 2006 21:28:53 +0000 (21:28 +0000)]
More section extraction tests: trailing comments, starting comments (bug 2587), invalid trailing text

18 years agoAdd some basic regression tests on extraction for section editing
Brion Vibber [Mon, 5 Jun 2006 20:36:01 +0000 (20:36 +0000)]
Add some basic regression tests on extraction for section editing

18 years agofix error display
Brion Vibber [Mon, 5 Jun 2006 20:35:33 +0000 (20:35 +0000)]
fix error display

18 years agoScript to update user_registration to an approximation, for old rows.
Tim Starling [Mon, 5 Jun 2006 05:21:12 +0000 (05:21 +0000)]
Script to update user_registration to an approximation, for old rows.

18 years ago(bug 6182) Date passed in "sp-newimages-showfrom" not adjusted to user time preferences
Rob Church [Mon, 5 Jun 2006 01:59:45 +0000 (01:59 +0000)]
(bug 6182) Date passed in "sp-newimages-showfrom" not adjusted to user time preferences

18 years agoClarified purpose of User::isIP(), see bug 6198.
Tim Starling [Sun, 4 Jun 2006 23:48:20 +0000 (23:48 +0000)]
Clarified purpose of User::isIP(), see bug 6198.

18 years agoDocument last commit in release notes
Rob Church [Sun, 4 Jun 2006 16:56:17 +0000 (16:56 +0000)]
Document last commit in release notes

18 years agoAdd hooks to manipulate the sitenotice/anonnotice:
Rob Church [Sun, 4 Jun 2006 16:55:19 +0000 (16:55 +0000)]
Add hooks to manipulate the sitenotice/anonnotice:
* SiteNoticeBefore
* SiteNoticeAfter

18 years agoadded jobs field to action=raw output
Tim Starling [Sun, 4 Jun 2006 05:42:18 +0000 (05:42 +0000)]
added jobs field to action=raw output

18 years agorv useless feature
Tim Starling [Sun, 4 Jun 2006 05:37:31 +0000 (05:37 +0000)]
rv useless feature

18 years agosupport for array overrides and appends
Tim Starling [Sun, 4 Jun 2006 05:18:52 +0000 (05:18 +0000)]
support for array overrides and appends

18 years ago* (bug 5021) Transcluding the same special page twice now works
Brion Vibber [Sun, 4 Jun 2006 02:41:52 +0000 (02:41 +0000)]
* (bug 5021) Transcluding the same special page twice now works

18 years agoMore HTML sanitization tests
Brion Vibber [Sun, 4 Jun 2006 02:34:30 +0000 (02:34 +0000)]
More HTML sanitization tests

18 years ago* Add <ol> to the list of block elements for doBlockLevels; avoids <p>s being intersp...
Brion Vibber [Sun, 4 Jun 2006 02:06:24 +0000 (02:06 +0000)]
* Add <ol> to the list of block elements for doBlockLevels; avoids <p>s being interspersed into your ordered lists.
Since this doesn't have larger consequences, I'm checking this in before the bigger Sanitizer parts of the bug 5497 fix.

18 years agoTypo in a parser test case
Anders Wegge Jakobsen [Sun, 4 Jun 2006 01:37:58 +0000 (01:37 +0000)]
Typo in a parser test case

18 years agoProdding the sore toe: Another pathological parser test case
Anders Wegge Jakobsen [Sun, 4 Jun 2006 01:30:39 +0000 (01:30 +0000)]
Prodding the sore toe: Another pathological parser test case

18 years agoAdded $wgNamespaceRobotPolicies to allow customisation of robot policies on a per...
Tim Starling [Sun, 4 Jun 2006 00:25:53 +0000 (00:25 +0000)]
Added $wgNamespaceRobotPolicies to allow customisation of robot policies on a per-namespace basis.

18 years ago* Updates from ZeiP
Niklas Laxström [Sat, 3 Jun 2006 22:49:15 +0000 (22:49 +0000)]
* Updates from ZeiP

18 years agoIn fixSlaveDesync.php, don't check slaves that have zero load.
Tim Starling [Sat, 3 Jun 2006 22:20:31 +0000 (22:20 +0000)]
In fixSlaveDesync.php, don't check slaves that have zero load.

18 years ago* I must have been smoking something
Niklas Laxström [Sat, 3 Jun 2006 21:55:35 +0000 (21:55 +0000)]
* I must have been smoking something

18 years ago* (bug 6114) Update to Walloon localization (wa)
Niklas Laxström [Sat, 3 Jun 2006 21:31:00 +0000 (21:31 +0000)]
* (bug 6114) Update to Walloon localization (wa)

18 years ago* Updates to Wallon localization (wa)
Niklas Laxström [Sat, 3 Jun 2006 20:51:41 +0000 (20:51 +0000)]
* Updates to Wallon localization (wa)

18 years ago* (bug 6191) Update to Indonesian translation (id) #18
Niklas Laxström [Sat, 3 Jun 2006 18:36:00 +0000 (18:36 +0000)]
* (bug 6191) Update to Indonesian translation (id) #18

18 years ago* Updates from Broken Arrow
Niklas Laxström [Sat, 3 Jun 2006 18:09:46 +0000 (18:09 +0000)]
* Updates from Broken Arrow

18 years ago* (bug 6170) Update for Kashubian translation (csb)
Niklas Laxström [Sat, 3 Jun 2006 17:36:48 +0000 (17:36 +0000)]
* (bug 6170) Update for Kashubian translation (csb)

18 years ago* (bug 6004) Update for Polish language (pl)
Niklas Laxström [Sat, 3 Jun 2006 17:30:46 +0000 (17:30 +0000)]
* (bug 6004) Update for Polish language (pl)

18 years ago(bug 6184) Use shinier Linker::userLink() to make user links in Special:Undelete
Rob Church [Sat, 3 Jun 2006 12:57:51 +0000 (12:57 +0000)]
(bug 6184) Use shinier Linker::userLink() to make user links in Special:Undelete

18 years agoTesting tool to dump out rendered HTML of page input from an XML dump.
Brion Vibber [Sat, 3 Jun 2006 08:50:22 +0000 (08:50 +0000)]
Testing tool to dump out rendered HTML of page input from an XML dump.
Not suitable for publishing or offline use (as dumpHTML.php is intended),
this is just for comparitive parser testing using real-world data.

18 years agoCorrections to a couple of HTML test cases
Brion Vibber [Sat, 3 Jun 2006 07:34:54 +0000 (07:34 +0000)]
Corrections to a couple of HTML test cases

18 years ago* Fix fatal error when specifying illegal name for manual thumbnail
Brion Vibber [Sat, 3 Jun 2006 00:24:04 +0000 (00:24 +0000)]
* Fix fatal error when specifying illegal name for manual thumbnail

18 years agoBug 6171: Sanitizing of HTML-elements with optional end tags.
Anders Wegge Jakobsen [Sat, 3 Jun 2006 00:01:01 +0000 (00:01 +0000)]
Bug 6171: Sanitizing of HTML-elements with optional end tags.

18 years agoSome more microoptimizations on the new definition list code. Now only about 4x slowe...
Brion Vibber [Fri, 2 Jun 2006 23:56:19 +0000 (23:56 +0000)]
Some more microoptimizations on the new definition list code. Now only about 4x slower than the old code instead of 6x.

18 years ago* Improve handling of ;: definition list construct with overlapping or nested HTML...
Brion Vibber [Fri, 2 Jun 2006 20:54:34 +0000 (20:54 +0000)]
* Improve handling of ;: definition list construct with overlapping or nested HTML tags

18 years ago* New message sp-newimages-showfrom replaces rclistfrom on special:newimages
Niklas Laxström [Fri, 2 Jun 2006 17:06:48 +0000 (17:06 +0000)]
* New message sp-newimages-showfrom replaces rclistfrom on special:newimages

18 years agoHackaround for IE 7 wrapping bug in MonoBook footer
Brion Vibber [Fri, 2 Jun 2006 05:51:33 +0000 (05:51 +0000)]
Hackaround for IE 7 wrapping bug in MonoBook footer

18 years ago* (bug 6164) Fix regression with <gallery> resetting <ref> state
Brion Vibber [Thu, 1 Jun 2006 21:22:05 +0000 (21:22 +0000)]
* (bug 6164) Fix regression with <gallery> resetting <ref> state

18 years agoFix regressions in parser with incomplete tag stripping, plus some old bugs:
Brion Vibber [Thu, 1 Jun 2006 19:38:14 +0000 (19:38 +0000)]
Fix regressions in parser with incomplete tag stripping, plus some old bugs:
* (bug 885) Pre-save transform no longer silently appends close tags
* Pre-save transform no longer changes the case of close tags

18 years agoRegression test for unclosed final comment
Brion Vibber [Thu, 1 Jun 2006 19:28:55 +0000 (19:28 +0000)]
Regression test for unclosed final comment

18 years agothat's what i get for committing tests at 1:30am
Brion Vibber [Thu, 1 Jun 2006 18:14:28 +0000 (18:14 +0000)]
that's what i get for committing tests at 1:30am

18 years agoRegression test for unclosed comments in extension tags
Brion Vibber [Thu, 1 Jun 2006 18:09:35 +0000 (18:09 +0000)]
Regression test for unclosed comments in extension tags

18 years ago* Updates from Rotem
Niklas Laxström [Thu, 1 Jun 2006 17:29:01 +0000 (17:29 +0000)]
* Updates from Rotem

18 years ago* (bug 5962) Update for Italian language (it)
Niklas Laxström [Thu, 1 Jun 2006 14:43:47 +0000 (14:43 +0000)]
* (bug 5962) Update for Italian language (it)

18 years agoRegression with funny spellings of <matH>
Brion Vibber [Thu, 1 Jun 2006 08:31:12 +0000 (08:31 +0000)]
Regression with funny spellings of <matH>

18 years agoFix regression with unclosed extension tags.
Brion Vibber [Thu, 1 Jun 2006 08:24:22 +0000 (08:24 +0000)]
Fix regression with unclosed extension tags.
Behavior is still silly (PST adds an end tag) but matches prior behavior until fix is made.

18 years agoAdd a couple pre-save transform tests
Brion Vibber [Thu, 1 Jun 2006 08:21:42 +0000 (08:21 +0000)]
Add a couple pre-save transform tests

18 years agoRevert to r14512; domas introduced massive breakage with incomplete experimental...
Brion Vibber [Thu, 1 Jun 2006 08:19:02 +0000 (08:19 +0000)]
Revert to r14512; domas introduced massive breakage with incomplete experimental changes. They will be recommitted when they work. :)