lhc/web/wiklou.git
20 years agoRemoved exit() statement
Mr. E23 [Wed, 14 Jan 2004 22:46:12 +0000 (22:46 +0000)]
Removed exit() statement

20 years agoOffer GD-based image resizing as well as ImageMagick based one
Jens Frank [Tue, 13 Jan 2004 21:03:47 +0000 (21:03 +0000)]
Offer GD-based image resizing as well as ImageMagick based one

20 years agoCompatibility with alternative memcached client. Minor performance enhancement.
Mr. E23 [Mon, 12 Jan 2004 06:21:09 +0000 (06:21 +0000)]
Compatibility with alternative memcached client. Minor performance enhancement.

20 years agoUpdates from meta
Brion Vibber [Mon, 12 Jan 2004 03:02:17 +0000 (03:02 +0000)]
Updates from meta

20 years agoJeLuF's image resizing code
Erik Moeller [Mon, 12 Jan 2004 00:55:01 +0000 (00:55 +0000)]
JeLuF's image resizing code

20 years agoRemoved a global variable. Added PHP < 4.3 compatibility for wfAbruptExit().
Mr. E23 [Sun, 11 Jan 2004 23:50:52 +0000 (23:50 +0000)]
Removed a global variable. Added PHP < 4.3 compatibility for wfAbruptExit().

20 years agoAdd $wgRemoteUploads option to show the upload _link_ even though it's
Brion Vibber [Sun, 11 Jan 2004 23:29:23 +0000 (23:29 +0000)]
Add $wgRemoteUploads option to show the upload _link_ even though it's
disabled, on the assumption that the link will be bounced to where
it'll work. Used on en2.wikipedia.org

20 years agoConfigurable location of texvc; detect failure to produce PNG output when
Brion Vibber [Sun, 11 Jan 2004 23:14:20 +0000 (23:14 +0000)]
Configurable location of texvc; detect failure to produce PNG output when
texvc returns otherwise correctly; clean up whitespace.

20 years agoinherit default user options from En where not already done
Erik Moeller [Sun, 11 Jan 2004 21:24:00 +0000 (21:24 +0000)]
inherit default user options from En where not already done

20 years agoinherit default options for De
Erik Moeller [Sun, 11 Jan 2004 20:06:11 +0000 (20:06 +0000)]
inherit default options for De

20 years agotoolbar option added to all languages
Erik Moeller [Sun, 11 Jan 2004 19:55:59 +0000 (19:55 +0000)]
toolbar option added to all languages

20 years agoStandardize skin
Brion Vibber [Sun, 11 Jan 2004 18:46:16 +0000 (18:46 +0000)]
Standardize skin

20 years agoNew edit toolbar for bold, italic, links, headlines, math, images, media,
Erik Moeller [Sun, 11 Jan 2004 04:11:43 +0000 (04:11 +0000)]
New edit toolbar for bold, italic, links, headlines, math, images, media,
sigs, horizontal lines (more can be added easily). Select text and click
to apply, or just click to see an example. Mouseover should show speedtips.

Also, access keys for the edit window (ALT+P=Preview, ALT+S=Save) -> Moz+IE

20 years agoimages for the new edit toolbar
Erik Moeller [Sun, 11 Jan 2004 04:02:48 +0000 (04:02 +0000)]
images for the new edit toolbar

20 years agoCleaned up OutputPage::replaceVariables() a bit. Some performance gain by doing sever...
Mr. E23 [Sat, 10 Jan 2004 22:49:37 +0000 (22:49 +0000)]
Cleaned up OutputPage::replaceVariables() a bit. Some performance gain by doing several replacements at once in MagicWord::replaceMultiple()

20 years agoRemoved warning for invalid links since it scares users needlessly.
Mr. E23 [Sat, 10 Jan 2004 19:48:34 +0000 (19:48 +0000)]
Removed warning for invalid links since it scares users needlessly.

20 years agoRemove sometimes erroneous duplicate Content-encoding header for gzip.
Brion Vibber [Sat, 10 Jan 2004 19:42:33 +0000 (19:42 +0000)]
Remove sometimes erroneous duplicate Content-encoding header for gzip.
As workaround for Apache2+PHP bug, avoid calling flush() in OutputPage::output
so headers aren't eaten during cache save.

