lhc/web/wiklou.git
19 years agonew non-stub Indonesian language file
Tim Starling [Mon, 20 Sep 2004 10:34:07 +0000 (10:34 +0000)]
new non-stub Indonesian language file

19 years agosuppress warnings before calling $wgLang->getMessage(), because many language files...
Tim Starling [Mon, 20 Sep 2004 10:30:18 +0000 (10:30 +0000)]
suppress warnings before calling $wgLang->getMessage(), because many language files generate notices

19 years agoBUG#487 Use Wil's custom function to replace HTML comments instead of
Jens Frank [Mon, 20 Sep 2004 06:17:04 +0000 (06:17 +0000)]
BUG#487 Use Wil's custom function to replace HTML comments instead of
a regular expression. It is much more robust for different test cases, e.g.
*abc
<!-- comment -->def

19 years agoFixed broken code.
Jens Frank [Mon, 20 Sep 2004 05:27:16 +0000 (05:27 +0000)]
Fixed broken code.
> PLEASE TEST YOUR PATCHES BEFORE COMMITTING THEM

19 years agoadded a language variant field to the page rendering hash, but only for languages...
Zheng Zhu [Mon, 20 Sep 2004 05:22:45 +0000 (05:22 +0000)]
added a language variant field to the page rendering hash, but only for languages that support multiple variants.

19 years agoa bit better toc
Antoine Musso [Mon, 20 Sep 2004 02:45:19 +0000 (02:45 +0000)]
a bit better toc

19 years agodiff and history color fixes
Antoine Musso [Mon, 20 Sep 2004 02:36:29 +0000 (02:36 +0000)]
diff and history color fixes

19 years agofix colors when using thumbnails
Antoine Musso [Mon, 20 Sep 2004 01:56:15 +0000 (01:56 +0000)]
fix colors when using thumbnails

19 years ago* Updated the message for 'yourvariant' to reflect that it is meant for the language...
Zheng Zhu [Mon, 20 Sep 2004 01:47:10 +0000 (01:47 +0000)]
* Updated the message for 'yourvariant' to reflect that it is meant for the language variant of the content
* Updated getPreferredVariant() to return some meaningful default values

19 years agonew skin using a dark background. Originaly made by Sorwena and Sorkhiri for the...
Antoine Musso [Mon, 20 Sep 2004 01:33:39 +0000 (01:33 +0000)]
new skin using a dark background. Originaly made by Sorwena and Sorkhiri for the Amethyst guild

19 years agoremoved getMonth*() and getWeekdayname() since these are now handled through wfMsg()
Zheng Zhu [Mon, 20 Sep 2004 00:32:19 +0000 (00:32 +0000)]
removed getMonth*() and getWeekdayname() since these are now handled through wfMsg()

19 years agoTatar week days and months
Arne Heizmann [Mon, 20 Sep 2004 00:22:43 +0000 (00:22 +0000)]
Tatar week days and months

19 years agoDie horribly if a skin class doesn't exist. Will help skins builders.
Antoine Musso [Sun, 19 Sep 2004 22:59:23 +0000 (22:59 +0000)]
Die horribly if a skin class doesn't exist. Will help skins builders.

19 years agoMigrate to a QueryPage class
Antoine Musso [Sun, 19 Sep 2004 21:36:55 +0000 (21:36 +0000)]
Migrate to a QueryPage class

19 years agoFix bug 56, which causes sections to be dropped or duplicated
Wil Mahan [Sun, 19 Sep 2004 20:58:10 +0000 (20:58 +0000)]
Fix bug 56, which causes sections to be dropped or duplicated
in edit conflicts during section editing.

19 years agoFix literal \n in 'editingold' message
Wil Mahan [Sun, 19 Sep 2004 20:47:18 +0000 (20:47 +0000)]
Fix literal \n in 'editingold' message

19 years agocomments
Antoine Musso [Sun, 19 Sep 2004 19:37:26 +0000 (19:37 +0000)]
comments

19 years agosingle quotes
Antoine Musso [Sun, 19 Sep 2004 19:04:52 +0000 (19:04 +0000)]
single quotes

19 years agocvs version in phpdoc format ( @version )
Antoine Musso [Sun, 19 Sep 2004 17:12:31 +0000 (17:12 +0000)]
cvs version in phpdoc format ( @version )

