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.
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
Zheng Zhu [Fri, 17 Sep 2004 04:43:36 +0000 (04:43 +0000)]
Removed debug message from the conversion code
Brion Vibber [Fri, 17 Sep 2004 03:24:14 +0000 (03:24 +0000)]
Bug 480: remove extra spacing from TOC indentation areas
Zheng Zhu [Thu, 16 Sep 2004 20:39:57 +0000 (20:39 +0000)]
tables used for Traditional/Simplified Chinese conversion
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
Zheng Zhu [Thu, 16 Sep 2004 20:19:52 +0000 (20:19 +0000)]
Changed inheritance from LanguageZh to LanguageZh_cn
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
Domas Mituzas [Wed, 15 Sep 2004 07:14:38 +0000 (07:14 +0000)]
fix casting typo
Domas Mituzas [Wed, 15 Sep 2004 06:02:16 +0000 (06:02 +0000)]
return status of selectdb
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
Jens Frank [Tue, 14 Sep 2004 20:57:54 +0000 (20:57 +0000)]
New Special page: Visual list of newly uploaded images Special:Newimages
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
Brion Vibber [Tue, 14 Sep 2004 06:02:01 +0000 (06:02 +0000)]
Whoops, debugging comment.
Brion Vibber [Tue, 14 Sep 2004 05:49:15 +0000 (05:49 +0000)]
Prudency measure: only enable $wgRawHtml usage if $wgWhitelistEdit is on.
River Tarnell [Tue, 14 Sep 2004 05:35:34 +0000 (05:35 +0000)]
forwardport better fix (thanks brion)
River Tarnell [Tue, 14 Sep 2004 04:57:15 +0000 (04:57 +0000)]
merge # moving fix from 1.3
Domas Mituzas [Mon, 13 Sep 2004 07:46:41 +0000 (07:46 +0000)]
clear bodytext on OutputPage after link parsing
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
Jens Frank [Sun, 12 Sep 2004 19:44:48 +0000 (19:44 +0000)]
Replaced wgSiteName by {{SITENAME}} in messages
Jens Frank [Sun, 12 Sep 2004 19:05:00 +0000 (19:05 +0000)]
BUG#446 Replaced Wikipedia by wgSiteName in message
Jens Frank [Sun, 12 Sep 2004 13:07:52 +0000 (13:07 +0000)]
BUG#463 Strip first leading blank from preformatted text in output
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
Domas Mituzas [Sat, 11 Sep 2004 14:08:52 +0000 (14:08 +0000)]
commit in resource efficient textFieldSize() (uses PG internal schema)
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.
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.
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.
Brion Vibber [Sat, 11 Sep 2004 10:42:18 +0000 (10:42 +0000)]
It's traditional to put quotes around your strings. ;)