20 years agoobject-oriented database connections
Tim Starling [Sat, 10 Jan 2004 16:44:31 +0000 (16:44 +0000)]
object-oriented database connections

20 years agofixed a few minor bugs and misc. notices
Tim Starling [Sat, 10 Jan 2004 14:18:05 +0000 (14:18 +0000)]
fixed a few minor bugs and misc. notices

20 years agoSome systems do not have getallheaders()
Tim Starling [Sat, 10 Jan 2004 01:28:32 +0000 (01:28 +0000)]
Some systems do not have getallheaders()

20 years agoFixed initialisation order to make it slightly more robust
Tim Starling [Wed, 7 Jan 2004 13:05:27 +0000 (13:05 +0000)]
Fixed initialisation order to make it slightly more robust

20 years agoAdd some actual information to the README. :)
Brion Vibber [Wed, 7 Jan 2004 12:27:44 +0000 (12:27 +0000)]
Add some actual information to the README. :)

20 years agoSomewhat improved
Tim Starling [Wed, 7 Jan 2004 11:59:07 +0000 (11:59 +0000)]
Somewhat improved

20 years agoSwitch dvips options from "-o -" to "-f". Should do the same thing, but
Brion Vibber [Wed, 7 Jan 2004 11:53:18 +0000 (11:53 +0000)]
Switch dvips options from "-o -" to "-f". Should do the same thing, but
now also works with the version from FreeBSD ports.

20 years agoAlteration of security fix to make it very slightly less ugly
Tim Starling [Wed, 7 Jan 2004 09:02:36 +0000 (09:02 +0000)]
Alteration of security fix to make it very slightly less ugly

20 years agoFix security flaw in parser -- $unique in input text
Tim Starling [Wed, 7 Jan 2004 08:17:19 +0000 (08:17 +0000)]
Fix security flaw in parser -- $unique in input text

20 years agoA patch to cache articles after conversion to HTML but before insertion
Mr. E23 [Wed, 7 Jan 2004 02:51:47 +0000 (02:51 +0000)]
A patch to cache articles after conversion to HTML but before insertion
into a full page. Significant speed improvements on cache hits, especially
on pages with many links.

20 years agoNew fix for bug 869949 'Lists inside tables' from TomK32
Mr. E23 [Tue, 6 Jan 2004 19:44:04 +0000 (19:44 +0000)]
New fix for bug 869949 'Lists inside tables' from TomK32

20 years agoMinor bug fix
Tim Starling [Tue, 6 Jan 2004 06:09:48 +0000 (06:09 +0000)]
Minor bug fix

20 years agoAngela's disclaimer in top links
Tim Starling [Tue, 6 Jan 2004 06:00:01 +0000 (06:00 +0000)]
Angela's disclaimer in top links

20 years agoFixed bug causing magic word MAG_NOEDITSECTION to be visible in plain text if user...
Mr. E23 [Tue, 6 Jan 2004 00:47:52 +0000 (00:47 +0000)]
Fixed bug causing magic word MAG_NOEDITSECTION to be visible in plain text if user had section editing turned off

20 years agoAdded hooks for article create/delete/edit events and moved linkscc calls there
Mr. E23 [Mon, 5 Jan 2004 23:32:39 +0000 (23:32 +0000)]
Added hooks for article create/delete/edit events and moved linkscc calls there

20 years agoMinor fix
Mr. E23 [Mon, 5 Jan 2004 23:15:11 +0000 (23:15 +0000)]
Minor fix

20 years agoMoved linkscc SQL details into LinkCache for cleaner code. Also cleaned up LinkCache...
Mr. E23 [Mon, 5 Jan 2004 20:55:45 +0000 (20:55 +0000)]
Moved linkscc SQL details into LinkCache for cleaner code. Also cleaned up LinkCache a bit.

20 years agoURL-encode the mainpage link in CB
Brion Vibber [Mon, 5 Jan 2004 02:00:52 +0000 (02:00 +0000)]
URL-encode the mainpage link in CB

20 years agoSet $wgEnablePersistentLC to false by default; leads to SQL errors on
Brion Vibber [Mon, 5 Jan 2004 01:21:31 +0000 (01:21 +0000)]
Set $wgEnablePersistentLC to false by default; leads to SQL errors on
MySQL 3.x installations.

