lhc/web/wiklou.git
19 years agoPerformance optimisation: Merge two for loops into one.
Arne Heizmann [Fri, 6 Aug 2004 21:13:30 +0000 (21:13 +0000)]
Performance optimisation: Merge two for loops into one.

19 years agoSomewhat less hacky fix to the French l''''homme''' problem.
Arne Heizmann [Fri, 6 Aug 2004 20:47:21 +0000 (20:47 +0000)]
Somewhat less hacky fix to the French l''''homme''' problem.

19 years agoAsturian language name changed to Asturianu. Bug [1004836]
Jens Frank [Fri, 6 Aug 2004 20:02:02 +0000 (20:02 +0000)]
Asturian language name changed to Asturianu. Bug [1004836]

19 years agoProtect against SQL insertion attacks in page move category update.
Brion Vibber [Fri, 6 Aug 2004 19:17:49 +0000 (19:17 +0000)]
Protect against SQL insertion attacks in page move category update.

19 years agoWrap Database::setTimer() in a check for existence of mysql_thread_id()
Brion Vibber [Fri, 6 Aug 2004 19:07:55 +0000 (19:07 +0000)]
Wrap Database::setTimer() in a check for existence of mysql_thread_id()
function which was added in 4.3.0. If it's not available, don't set up
the thread killer.

19 years agoAdding option $fixLbug to fix bug 948549
Magnus Manske [Fri, 6 Aug 2004 17:52:43 +0000 (17:52 +0000)]
Adding option $fixLbug to fix bug 948549