19 years agoAllow user to always preview text on editing ( implement http://bugzilla.wikipedia...
Antoine Musso [Sun, 19 Sep 2004 17:09:12 +0000 (17:09 +0000)]
Allow user to always preview text on editing ( implement bugzilla.wikipedia.org/show_bug.cgi?id=530 )

19 years agoRemove code that is unnecessary now that titles no longer contain
Wil Mahan [Sun, 19 Sep 2004 08:58:09 +0000 (08:58 +0000)]
Remove code that is unnecessary now that titles no longer contain
'{' or '}'; fix regex greediness bug in HTML comment removal.

19 years agoFix "Call to a member function on a non-object in /home/wikipedia/htdocs/test/w/inclu...
Wil Mahan [Sun, 19 Sep 2004 08:53:12 +0000 (08:53 +0000)]
Fix "Call to a member function on a non-object in /home/wikipedia/htdocs/test/w/includes/Title.php on line 189" error when a redirect contains '{' or '}'

19 years agoCaching the conversion tables, just like the caching of the UTF-8 case conversion...
Zheng Zhu [Sun, 19 Sep 2004 03:53:06 +0000 (03:53 +0000)]
Caching the conversion tables, just like the caching of the UTF-8 case conversion tables.

19 years agoUpdated the Simplified to Traditional table; Added comments crediting sources used...
Zheng Zhu [Sun, 19 Sep 2004 01:30:37 +0000 (01:30 +0000)]
Updated the Simplified to Traditional table; Added comments crediting sources used to build the tables

19 years agoBUG#93 Fix handling of <nowiki> in templates
Jens Frank [Sat, 18 Sep 2004 23:14:07 +0000 (23:14 +0000)]
BUG#93 Fix handling of <nowiki> in templates

19 years agoBUG#523 Don't remove newlines in front of templates or template variables
Jens Frank [Sat, 18 Sep 2004 21:02:27 +0000 (21:02 +0000)]
BUG#523 Don't remove newlines in front of templates or template variables

19 years agoCleaner handling of NoConvert, for variable number of arguments
Jens Frank [Sat, 18 Sep 2004 16:38:55 +0000 (16:38 +0000)]
Cleaner handling of NoConvert, for variable number of arguments

19 years agoThis didn't seem to work because of some sort of change to PHP's handling of
Arne Heizmann [Sat, 18 Sep 2004 14:43:19 +0000 (14:43 +0000)]
This didn't seem to work because of some sort of change to PHP's handling of
references to objects or something. I fixed it by adding elements to their parent
when they are closed, not when they are opened.

Also fixed indentation and stuff like that.
myPrint() now returns string instead of just printing everything.

19 years agoRemove warning that web installer is not able to perform
Jens Frank [Sat, 18 Sep 2004 06:30:56 +0000 (06:30 +0000)]
Remove warning that web installer is not able to perform
updates. Not true any more.

19 years agomoved parsing of the -{}- tag to Language.php, and generalized it a little bit so...
Zheng Zhu [Sat, 18 Sep 2004 03:37:50 +0000 (03:37 +0000)]
moved parsing of the -{}- tag to Language.php, and generalized it a little bit so that other languages can use it (hopefully).

19 years agoCropped some off the bottom, went grayscale, and used lower quality setting.
Brion Vibber [Sat, 18 Sep 2004 01:15:51 +0000 (01:15 +0000)]
Cropped some off the bottom, went grayscale, and used lower quality setting.
Reduces filesize by 75%, a significant chunk of bandwidth use for new visitors.

19 years agosingle quotes
Antoine Musso [Fri, 17 Sep 2004 23:25:35 +0000 (23:25 +0000)]
single quotes

19 years agoStop loading feed.php every time by moving available feeds classes in defines.php...
Antoine Musso [Fri, 17 Sep 2004 23:08:22 +0000 (23:08 +0000)]
Stop loading feed.php every time by moving available feeds classes in defines.php and removing call from skin.php

19 years agoFIXME: looks like we call an obsolete function. Need checking.
Antoine Musso [Fri, 17 Sep 2004 22:52:57 +0000 (22:52 +0000)]
FIXME: looks like we call an obsolete function. Need checking.

19 years agosome comments
Antoine Musso [Fri, 17 Sep 2004 22:50:50 +0000 (22:50 +0000)]
some comments

19 years agoNavajo language file (by node_ue)
Arne Heizmann [Fri, 17 Sep 2004 21:42:30 +0000 (21:42 +0000)]
Navajo language file (by node_ue)

19 years agochanged getPreferredLanguage to getPreferredVariant
Zheng Zhu [Fri, 17 Sep 2004 19:15:01 +0000 (19:15 +0000)]
changed getPreferredLanguage to getPreferredVariant

19 years agoUser's language variant preference now taking effect
Zheng Zhu [Fri, 17 Sep 2004 19:13:02 +0000 (19:13 +0000)]
User's language variant preference now taking effect

19 years agoadded a hook to get preferred language variant
Zheng Zhu [Fri, 17 Sep 2004 19:12:15 +0000 (19:12 +0000)]
added a hook to get preferred language variant

19 years agoset default language variant according to the http-accept-language header
Zheng Zhu [Fri, 17 Sep 2004 19:10:03 +0000 (19:10 +0000)]
set default language variant according to the http-accept-language header

19 years agoremoved a debug output when setting up the dropbox for language variants
Zheng Zhu [Fri, 17 Sep 2004 18:29:15 +0000 (18:29 +0000)]
removed a debug output when setting up the dropbox for language variants

19 years agoadded the getVariant() interface to get a list of supported language variants
Zheng Zhu [Fri, 17 Sep 2004 18:27:06 +0000 (18:27 +0000)]
added the getVariant() interface to get a list of supported language variants

19 years agoadded a field called userVariant to user's options, to specify what language variant...
Zheng Zhu [Fri, 17 Sep 2004 18:23:40 +0000 (18:23 +0000)]
added a field called userVariant to user's options, to specify what language variant to use (e.g. Simplified or Traditional Chinese)

19 years agoFix bug http://bugzilla.wikipedia.org/show_bug.cgi?id=502 . Implement allow quickbar...
Antoine Musso [Fri, 17 Sep 2004 16:31:38 +0000 (16:31 +0000)]
Fix bug bugzilla.wikipedia.org/show_bug.cgi?id=502 . Implement allow quickbar suppression in PHPTal skins, error pages suppress quickbars

19 years agosp
Arne Heizmann [Fri, 17 Sep 2004 15:56:28 +0000 (15:56 +0000)]
sp

19 years agotranslations requested by Mirv on irc.
Antoine Musso [Fri, 17 Sep 2004 15:36:19 +0000 (15:36 +0000)]
translations requested by Mirv on irc.

19 years agosome comments / code foobar () { schemas
Antoine Musso [Fri, 17 Sep 2004 15:24:43 +0000 (15:24 +0000)]
some comments / code foobar () { schemas

19 years agofix require_once path
Antoine Musso [Fri, 17 Sep 2004 15:14:38 +0000 (15:14 +0000)]
fix require_once path

19 years agoChoose userLanguage from the list of language names from Names.php
Zheng Zhu [Fri, 17 Sep 2004 15:09:22 +0000 (15:09 +0000)]
Choose userLanguage from the list of language names from Names.php

19 years agoAdd schema (logical namespace) support, table prefixes are not needed for PG...
Domas Mituzas [Fri, 17 Sep 2004 13:47:28 +0000 (13:47 +0000)]
Add schema (logical namespace) support, table prefixes are not needed for PG...

19 years agoREPLACE INTO -> Database::replace(), getting ready for tsearch
Domas Mituzas [Fri, 17 Sep 2004 12:34:31 +0000 (12:34 +0000)]
REPLACE INTO -> Database::replace(), getting ready for tsearch

19 years agoProject_talk namespace
Tim Starling [Fri, 17 Sep 2004 09:17:02 +0000 (09:17 +0000)]
Project_talk namespace

19 years agoFix double-escaping of messages added to the database at install time.
Brion Vibber [Fri, 17 Sep 2004 06:38:46 +0000 (06:38 +0000)]
Fix double-escaping of messages added to the database at install time.
This removes the endless slashes of doom introduced in rev 1.27

19 years agoBUG#60 Patch by Wil Mahan
Jens Frank [Fri, 17 Sep 2004 06:15:12 +0000 (06:15 +0000)]
BUG#60 Patch by Wil Mahan
Include templates instead of parsing them. Than, parse the whole wikitext
in one step

19 years agoRemoved hardcodes for Zh-conversion
Jens Frank [Fri, 17 Sep 2004 05:58:28 +0000 (05:58 +0000)]
Removed hardcodes for Zh-conversion

19 years agoAdded convert() to Language class, so that convert can be called
Jens Frank [Fri, 17 Sep 2004 05:51:03 +0000 (05:51 +0000)]
Added convert() to Language class, so that convert can be called
without checking wgLanguageCode. Avoid hardcodes.

19 years agoPatch from Wil Mahan <wmahan_04 at yahoo.com> to fix a bug where moving a page
River Tarnell [Fri, 17 Sep 2004 05:36:59 +0000 (05:36 +0000)]
Patch from Wil Mahan <wmahan_04 at yahoo.com> to fix a bug where moving a page
left the redirect with cur_random=0, so any new page created in its place never
appeared on Special:Randompage.  Fix: calculate cur_random for redirect when
moving page.

19 years agoPrevent Simplified/Traditional Chinese message conversion when listing the messages.
Zheng Zhu [Fri, 17 Sep 2004 04:49:39 +0000 (04:49 +0000)]
Prevent Simplified/Traditional Chinese message conversion when listing the messages.

19 years agoDo Simplified/Traditional Chinese conversion in wfMsgReal() when the language code...
Zheng Zhu [Fri, 17 Sep 2004 04:47:01 +0000 (04:47 +0000)]
Do Simplified/Traditional Chinese conversion in wfMsgReal() when the language code is zh

19 years agoRemoved debug message from the conversion code
Zheng Zhu [Fri, 17 Sep 2004 04:43:36 +0000 (04:43 +0000)]
Removed debug message from the conversion code

19 years agoBug 480: remove extra spacing from TOC indentation areas
Brion Vibber [Fri, 17 Sep 2004 03:24:14 +0000 (03:24 +0000)]
Bug 480: remove extra spacing from TOC indentation areas

19 years agotables used for Traditional/Simplified Chinese conversion
Zheng Zhu [Thu, 16 Sep 2004 20:39:57 +0000 (20:39 +0000)]
tables used for Traditional/Simplified Chinese conversion

19 years agoAdded entry point to call the Traditional/Simplified Chinese conversion code in Langu...
Zheng Zhu [Thu, 16 Sep 2004 20:25:12 +0000 (20:25 +0000)]
Added entry point to call the Traditional/Simplified Chinese conversion code in LanguageZh.php

19 years agoChanged inheritance from LanguageZh to LanguageZh_cn
Zheng Zhu [Thu, 16 Sep 2004 20:19:52 +0000 (20:19 +0000)]
Changed inheritance from LanguageZh to LanguageZh_cn

19 years agoMoved most content of LanguageZh.php to LanguageZh_cn.php. Now LanguageZh.php mainly...
Zheng Zhu [Thu, 16 Sep 2004 20:18:49 +0000 (20:18 +0000)]
Moved most content of LanguageZh.php to LanguageZh_cn.php. Now LanguageZh.php mainly handles the conversion between Traditional and Simplified Chinese

19 years agofix casting typo
Domas Mituzas [Wed, 15 Sep 2004 07:14:38 +0000 (07:14 +0000)]
fix casting typo

19 years agoreturn status of selectdb
Domas Mituzas [Wed, 15 Sep 2004 06:02:16 +0000 (06:02 +0000)]
return status of selectdb

19 years agoBUG#487 make regex not-so-greedy. If anchored to end-of-line, several lines are eaten if
Jens Frank [Wed, 15 Sep 2004 05:53:21 +0000 (05:53 +0000)]
BUG#487 make regex not-so-greedy. If anchored to end-of-line, several lines are eaten if
there is text following the comment

19 years agoNew Special page: Visual list of newly uploaded images Special:Newimages
Jens Frank [Tue, 14 Sep 2004 20:57:54 +0000 (20:57 +0000)]
New Special page: Visual list of newly uploaded images Special:Newimages

19 years agoSome usability changes after feedback from taw:
Jens Frank [Tue, 14 Sep 2004 19:47:29 +0000 (19:47 +0000)]
Some usability changes after feedback from taw:
Have diff link after hist link, so that the diff links form a column
Don't have different labels for diff links of top revisions vs old revisions
Have (top) mark at the end of the line

19 years agoWhoops, debugging comment.
Brion Vibber [Tue, 14 Sep 2004 06:02:01 +0000 (06:02 +0000)]
Whoops, debugging comment.

19 years agoPrudency measure: only enable $wgRawHtml usage if $wgWhitelistEdit is on.
Brion Vibber [Tue, 14 Sep 2004 05:49:15 +0000 (05:49 +0000)]
Prudency measure: only enable $wgRawHtml usage if $wgWhitelistEdit is on.

19 years agoforwardport better fix (thanks brion)
River Tarnell [Tue, 14 Sep 2004 05:35:34 +0000 (05:35 +0000)]
forwardport better fix (thanks brion)

19 years agomerge # moving fix from 1.3
River Tarnell [Tue, 14 Sep 2004 04:57:15 +0000 (04:57 +0000)]
merge # moving fix from 1.3

19 years agoclear bodytext on OutputPage after link parsing
Domas Mituzas [Mon, 13 Sep 2004 07:46:41 +0000 (07:46 +0000)]
clear bodytext on OutputPage after link parsing

19 years agoallow external clearing of mBodytext, without destroying OutputPage object,
Domas Mituzas [Mon, 13 Sep 2004 07:44:27 +0000 (07:44 +0000)]
allow external clearing of mBodytext, without destroying OutputPage object,
required for refreshLinks memory-efficient operation

19 years agoReplaced wgSiteName by {{SITENAME}} in messages
Jens Frank [Sun, 12 Sep 2004 19:44:48 +0000 (19:44 +0000)]
Replaced wgSiteName by {{SITENAME}} in messages

19 years agoBUG#446 Replaced Wikipedia by wgSiteName in message
Jens Frank [Sun, 12 Sep 2004 19:05:00 +0000 (19:05 +0000)]
BUG#446 Replaced Wikipedia by wgSiteName in message

19 years agoBUG#463 Strip first leading blank from preformatted text in output
Jens Frank [Sun, 12 Sep 2004 13:07:52 +0000 (13:07 +0000)]
BUG#463 Strip first leading blank from preformatted text in output

19 years agoRemove { and } from legal title chars, as they cause lots of weird problems
Brion Vibber [Sat, 11 Sep 2004 22:45:59 +0000 (22:45 +0000)]
Remove { and } from legal title chars, as they cause lots of weird problems
being special markup characters. Should not have been added in early 1.3.
* Bug 267: Entering {{...}} as the title causes a page rendering error
* http://bugzilla.wikipedia.org/show_bug.cgi?id=267

19 years agocommit in resource efficient textFieldSize() (uses PG internal schema)
Domas Mituzas [Sat, 11 Sep 2004 14:08:52 +0000 (14:08 +0000)]
commit in resource efficient textFieldSize() (uses PG internal schema)

19 years agoImproved consistency in handling redirects. If #redirect [[Special:Userlogout]] isn...
Tim Starling [Sat, 11 Sep 2004 11:39:24 +0000 (11:39 +0000)]
Improved consistency in handling redirects. If #redirect [[Special:Userlogout]] isn't a redirect, it shouldn't be treated like one in various places.

19 years agoSet the user text on the initial main page to "MediaWiki default" like the
Brion Vibber [Sat, 11 Sep 2004 10:57:08 +0000 (10:57 +0000)]
Set the user text on the initial main page to "MediaWiki default" like the
messages instead of leaving it blank, which results in a strange contribs
link in history.

19 years agoRemove indexes.sql; index definitions are now in the table creation in
Brion Vibber [Sat, 11 Sep 2004 10:46:27 +0000 (10:46 +0000)]
Remove indexes.sql; index definitions are now in the table creation in
tables.sql where they belong. Changed some UNIQUE to PRIMARY KEY, removed
unneeded cur_namespace index, added UNIQUE index on cur_namespace,
cur_title combination to enforce correctness a bit on new wikis.

19 years agoIt's traditional to put quotes around your strings. ;)
Brion Vibber [Sat, 11 Sep 2004 10:42:18 +0000 (10:42 +0000)]
It's traditional to put quotes around your strings. ;)

19 years agodocumentation: noting that a function is obsolete
Tim Starling [Sat, 11 Sep 2004 09:44:15 +0000 (09:44 +0000)]
documentation: noting that a function is obsolete

19 years agobetter debug info
Tim Starling [Sat, 11 Sep 2004 09:41:42 +0000 (09:41 +0000)]
better debug info

19 years agounreported bug in the new makeTitle(), disallow redirects to Special:Userlogout
Tim Starling [Sat, 11 Sep 2004 09:35:24 +0000 (09:35 +0000)]
unreported bug in the new makeTitle(), disallow redirects to Special:Userlogout

19 years agoUse <i> and <b> for '' and ''' instead of <em> and <strong>. There's no
Brion Vibber [Sat, 11 Sep 2004 08:40:26 +0000 (08:40 +0000)]
Use <i> and <b> for '' and ''' instead of <em> and <strong>. There's no
good reason to use <em> and <strong> here; they increase cache storage
and bandwidth requirements ;) and may be abusing semantic markup.

* Bug 369: '' should be interpreted as <i>, not <em>
http://bugzilla.wikipedia.org/show_bug.cgi?id=369
* Bug 370: ''' should be interpreted as <b>, not <strong>
http://bugzilla.wikipedia.org/show_bug.cgi?id=370

19 years agoexplicit default values for everything, for consistency and to avoid notices when...
Tim Starling [Sat, 11 Sep 2004 08:32:58 +0000 (08:32 +0000)]
explicit default values for everything, for consistency and to avoid notices when accessing the array

19 years ago* Sensible error messages when illegal title chars given in username
Brion Vibber [Sat, 11 Sep 2004 06:58:47 +0000 (06:58 +0000)]
* Sensible error messages when illegal title chars given in username
* Don't double the login form when asked to send pass for no email user
Fixes bug 448: failure message on "mail password" is shown twice
http://bugzilla.wikipedia.org/show_bug.cgi?id=448

19 years agomissing parameter in noemail
Brion Vibber [Sat, 11 Sep 2004 06:44:47 +0000 (06:44 +0000)]
missing parameter in noemail

19 years agovirgin pg grants
Domas Mituzas [Fri, 10 Sep 2004 10:58:37 +0000 (10:58 +0000)]
virgin pg grants

19 years agospecify cur_user as 0 on message import
Domas Mituzas [Fri, 10 Sep 2004 07:30:40 +0000 (07:30 +0000)]
specify cur_user as 0 on message import

19 years agoLimit height even if width has already been reduced.
Jens Frank [Fri, 10 Sep 2004 01:07:31 +0000 (01:07 +0000)]
Limit height even if width has already been reduced.

19 years agoNew user option. Provides a setting to limit the image size on image description...
Jens Frank [Fri, 10 Sep 2004 00:53:31 +0000 (00:53 +0000)]
New user option. Provides a setting to limit the image size on image description pages.

19 years agofixed warning on category pages. changing order of conditions ensures that $index...
Jens Frank [Fri, 10 Sep 2004 00:31:55 +0000 (00:31 +0000)]
fixed warning on category pages. changing order of conditions ensures that $index-1 is a valid index

19 years agohere is the correct fix for head (MF 1.3)
River Tarnell [Thu, 9 Sep 2004 23:24:36 +0000 (23:24 +0000)]
here is the correct fix for head (MF 1.3)

19 years agodon't parse blank ISBNs
River Tarnell [Thu, 9 Sep 2004 23:04:08 +0000 (23:04 +0000)]
don't parse blank ISBNs

19 years agoRe-enable message transformations when we're done building the message list.
Brion Vibber [Thu, 9 Sep 2004 22:22:17 +0000 (22:22 +0000)]
Re-enable message transformations when we're done building the message list.
Fix for bug 435: Page footer variables not replaced when viewing Special:Allmessages
http://bugzilla.wikipedia.org/show_bug.cgi?id=435