20 years agoLast fix was broken, reverting to last edit by brion
Mr. E23 [Mon, 5 Jan 2004 01:14:14 +0000 (01:14 +0000)]
Last fix was broken, reverting to last edit by brion

20 years agoUpdated fix for bug 869949 'Lists inside tables' as suggested by TomK32
Mr. E23 [Mon, 5 Jan 2004 00:52:07 +0000 (00:52 +0000)]
Updated fix for bug 869949 'Lists inside tables' as suggested by TomK32

20 years agoFixed bug 869949 'Lists inside tables' as suggested by TomK32
Mr. E23 [Mon, 5 Jan 2004 00:25:55 +0000 (00:25 +0000)]
Fixed bug 869949 'Lists inside tables' as suggested by TomK32

20 years agoAdd $wgCompressRevisions option to compress old revisions on page save.
Brion Vibber [Sun, 4 Jan 2004 03:35:00 +0000 (03:35 +0000)]
Add $wgCompressRevisions option to compress old revisions on page save.
(Off by default.) Also change default of $wgUseGzip to be on if zlib
is available (this affects the file cache only).

20 years agoStart support for compressing entries in the old table with gzdeflate.
Brion Vibber [Sat, 3 Jan 2004 12:32:32 +0000 (12:32 +0000)]
Start support for compressing entries in the old table with gzdeflate.
Adds compressOld.php to batch-compress existing entries.
Article::getRevisionText will do decompression on a given row if
necessary (marked by old_flags). Requires zlib.

20 years agoSynchronise instructions
Brion Vibber [Sat, 3 Jan 2004 06:49:37 +0000 (06:49 +0000)]
Synchronise instructions

20 years agoRemove reference to defunct test suite
Brion Vibber [Sat, 3 Jan 2004 06:39:50 +0000 (06:39 +0000)]
Remove reference to defunct test suite

20 years ago$wgUseBetterLinksUpdate no longer needed, removed, doDumbUpdate removed
Erik Moeller [Sat, 3 Jan 2004 02:46:35 +0000 (02:46 +0000)]
$wgUseBetterLinksUpdate no longer needed, removed, doDumbUpdate removed

20 years agoAccent aliases for namespaces 2,3
Brion Vibber [Fri, 2 Jan 2004 07:51:28 +0000 (07:51 +0000)]
Accent aliases for namespaces 2,3

20 years agoSpeed improvement; patch by El. Text from sourceforge:
Brion Vibber [Thu, 1 Jan 2004 11:06:33 +0000 (11:06 +0000)]
Speed improvement; patch by El. Text from sourceforge:

"rebuildrecentchanges" can be accelerated considerably.
I've tested the new version with the German database.
It yields exactly the same result as the old version
and is about 5 times faster.