19 years agoThis should fix bug 975072 (Move page doesn't update categories page)
Magnus Manske [Fri, 6 Aug 2004 16:25:27 +0000 (16:25 +0000)]
This should fix bug 975072 (Move page doesn't update categories page)

19 years agoThis should fix bug 975072 (Move page doesn't update categories page)
Magnus Manske [Fri, 6 Aug 2004 16:09:45 +0000 (16:09 +0000)]
This should fix bug 975072 (Move page doesn't update categories page)

19 years agoDegrade gracefully: disable PHPTal-based skins on PHP 5.0 or higher.
Brion Vibber [Fri, 6 Aug 2004 09:46:25 +0000 (09:46 +0000)]
Degrade gracefully: disable PHPTal-based skins on PHP 5.0 or higher.
Notify the user about this at setup time.

19 years agoAdd escaping to SQL queries and HTML output. Also tweaked HTML to more or less pass...
Brion Vibber [Fri, 6 Aug 2004 08:04:55 +0000 (08:04 +0000)]
Add escaping to SQL queries and HTML output. Also tweaked HTML to more or less pass as XML (haven't yet tested).
Fix for [ 1004067 ] article validation: SQL is unsafe

19 years agoBug [ 971885 ] There are no month abbreviations in Czech
Jens Frank [Fri, 6 Aug 2004 06:42:32 +0000 (06:42 +0000)]
Bug [ 971885 ] There are no month abbreviations in Czech

19 years agoBug [ 969913 ] When (un)watching a page, returnto now points to (un)watched page...
Jens Frank [Fri, 6 Aug 2004 05:51:09 +0000 (05:51 +0000)]
Bug [ 969913 ] When (un)watching a page, returnto now points to (un)watched page instead of Main Page.

19 years agoBug [ 991515 ]: moved wgAccountCreationThrottle test so that unsuccesful attempts...
Jens Frank [Fri, 6 Aug 2004 05:14:09 +0000 (05:14 +0000)]
Bug [ 991515 ]: moved wgAccountCreationThrottle test so that unsuccesful attempts are not counted.

19 years agoCategory links are not part of mBodyText, so <!--LINK tags are not converted.
Jens Frank [Thu, 5 Aug 2004 20:15:32 +0000 (20:15 +0000)]
Category links are not part of mBodyText, so <!--LINK tags are not converted.
set postParseLinkColour to false to force "real" link. There must be a better way to do this.

19 years agoDatabase::setIgnoreErrors() doesn't seem to exist anymore. Switched to
Brion Vibber [Thu, 5 Aug 2004 07:48:20 +0000 (07:48 +0000)]
Database::setIgnoreErrors() doesn't seem to exist anymore. Switched to
Database::ignoreErrors()

19 years agoFix for [ 988901 ] (install) database password not escaped in LocalSettings.php
Brion Vibber [Thu, 5 Aug 2004 07:14:36 +0000 (07:14 +0000)]
Fix for [ 988901 ] (install) database password not escaped in LocalSettings.php

addslashes() is not quite correct for PHP double-quoted string literals.
Created an escapePhpString() function which should cover the right bits.
See http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.double

19 years agoFix for UTF-8 search when system locale is set to Latin-1
Brion Vibber [Thu, 5 Aug 2004 06:31:42 +0000 (06:31 +0000)]
Fix for UTF-8 search when system locale is set to Latin-1
[ 961069 ] BUG and FIX: search doesn't work with some UTF-8 chars

Moves the strtolower() on the input search terms into Language::stripForSearch()
where the correct version already exists for LanguageUtf8.

19 years agoDon't allow reverting of images if the image page is protected. Fixes BUG 996920.
Jens Frank [Thu, 5 Aug 2004 04:30:29 +0000 (04:30 +0000)]
Don't allow reverting of images if the image page is protected. Fixes BUG 996920.

19 years agoRemove useless Reply-To: header which is identical to the From: header.
Brion Vibber [Thu, 5 Aug 2004 01:56:46 +0000 (01:56 +0000)]
Remove useless Reply-To: header which is identical to the From: header.
[ 956984 ] Reply-to: is a duplicate of From:

19 years agoThis should fix bug 980557
Magnus Manske [Wed, 4 Aug 2004 20:56:46 +0000 (20:56 +0000)]
This should fix bug 980557

19 years agoRemoved debug output
Jens Frank [Wed, 4 Aug 2004 20:04:54 +0000 (20:04 +0000)]
Removed debug output

19 years agofixing several bugs at once, or creating new ones?
Magnus Manske [Wed, 4 Aug 2004 19:59:04 +0000 (19:59 +0000)]
fixing several bugs at once, or creating new ones?

19 years agofixing my redirect bug fix (hopefully)
Magnus Manske [Wed, 4 Aug 2004 17:08:33 +0000 (17:08 +0000)]
fixing my redirect bug fix (hopefully)

19 years agoAllow indentation of tables using :{|
Jens Frank [Wed, 4 Aug 2004 16:37:48 +0000 (16:37 +0000)]
Allow indentation of tables using :{|
Bug #989788.

19 years agoadded a postfix and prefix to the Special:Version page. Can be used for translations...
Jens Frank [Wed, 4 Aug 2004 15:28:43 +0000 (15:28 +0000)]
added a postfix and prefix to the Special:Version page. Can be used for translations of the page while keeping the legaly binding English version. BUG [ 1001846 ]

19 years agoNew special page: SpecialUncategorizedpages (pages that are not in any category)...
Arne Heizmann [Wed, 4 Aug 2004 12:52:52 +0000 (12:52 +0000)]
New special page: SpecialUncategorizedpages (pages that are not in any category). Inspired by
discussion on German mailing list. Essentially the same thing as Special:Lonelypages but using
categorylinks instead of links.

19 years agoCorrections suggested by V�t Zv�novec
Arne Heizmann [Wed, 4 Aug 2004 11:41:30 +0000 (11:41 +0000)]
Corrections suggested by V�t Zv�novec
http://mail.wikipedia.org/pipermail/wikitech-l/2004-August/011868.html

19 years agoMove magic ISBN, RFC, and GEO links to between replaceExternalLinks and
Brion Vibber [Wed, 4 Aug 2004 01:53:29 +0000 (01:53 +0000)]
Move magic ISBN, RFC, and GEO links to between replaceExternalLinks and
replaceInternalLinks. This is a basic fix for the infamous bug
[ 708163 ] [[ISBN #]] doesn't work correctly

ISBN, RFC links accidentally put inside [[ ]] brackets will now come up
relatively straightforwardly, with extra brackets. This is much nicer
than a horror of HTML errors that there were before; does not solve
problem with embedded <a>-in-<a> tag if you put it in a link piped
text, but that's a smaller problem.

Someday a full tokenized parser will wish this problem away into the
cornfields.

19 years agoremove commented-out code. We have CVS for archiving it
Arne Heizmann [Wed, 4 Aug 2004 00:28:56 +0000 (00:28 +0000)]
remove commented-out code. We have CVS for archiving it

19 years agoUse different label for first 'delete' button in image history than for the later...
Jens Frank [Tue, 3 Aug 2004 20:14:03 +0000 (20:14 +0000)]
Use different label for first 'delete' button in image history than for the later ones. Defaults to old delete label. BUG [ 1001578 ]

19 years agoUse different label for first 'delete' button in image history than for the later...
Jens Frank [Tue, 3 Aug 2004 20:07:47 +0000 (20:07 +0000)]
Use different label for first 'delete' button in image history than for the later ones. Defaults to old delete label. BUG [ 1001578 ]

19 years agobug 964201 fix
Magnus Manske [Tue, 3 Aug 2004 20:01:52 +0000 (20:01 +0000)]
bug 964201 fix

19 years agocategory redirect bug fix
Magnus Manske [Tue, 3 Aug 2004 19:50:37 +0000 (19:50 +0000)]
category redirect bug fix

19 years agoShow a warning message when uploading empty files (e.g. due to typos)
Jens Frank [Tue, 3 Aug 2004 18:57:04 +0000 (18:57 +0000)]
Show a warning message when uploading empty files (e.g. due to typos)

19 years ago* Change version number to 1.3.0+ (should it be 1.4-prealpha yet?)
Brion Vibber [Tue, 3 Aug 2004 07:10:35 +0000 (07:10 +0000)]
* Change version number to 1.3.0+ (should it be 1.4-prealpha yet?)
* Add gif to the file extension whitelist since Unisys patent is now dead.

19 years agoFix typos and missing case in the check for unreachable relative paths in titles.
Brion Vibber [Tue, 3 Aug 2004 05:26:27 +0000 (05:26 +0000)]
Fix typos and missing case in the check for unreachable relative paths in titles.
Fixes [ 760408 ] &quot;Relative&quot; paths in title cause browser trouble

19 years agoUpdate user talk on diff-to-current and if the page doesn't exist.
Brion Vibber [Tue, 3 Aug 2004 04:52:19 +0000 (04:52 +0000)]
Update user talk on diff-to-current and if the page doesn't exist.
Fixes for:
* [ 711599 ] Viewing current diff of user talk doesn't clear newtalk
* [ 988485 ] Deleted talk page can't clear newtalk

19 years agoFix typos that keep undelete from working with new db code
Brion Vibber [Tue, 3 Aug 2004 04:37:36 +0000 (04:37 +0000)]
Fix typos that keep undelete from working with new db code

19 years agoAdd a big shiny obvious error message for safe mode even more obvious than the existi...
Brion Vibber [Mon, 2 Aug 2004 21:44:55 +0000 (21:44 +0000)]
Add a big shiny obvious error message for safe mode even more obvious than the existing big shiny error message. Safe mode is evil and I hope it dies a slow painful death.

19 years agoAdd truncate() support for Latin1
Brion Vibber [Mon, 2 Aug 2004 20:14:17 +0000 (20:14 +0000)]
Add truncate() support for Latin1

19 years agoFixed quoting, added wikisource suffix
Tim Starling [Mon, 2 Aug 2004 12:26:43 +0000 (12:26 +0000)]
Fixed quoting, added wikisource suffix

19 years agoFix for [ 981176 ] Special:Undelete doesn't show the last comment
Brion Vibber [Mon, 2 Aug 2004 07:57:02 +0000 (07:57 +0000)]
Fix for [ 981176 ] Special:Undelete doesn't show the last comment

19 years agoDetect illegal title from uploaded file and show a helpful error message
Brion Vibber [Mon, 2 Aug 2004 05:57:33 +0000 (05:57 +0000)]
Detect illegal title from uploaded file and show a helpful error message
instead of dying with a PHP fatal error.
* [ 991457 ] "+" in filename generates an error

Also html-escapes filename fragments in error message output.

19 years agoFix typo in reference to sql file that needs to be run
Brion Vibber [Mon, 2 Aug 2004 04:58:54 +0000 (04:58 +0000)]
Fix typo in reference to sql file that needs to be run

19 years agoSwitch literal \xA0 for unicode-friendly &#160;
Brion Vibber [Mon, 2 Aug 2004 01:38:54 +0000 (01:38 +0000)]
Switch literal \xA0 for unicode-friendly &#160;

19 years agoTentative to make a skin for wikimedia.org
Luc Van Oostenryck [Sun, 1 Aug 2004 20:54:13 +0000 (20:54 +0000)]
Tentative to make a skin for wikimedia.org

19 years agoAdd Language::truncate() method for truncating strings to a certain byte
Brion Vibber [Sun, 1 Aug 2004 20:43:54 +0000 (20:43 +0000)]
Add Language::truncate() method for truncating strings to a certain byte
length. UTF-8 version ensures that only whole characters are included.

Fix for: [ 1001502 ] Search preview splits up multi-byte UTF-8 characters
Todo: [ 855680 ] Broken UTF-8 cutoff breaks display in some browsers

19 years agoTweak missing space
Brion Vibber [Sun, 1 Aug 2004 20:08:25 +0000 (20:08 +0000)]
Tweak missing space

19 years agocorrecting my english
Jerome Jamnicky [Sun, 1 Aug 2004 19:09:43 +0000 (19:09 +0000)]
correcting my english

19 years agoTweak the UTF-8 case conversion regexps to avoid a problem when the first
Brion Vibber [Sun, 1 Aug 2004 18:39:44 +0000 (18:39 +0000)]
Tweak the UTF-8 case conversion regexps to avoid a problem when the first
character is an apostrophe (').
* [ 1001563 ] Articles starting with ' are not reachable

19 years agoRemove trailing space which breaks XML output
Brion Vibber [Sun, 1 Aug 2004 18:08:36 +0000 (18:08 +0000)]
Remove trailing space which breaks XML output

19 years agoArticle validation code (list of validated pages)
Magnus Manske [Sun, 1 Aug 2004 12:19:43 +0000 (12:19 +0000)]
Article validation code (list of validated pages)

19 years agoArticle validation code (bug fixes)
Magnus Manske [Sun, 1 Aug 2004 09:47:50 +0000 (09:47 +0000)]
Article validation code (bug fixes)

19 years agoAdd $wgTranslateNumerals global option to disable local numeral usage
Brion Vibber [Sun, 1 Aug 2004 06:46:43 +0000 (06:46 +0000)]
Add $wgTranslateNumerals global option to disable local numeral usage
in the interface where implemented (ar, hi)

19 years agoprimary key for recentchanges
Tim Starling [Sun, 1 Aug 2004 04:46:03 +0000 (04:46 +0000)]
primary key for recentchanges

19 years agoSince nobody commented on this, I assume all the changes are OK
Arne Heizmann [Sun, 1 Aug 2004 01:57:26 +0000 (01:57 +0000)]
Since nobody commented on this, I assume all the changes are OK
(http://mail.wikipedia.org/pipermail/wikitech-l/2004-July/011789.html)
Use wfMsg's own replacement functionality instead of str_replace ( "$1", ... )

19 years agoFix fatal error from typo
Brion Vibber [Sat, 31 Jul 2004 22:10:29 +0000 (22:10 +0000)]
Fix fatal error from typo

19 years agoArticle validation code (bug fixes)
Magnus Manske [Sat, 31 Jul 2004 21:23:14 +0000 (21:23 +0000)]
Article validation code (bug fixes)

19 years agoArticle validation code (version links on validation page)
Magnus Manske [Sat, 31 Jul 2004 18:43:42 +0000 (18:43 +0000)]
Article validation code (version links on validation page)

19 years agoArticle validation code (article preview on validation page)
Magnus Manske [Sat, 31 Jul 2004 15:42:29 +0000 (15:42 +0000)]
Article validation code (article preview on validation page)

19 years agoArticle validation code (number of user validations)
Magnus Manske [Sat, 31 Jul 2004 15:14:55 +0000 (15:14 +0000)]
Article validation code (number of user validations)

19 years agoAllowing for piped links inside template variables; by Emmanuel Engelhart
Arne Heizmann [Sat, 31 Jul 2004 14:13:07 +0000 (14:13 +0000)]
Allowing for piped links inside template variables; by Emmanuel Engelhart
http://mail.wikipedia.org/pipermail/wikitech-l/2004-July/011776.html ff.

19 years agoBugfix by Alwin Meschede
Arne Heizmann [Sat, 31 Jul 2004 14:03:32 +0000 (14:03 +0000)]
Bugfix by Alwin Meschede
http://mail.wikipedia.org/pipermail/wikitech-l/2004-July/011778.html ff.

19 years agoArticle validation code (statistics update)
Magnus Manske [Sat, 31 Jul 2004 13:55:52 +0000 (13:55 +0000)]
Article validation code (statistics update)

19 years agoSome info re extensions
Arne Heizmann [Sat, 31 Jul 2004 12:46:08 +0000 (12:46 +0000)]
Some info re extensions

19 years agoUpdated namespaces
Bogdan Stancescu [Sat, 31 Jul 2004 12:06:56 +0000 (12:06 +0000)]
Updated namespaces

19 years agoHello, World!
Jens Frank [Sat, 31 Jul 2004 08:56:54 +0000 (08:56 +0000)]
Hello, World!

19 years agoSpecial:SiteMatrix, a method for displaying langlist and all.dblist to users
Tim Starling [Sat, 31 Jul 2004 07:00:23 +0000 (07:00 +0000)]
Special:SiteMatrix, a method for displaying langlist and all.dblist to users

19 years agoCorrect typo that broke edit conflict screen
Brion Vibber [Fri, 30 Jul 2004 20:43:59 +0000 (20:43 +0000)]
Correct typo that broke edit conflict screen

19 years agobug fix ported from REL1_3
Tim Starling [Fri, 30 Jul 2004 12:49:06 +0000 (12:49 +0000)]
bug fix ported from REL1_3

19 years agocommitting Hendrik Brummermann's checkPassword() patch, plus some modifications to...
Tim Starling [Fri, 30 Jul 2004 11:13:54 +0000 (11:13 +0000)]
committing Hendrik Brummermann's checkPassword() patch, plus some modifications to fix a UTF-8 post-conversion problem

19 years agoUpdates to Czech language file; translations by V�t Zv�novec
Arne Heizmann [Thu, 29 Jul 2004 23:15:56 +0000 (23:15 +0000)]
Updates to Czech language file; translations by V�t Zv�novec

19 years agoFix fragments on interwiki links and in-wiki links with case sensitive option on.
Brion Vibber [Thu, 29 Jul 2004 04:48:42 +0000 (04:48 +0000)]
Fix fragments on interwiki links and in-wiki links with case sensitive option on.
* [ 991569 ] Interwiki Links to Sections Do Not Work

19 years agoMark unwatch button as ca-unwatch rather than ca-watch to fix the tooltip.
Brion Vibber [Thu, 29 Jul 2004 02:18:27 +0000 (02:18 +0000)]
Mark unwatch button as ca-unwatch rather than ca-watch to fix the tooltip.
* [ 993438 ] Wrong hint for "unwatch" button

19 years agoDon't run power search in 'go' mode
Brion Vibber [Thu, 29 Jul 2004 01:50:36 +0000 (01:50 +0000)]
Don't run power search in 'go' mode
* [ 998393 ] Powersearch seriously broken

19 years agoFix inoperable search engine
Brion Vibber [Thu, 29 Jul 2004 01:49:49 +0000 (01:49 +0000)]
Fix inoperable search engine

19 years agoPersonally, I think this wording is clearer. I hope I have interpreted the sense...
Arne Heizmann [Wed, 28 Jul 2004 22:28:07 +0000 (22:28 +0000)]
Personally, I think this wording is clearer. I hope I have interpreted the sense of the
message correctly. If I haven't, feel free to correct it.

19 years agoUse localized numerals for CURRENTMONTH, CURRENTDAY, CURRENTYEAR, NUMBEROFARTICLES
Brion Vibber [Wed, 28 Jul 2004 21:20:49 +0000 (21:20 +0000)]
Use localized numerals for CURRENTMONTH, CURRENTDAY, CURRENTYEAR, NUMBEROFARTICLES

19 years agoArticle validation code (automatic version merging)
Magnus Manske [Wed, 28 Jul 2004 20:18:00 +0000 (20:18 +0000)]
Article validation code (automatic version merging)

19 years agocenter #siteNotice
Gabriel Wicke [Wed, 28 Jul 2004 19:56:25 +0000 (19:56 +0000)]
center #siteNotice

19 years agositenotice border removed
Gabriel Wicke [Wed, 28 Jul 2004 19:48:45 +0000 (19:48 +0000)]
sitenotice border removed

19 years agolink to GPL
Arne Heizmann [Wed, 28 Jul 2004 16:21:41 +0000 (16:21 +0000)]
link to GPL

19 years agosame as in the branch
Gabriel Wicke [Wed, 28 Jul 2004 14:34:11 +0000 (14:34 +0000)]
same as in the branch

19 years agofix suggested by �var Arnfj�r� Bjarmason on wikitech-l
Arne Heizmann [Wed, 28 Jul 2004 12:31:41 +0000 (12:31 +0000)]
fix suggested by �var Arnfj�r� Bjarmason on wikitech-l

19 years agoaccidentially committed default setting change reverted
Gabriel Wicke [Wed, 28 Jul 2004 11:28:06 +0000 (11:28 +0000)]
accidentially committed default setting change reverted

19 years agositenotice
Gabriel Wicke [Wed, 28 Jul 2004 11:23:13 +0000 (11:23 +0000)]
sitenotice

19 years agotweaks to #siteNotice
Gabriel Wicke [Wed, 28 Jul 2004 10:39:45 +0000 (10:39 +0000)]
tweaks to #siteNotice

19 years ago?
Arne Heizmann [Tue, 27 Jul 2004 15:45:51 +0000 (15:45 +0000)]
?

19 years agoCategory => Kategorie
Arne Heizmann [Tue, 27 Jul 2004 15:39:34 +0000 (15:39 +0000)]
Category => Kategorie

19 years ago* constants for $wgNamespaceNamesCs
Antoine Musso [Tue, 27 Jul 2004 15:06:04 +0000 (15:06 +0000)]
* constants for $wgNamespaceNamesCs

19 years ago*1 indentation
Antoine Musso [Tue, 27 Jul 2004 14:38:58 +0000 (14:38 +0000)]
*1 indentation
*add a bookstore at the request of V��t Zv��novec

19 years agobug fix
Tim Starling [Tue, 27 Jul 2004 13:54:03 +0000 (13:54 +0000)]
bug fix

19 years agowikipedia-specific MySQL user setup
Tim Starling [Tue, 27 Jul 2004 13:17:08 +0000 (13:17 +0000)]
wikipedia-specific MySQL user setup

19 years agoneed Defines.php
Tim Starling [Tue, 27 Jul 2004 02:48:08 +0000 (02:48 +0000)]
need Defines.php

19 years agoHindi numerals
Brion Vibber [Sun, 25 Jul 2004 19:58:45 +0000 (19:58 +0000)]
Hindi numerals

19 years ago- do not use str_replace to replace $1 in a message. Use wfMsg
Arne Heizmann [Sun, 25 Jul 2004 19:31:48 +0000 (19:31 +0000)]
- do not use str_replace to replace $1 in a message. Use wfMsg
- do not use "this article" as a link text. Use the article title

19 years agoArticle validation code
Magnus Manske [Sun, 25 Jul 2004 16:05:36 +0000 (16:05 +0000)]
Article validation code

19 years agoArticle validation code
Magnus Manske [Sun, 25 Jul 2004 15:24:30 +0000 (15:24 +0000)]
Article validation code

19 years agosp
Arne Heizmann [Sun, 25 Jul 2004 12:45:24 +0000 (12:45 +0000)]
sp

19 years agoAdded Choctaw and Muscogee, added minnan alias, removed duplicate entry for nb leavin...
Tim Starling [Sun, 25 Jul 2004 12:19:31 +0000 (12:19 +0000)]
Added Choctaw and Muscogee, added minnan alias, removed duplicate entry for nb leaving the more specific local term (Norsk could also mean nn)