lhc/web/wiklou.git
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. :)

18 years agoadd global declarations
Domas Mituzas [Thu, 1 Jun 2006 08:12:49 +0000 (08:12 +0000)]
add global declarations

18 years agofix class_exists() for not existing classes
Domas Mituzas [Thu, 1 Jun 2006 08:02:47 +0000 (08:02 +0000)]
fix class_exists() for not existing classes

18 years agoUse AutoLoader to load 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.

18 years agoFix for DynamicPageList, which registers a mixed-case tag name.
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.

18 years ago* (bug 5384) Fix <!-- comments --> in <ref> extension
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.

18 years agoRegression test for <pre><nowiki>...</nowiki></pre> behavior
Brion Vibber [Thu, 1 Jun 2006 05:56:41 +0000 (05:56 +0000)]
Regression test for <pre><nowiki>...</nowiki></pre> behavior

18 years ago* Fix oddity with open tag parameters getting stuck on </li>
Brion Vibber [Thu, 1 Jun 2006 04:35:19 +0000 (04:35 +0000)]
* Fix oddity with open tag parameters getting stuck on </li>

18 years ago* parserTests.php accepts a --file parameter to run an alternate test sutie
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

18 years agoWhen showing the "blah has been undeleted" page, make sure it's a blue link
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

18 years ago* (bug 5527) Batch up job queue insertions for, hopefully, better survivability
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.

18 years ago* Reverting BiDi changes because there were some problems left
Niklas Laxström [Wed, 31 May 2006 20:39:14 +0000 (20:39 +0000)]
* Reverting BiDi changes because there were some problems left

18 years ago* Correct direction for special pages
Niklas Laxström [Wed, 31 May 2006 19:08:17 +0000 (19:08 +0000)]
* Correct direction for special pages

18 years agoRemove stray "the" which breaks everything evar
Brion Vibber [Wed, 31 May 2006 19:06:04 +0000 (19:06 +0000)]
Remove stray "the" which breaks everything evar

18 years ago* More fixes to the lists
Niklas Laxström [Wed, 31 May 2006 19:00:13 +0000 (19:00 +0000)]
* More fixes to the lists

18 years agoSmall grammatical update
Rob Church [Wed, 31 May 2006 18:57:41 +0000 (18:57 +0000)]
Small grammatical update

18 years ago* Fix list indendation
Niklas Laxström [Wed, 31 May 2006 16:00:25 +0000 (16:00 +0000)]
* Fix list indendation

18 years ago* (bug 6100) BiDi: different directionality for user interface and wiki content ...
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)

18 years ago* (bug 6126) Allow fallback to customized primary language when user language
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

18 years agofix magic => section links (from edit summaries) to sections that have links of the...
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