(I know this improvement will be obsolete once the
table structure is changed so that the revisions table
contains the id of the previous revision. But who knows
when that'll happen. ;-)

de:Benutzer:El

20 years agoMark undeleted redirect pages as redirects (bug #855372), and update the
Brion Vibber [Fri, 26 Dec 2003 10:21:17 +0000 (10:21 +0000)]
Mark undeleted redirect pages as redirects (bug #855372), and update the
touched time on cur when restoring old entries to fix cache.

20 years agoFallback to google search box when database is offline
Tim Starling [Fri, 26 Dec 2003 01:16:15 +0000 (01:16 +0000)]
Fallback to google search box when database is offline

20 years agoInstall LanguageUtf8.php by default
Evan Prodromou [Thu, 25 Dec 2003 22:51:04 +0000 (22:51 +0000)]
Install LanguageUtf8.php by default

20 years agoInitial Thai translation file from meta.
Brion Vibber [Thu, 25 Dec 2003 08:50:48 +0000 (08:50 +0000)]
Initial Thai translation file from meta.
Translated from English by Varakorn Ungvichian

20 years agoAdjust how getMonthNameGen() works so it doesn't have to be overridden
Brion Vibber [Thu, 25 Dec 2003 08:49:36 +0000 (08:49 +0000)]
Adjust how getMonthNameGen() works so it doesn't have to be overridden
all the time.

20 years ago'View source' link instead of 'protected page'
Brion Vibber [Thu, 25 Dec 2003 03:25:17 +0000 (03:25 +0000)]
'View source' link instead of 'protected page'

20 years agoAdd missing Media
Brion Vibber [Thu, 25 Dec 2003 00:02:32 +0000 (00:02 +0000)]
Add missing Media

20 years agoAdd missing MediaWiki
Brion Vibber [Thu, 25 Dec 2003 00:02:14 +0000 (00:02 +0000)]
Add missing MediaWiki

20 years agoMalay language file: This localisation is based on a file kindly donated by the folks...
Brion Vibber [Wed, 24 Dec 2003 13:06:49 +0000 (13:06 +0000)]
Malay language file: This localisation is based on a file kindly donated by the folks at MIMOS

20 years agowgSiteNotice for system messages
Brion Vibber [Mon, 22 Dec 2003 11:10:35 +0000 (11:10 +0000)]
wgSiteNotice for system messages

20 years agoForce redirect headers to use absolute URLs as per spec (though
Brion Vibber [Mon, 22 Dec 2003 10:21:18 +0000 (10:21 +0000)]
Force redirect headers to use absolute URLs as per spec (though
browsers seem to accept relative ones); escape the page name
on the login cookie check.

20 years agoTrim whitespace on TOC links
Brion Vibber [Mon, 22 Dec 2003 08:03:21 +0000 (08:03 +0000)]
Trim whitespace on TOC links

20 years agoFix double-help message in search results; also some minor style cleanup
Brion Vibber [Mon, 22 Dec 2003 07:54:30 +0000 (07:54 +0000)]
Fix double-help message in search results; also some minor style cleanup

20 years agochange wfEscapeWikiText() to escape the pipe | character. This was breaking
Brion Vibber [Mon, 22 Dec 2003 04:14:33 +0000 (04:14 +0000)]
change wfEscapeWikiText() to escape the pipe | character. This was breaking
{{MSGNW:foo}} inside a wiki-syntax table.

20 years agoMiscellaneous scripts
Tim Starling [Mon, 22 Dec 2003 03:51:30 +0000 (03:51 +0000)]
Miscellaneous scripts

20 years agoTweak offset/limit parameters for correctness. Enable 'last' diff link on
Brion Vibber [Sun, 21 Dec 2003 12:33:34 +0000 (12:33 +0000)]
Tweak offset/limit parameters for correctness. Enable 'last' diff link on
the last shown entry if there are further available entries, so it doesn't
look like the history ends there.

20 years agoSplit off page history code to PageHistory.php out of Article.php and Skin.php.
Brion Vibber [Sun, 21 Dec 2003 12:01:29 +0000 (12:01 +0000)]
Split off page history code to PageHistory.php out of Article.php and Skin.php.
No substantive changes yet.

20 years agoAvoid saving to linkscc if the article doesn't exist; this leaves
Brion Vibber [Sun, 21 Dec 2003 06:33:57 +0000 (06:33 +0000)]
Avoid saving to linkscc if the article doesn't exist; this leaves
corrupt entries in the table. Also, include the column names in
the REPLACE statement to guard against potential ordering problems
in databases that are manually munged around.

20 years agoupdates from meta
Brion Vibber [Sat, 20 Dec 2003 01:23:29 +0000 (01:23 +0000)]
updates from meta

20 years agoAdded "help for edit, special characters" at the bottom of the edit page, like in...
Bogdan Stancescu [Thu, 18 Dec 2003 17:02:30 +0000 (17:02 +0000)]
Added "help for edit, special characters" at the bottom of the edit page, like in the Spanish locale

20 years agoVarious updates
Bogdan Stancescu [Thu, 18 Dec 2003 11:47:51 +0000 (11:47 +0000)]
Various updates

20 years agoHopefully slightly saner handling of character entities in links; now will
Brion Vibber [Thu, 18 Dec 2003 11:31:03 +0000 (11:31 +0000)]
Hopefully slightly saner handling of character entities in links; now will
use UTF-8 characters on a UTF-8 wiki for the Latin-1 named entities; this
prevents corrupt in-wiki links for cases such as [[Wei&szlig; kreuz]] or
[[Br&ucirc;ker:Foo]]. There is a small chance this will harm interwiki
links to latin-1 wikis that don't accept UTF-8 incoming URLs, but on
balance this is a lesser harm. Raw bytes in such links can still be used
(%XX) if need be.

This shouldn't change behavior on Latin-1 wikis.

20 years agoMinor rewording on the statistics page
Bogdan Stancescu [Thu, 18 Dec 2003 11:26:51 +0000 (11:26 +0000)]
Minor rewording on the statistics page

20 years agoEstonian translation from wiki
Brion Vibber [Thu, 18 Dec 2003 08:39:14 +0000 (08:39 +0000)]
Estonian translation from wiki

20 years agoPortuguese translation from meta
Brion Vibber [Thu, 18 Dec 2003 03:44:08 +0000 (03:44 +0000)]
Portuguese translation from meta

20 years agoStub Latin file: just imports the Interlingua translation, which is like Latin with...
Brion Vibber [Thu, 18 Dec 2003 02:41:39 +0000 (02:41 +0000)]
Stub Latin file: just imports the Interlingua translation, which is like Latin with bad grammar ;)

20 years agoDon't forget to record the current username...
Brion Vibber [Thu, 18 Dec 2003 02:23:23 +0000 (02:23 +0000)]
Don't forget to record the current username...

20 years agoMark interlingua as UTF-8
Brion Vibber [Thu, 18 Dec 2003 02:19:13 +0000 (02:19 +0000)]
Mark interlingua as UTF-8

20 years agoWe no longer check the content, so have to make an explicit exception for the main...
Brion Vibber [Wed, 17 Dec 2003 09:41:17 +0000 (09:41 +0000)]
We no longer check the content, so have to make an explicit exception for the main page for short cache expiry

20 years agoAdded <4.3.0 compatibility for wfAbruptExit()
Mr. E23 [Wed, 17 Dec 2003 08:30:11 +0000 (08:30 +0000)]
Added <4.3.0 compatibility for wfAbruptExit()

20 years agoAfrikaans translation from wiki
Brion Vibber [Wed, 17 Dec 2003 02:33:33 +0000 (02:33 +0000)]
Afrikaans translation from wiki

20 years agonotloggedin
Brion Vibber [Wed, 17 Dec 2003 01:59:31 +0000 (01:59 +0000)]
notloggedin

20 years agoCheck for bad title on redirect (ot: why can't diff understand indentation changes...
Brion Vibber [Wed, 17 Dec 2003 00:18:27 +0000 (00:18 +0000)]
Check for bad title on redirect (ot: why can't diff understand indentation changes? is it so hard?)

20 years agoTweaks and updates
Brion Vibber [Mon, 15 Dec 2003 06:51:31 +0000 (06:51 +0000)]
Tweaks and updates

20 years agoCatalan translation from meta
Brion Vibber [Mon, 15 Dec 2003 06:44:32 +0000 (06:44 +0000)]
Catalan translation from meta

20 years agoUpdates from meta
Brion Vibber [Mon, 15 Dec 2003 00:47:41 +0000 (00:47 +0000)]
Updates from meta

20 years agoMediaWiki namespace handling, mostly consolidated from GlobalFunctions.php and Articl...
Tim Starling [Sun, 14 Dec 2003 14:32:19 +0000 (14:32 +0000)]
MediaWiki namespace handling, mostly consolidated from GlobalFunctions.php and Article.php, with some enhancements

20 years agoImprovements in MediaWiki namespace handling, enhanced rollback
Tim Starling [Sun, 14 Dec 2003 14:29:35 +0000 (14:29 +0000)]
Improvements in MediaWiki namespace handling, enhanced rollback

20 years agorollback enhancement
Tim Starling [Sun, 14 Dec 2003 14:28:08 +0000 (14:28 +0000)]
rollback enhancement

20 years agoComments
Tim Starling [Sun, 14 Dec 2003 14:25:44 +0000 (14:25 +0000)]
Comments

20 years agoxml export missing
Brion Vibber [Sun, 14 Dec 2003 09:39:58 +0000 (09:39 +0000)]
xml export missing

20 years agoMediaWiki namespace
Brion Vibber [Sun, 14 Dec 2003 08:50:54 +0000 (08:50 +0000)]
MediaWiki namespace

20 years agoBulgarian translation from meta.wikipedia.org
Brion Vibber [Sun, 14 Dec 2003 08:30:04 +0000 (08:30 +0000)]
Bulgarian translation from meta.wikipedia.org

20 years agoFix for bug #859195: the string '0' evaluates to false in PHP, even when using the...
Brion Vibber [Sun, 14 Dec 2003 05:14:04 +0000 (05:14 +0000)]
Fix for bug #859195: the string '0' evaluates to false in PHP, even when using the empty() function, which can break links in the form [[foo|0]] such that the pipe text is ignored and the link title shows as the text

20 years agoRemoved use of PHP persistent connections. Se URL below for details.
Mr. E23 [Sat, 13 Dec 2003 22:38:26 +0000 (22:38 +0000)]
Removed use of PHP persistent connections. Se URL below for details.

http://meta.wikipedia.org/wiki/Why_persistent_connections_are_bad

20 years agoArticle.php:
Mr. E23 [Sat, 13 Dec 2003 21:32:32 +0000 (21:32 +0000)]
Article.php:
* Made updating of page view stats faster my buffering them in a
  HEAP table until many pages can be updated at once.

tables.sql:
* hitcounter table

patch-hitcounter.sql:
* hitcounter table

update.php:
* Creating hitcounter table when necessary

20 years agoRemoved unused function wfUnbufferedQuery().
Mr. E23 [Sat, 13 Dec 2003 20:26:47 +0000 (20:26 +0000)]
Removed unused function wfUnbufferedQuery().
Added wfBufferSQLResults() to turn buffering on and off.
Added wfIgnoreSQLErrors() to turn automatic error page generation on and off.

20 years agoAdded default text for when uploading is disabled. Since this is the
Evan Prodromou [Fri, 12 Dec 2003 22:05:50 +0000 (22:05 +0000)]
Added default text for when uploading is disabled. Since this is the
default for new installations, it's important to have this text handy.

In addition, hid the "Upload file" link if uploads are disabled.

20 years agoIP substitution in blockedtext
Tim Starling [Fri, 12 Dec 2003 00:25:29 +0000 (00:25 +0000)]
IP substitution in blockedtext

20 years agobug fix in range block code, spelling error
Tim Starling [Fri, 12 Dec 2003 00:14:53 +0000 (00:14 +0000)]
bug fix in range block code, spelling error

20 years agoremoved tracing printout
Mr. E23 [Thu, 11 Dec 2003 22:14:03 +0000 (22:14 +0000)]
removed tracing printout

20 years agoThe purpose of this modification is to ensure that every normal request
Mr. E23 [Thu, 11 Dec 2003 20:16:34 +0000 (20:16 +0000)]
The purpose of this modification is to ensure that every normal request
execution starts and ends in wiki.phtml, giving the code a somewhat
more predictable flow.

OutputPage.php:
* Added disable() method to Output class.
* Replaced exit() call in checkLastModified() with "return true" (thereby
  altering its contract quite severly).
* reportTime() now only returns elapsed time, code with side effects
  moved to logProfilingData() in GlobalFunctions.php.

GlobalFunctions.php:
* Added function logProfilingData() which does most of what
  OutputPage->reportTime() used to do.

Article.php:
* Replaced exit() in checkLastModified() with "return true" (thereby altering
  its contract quite severly).
* replaced implicit exit in calls to checkLastModified() and tryFileCache()
  with returns.

LogPage.php:
* replaced implicit exit() with return in call to checkLastModified()

SpecialRecentchanges.php:
* replaced implicit exit() with return in call to checkLastModified()

wiki.phtml:
* Single call to logProfilingData() at the end of the request.

20 years agoPut the illegal char check down below again, to fix breakage to # links
Brion Vibber [Thu, 11 Dec 2003 18:39:03 +0000 (18:39 +0000)]
Put the illegal char check down below again, to fix breakage to # links

20 years agoFix for #837969. Strict rejection of invalid characters in titles is good practice...
Brion Vibber [Thu, 11 Dec 2003 12:43:13 +0000 (12:43 +0000)]
Fix for #837969. Strict rejection of invalid characters in titles is good practice, and should keep away these problems with broken inaccessible pages created by page moves