lhc/web/wiklou.git
19 years agocheck no longer needed, thanks datura
Gabriel Wicke [Mon, 19 Jul 2004 19:16:43 +0000 (19:16 +0000)]
check no longer needed, thanks datura

19 years agoArticle validation code (statistics)
Magnus Manske [Mon, 19 Jul 2004 19:16:42 +0000 (19:16 +0000)]
Article validation code (statistics)

19 years agospace after colour code to avoid strange colours with titles like 19..
Gabriel Wicke [Mon, 19 Jul 2004 19:15:44 +0000 (19:15 +0000)]
space after colour code to avoid strange colours with titles like 19..

19 years agoallow blank lines in preformatted text started by blanks. BUG #993991
Jens Frank [Mon, 19 Jul 2004 19:03:43 +0000 (19:03 +0000)]
allow blank lines in preformatted text started by blanks. BUG #993991

19 years agoArticle validation, now with comments
Magnus Manske [Mon, 19 Jul 2004 17:21:11 +0000 (17:21 +0000)]
Article validation, now with comments

19 years agofixed double-escaping of $conf->IP
Tim Starling [Mon, 19 Jul 2004 12:03:39 +0000 (12:03 +0000)]
fixed double-escaping of $conf->IP

19 years agoBUG#983680: Test user names for validity. Patch by Emmanuel Engelhart
Jens Frank [Mon, 19 Jul 2004 06:47:22 +0000 (06:47 +0000)]
BUG#983680: Test user names for validity. Patch by Emmanuel Engelhart

19 years agoFix Userlogin
Jens Frank [Mon, 19 Jul 2004 06:35:56 +0000 (06:35 +0000)]
Fix Userlogin

19 years agoScript for creating the validate-table
Jens Frank [Mon, 19 Jul 2004 05:56:20 +0000 (05:56 +0000)]
Script for creating the validate-table

19 years agoNew global config setting $wgMaxTocLevel: Maximum indent level of toc.
Jens Frank [Mon, 19 Jul 2004 05:15:50 +0000 (05:15 +0000)]
New global config setting $wgMaxTocLevel: Maximum indent level of toc.

19 years agoSpelling fixes
Jens Frank [Mon, 19 Jul 2004 04:46:57 +0000 (04:46 +0000)]
Spelling fixes

19 years agoNamespace settings changed, monthnames and weekdaynames moved to wgAllMessagesIs
Jens Frank [Sun, 18 Jul 2004 22:41:37 +0000 (22:41 +0000)]
Namespace settings changed, monthnames and weekdaynames moved to wgAllMessagesIs

19 years agoArticle validation code (a start)
Magnus Manske [Sun, 18 Jul 2004 20:45:28 +0000 (20:45 +0000)]
Article validation code (a start)

19 years agofix notice
Tim Starling [Sun, 18 Jul 2004 08:54:35 +0000 (08:54 +0000)]
fix notice

19 years ago* Support for table name prefixes throughout the code. No support yet for converting...
Tim Starling [Sun, 18 Jul 2004 08:48:43 +0000 (08:48 +0000)]
* Support for table name prefixes throughout the code. No support yet for converting static SQL, which also means no installation. But it has been tested by creating the tables in the ordinary way and then renaming them
* DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE
* Converted to use SQL wrapper functions instead of direct SQL in various places
* Experimental method for preserving the chronological order of events when slave servers are used. Untested.
* Fixes to the new post-parse existence test feature
* Some.. other stuff

19 years agomoved weekday, monthname etc to AllMessages arrays.
Jens Frank [Sun, 18 Jul 2004 05:53:06 +0000 (05:53 +0000)]
moved weekday, monthname etc to AllMessages arrays.

19 years agomoved weekday, monthname etc to AllMessages arrays.LanguageEl.php
Jens Frank [Sun, 18 Jul 2004 05:52:26 +0000 (05:52 +0000)]
moved weekday, monthname etc to AllMessages arrays.LanguageEl.php

19 years agoremove repeated code
Tim Starling [Sun, 18 Jul 2004 04:31:00 +0000 (04:31 +0000)]
remove repeated code

19 years agoAlters Skin::makeLinkObj() to bypass using linkcache
Julian Ostrow [Sun, 18 Jul 2004 03:23:11 +0000 (03:23 +0000)]
Alters Skin::makeLinkObj() to bypass using linkcache
Adds function OutputPage::parseLinkHolders(), which works in conjunction with the modified Skin::makeLinkObj()

