lhc/web/wiklou.git
20 years agoLoad balancing enabled in places where it's thought to be reasonably safe
Tim Starling [Sat, 10 Jul 2004 01:05:36 +0000 (01:05 +0000)]
Load balancing enabled in places where it's thought to be reasonably safe

20 years agoLinksUpdate uses SELECT FOR UPDATE, thus starting a new transaction. So we have to...
Jens Frank [Fri, 9 Jul 2004 17:37:03 +0000 (17:37 +0000)]
LinksUpdate uses SELECT FOR UPDATE, thus starting a new transaction. So we have to call COMMIT for it. The big BEGIN...COMMIT loop of the action=...-switch() doesn't catch the wgDeferredUpdateList.

20 years agoDisabling info action for now, would kill suda if we put it live and we can't have...
Tim Starling [Fri, 9 Jul 2004 11:42:24 +0000 (11:42 +0000)]
Disabling info action for now, would kill suda if we put it live and we can't have that happening

20 years agoSpecial:Allpages now has a "next page" and a "back to index" link
Arne Heizmann [Thu, 8 Jul 2004 16:50:22 +0000 (16:50 +0000)]
Special:Allpages now has a "next page" and a "back to index" link

20 years agoAt some point I renamed the options category that was called "Textbox dimensions" to
Arne Heizmann [Thu, 8 Jul 2004 15:44:41 +0000 (15:44 +0000)]
At some point I renamed the options category that was called "Textbox dimensions" to
"Editing", because most of the options in it weren't specific to the size of the textbox.
Apparently this change made it into Language.php, so here I'm making the same change to the
other language files. It would be nice if translators could make the necessary changes to the
translations too.

20 years agoI thought I committed this?
Arne Heizmann [Thu, 8 Jul 2004 15:41:45 +0000 (15:41 +0000)]
I thought I committed this?

20 years agoForgot to commit this. This is part of Josh Cogliati's &action=info feature.
Arne Heizmann [Thu, 8 Jul 2004 15:40:27 +0000 (15:40 +0000)]
Forgot to commit this. This is part of Josh Cogliati's &action=info feature.

20 years agoThis commit implements Josh Cogliati's "info" feature (e.g.
Arne Heizmann [Thu, 8 Jul 2004 14:53:54 +0000 (14:53 +0000)]
This commit implements Josh Cogliati's "info" feature (e.g.
http://en.wikipedia.org/w/wiki.phtml?title=Wikipedia&action=info), fixes the page headings
for protect/unprotect, and does a lot of whitespace changes (sorry about that). I've also
fixed confusing indentation somewhere.

20 years agoSome updates to make it friendlier to non-Wikimedia sites.
Jerome Jamnicky [Tue, 6 Jul 2004 00:25:10 +0000 (00:25 +0000)]
Some updates to make it friendlier to non-Wikimedia sites.
Removed obsolete code and $patterns.
Changed include to commandLine.inc from the obsolete liveCmdline.inc.

20 years agolinks from one version to the other, typo fix
Gabriel Wicke [Mon, 5 Jul 2004 22:05:28 +0000 (22:05 +0000)]
links from one version to the other, typo fix

20 years agodefault to php as it's faster. TODO: add link to \&ot=html version
Gabriel Wicke [Mon, 5 Jul 2004 21:45:21 +0000 (21:45 +0000)]
default to php as it's faster. TODO: add link to \&ot=html version

20 years agoTweak to image upload message: show example image syntax that's ready for copy\&paste
Gabriel Wicke [Mon, 5 Jul 2004 21:26:35 +0000 (21:26 +0000)]
Tweak to image upload message: show example image syntax that's ready for copy\&paste

20 years agocomment update, stupid cvs commit bot test..
Gabriel Wicke [Mon, 5 Jul 2004 19:46:41 +0000 (19:46 +0000)]
comment update, stupid cvs commit bot test..

20 years agoINSERT IGNORE for dumpUpdate() as well
Tim Starling [Mon, 5 Jul 2004 07:05:48 +0000 (07:05 +0000)]
INSERT IGNORE for dumpUpdate() as well