18 years ago(bug 3926) Introduce {{#language:}} magic word
Rob Church [Wed, 31 May 2006 01:41:36 +0000 (01:41 +0000)]
(bug 3926) Introduce {{#language:}} magic word

18 years ago(bug 4940) $action uninitialised
Rob Church [Wed, 31 May 2006 01:08:41 +0000 (01:08 +0000)]
(bug 4940) $action uninitialised

18 years ago(bug 5127) Auto edit summary when creating redirect page
Rob Church [Wed, 31 May 2006 00:57:06 +0000 (00:57 +0000)]
(bug 5127) Auto edit summary when creating redirect page

18 years agobug 6125 Add links to edit old versions to diff views
Jens Frank [Tue, 30 May 2006 22:06:04 +0000 (22:06 +0000)]
bug 6125 Add links to edit old versions to diff views

18 years ago* (bug 6106) Update to Indonesian localisation (id) #17
Niklas Laxström [Tue, 30 May 2006 19:38:20 +0000 (19:38 +0000)]
* (bug 6106) Update to Indonesian localisation (id) #17

18 years agoAdd /usr/local/bin to the diff3 search paths in the installer
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

18 years ago* Update to Japanese localization (ja)
Niklas Laxström [Tue, 30 May 2006 13:07:17 +0000 (13:07 +0000)]
* Update to Japanese localization (ja)

18 years ago* Added static keywords to functions which were declared static in comments
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

18 years ago* (bug 6136) Update to Catalan language (ca)
Niklas Laxström [Tue, 30 May 2006 12:28:07 +0000 (12:28 +0000)]
* (bug 6136) Update to Catalan language (ca)

18 years ago* (bug 6139) Workaround for transclusion oddities in Vietnamese upload text
Brion Vibber [Tue, 30 May 2006 07:41:27 +0000 (07:41 +0000)]
* (bug 6139) Workaround for transclusion oddities in Vietnamese upload text

18 years ago* Commenting out messages which cannot be used as they are now
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

18 years ago* Ugh, no globals in messages please
Niklas Laxström [Mon, 29 May 2006 23:46:02 +0000 (23:46 +0000)]
* Ugh, no globals in messages please

18 years ago* (bug 6133) Update strip state as we work. This mostly fixes extensions
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.

18 years ago* Fixed the global in broken version, no more warnings
Niklas Laxström [Mon, 29 May 2006 22:16:27 +0000 (22:16 +0000)]
* Fixed the global in broken version, no more warnings

18 years agoRevert to r13936; r14440 version was completely broken.
Brion Vibber [Mon, 29 May 2006 21:56:43 +0000 (21:56 +0000)]
Revert to r13936; r14440 version was completely broken.

18 years ago* Removed some Old code
Niklas Laxström [Mon, 29 May 2006 20:31:47 +0000 (20:31 +0000)]
* Removed some Old code

18 years ago* Massmurdering tabs
Niklas Laxström [Mon, 29 May 2006 20:24:37 +0000 (20:24 +0000)]
* Massmurdering tabs

18 years ago* Improper quoting
Niklas Laxström [Mon, 29 May 2006 19:34:30 +0000 (19:34 +0000)]
* Improper quoting

18 years agoAdd APC to installer, note in relnotes..
Domas Mituzas [Mon, 29 May 2006 11:43:51 +0000 (11:43 +0000)]
Add APC to installer, note in relnotes..

18 years agoNow it is faster :-)
Domas Mituzas [Mon, 29 May 2006 11:34:33 +0000 (11:34 +0000)]
Now it is faster :-)

18 years agosome more fixes for terribly broken quoting
Domas Mituzas [Mon, 29 May 2006 06:54:45 +0000 (06:54 +0000)]
some more fixes for terribly broken quoting

18 years ago* Remove hideous backslashes from MessagesBr.php
Brion Vibber [Mon, 29 May 2006 06:25:22 +0000 (06:25 +0000)]
* Remove hideous backslashes from MessagesBr.php

18 years agowhat crack was I on?
Domas Mituzas [Mon, 29 May 2006 06:13:13 +0000 (06:13 +0000)]
what crack was I on?

18 years agoMessageCachePHP: throw out stupid RE, use simple str_replace's
Domas Mituzas [Mon, 29 May 2006 05:49:03 +0000 (05:49 +0000)]
MessageCachePHP: throw out stupid RE, use simple str_replace's

18 years agoFix microtime breakage
Brion Vibber [Mon, 29 May 2006 05:29:27 +0000 (05:29 +0000)]
Fix microtime breakage

18 years ago(bug 4033) Respect $wgStyleDirectory when checking available skins
Rob Church [Sun, 28 May 2006 23:11:41 +0000 (23:11 +0000)]
(bug 4033) Respect $wgStyleDirectory when checking available skins

18 years agoVanity/crediting self.
Rob Church [Sun, 28 May 2006 22:02:06 +0000 (22:02 +0000)]
Vanity/crediting self.

18 years ago(bug 6040) Run pre-save transform before calculating the diff. when doing a "show...
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

18 years agoPass a second parameter to "nogomatch" containing the search terms minus the precedin...
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

18 years agovanity commit + documenting:
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

18 years ago(bug 6099) Introduce {{DIRECTIONMARK}} magic word (with {{DIRMARK}} as an alias)
Rob Church [Sun, 28 May 2006 21:30:43 +0000 (21:30 +0000)]
(bug 6099) Introduce {{DIRECTIONMARK}} magic word (with {{DIRMARK}} as an alias)

18 years agomicrotime(true) instead of slow php4 hacks
Domas Mituzas [Sun, 28 May 2006 21:25:03 +0000 (21:25 +0000)]
microtime(true) instead of slow php4 hacks

18 years ago* Update to Albanian localization (sq)
Niklas Laxström [Sun, 28 May 2006 19:31:56 +0000 (19:31 +0000)]
* Update to Albanian localization (sq)
* Thanks to dori

18 years agoAllow storing local message cache as PHP source instead of serialized array, this...
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.

18 years ago* Undefined variable...
Niklas Laxström [Sun, 28 May 2006 18:27:07 +0000 (18:27 +0000)]
* Undefined variable...

18 years agoUpdates to German localisation
Rob Church [Sun, 28 May 2006 18:15:36 +0000 (18:15 +0000)]
Updates to German localisation

18 years agoAdded proper pf_server definition to table, enabled to turn on/off per-app-server...
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

18 years agoBrag about added APC cache
Domas Mituzas [Sun, 28 May 2006 16:52:44 +0000 (16:52 +0000)]
Brag about added APC cache

18 years agoAdd APC shared memory caching support, for those who desperately need it.
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 %)

18 years ago(bug 1017) fix thumbnails of animated gifs
Jens Frank [Sun, 28 May 2006 13:06:48 +0000 (13:06 +0000)]
(bug 1017) fix thumbnails of animated gifs

18 years ago* (bug 6117) Use message for history feed description, add German localization
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

18 years agoHad to revert the changes in r14424 / r14427 due to massive side-effect breakage...
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...

18 years agoChange the method used to reverse arrays on unstrip of nowiki and html.
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

18 years agoUse separate history-feed-title message for the feed, since people like putting links...
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.

18 years ago* (bug 472) Syndication feeds for the last few edits of page history
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

18 years ago* Work around glitch with the above in {{int:}}; skip redundant transformations,
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.

18 years agoTweak bug 4598 with more sanity checks for cases
Brion Vibber [Sun, 28 May 2006 00:21:40 +0000 (00:21 +0000)]
Tweak bug 4598 with more sanity checks for cases

18 years agoAdd parser tests for bug 4598 ('' in link title)
Brion Vibber [Sun, 28 May 2006 00:02:24 +0000 (00:02 +0000)]
Add parser tests for bug 4598 ('' in link title)

18 years agoMove parameter replacement before brace transformations in most of the wfMsg() family...
Brion Vibber [Sat, 27 May 2006 23:25:32 +0000 (23:25 +0000)]
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)?.

18 years ago* Replace fatally changed 'uploadnewversion' with 'uploadnewversion-linktext'
Brion Vibber [Sat, 27 May 2006 19:11:29 +0000 (19:11 +0000)]
* Replace fatally changed 'uploadnewversion' with 'uploadnewversion-linktext'
Fixes '$1' in the reupload message on existing wikis

18 years ago* (bug 5862) Update of Belarusian language (be)
Niklas Laxström [Sat, 27 May 2006 16:00:35 +0000 (16:00 +0000)]
* (bug 5862) Update of Belarusian language (be)

18 years ago* <br/> -> <br />
Niklas Laxström [Sat, 27 May 2006 14:31:29 +0000 (14:31 +0000)]
* <br/> -> <br />

18 years ago(bug5077) added BeforePageDisplay hook
Jens Frank [Sat, 27 May 2006 08:23:05 +0000 (08:23 +0000)]
(bug5077) added BeforePageDisplay hook