Zheng Zhu [Wed, 22 Sep 2004 03:49:23 +0000 (03:49 +0000)]
new wfMsg* functions to use the wgContLang object for translating content related messages
Zheng Zhu [Wed, 22 Sep 2004 03:32:56 +0000 (03:32 +0000)]
Adding a wgContLang object to handle message translation for the content of the site; wgLang should be used exclusively for UI messages.
Antoine Musso [Wed, 22 Sep 2004 01:48:04 +0000 (01:48 +0000)]
single quotes !!1!
Antoine Musso [Wed, 22 Sep 2004 01:41:53 +0000 (01:41 +0000)]
Fix bugzilla.wikipedia.org/show_bug.cgi?id=459 Sorting tabindex.
Antoine Musso [Wed, 22 Sep 2004 01:36:01 +0000 (01:36 +0000)]
Patch from bugzilla.wikipedia.org/show_bug.cgi?id=465 by ��var Arnfj��r�� Bjarmason <avarab@gmail.com>
Antoine Musso [Wed, 22 Sep 2004 00:58:41 +0000 (00:58 +0000)]
Fix bugzilla.wikipedia.org/show_bug.cgi?id=490 Implement a header in Special:Category
Antoine Musso [Wed, 22 Sep 2004 00:42:09 +0000 (00:42 +0000)]
Fix bugzilla.wikipedia.org/show_bug.cgi?id=528 . New shorter "nosuchuser" message ("nosuchusershort") when an admin tries to block a non existent user.
Wil Mahan [Wed, 22 Sep 2004 00:15:54 +0000 (00:15 +0000)]
Now it is straightforward to fix bug 89, subst: template parameters.
Initial patch thanks to alanyst@gmail.com.
Wil Mahan [Tue, 21 Sep 2004 23:56:25 +0000 (23:56 +0000)]
Two somewhat experimental changes before I fix bug 89:
1) Don't suspend the LinkCache when including templates;
because we don't call replaceInternalLinks() anymore,
it doesn't do anything.
2) Don't call strip(), removeHTMLcomments(), or replaceVariables()
on template parameters in argSubstitution(). The first two
should already be done on the article including the template,
and the third is unnecessary because it isn't possible to
pass templates as parameters to templates.
These seem to work, but if anybody notices any problems,
please let me know.
Wil Mahan [Tue, 21 Sep 2004 23:30:46 +0000 (23:30 +0000)]
Removing variableSubstitution broke passing magic variables as template
parameters, so restore it. Instead, remove magic variable substitution
from braceSubstitution(), and modify variableSubstitution to handle magic
variables prefixed by SUBST in the pre-save transform.
Antoine Musso [Tue, 21 Sep 2004 19:47:31 +0000 (19:47 +0000)]
fix tab
River Tarnell [Tue, 21 Sep 2004 19:05:46 +0000 (19:05 +0000)]
remove extraneous wfDebug
River Tarnell [Tue, 21 Sep 2004 19:03:39 +0000 (19:03 +0000)]
don't error on certain inputs if $matches[] doesn't have a last element
River Tarnell [Tue, 21 Sep 2004 18:20:56 +0000 (18:20 +0000)]
use comments instead of __ so we don't scare the users if erroneous ones creep in
River Tarnell [Tue, 21 Sep 2004 18:15:37 +0000 (18:15 +0000)]
fix a problem by not inserting __MWTEMPLATESECTION for section titles that don't exist
Jens Frank [Tue, 21 Sep 2004 17:57:33 +0000 (17:57 +0000)]
Instead of storing entire link attributes in wikitext for
deleayed link colouring, store pointer to an entry in array wgLinkHolders. Fixes BUG#493 and should
be faster.
Forgot to submit this this morning. Sorry!!
Antoine Musso [Tue, 21 Sep 2004 17:51:19 +0000 (17:51 +0000)]
Fix bugzilla.wikipedia.org/show_bug.cgi?id=538.
Reuploading image should work now.
River Tarnell [Tue, 21 Sep 2004 16:56:48 +0000 (16:56 +0000)]
forwardport fixes for template section edit links from rel1_3
Antoine Musso [Tue, 21 Sep 2004 16:13:02 +0000 (16:13 +0000)]
* flips p-nav and p-personal
* no bullets for menu list items
River Tarnell [Tue, 21 Sep 2004 12:11:17 +0000 (12:11 +0000)]
fix: inclusion of non-existent template is broken.
this still appears to be broken, but I think it was broken before this code existed as well.
River Tarnell [Tue, 21 Sep 2004 11:54:45 +0000 (11:54 +0000)]
fix for several problems found by Eloquence:
section edit links in nested templates didn't work;
edit links for subsections in templates didn't work.
pending: links for non-existent templates are broken.
River Tarnell [Tue, 21 Sep 2004 09:47:42 +0000 (09:47 +0000)]
implement editSectionLinkForOther (required for latest parser changed)
River Tarnell [Tue, 21 Sep 2004 08:31:25 +0000 (08:31 +0000)]
make section headers in templates have edit links that point to the template.
River Tarnell [Tue, 21 Sep 2004 06:54:18 +0000 (06:54 +0000)]
fix bug where __MWTEMPLATESECTION__ was being used with subst:
Jens Frank [Tue, 21 Sep 2004 06:07:55 +0000 (06:07 +0000)]
unneeded "" around single variable removed
Wil Mahan [Tue, 21 Sep 2004 05:49:12 +0000 (05:49 +0000)]
Convert many comments to phpdoc style, and document some more functions
Wil Mahan [Tue, 21 Sep 2004 05:12:44 +0000 (05:12 +0000)]
Completely remove variableSubstitution(), because magic variable
replacement is redundantly done in braceSubstitution(). Aside
from removing unnecessary code, this will make it easier to fix
bug 89, parameters to {{subst:}} templates
River Tarnell [Tue, 21 Sep 2004 04:33:51 +0000 (04:33 +0000)]
don't put edit links on sections from included templates.
template section headings have __MWTEMPLATESECTION__ added to them;
formatHeadings removes this and doesn't add the edit link for
such sections. this is a rather hackish fix, but is probably
the best we can do with the current parser setup.
it would be nice (but not important) if this could be extended to
let users prevent edit links for certain sections.
fixes bug #266
Zheng Zhu [Tue, 21 Sep 2004 00:48:45 +0000 (00:48 +0000)]
corrected testing the existence of an object
Arne Heizmann [Tue, 21 Sep 2004 00:17:12 +0000 (00:17 +0000)]
bugfix: Special:Allpages "next" link should include &namespace= parameter
Jens Frank [Mon, 20 Sep 2004 23:02:08 +0000 (23:02 +0000)]
Instead of storing entire link attributes in wikitext for
deleayed link colouring, store pointer to an entry in array wgLinkHolders. Fixes BUG#493 and should
be faster.
Wil Mahan [Mon, 20 Sep 2004 21:53:21 +0000 (21:53 +0000)]
Bug 506: use $_SERVER[] instead of getenv() because the latter doesn't work
on IIS in ISAPI mode.
Antoine Musso [Mon, 20 Sep 2004 21:41:26 +0000 (21:41 +0000)]
Fix bug 479 : parsing [[RFC 1234]] as internal link
I forgot to commit it :(
Antoine Musso [Mon, 20 Sep 2004 18:29:34 +0000 (18:29 +0000)]
bug 511
Antoine Musso [Mon, 20 Sep 2004 18:26:51 +0000 (18:26 +0000)]
Fix bugzilla.wikipedia.org/show_bug.cgi?id=511 . Stop showing whatlinkshere and relatedchanges links for special pages.
Antoine Musso [Mon, 20 Sep 2004 17:42:12 +0000 (17:42 +0000)]
Fix bugzilla.wikipedia.org/show_bug.cgi?id=511 . Stop showing whatlinkshere and relatedchanges links for special pages.
Antoine Musso [Mon, 20 Sep 2004 16:23:10 +0000 (16:23 +0000)]
Fix bugzilla.wikipedia.org/show_bug.cgi?id=538
Return an 'emptyfile' error page if filename is empty.
Antoine Musso [Mon, 20 Sep 2004 16:10:48 +0000 (16:10 +0000)]
comments / single quotes.
Wil Mahan [Mon, 20 Sep 2004 16:05:37 +0000 (16:05 +0000)]
Fix small corner case in HTML comment removal
Antoine Musso [Mon, 20 Sep 2004 15:54:10 +0000 (15:54 +0000)]
bug 479 : parsing [[RFC 1234]] as internal link
Arne Heizmann [Mon, 20 Sep 2004 14:55:25 +0000 (14:55 +0000)]
no real change. (rm trailing whitespace, convert leading spaces to tabs)
Tim Starling [Mon, 20 Sep 2004 11:16:56 +0000 (11:16 +0000)]
cleaned up
Tim Starling [Mon, 20 Sep 2004 10:34:07 +0000 (10:34 +0000)]
new non-stub Indonesian language file
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
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
Jens Frank [Mon, 20 Sep 2004 05:27:16 +0000 (05:27 +0000)]
Fixed broken code.
> PLEASE TEST YOUR PATCHES BEFORE COMMITTING THEM
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.
Antoine Musso [Mon, 20 Sep 2004 02:45:19 +0000 (02:45 +0000)]
a bit better toc
Antoine Musso [Mon, 20 Sep 2004 02:36:29 +0000 (02:36 +0000)]
diff and history color fixes
Antoine Musso [Mon, 20 Sep 2004 01:56:15 +0000 (01:56 +0000)]
fix colors when using thumbnails
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
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
Zheng Zhu [Mon, 20 Sep 2004 00:32:19 +0000 (00:32 +0000)]
removed getMonth*() and getWeekdayname() since these are now handled through wfMsg()
Arne Heizmann [Mon, 20 Sep 2004 00:22:43 +0000 (00:22 +0000)]
Tatar week days and months
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.
Antoine Musso [Sun, 19 Sep 2004 21:36:55 +0000 (21:36 +0000)]
Migrate to a QueryPage class
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.
Wil Mahan [Sun, 19 Sep 2004 20:47:18 +0000 (20:47 +0000)]
Fix literal \n in 'editingold' message
Antoine Musso [Sun, 19 Sep 2004 19:37:26 +0000 (19:37 +0000)]
comments
Antoine Musso [Sun, 19 Sep 2004 19:04:52 +0000 (19:04 +0000)]
single quotes
Antoine Musso [Sun, 19 Sep 2004 17:12:31 +0000 (17:12 +0000)]
cvs version in phpdoc format ( @version )
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 )
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.
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 '}'
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.
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
Jens Frank [Sat, 18 Sep 2004 23:14:07 +0000 (23:14 +0000)]
BUG#93 Fix handling of <nowiki> in templates
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
Jens Frank [Sat, 18 Sep 2004 16:38:55 +0000 (16:38 +0000)]
Cleaner handling of NoConvert, for variable number of arguments
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.
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.
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).
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.
Antoine Musso [Fri, 17 Sep 2004 23:25:35 +0000 (23:25 +0000)]
single quotes
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
Antoine Musso [Fri, 17 Sep 2004 22:52:57 +0000 (22:52 +0000)]
FIXME: looks like we call an obsolete function. Need checking.
Antoine Musso [Fri, 17 Sep 2004 22:50:50 +0000 (22:50 +0000)]
some comments
Arne Heizmann [Fri, 17 Sep 2004 21:42:30 +0000 (21:42 +0000)]
Navajo language file (by node_ue)
Zheng Zhu [Fri, 17 Sep 2004 19:15:01 +0000 (19:15 +0000)]
changed getPreferredLanguage to getPreferredVariant
Zheng Zhu [Fri, 17 Sep 2004 19:13:02 +0000 (19:13 +0000)]
User's language variant preference now taking effect
Zheng Zhu [Fri, 17 Sep 2004 19:12:15 +0000 (19:12 +0000)]
added a hook to get preferred language variant
Zheng Zhu [Fri, 17 Sep 2004 19:10:03 +0000 (19:10 +0000)]
set default language variant according to the http-accept-language header
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
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
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)
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
Arne Heizmann [Fri, 17 Sep 2004 15:56:28 +0000 (15:56 +0000)]
sp
Antoine Musso [Fri, 17 Sep 2004 15:36:19 +0000 (15:36 +0000)]
translations requested by Mirv on irc.
Antoine Musso [Fri, 17 Sep 2004 15:24:43 +0000 (15:24 +0000)]
some comments / code foobar () { schemas
Antoine Musso [Fri, 17 Sep 2004 15:14:38 +0000 (15:14 +0000)]
fix require_once path
Zheng Zhu [Fri, 17 Sep 2004 15:09:22 +0000 (15:09 +0000)]
Choose userLanguage from the list of language names from Names.php
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...
Domas Mituzas [Fri, 17 Sep 2004 12:34:31 +0000 (12:34 +0000)]
REPLACE INTO -> Database::replace(), getting ready for tsearch
Tim Starling [Fri, 17 Sep 2004 09:17:02 +0000 (09:17 +0000)]
Project_talk namespace
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
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
Jens Frank [Fri, 17 Sep 2004 05:58:28 +0000 (05:58 +0000)]
Removed hardcodes for Zh-conversion
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.
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.
Zheng Zhu [Fri, 17 Sep 2004 04:49:39 +0000 (04:49 +0000)]
Prevent Simplified/Traditional Chinese message conversion when listing the messages.