20 years agoThe link cache is constructed without FOR UPDATE, so collisions in these insert state...
Tim Starling [Mon, 5 Jul 2004 03:02:47 +0000 (03:02 +0000)]
The link cache is constructed without FOR UPDATE, so collisions in these insert statements appear to be possible, and judging by the DB error log and reports of link table corruption, quite common. Ignoring errors prevents the wholesale failure of a link table update, although it's possible links which should have been removed may remain. Hence this is a temporary solution, a better solution may be to switch LinkCache to FOR UPDATE mode

20 years agoSelect for update when getting links to swap. Hopefully this will fix one cause of...
Tim Starling [Mon, 5 Jul 2004 02:57:44 +0000 (02:57 +0000)]
Select for update when getting links to swap. Hopefully this will fix one cause of key collision and hence link table corruption seen recently

20 years agoadd Last-Modified header
Gabriel Wicke [Sun, 4 Jul 2004 17:52:08 +0000 (17:52 +0000)]
add Last-Modified header

20 years agomore testing
Gabriel Wicke [Sat, 3 Jul 2004 23:50:49 +0000 (23:50 +0000)]
more testing

20 years agomore ws
Gabriel Wicke [Sat, 3 Jul 2004 23:32:41 +0000 (23:32 +0000)]
more ws

20 years agowhitespace..
Gabriel Wicke [Sat, 3 Jul 2004 23:27:00 +0000 (23:27 +0000)]
whitespace..

20 years agoanother whitespace change
Gabriel Wicke [Sat, 3 Jul 2004 23:24:44 +0000 (23:24 +0000)]
another whitespace change

20 years agowhitespace changes to test the irc bot
Gabriel Wicke [Sat, 3 Jul 2004 23:14:32 +0000 (23:14 +0000)]
whitespace changes to test the irc bot

20 years agoQuick fix for fulltext stopword list on mysql3. The include was moved into a function...
Brion Vibber [Sat, 3 Jul 2004 06:03:00 +0000 (06:03 +0000)]
Quick fix for fulltext stopword list on mysql3. The include was moved into a function, changing the scope of the definition.

20 years agoless space below headings
Gabriel Wicke [Fri, 2 Jul 2004 16:14:12 +0000 (16:14 +0000)]
less space below headings

20 years agoselector bug fix
Gabriel Wicke [Thu, 1 Jul 2004 15:48:07 +0000 (15:48 +0000)]
selector bug fix

20 years agoConducting a conversation by means of comments
Tim Starling [Thu, 1 Jul 2004 12:59:09 +0000 (12:59 +0000)]
Conducting a conversation by means of comments

20 years agoWith single ticks the $ may not be escaped
Jens Frank [Wed, 30 Jun 2004 19:46:56 +0000 (19:46 +0000)]
With single ticks the $ may not be escaped

20 years agoRightsIcon text was broken when included in "" during later processing
Jens Frank [Wed, 30 Jun 2004 18:27:26 +0000 (18:27 +0000)]
RightsIcon text was broken when included in "" during later processing

