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.
Anders Wegge Jakobsen [Sun, 4 Jun 2006 01:37:58 +0000 (01:37 +0000)]
Typo in a 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
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.
Niklas Laxström [Sat, 3 Jun 2006 22:49:15 +0000 (22:49 +0000)]
* Updates from ZeiP
Tim Starling [Sat, 3 Jun 2006 22:20:31 +0000 (22:20 +0000)]
In fixSlaveDesync.php, don't check slaves that have zero load.
Niklas Laxström [Sat, 3 Jun 2006 21:55:35 +0000 (21:55 +0000)]
* I must have been smoking something
Niklas Laxström [Sat, 3 Jun 2006 21:31:00 +0000 (21:31 +0000)]
* (bug 6114) Update to Walloon localization (wa)
Niklas Laxström [Sat, 3 Jun 2006 20:51:41 +0000 (20:51 +0000)]
* Updates to Wallon localization (wa)
Niklas Laxström [Sat, 3 Jun 2006 18:36:00 +0000 (18:36 +0000)]
* (bug 6191) Update to Indonesian translation (id) #18
Niklas Laxström [Sat, 3 Jun 2006 18:09:46 +0000 (18:09 +0000)]
* Updates from Broken Arrow
Niklas Laxström [Sat, 3 Jun 2006 17:36:48 +0000 (17:36 +0000)]
* (bug 6170) Update for Kashubian translation (csb)
Niklas Laxström [Sat, 3 Jun 2006 17:30:46 +0000 (17:30 +0000)]
* (bug 6004) Update for Polish language (pl)
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
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.
Brion Vibber [Sat, 3 Jun 2006 07:34:54 +0000 (07:34 +0000)]
Corrections to a couple of HTML test cases
Brion Vibber [Sat, 3 Jun 2006 00:24:04 +0000 (00:24 +0000)]
* Fix fatal error when specifying illegal name for manual thumbnail
Anders Wegge Jakobsen [Sat, 3 Jun 2006 00:01:01 +0000 (00:01 +0000)]
Bug 6171: Sanitizing of HTML-elements with optional end tags.
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.
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
Niklas Laxström [Fri, 2 Jun 2006 17:06:48 +0000 (17:06 +0000)]
* New message sp-newimages-showfrom replaces rclistfrom on special:newimages
Brion Vibber [Fri, 2 Jun 2006 05:51:33 +0000 (05:51 +0000)]
Hackaround for IE 7 wrapping bug in MonoBook footer
Brion Vibber [Thu, 1 Jun 2006 21:22:05 +0000 (21:22 +0000)]
* (bug 6164) Fix regression with <gallery> resetting <ref> state
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
Brion Vibber [Thu, 1 Jun 2006 19:28:55 +0000 (19:28 +0000)]
Regression test for unclosed final comment
Brion Vibber [Thu, 1 Jun 2006 18:14:28 +0000 (18:14 +0000)]
that's what i get for committing tests at 1:30am
Brion Vibber [Thu, 1 Jun 2006 18:09:35 +0000 (18:09 +0000)]
Regression test for unclosed comments in extension tags
Niklas Laxström [Thu, 1 Jun 2006 17:29:01 +0000 (17:29 +0000)]
* Updates from Rotem
Niklas Laxström [Thu, 1 Jun 2006 14:43:47 +0000 (14:43 +0000)]
* (bug 5962) Update for Italian language (it)
Brion Vibber [Thu, 1 Jun 2006 08:31:12 +0000 (08:31 +0000)]
Regression with funny spellings of <matH>
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.
Brion Vibber [Thu, 1 Jun 2006 08:21:42 +0000 (08:21 +0000)]
Add a couple pre-save transform tests
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. :)
Domas Mituzas [Thu, 1 Jun 2006 08:12:49 +0000 (08:12 +0000)]
add global declarations
Domas Mituzas [Thu, 1 Jun 2006 08:02:47 +0000 (08:02 +0000)]
fix class_exists() for not existing classes
Domas Mituzas [Thu, 1 Jun 2006 07:22:49 +0000 (07:22 +0000)]
Use AutoLoader to load classes:
* remove require_once() throughout whole code, yet left in few places
* move global functions in HttpUtils, ProxyTools, Credits to class methods
* php5 only: __autoload() now used, combined with class->file map and require()
* move initialization of $wgValidSkinNames to Skin::getSkinNames()
* few more changes that will surely break stuff.
Brion Vibber [Thu, 1 Jun 2006 06:41:32 +0000 (06:41 +0000)]
Fix for DynamicPageList, which registers a mixed-case tag name.
The new system needs tag names to be case-folded internally so
that tags are properly case-insensitive.
Brion Vibber [Thu, 1 Jun 2006 06:16:55 +0000 (06:16 +0000)]
* (bug 5384) Fix <!-- comments --> in <ref> extension
* Nesting of different tag extensions and comments should now work more
consistently and more safely. A cleaner, one-pass tag strip lets the
'outer' tag either take source (<nowiki>-style) or pass it down to
further parsing (<ref>-style). There should no longer be surprise
expansion of foreign extensions inside HTML output, or differences
in behavior based on the order tags are loaded.
Brion Vibber [Thu, 1 Jun 2006 05:56:41 +0000 (05:56 +0000)]
Regression test for <pre><nowiki>...</nowiki></pre> behavior
Brion Vibber [Thu, 1 Jun 2006 04:35:19 +0000 (04:35 +0000)]
* Fix oddity with open tag parameters getting stuck on </li>
Brion Vibber [Thu, 1 Jun 2006 04:00:41 +0000 (04:00 +0000)]
* parserTests.php accepts a --file parameter to run an alternate test sutie
* parser tests can now test extensions using !!hooks sections
Rob Church [Thu, 1 Jun 2006 00:17:23 +0000 (00:17 +0000)]
When showing the "blah has been undeleted" page, make sure it's a blue link
Brion Vibber [Wed, 31 May 2006 23:56:41 +0000 (23:56 +0000)]
* (bug 5527) Batch up job queue insertions for, hopefully, better survivability
of lock contention etc. Duplicates are now removed at pop time instead of
at insert time.
Niklas Laxström [Wed, 31 May 2006 20:39:14 +0000 (20:39 +0000)]
* Reverting BiDi changes because there were some problems left
Niklas Laxström [Wed, 31 May 2006 19:08:17 +0000 (19:08 +0000)]
* Correct direction for special pages
Brion Vibber [Wed, 31 May 2006 19:06:04 +0000 (19:06 +0000)]
Remove stray "the" which breaks everything evar
Niklas Laxström [Wed, 31 May 2006 19:00:13 +0000 (19:00 +0000)]
* More fixes to the lists
Rob Church [Wed, 31 May 2006 18:57:41 +0000 (18:57 +0000)]
Small grammatical update
Niklas Laxström [Wed, 31 May 2006 16:00:25 +0000 (16:00 +0000)]
* Fix list indendation
Niklas Laxström [Wed, 31 May 2006 15:19:40 +0000 (15:19 +0000)]
* (bug 6100) BiDi: different directionality for user interface and wiki content (core parts of the patch)
Brion Vibber [Wed, 31 May 2006 08:05:38 +0000 (08:05 +0000)]
* (bug 6126) Allow fallback to customized primary language when user language
message contains '-'; fixes licenses selector on Commons configuration after
recent addition of the message to Messages.php
Erik Moeller [Wed, 31 May 2006 07:29:02 +0000 (07:29 +0000)]
fix magic => section links (from edit summaries) to sections that have links of the type [[:Image:Foo.jpg]] in their title
Rob Church [Wed, 31 May 2006 01:41:36 +0000 (01:41 +0000)]
(bug 3926) Introduce {{#language:}} magic word
Rob Church [Wed, 31 May 2006 01:08:41 +0000 (01:08 +0000)]
(bug 4940) $action uninitialised
Rob Church [Wed, 31 May 2006 00:57:06 +0000 (00:57 +0000)]
(bug 5127) Auto edit summary when creating redirect page
Jens Frank [Tue, 30 May 2006 22:06:04 +0000 (22:06 +0000)]
bug 6125 Add links to edit old versions to diff views
Niklas Laxström [Tue, 30 May 2006 19:38:20 +0000 (19:38 +0000)]
* (bug 6106) Update to Indonesian localisation (id) #17
Rob Church [Tue, 30 May 2006 14:52:43 +0000 (14:52 +0000)]
Add /usr/local/bin to the diff3 search paths in the installer
Niklas Laxström [Tue, 30 May 2006 13:07:17 +0000 (13:07 +0000)]
* Update to Japanese localization (ja)
Niklas Laxström [Tue, 30 May 2006 12:38:07 +0000 (12:38 +0000)]
* Added static keywords to functions which were declared static in comments
Niklas Laxström [Tue, 30 May 2006 12:28:07 +0000 (12:28 +0000)]
* (bug 6136) Update to Catalan language (ca)
Brion Vibber [Tue, 30 May 2006 07:41:27 +0000 (07:41 +0000)]
* (bug 6139) Workaround for transclusion oddities in Vietnamese upload text
Niklas Laxström [Mon, 29 May 2006 23:53:18 +0000 (23:53 +0000)]
* Commenting out messages which cannot be used as they are now
Niklas Laxström [Mon, 29 May 2006 23:46:02 +0000 (23:46 +0000)]
* Ugh, no globals in messages please
Brion Vibber [Mon, 29 May 2006 23:02:21 +0000 (23:02 +0000)]
* (bug 6133) Update strip state as we work. This mostly fixes extensions
used in Cite.php <ref> tags when Tidy is on.
Niklas Laxström [Mon, 29 May 2006 22:16:27 +0000 (22:16 +0000)]
* Fixed the global in broken version, no more warnings
Brion Vibber [Mon, 29 May 2006 21:56:43 +0000 (21:56 +0000)]
Revert to r13936; r14440 version was completely broken.
Niklas Laxström [Mon, 29 May 2006 20:31:47 +0000 (20:31 +0000)]
* Removed some Old code
Niklas Laxström [Mon, 29 May 2006 20:24:37 +0000 (20:24 +0000)]
* Massmurdering tabs
Niklas Laxström [Mon, 29 May 2006 19:34:30 +0000 (19:34 +0000)]
* Improper quoting
Domas Mituzas [Mon, 29 May 2006 11:43:51 +0000 (11:43 +0000)]
Add APC to installer, note in relnotes..
Domas Mituzas [Mon, 29 May 2006 11:34:33 +0000 (11:34 +0000)]
Now it is faster :-)
Domas Mituzas [Mon, 29 May 2006 06:54:45 +0000 (06:54 +0000)]
some more fixes for terribly broken quoting
Brion Vibber [Mon, 29 May 2006 06:25:22 +0000 (06:25 +0000)]
* Remove hideous backslashes from MessagesBr.php
Domas Mituzas [Mon, 29 May 2006 06:13:13 +0000 (06:13 +0000)]
what crack was I on?
Domas Mituzas [Mon, 29 May 2006 05:49:03 +0000 (05:49 +0000)]
MessageCachePHP: throw out stupid RE, use simple str_replace's
Brion Vibber [Mon, 29 May 2006 05:29:27 +0000 (05:29 +0000)]
Fix microtime breakage
Rob Church [Sun, 28 May 2006 23:11:41 +0000 (23:11 +0000)]
(bug 4033) Respect $wgStyleDirectory when checking available skins
Rob Church [Sun, 28 May 2006 22:02:06 +0000 (22:02 +0000)]
Vanity/crediting self.
Rob Church [Sun, 28 May 2006 21:59:03 +0000 (21:59 +0000)]
(bug 6040) Run pre-save transform before calculating the diff. when doing a "show changes" operation in the editor
Rob Church [Sun, 28 May 2006 21:45:53 +0000 (21:45 +0000)]
Pass a second parameter to "nogomatch" containing the search terms minus the preceding colon, allowing prettied-up messages
Domas Mituzas [Sun, 28 May 2006 21:35:25 +0000 (21:35 +0000)]
vanity commit + documenting:
* Use optimized php5-only microtime()
* Add possibility to store local message cache as PHP executable script
* Fix profiling table definition
Rob Church [Sun, 28 May 2006 21:30:43 +0000 (21:30 +0000)]
(bug 6099) Introduce {{DIRECTIONMARK}} magic word (with {{DIRMARK}} as an alias)
Domas Mituzas [Sun, 28 May 2006 21:25:03 +0000 (21:25 +0000)]
microtime(true) instead of slow php4 hacks
Niklas Laxström [Sun, 28 May 2006 19:31:56 +0000 (19:31 +0000)]
* Update to Albanian localization (sq)
* Thanks to dori
Domas Mituzas [Sun, 28 May 2006 18:29:42 +0000 (18:29 +0000)]
Allow storing local message cache as PHP source instead of serialized array, this way opcode cache is enjoyed :-) Might be not that secure, so disabled by default.
Niklas Laxström [Sun, 28 May 2006 18:27:07 +0000 (18:27 +0000)]
* Undefined variable...
Rob Church [Sun, 28 May 2006 18:15:36 +0000 (18:15 +0000)]
Updates to German localisation
Domas Mituzas [Sun, 28 May 2006 17:05:22 +0000 (17:05 +0000)]
Added proper pf_server definition to table, enabled to turn on/off per-app-server profiling
Domas Mituzas [Sun, 28 May 2006 16:52:44 +0000 (16:52 +0000)]
Brag about added APC cache
Domas Mituzas [Sun, 28 May 2006 16:44:16 +0000 (16:44 +0000)]
Add APC shared memory caching support, for those who desperately need it.
It doesn't mean that it is any faster than MySQL-based object cache %)
Jens Frank [Sun, 28 May 2006 13:06:48 +0000 (13:06 +0000)]
(bug 1017) fix thumbnails of animated gifs
Brion Vibber [Sun, 28 May 2006 10:08:05 +0000 (10:08 +0000)]
* (bug 6117) Use message for history feed description, add German localization
Patch by Jimmy Collins, http://bugzilla.wikimedia.org/attachment.cgi?id=1847
Brion Vibber [Sun, 28 May 2006 09:31:04 +0000 (09:31 +0000)]
Had to revert the changes in r14424 / r14427 due to massive side-effect breakage on zh.wikipedia.org:
* Move parameter replacement before brace transformations in most of the
wfMsg() family (except for wfMsgHtml). This allows things like {{plural:}},
{{urlencode:}}, and {{fullurl:}} to be used in most cases correctly.
The content or UI language will be used accordingly for (forContent)?.
* Work around glitch with the above in {{int:}}; skip redundant transformations,
allow the including parser to do it.
* Fix {{int:}} to use content language, so it won't break caches and links
tables and randomly include data from the wrong language.
Uncertain what the cause is of the breakage, I have a hard time duplicating it
and it looks massively wrong (should not be possible). Failure on Parser.php
line 590, claims var not array, but the check two lines above ensures that
it is first...
Brion Vibber [Sun, 28 May 2006 09:07:42 +0000 (09:07 +0000)]
Change the method used to reverse arrays on unstrip of nowiki and html.
Did similar for other unstrip a while ago because it started mysteriously
blowing up; now getting mysteriuos blowups on these too, not sure why.
Only seems ot be affecting zhwiki for some reason
Brion Vibber [Sun, 28 May 2006 03:59:18 +0000 (03:59 +0000)]
Use separate history-feed-title message for the feed, since people like putting links and crud into the subtitle message.
Brion Vibber [Sun, 28 May 2006 03:47:28 +0000 (03:47 +0000)]
* (bug 472) Syndication feeds for the last few edits of page history
* Format edit comments in Recent Changes feed
* Switch incorrectly ordered column headers on Recent Changes feed diffs
Brion Vibber [Sun, 28 May 2006 01:56:21 +0000 (01:56 +0000)]
* Work around glitch with the above in {{int:}}; skip redundant transformations,
allow the including parser to do it.
* Fix {{int:}} to use content language, so it won't break caches and links
tables and randomly include data from the wrong language.
Brion Vibber [Sun, 28 May 2006 00:21:40 +0000 (00:21 +0000)]
Tweak bug 4598 with more sanity checks for cases
Brion Vibber [Sun, 28 May 2006 00:02:24 +0000 (00:02 +0000)]
Add parser tests for bug 4598 ('' in link title)