19 years agoThe last checkin broke the wiki on installations where TMP is not set
Brion Vibber [Sat, 17 Jul 2004 23:52:11 +0000 (23:52 +0000)]
The last checkin broke the wiki on installations where TMP is not set
and the upload directory is not writable (ie, default install!)

Now checks a system-dependent default temp dir first (/tmp or
C:\Windows\Temp) and then falls back to upload dir. (TMP takes
priority over either.) If the dir is not writable, print out
an explanatory message for the poor sap trying to figure out
why the wiki isn't working.

Some of this crud shouldn't go in PHPTAL if possible, since it's
rather mediawiki-specific.

19 years agouse instead of tmp for template caching. could use as well, but that would need...
Gabriel Wicke [Sat, 17 Jul 2004 20:45:21 +0000 (20:45 +0000)]
use  instead of tmp for template caching. could use  as well, but that would need to be created in many cases

19 years agomoved weekday, monthname etc to AllMessages arrays.
Jens Frank [Sat, 17 Jul 2004 20:34:09 +0000 (20:34 +0000)]
moved weekday, monthname etc to AllMessages arrays.

19 years agomoved weekday, monthname etc to AllMessages arrays.LanguageDa.php
Jens Frank [Sat, 17 Jul 2004 19:58:37 +0000 (19:58 +0000)]
moved weekday, monthname etc to AllMessages arrays.LanguageDa.php

19 years agomoved weekday, monthname etc to AllMessages arrays.
Jens Frank [Sat, 17 Jul 2004 17:41:43 +0000 (17:41 +0000)]
moved weekday, monthname etc to AllMessages arrays.

19 years agoDistinguish between short and long name of May
Jens Frank [Sat, 17 Jul 2004 17:28:38 +0000 (17:28 +0000)]
Distinguish between short and long name of May

19 years agoDistinguish between short and long name of month 'May'
Arne Heizmann [Sat, 17 Jul 2004 17:08:06 +0000 (17:08 +0000)]
Distinguish between short and long name of month 'May'

19 years agomoved weekday, monthname etc to AllMessages arrays.
Jens Frank [Sat, 17 Jul 2004 15:46:22 +0000 (15:46 +0000)]
moved weekday, monthname etc to AllMessages arrays.

19 years agoIcelandic language file
Jens Frank [Sat, 17 Jul 2004 13:12:33 +0000 (13:12 +0000)]
Icelandic language file

19 years agoAs far as I can see, there is currently no way to specify a global CSS for the Classi...
Arne Heizmann [Fri, 16 Jul 2004 20:52:23 +0000 (20:52 +0000)]
As far as I can see, there is currently no way to specify a global CSS for the Classic skin
in the way it is possible for Monobook with [[MediaWiki:Monobook.css]]. This patch adds this
capability, at [[MediaWiki:Standard.css]] (well, technically, at
[[MediaWiki:<nameoftheskin>.css]], so it's not my fault it's called "Standard" and not
"Classic". ;-) )

19 years agoThis commit only removes trailing whitespace in each line. This is to make the following
Arne Heizmann [Fri, 16 Jul 2004 20:50:16 +0000 (20:50 +0000)]
This commit only removes trailing whitespace in each line. This is to make the following
commit more readable ;-)

19 years agoGEO mode
Magnus Manske [Fri, 16 Jul 2004 20:32:44 +0000 (20:32 +0000)]
GEO mode

19 years agoreorder params for css/js to end in 's' to avoid being counted as page in webalizer
Gabriel Wicke [Fri, 16 Jul 2004 17:23:56 +0000 (17:23 +0000)]
reorder params for css/js to end in 's' to avoid being counted as page in webalizer

19 years agofixed notice and nasty error due to /dev/random exhaustion
Tim Starling [Fri, 16 Jul 2004 16:49:41 +0000 (16:49 +0000)]
fixed notice and nasty error due to /dev/random exhaustion

19 years agoMissing unit
Arne Heizmann [Fri, 16 Jul 2004 15:29:09 +0000 (15:29 +0000)]
Missing unit

19 years agoLittle bugfix in user CSS preview
Arne Heizmann [Fri, 16 Jul 2004 15:25:02 +0000 (15:25 +0000)]
Little bugfix in user CSS preview

19 years agotweaks to sitenotice placement and colours in older skins: grey border, above the...
Gabriel Wicke [Fri, 16 Jul 2004 12:12:35 +0000 (12:12 +0000)]
tweaks to sitenotice placement and colours in older skins: grey border, above the heading