20 years ago<large> is not a real tag. It doesn't do anything and would cause
Brion Vibber [Wed, 30 Jun 2004 07:45:47 +0000 (07:45 +0000)]
<large> is not a real tag. It doesn't do anything and would cause
XHTML 1.0 transitional validation to fail, so chucking it.
(bug #981237)

20 years agoChange id='wpSave' to correct id='wpPreview' (bug #981868)
Brion Vibber [Wed, 30 Jun 2004 07:38:33 +0000 (07:38 +0000)]
Change id='wpSave' to correct id='wpPreview' (bug #981868)

20 years agoComment out method calls on a null $this object that killed thumbnail
Brion Vibber [Wed, 30 Jun 2004 06:54:56 +0000 (06:54 +0000)]
Comment out method calls on a null $this object that killed thumbnail
generation and perhaps other things on the live site.

20 years agoLimit squid purging
Tim Starling [Wed, 30 Jun 2004 03:39:48 +0000 (03:39 +0000)]
Limit squid purging

20 years agosquid debugging
Tim Starling [Wed, 30 Jun 2004 02:02:43 +0000 (02:02 +0000)]
squid debugging

20 years ago* use $wgStylePath in right icon (only for gfdl, still hardwired at install for cc)
Gabriel Wicke [Wed, 30 Jun 2004 00:05:14 +0000 (00:05 +0000)]
* use $wgStylePath in right icon (only for gfdl, still hardwired at install for cc)
* added myself to authors

20 years agoNew magic word __TOC__ that inserts the toc at the place it is found
Gabriel Wicke [Tue, 29 Jun 2004 23:59:30 +0000 (23:59 +0000)]
New magic word __TOC__ that inserts the toc at the place it is found
Implies __FORCETOC__

20 years agothumb tweaks synced
Gabriel Wicke [Tue, 29 Jun 2004 12:54:30 +0000 (12:54 +0000)]
thumb tweaks synced

20 years agoRemoved arbitrary change in timestamp formats between MySQL and PostgreSQL, moved...
Tim Starling [Tue, 29 Jun 2004 12:23:59 +0000 (12:23 +0000)]
Removed arbitrary change in timestamp formats between MySQL and PostgreSQL, moved global functions to GlobalFunctions

20 years agoadd [;] to french space character list
Guillaume Blanchard [Tue, 29 Jun 2004 10:38:55 +0000 (10:38 +0000)]
add [;] to french space character list

20 years agoThe interwiki table is sometimes used by Title::makeTitle
Tim Starling [Tue, 29 Jun 2004 07:22:45 +0000 (07:22 +0000)]
The interwiki table is sometimes used by Title::makeTitle

20 years agoDB error log
Tim Starling [Tue, 29 Jun 2004 07:09:00 +0000 (07:09 +0000)]
DB error log

20 years agoAdded credits item to PHP-TAL skin.
Evan Prodromou [Tue, 29 Jun 2004 05:50:48 +0000 (05:50 +0000)]
Added credits item to PHP-TAL skin.

20 years agoPHPTal hack to fix temp dir on Windows if includes "\t" or similar.
Brion Vibber [Tue, 29 Jun 2004 03:07:36 +0000 (03:07 +0000)]
PHPTal hack to fix temp dir on Windows if includes "\t" or similar.

20 years agoAdded two global variables, $wgAllowUserJs and $wgAllowUserCss, which
Evan Prodromou [Mon, 28 Jun 2004 21:51:52 +0000 (21:51 +0000)]
Added two global variables, $wgAllowUserJs and $wgAllowUserCss, which
default to true. Admins can set one or the other to false to disable the
feature of User: namespace Javascript and CSS links.

Added code to Skin.php (but not SkinPHPTal.php, yet) to check these
variables before adding the User: namespace Javascript and CSS links.

20 years agoFix a bug where there's no contributors but the format gets called anyways.
Evan Prodromou [Mon, 28 Jun 2004 21:47:59 +0000 (21:47 +0000)]
Fix a bug where there's no contributors but the format gets called anyways.

20 years agoForgot to rename 'Standard' to 'Classic' in english
Brion Vibber [Mon, 28 Jun 2004 20:59:01 +0000 (20:59 +0000)]
Forgot to rename 'Standard' to 'Classic' in english

20 years agoIn credit blocks, show user pages as missing/existing links, depending on
Evan Prodromou [Mon, 28 Jun 2004 20:42:13 +0000 (20:42 +0000)]
In credit blocks, show user pages as missing/existing links, depending on
user page state.

20 years agoFixed a couple of credits bugs. The string for linking to the full credits
Evan Prodromou [Mon, 28 Jun 2004 20:32:51 +0000 (20:32 +0000)]
Fixed a couple of credits bugs. The string for linking to the full credits
page wasn't listed in Language.php; now it is. Also, there was an
array-iteration bug in Credits that is now fixed.

20 years agoOnly show last N contributors in the credits. Unfortunately, this required a
Evan Prodromou [Mon, 28 Jun 2004 20:24:23 +0000 (20:24 +0000)]
Only show last N contributors in the credits. Unfortunately, this required a
change in the getContributors() method of Article, which in turn required
some code changes in the Metadata module.

However, it now seems to work.

If the number of contributors is greater than N, then show a link to the
full credits page.

An additional bit: it may be that we don't want to show _any_ contributors
if we are over the max. So, there's a flag to check this.

20 years agoMake user names (and real names) in credits block link to user pages.
Evan Prodromou [Mon, 28 Jun 2004 18:35:03 +0000 (18:35 +0000)]
Make user names (and real names) in credits block link to user pages.

Also, fix a bug in Skin.php so that if $wgMaxCredits < 0, all credits are
shown.

Finally, document the $wgMaxCredits config var better.

20 years agoMoved credits stuff from Skin.php to a separate module. Added a "credits"
Evan Prodromou [Mon, 28 Jun 2004 17:46:54 +0000 (17:46 +0000)]
Moved credits stuff from Skin.php to a separate module. Added a "credits"
action, which shows credits on their own page. Some Language strings to
support the separate credits page.

TODO: link user pages in credits, limit credits.

20 years agorender.ml updated to support newer ImageMagick and relative filepaths
Tomasz Wegrzanowski [Mon, 28 Jun 2004 11:09:24 +0000 (11:09 +0000)]
render.ml updated to support newer ImageMagick and relative filepaths

20 years ago.small class
Gabriel Wicke [Mon, 28 Jun 2004 09:17:52 +0000 (09:17 +0000)]
.small class

20 years agoQuick hack for bug 965878; header with text "Preferences" can cause IE/win
Brion Vibber [Mon, 28 Jun 2004 06:44:55 +0000 (06:44 +0000)]
Quick hack for bug 965878; header with text "Preferences" can cause IE/win
to look up the wrong element when requesting 'preferences', which then dies horribly.

Better future solution will be to ensure that any IDs used are unique. That's not pretty.

20 years agoAdded automatic fallback to English namespace names
Tim Starling [Mon, 28 Jun 2004 02:27:03 +0000 (02:27 +0000)]
Added automatic fallback to English namespace names

20 years agoadd myself to 'was written by' section
Gabriel Wicke [Mon, 28 Jun 2004 01:04:22 +0000 (01:04 +0000)]
add myself to 'was written by' section

20 years agospelling
Arne Heizmann [Sun, 27 Jun 2004 22:25:19 +0000 (22:25 +0000)]
spelling

20 years agoBeta4
Brion Vibber [Sat, 26 Jun 2004 23:37:25 +0000 (23:37 +0000)]
Beta4

20 years agoSpelling correction; Plattdueuetsch
Brion Vibber [Sat, 26 Jun 2004 23:21:22 +0000 (23:21 +0000)]
Spelling correction; Plattdueuetsch

20 years agorelease my contributions into PD
Erik Moeller [Sat, 26 Jun 2004 15:24:38 +0000 (15:24 +0000)]
release my contributions into PD

20 years agofixing broken search links e.g. from prev/next links on results page
Tim Starling [Sat, 26 Jun 2004 12:56:44 +0000 (12:56 +0000)]
fixing broken search links e.g. from prev/next links on results page

20 years agominor aesthetic change
Tim Starling [Sat, 26 Jun 2004 10:19:50 +0000 (10:19 +0000)]
minor aesthetic change

20 years agoUse admin password all the time
Tim Starling [Sat, 26 Jun 2004 07:08:31 +0000 (07:08 +0000)]
Use admin password all the time

20 years agomiscellaneous improvements
Tim Starling [Sat, 26 Jun 2004 06:58:37 +0000 (06:58 +0000)]
miscellaneous improvements

20 years agobug fix
Tim Starling [Sat, 26 Jun 2004 04:46:08 +0000 (04:46 +0000)]
bug fix

20 years agobug fixes for throttle feature
Tim Starling [Sat, 26 Jun 2004 04:10:48 +0000 (04:10 +0000)]
bug fixes for throttle feature

20 years agoAccount creation throttle
Tim Starling [Sat, 26 Jun 2004 04:00:03 +0000 (04:00 +0000)]
Account creation throttle

20 years agoNicer looking errors in command line mode
Tim Starling [Sat, 26 Jun 2004 03:28:58 +0000 (03:28 +0000)]
Nicer looking errors in command line mode

20 years agoPeriodic searchindex updates
Tim Starling [Sat, 26 Jun 2004 03:27:08 +0000 (03:27 +0000)]
Periodic searchindex updates

20 years agonewbie detector
Tim Starling [Sat, 26 Jun 2004 01:48:39 +0000 (01:48 +0000)]
newbie detector

20 years agoDELAYED can be trouble, when edit rate exceeds insert rate
Tim Starling [Sat, 26 Jun 2004 01:45:30 +0000 (01:45 +0000)]
DELAYED can be trouble, when edit rate exceeds insert rate

20 years agoHad stopped working with recent changes elsewhere, now fixed
Tim Starling [Sat, 26 Jun 2004 01:42:16 +0000 (01:42 +0000)]
Had stopped working with recent changes elsewhere, now fixed

20 years agocheck if stylepath and skin is set (can happen if user didn't get the generated js...
Gabriel Wicke [Fri, 25 Jun 2004 22:16:00 +0000 (22:16 +0000)]
check if stylepath and skin is set (can happen if user didn't get the generated js for some reason)

20 years agoCheck for missing mysql functions, give nice error message if they are missing rather...
Tim Starling [Fri, 25 Jun 2004 04:32:45 +0000 (04:32 +0000)]
Check for missing mysql functions, give nice error message if they are missing rather than a blank page

20 years agoadd a class to the ul to make it styleable (red exclamation mark icon in front of...
Gabriel Wicke [Thu, 24 Jun 2004 22:32:15 +0000 (22:32 +0000)]
add a class to the ul to make it styleable (red exclamation mark icon in front of each for example)

20 years agomake sure all applicable warnings are displayed (as li's and not as intrusive as...
Gabriel Wicke [Thu, 24 Jun 2004 22:30:16 +0000 (22:30 +0000)]
make sure all applicable warnings are displayed (as li's and not as intrusive as before) and honour -\>mIgnoreWarning

20 years ago* Image protection: if the image page is protected, uploading a new file is protected...
Gabriel Wicke [Thu, 24 Jun 2004 22:02:59 +0000 (22:02 +0000)]
* Image protection: if the image page is protected, uploading a new file is protected as well
* Filename already exists warning: new key 'fileexists' with param $1 = link to the existing image page. Please translate.

20 years agoFixed problem of User DaB. not being able to log in.
Jens Frank [Thu, 24 Jun 2004 21:33:43 +0000 (21:33 +0000)]
Fixed problem of User DaB. not being able to log in.

20 years agofixed bug where section anchor was appended twice (once with illegal chars), whitelis...
Gabriel Wicke [Thu, 24 Jun 2004 16:20:49 +0000 (16:20 +0000)]
fixed bug where section anchor was appended twice (once with illegal chars), whitelist function bug fix (use NS_MAIN instead of NS_ARTICLE)

20 years agopatch by Laurent GUERBY to use/check copyright upload. Disabled by default.
Antoine Musso [Thu, 24 Jun 2004 13:26:08 +0000 (13:26 +0000)]
patch by Laurent GUERBY to use/check copyright upload. Disabled by default.

20 years agouppercase input/output encoding
Gabriel Wicke [Thu, 24 Jun 2004 13:13:52 +0000 (13:13 +0000)]
uppercase input/output encoding

20 years agoUpdate from http://meta.wikipedia.org/wiki/LanguageJa.php
Antoine Musso [Thu, 24 Jun 2004 12:57:07 +0000 (12:57 +0000)]
Update from meta.wikipedia.org/wiki/LanguageJa.php
Request made by Tietew . Aknowledged in #ja.wikipedia

20 years agoPatch from http://meta.wikipedia.org/wiki/LanguageHu.php
Antoine Musso [Thu, 24 Jun 2004 12:38:19 +0000 (12:38 +0000)]
Patch from meta.wikipedia.org/wiki/LanguageHu.php
Requested by grin on irc

20 years agoFix for the is_a() reimplementation on old PHP versions. I swear I thought
Brion Vibber [Thu, 24 Jun 2004 05:52:27 +0000 (05:52 +0000)]
Fix for the is_a() reimplementation on old PHP versions. I swear I thought
this had been checked in ages ago...

20 years agoBe a little more careful about escaping displayed usernames
Brion Vibber [Thu, 24 Jun 2004 05:32:52 +0000 (05:32 +0000)]
Be a little more careful about escaping displayed usernames

20 years agoRemove < and > from legal title chars. Adding these was a serious mistake; it opens...
Brion Vibber [Thu, 24 Jun 2004 04:36:20 +0000 (04:36 +0000)]
Remove < and > from legal title chars. Adding these was a serious mistake; it opens many HTML/Javascript insertion vectors.

20 years agoremoved encoding parameter from write function, fixes problems on php 4.2
Gabriel Wicke [Wed, 23 Jun 2004 23:34:37 +0000 (23:34 +0000)]
removed encoding parameter from write function, fixes problems on php 4.2

20 years agoselector bugs
Gabriel Wicke [Wed, 23 Jun 2004 10:05:07 +0000 (10:05 +0000)]
selector bugs

20 years agoAllow the 'floatleft' and 'floatright' classes not just on divs, but tables as well...
Arne Heizmann [Tue, 22 Jun 2004 21:39:36 +0000 (21:39 +0000)]
Allow the 'floatleft' and 'floatright' classes not just on divs, but tables as well (useful for
taxoboxes)

20 years agoLoad balancer bug fixes
Tim Starling [Tue, 22 Jun 2004 08:54:26 +0000 (08:54 +0000)]
Load balancer bug fixes

20 years agoUse require_once and require instead of include_once and include unless
Brion Vibber [Mon, 21 Jun 2004 20:23:40 +0000 (20:23 +0000)]
Use require_once and require instead of include_once and include unless
you have a very good reason (ie, failure to include a file must be non-
fatal if you use include, since execution will continue with a warning)

20 years agoSQL syntax error
Arne Heizmann [Mon, 21 Jun 2004 20:22:59 +0000 (20:22 +0000)]
SQL syntax error

20 years agoFixed Icelandic, upon request from Jeedo
Jens Frank [Mon, 21 Jun 2004 16:37:33 +0000 (16:37 +0000)]
Fixed Icelandic, upon request from Jeedo

20 years agoUse include_once and require_once instead of include and require, unless you have...
Tim Starling [Mon, 21 Jun 2004 13:18:31 +0000 (13:18 +0000)]
Use include_once and require_once instead of include and require, unless you have a very good reason to do otherwise. Use of require() in config/index.php apparently caused a bug.

20 years agofix isOpen (mOpened was not defined on connect)
Domas Mituzas [Mon, 21 Jun 2004 12:07:41 +0000 (12:07 +0000)]
fix isOpen (mOpened was not defined on connect)

20 years agobug fix in "move over redirect" feature
Tim Starling [Mon, 21 Jun 2004 08:29:38 +0000 (08:29 +0000)]
bug fix in "move over redirect" feature

20 years agobug fix
Tim Starling [Mon, 21 Jun 2004 07:56:17 +0000 (07:56 +0000)]
bug fix

20 years agomoving new history copyright text to the bottom of revisions, making '-' the default...
Tim Starling [Mon, 21 Jun 2004 07:55:16 +0000 (07:55 +0000)]
moving new history copyright text to the bottom of revisions, making '-' the default text

20 years agobug fix
Tim Starling [Mon, 21 Jun 2004 07:49:19 +0000 (07:49 +0000)]
bug fix

20 years agonew anti-bot code
Tim Starling [Mon, 21 Jun 2004 07:41:53 +0000 (07:41 +0000)]
new anti-bot code

20 years agoallowing calls to getArray with no conditions
Tim Starling [Mon, 21 Jun 2004 07:31:41 +0000 (07:31 +0000)]
allowing calls to getArray with no conditions