19 years agomake sitenotice a bit easier on the eye (grey border instead of red, no top border...
Gabriel Wicke [Fri, 16 Jul 2004 11:36:19 +0000 (11:36 +0000)]
make sitenotice a bit easier on the eye (grey border instead of red, no top border to blend into the grey line above it)

19 years agoChanges to month names as requested by Andreas Kasenides on wikitech-l.
Arne Heizmann [Fri, 16 Jul 2004 10:45:23 +0000 (10:45 +0000)]
Changes to month names as requested by Andreas Kasenides on wikitech-l.

19 years agoClarify in LocalSettings.sample that setting $wgDBminWordLen is not enough
Arne Heizmann [Thu, 15 Jul 2004 22:44:07 +0000 (22:44 +0000)]
Clarify in LocalSettings.sample that setting $wgDBminWordLen is not enough

19 years agoUse pgsql->PostgreSQL. Change required for class loading automagic.
Domas Mituzas [Thu, 15 Jul 2004 15:11:18 +0000 (15:11 +0000)]
Use pgsql->PostgreSQL. Change required for class loading automagic.

19 years agoUnbreak the class (some unfinished code inside replace())
Domas Mituzas [Thu, 15 Jul 2004 15:09:32 +0000 (15:09 +0000)]
Unbreak the class (some unfinished code inside replace())
Alias DatabasePgsql as DatabasePostgreSQL (according to filename)

19 years agoadd Database->limitResult($limit,$offset) instead of old wfLimitResult. Allows severa...
Domas Mituzas [Thu, 15 Jul 2004 14:50:22 +0000 (14:50 +0000)]
add Database->limitResult($limit,$offset) instead of old wfLimitResult. Allows several DB classes to be loaded concurrently.

19 years agoimproved pre/list interaction, cleanup
Gabriel Wicke [Wed, 14 Jul 2004 18:46:02 +0000 (18:46 +0000)]
improved pre/list interaction, cleanup

19 years agoallow pre's in lists, report by rizzo and mhnoyes
Gabriel Wicke [Wed, 14 Jul 2004 18:38:28 +0000 (18:38 +0000)]
allow pre's in lists, report by rizzo and mhnoyes

19 years agobug fix: missing colon caused special pages to fail
Gabriel Wicke [Wed, 14 Jul 2004 18:37:11 +0000 (18:37 +0000)]
bug fix: missing colon caused special pages to fail

19 years agocolours
Gabriel Wicke [Wed, 14 Jul 2004 10:58:10 +0000 (10:58 +0000)]
colours

19 years agoall wikimedia servers return fully qualified domain name in `hostname`
Domas Mituzas [Wed, 14 Jul 2004 06:23:10 +0000 (06:23 +0000)]
all wikimedia servers return fully qualified domain name in `hostname`
there's no need of linux-specific -a flag. warnings--

19 years agosite notice above <h1> heading
Tim Starling [Wed, 14 Jul 2004 01:36:23 +0000 (01:36 +0000)]
site notice above <h1> heading

19 years agoPatch by Emmanuel Engelhart
Jens Frank [Tue, 13 Jul 2004 22:06:17 +0000 (22:06 +0000)]
Patch by Emmanuel Engelhart
Fixes Bug 986736
- Adds a feature for sorting by name (size and date were existing)
- Remembers the type of sort after a new search (new string pattern)
- Remembers the string pattern if the user changes the limit

19 years agoMake Math rendering options user settable strings in MediaWiki namespace. Last batch
Jens Frank [Tue, 13 Jul 2004 21:15:09 +0000 (21:15 +0000)]
Make Math rendering options user settable strings in MediaWiki namespace. Last batch

19 years agoMake Math rendering options user settable strings in MediaWiki namespace. First batch.
Jens Frank [Tue, 13 Jul 2004 18:18:34 +0000 (18:18 +0000)]
Make Math rendering options user settable strings in MediaWiki namespace. First batch.

19 years agomove $this->initialiseVariables down to where the variables are used the first time...
Jens Frank [Tue, 13 Jul 2004 06:42:55 +0000 (06:42 +0000)]
move $this->initialiseVariables down to where the variables are used the first time. This removes one SQL query per page view if no variables are used on that page.

19 years agoUse linktrail instead of na�ve \\S*
Arne Heizmann [Tue, 13 Jul 2004 00:01:33 +0000 (00:01 +0000)]
Use linktrail instead of na�ve \\S*

19 years agouse makeKnownLink istead of makeLink. A page pointing to another page must exist...
Jens Frank [Mon, 12 Jul 2004 23:00:08 +0000 (23:00 +0000)]
use makeKnownLink istead of makeLink. A page pointing to another page must exist que definitionem

19 years agoThis fixes the issue that something like [http://url/ link]s (i.e. text directly...
Arne Heizmann [Mon, 12 Jul 2004 22:57:13 +0000 (22:57 +0000)]
This fixes the issue that something like [url/ link]s (i.e. text directly following
the closing square bracket) would produce something ugly in printing:
  link (http://url/)s
Now it finishes the word first:
  links (http://url/)
The given example seems pointless, but in languages other than English this happens more
frequently.

19 years agounclosed array. tim, please check if this fix closes at the right spot
Gabriel Wicke [Mon, 12 Jul 2004 20:59:25 +0000 (20:59 +0000)]
unclosed array. tim, please check if this fix closes at the right spot

19 years ago- fix issue outlined by Emmanuel Engelhart <emmanuel@engelhart.org> on wikitech-l
Arne Heizmann [Mon, 12 Jul 2004 19:49:20 +0000 (19:49 +0000)]
- fix issue outlined by Emmanuel Engelhart <emmanuel@engelhart.org> on wikitech-l
- fix indentation
- remove commented-out code

19 years agoupdating es namespace
Camille Constans [Mon, 12 Jul 2004 09:55:50 +0000 (09:55 +0000)]
updating es namespace

19 years agomanual thumbnail option fix
Magnus Manske [Sat, 10 Jul 2004 20:00:41 +0000 (20:00 +0000)]
manual thumbnail option fix

19 years agoNow with manual thumbnail option (thumb=xyz.jpg)
Magnus Manske [Sat, 10 Jul 2004 17:56:27 +0000 (17:56 +0000)]
Now with manual thumbnail option (thumb=xyz.jpg)

19 years agoAlters success message to include directory which contains LocalSettings.php
Julian Ostrow [Sat, 10 Jul 2004 10:38:36 +0000 (10:38 +0000)]
Alters success message to include directory which contains LocalSettings.php

19 years agoFixed redirects, use getCurContentFields instead of getContentFields
Jens Frank [Sat, 10 Jul 2004 09:06:24 +0000 (09:06 +0000)]
Fixed redirects, use getCurContentFields instead of getContentFields

19 years agoOOP calling convention for database functions. DBMS abstraction implemented by means...
Tim Starling [Sat, 10 Jul 2004 03:09:26 +0000 (03:09 +0000)]
OOP calling convention for database functions. DBMS abstraction implemented by means of functions instead of global variables, PostgreSQL object converted to a subclass instead of a drop-in replacement. Also the beginnings of a flexible table name feature.

19 years agoremoving for now
Tim Starling [Sat, 10 Jul 2004 02:08:27 +0000 (02:08 +0000)]
removing  for now

19 years agorestrictions on Special:Movepage
Tim Starling [Sat, 10 Jul 2004 01:28:25 +0000 (01:28 +0000)]
restrictions on Special:Movepage

19 years agoexclude Rambot (or any other arbitrary SQL) from Special:Randompage
Tim Starling [Sat, 10 Jul 2004 01:25:42 +0000 (01:25 +0000)]
exclude Rambot (or any other arbitrary SQL) from Special:Randompage

19 years agoprofiling operations which end in a redirect
Tim Starling [Sat, 10 Jul 2004 01:17:37 +0000 (01:17 +0000)]
profiling operations which end in a redirect

19 years agotrying to work around memcached problems on the live site
Tim Starling [Sat, 10 Jul 2004 01:15:23 +0000 (01:15 +0000)]
trying to work around memcached problems on the live site

19 years agobug fix
Tim Starling [Sat, 10 Jul 2004 01:09:36 +0000 (01:09 +0000)]
bug fix

19 years agoLog function name
Tim Starling [Sat, 10 Jul 2004 01:07:30 +0000 (01:07 +0000)]
Log function name

19 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

19 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.

19 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

19 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

19 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.

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

19 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.

19 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.

19 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.

19 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

19 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

19 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

19 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..

19 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

19 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

19 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

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

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

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

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

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

19 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

19 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.

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

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

19 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

19 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

19 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

19 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)

19 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)