lhc/web/wiklou.git
19 years ago* Fix XHTML validity error for pages with apostrophe (bug introduced in head, 1.3...
Brion Vibber [Sun, 3 Oct 2004 01:31:12 +0000 (01:31 +0000)]
* Fix XHTML validity error for pages with apostrophe (bug introduced in head, 1.3 looks quoted properly)

19 years agodescribing the various .manual files
Zheng Zhu [Sun, 3 Oct 2004 01:29:52 +0000 (01:29 +0000)]
describing the various .manual files

19 years agoadded some phrases obtained from the TongWen package (http://tongwen.mozdev.org/)
Zheng Zhu [Sun, 3 Oct 2004 01:09:31 +0000 (01:09 +0000)]
added some phrases obtained from the TongWen package (tongwen.mozdev.org/)

19 years agoAdd the experimental user_groups, group tables so that installation works
Brion Vibber [Sat, 2 Oct 2004 22:26:00 +0000 (22:26 +0000)]
Add the experimental user_groups, group tables so that installation works

19 years agoAdd previous/next links to old revision pages
Jens Frank [Sat, 2 Oct 2004 21:36:36 +0000 (21:36 +0000)]
Add previous/next links to old revision pages

19 years agoDisallow '<' and '>' in free external URIs; this is consistent
Wil Mahan [Sat, 2 Oct 2004 21:33:06 +0000 (21:33 +0000)]
Disallow '<' and '>' in free external URIs; this is consistent
with RFC 2396 and fixes a parser test case. Remove the
INVERSE_EXT_LINK_URL_CLASS constant, which has never been used.

19 years agoXHTML fix
Brion Vibber [Sat, 2 Oct 2004 20:48:01 +0000 (20:48 +0000)]
XHTML fix

19 years ago* Fix for XHTML valid output
Brion Vibber [Sat, 2 Oct 2004 20:30:04 +0000 (20:30 +0000)]
* Fix for XHTML valid output
* Escape text to avoid HTML injection

19 years agoFix for running without include_path set
Brion Vibber [Sat, 2 Oct 2004 20:20:52 +0000 (20:20 +0000)]
Fix for running without include_path set

19 years agoFix for running with no include_path set
Brion Vibber [Sat, 2 Oct 2004 20:15:26 +0000 (20:15 +0000)]
Fix for running with no include_path set

19 years agoFix for running without include_path set
Brion Vibber [Sat, 2 Oct 2004 20:00:36 +0000 (20:00 +0000)]
Fix for running without include_path set

19 years agoMoved 'get previous/next revision' code from DifferenceEngine to Title'
Jens Frank [Sat, 2 Oct 2004 19:49:54 +0000 (19:49 +0000)]
Moved 'get previous/next revision' code from DifferenceEngine to Title'

19 years agoRetire unmaintained DaVinci and Mono skins, which were steps in the
Brion Vibber [Sat, 2 Oct 2004 04:58:19 +0000 (04:58 +0000)]
Retire unmaintained DaVinci and Mono skins, which were steps in the
development of MonoBook.

19 years agoFix structure elements
Brion Vibber [Sat, 2 Oct 2004 04:15:42 +0000 (04:15 +0000)]
Fix structure elements

19 years agoAdd quick hacky defs for groups and user_groups tables to get pg wiki running again.
Brion Vibber [Sat, 2 Oct 2004 03:59:17 +0000 (03:59 +0000)]
Add quick hacky defs for groups and user_groups tables to get pg wiki running again.
Please somebody check over these (and the originals)

19 years agoSome corrections, and a test for bug 361
Wil Mahan [Sat, 2 Oct 2004 03:15:49 +0000 (03:15 +0000)]
Some corrections, and a test for bug 361

19 years ago* Remove deprecated wfLocalUrl(), wfLocalUrlE()
Brion Vibber [Sat, 2 Oct 2004 02:55:26 +0000 (02:55 +0000)]
* Remove deprecated wfLocalUrl(), wfLocalUrlE()
* Remove some duplication in wfUtf8Entity(), the guts now moved to UtfNormalUtil.php
* Moved $wgReplacementKeys to a static var
* Some comments and cleanup

19 years agoFix include path
Brion Vibber [Sat, 2 Oct 2004 02:51:30 +0000 (02:51 +0000)]
Fix include path

19 years ago* Fix notice & blank text on nogomatch
Brion Vibber [Sat, 2 Oct 2004 02:46:29 +0000 (02:46 +0000)]
* Fix notice & blank text on nogomatch
* Use Special:Search in the prevnext links

19 years ago* Remove deprecated wfLocalUrlE() call.
Brion Vibber [Sat, 2 Oct 2004 02:43:27 +0000 (02:43 +0000)]
* Remove deprecated wfLocalUrlE() call.
* Avoid notice about missing field when no namespace in result set

19 years agoAdd comment about why we pick a random number in PHP and use it as a
Brion Vibber [Sat, 2 Oct 2004 02:27:30 +0000 (02:27 +0000)]
Add comment about why we pick a random number in PHP and use it as a
literal constant instead of the RAND() function. Also removed wfLocalUrl().

19 years agoMass search and replace remaining wfLocalUrl() and wfLocalUrlE()
Brion Vibber [Sat, 2 Oct 2004 02:24:33 +0000 (02:24 +0000)]
Mass search and replace remaining wfLocalUrl() and wfLocalUrlE()
with {{localurle:}}. Note however that these should eventually
be replaced with [[wikilinks]]. Some messages may still need
to be fixed in the code to parse it however.

19 years agoFix SQL syntax errors
Brion Vibber [Sat, 2 Oct 2004 02:10:51 +0000 (02:10 +0000)]
Fix SQL syntax errors

19 years agoDocumentation
Jens Frank [Sat, 2 Oct 2004 00:02:49 +0000 (00:02 +0000)]
Documentation

19 years agoAdd tests for the just-fixed bug 553, and broken cases regarding
Wil Mahan [Fri, 1 Oct 2004 21:28:07 +0000 (21:28 +0000)]
Add tests for the just-fixed bug 553, and broken cases regarding
image captions pointed out by IMSoP.

19 years agoFix bug 553: when a piped link contains a template parameter, it
Wil Mahan [Fri, 1 Oct 2004 21:20:47 +0000 (21:20 +0000)]
Fix bug 553: when a piped link contains a template parameter, it
sometimes confuses the table code, because '|' is also used
to delimit cell attributes. This change prevents doTableStuff()
from treating any text containing '[[' as attributes.

19 years agos/WIKIPEDIA/PROJECT/
Antoine Musso [Fri, 1 Oct 2004 19:16:05 +0000 (19:16 +0000)]
s/WIKIPEDIA/PROJECT/

19 years ago* Remove debug statements
Antoine Musso [Fri, 1 Oct 2004 16:12:10 +0000 (16:12 +0000)]
* Remove debug statements
* Fix bug when $removegroup is empty (cleared everything)

19 years agoNew userlevel feature. Sysop only, for testing. NO FORM IS VALIDATED : use at your...
Antoine Musso [Fri, 1 Oct 2004 15:57:09 +0000 (15:57 +0000)]
New userlevel feature. Sysop only, for testing. NO FORM IS VALIDATED : use at your own risks

19 years ago* restrict SpecialSitesettings to sysops.
Antoine Musso [Fri, 1 Oct 2004 15:44:44 +0000 (15:44 +0000)]
* restrict SpecialSitesettings to sysops.
* enable the future SpecialUserlevels (I am making the sql patch)

19 years agoNauruose => Nauri
Arne Heizmann [Fri, 1 Oct 2004 15:10:02 +0000 (15:10 +0000)]
Nauruose => Nauri

19 years agoDocumentation: Assign files to packages
Jens Frank [Fri, 1 Oct 2004 06:25:50 +0000 (06:25 +0000)]
Documentation: Assign files to packages

19 years agoSicilian language. At the request of node_ue.
Antoine Musso [Fri, 1 Oct 2004 03:40:24 +0000 (03:40 +0000)]
Sicilian language. At the request of node_ue.
@see http://mail.wikipedia.org/pipermail/wikipedia-l/2004-September/017436.html

19 years agocomments
Antoine Musso [Fri, 1 Oct 2004 03:10:10 +0000 (03:10 +0000)]
comments

19 years agoScripts and data used for generating ZhConversion.php
Zheng Zhu [Fri, 1 Oct 2004 03:05:18 +0000 (03:05 +0000)]
Scripts and data used for generating ZhConversion.php

19 years ago* arraybox() : revert "$value" parameter
Antoine Musso [Fri, 1 Oct 2004 03:01:22 +0000 (03:01 +0000)]
* arraybox() : revert "$value" parameter
* new textareabox()

19 years agoallow 'value' parameter for array box
Antoine Musso [Fri, 1 Oct 2004 01:16:18 +0000 (01:16 +0000)]
allow 'value' parameter for array box

19 years agotypo
Antoine Musso [Thu, 30 Sep 2004 23:48:22 +0000 (23:48 +0000)]
typo

19 years agoremoving occurences of sitesettings. Replaced by an internal name.
Antoine Musso [Thu, 30 Sep 2004 23:44:54 +0000 (23:44 +0000)]
removing occurences of sitesettings. Replaced by an internal name.

19 years agoclass to build forms (c) JeLuF
Antoine Musso [Thu, 30 Sep 2004 22:49:26 +0000 (22:49 +0000)]
class to build forms (c) JeLuF

19 years agomoving html forms builders to its own class. Do we want them in wgOut instead ?
Antoine Musso [Thu, 30 Sep 2004 22:48:38 +0000 (22:48 +0000)]
moving html forms builders to its own class. Do we want them in wgOut instead ?

19 years agoRemoving Tokenizer: obsolete
Jens Frank [Thu, 30 Sep 2004 21:53:16 +0000 (21:53 +0000)]
Removing Tokenizer: obsolete

19 years agoOn Category: pages, show images as thumbnail gallery, and not
Jens Frank [Thu, 30 Sep 2004 21:36:12 +0000 (21:36 +0000)]
On Category: pages, show images as thumbnail gallery, and not
as articles. Can be disabled by setting $wgCategoryMagicGallery to false

19 years agoAdmin interface to site parameters, UI part.
Jens Frank [Thu, 30 Sep 2004 21:33:34 +0000 (21:33 +0000)]
Admin interface to site parameters, UI part.
No way to save settings, yet. Might be a starting point for Hashar's efforts

19 years ago* Remove useless, unvalidated charset option on raw page
Brion Vibber [Thu, 30 Sep 2004 19:46:27 +0000 (19:46 +0000)]
* Remove useless, unvalidated charset option on raw page
* Clean up input validation

19 years agoadd placeholder class SearchUpdateMyISAM, extending current SearchUpdate
Domas Mituzas [Thu, 30 Sep 2004 19:18:47 +0000 (19:18 +0000)]
add placeholder class SearchUpdateMyISAM, extending current SearchUpdate
there should be Database::-like abstraction for search engines as well.

19 years agoadd db::setSchema() for specifying additional database namespaces.
Domas Mituzas [Thu, 30 Sep 2004 18:56:10 +0000 (18:56 +0000)]
add db::setSchema() for specifying additional database namespaces.
allows easy putting of external modules in separate logical namespaces.

19 years ago--color=light will bright diffs output
Antoine Musso [Thu, 30 Sep 2004 17:39:57 +0000 (17:39 +0000)]
--color=light will bright diffs output

19 years agobugfix
Arne Heizmann [Thu, 30 Sep 2004 14:50:48 +0000 (14:50 +0000)]
bugfix

19 years agopass unescaped query string to Database::insert(), double escaping is not needed
Domas Mituzas [Thu, 30 Sep 2004 14:40:06 +0000 (14:40 +0000)]
pass unescaped query string to Database::insert(), double escaping is not needed

19 years agoConvert documentation of functions to phpdoc format (all 71 of
Wil Mahan [Thu, 30 Sep 2004 05:21:20 +0000 (05:21 +0000)]
Convert documentation of functions to phpdoc format (all 71 of
them), adding more comments where appropriate

19 years agoSome doc comments
Brion Vibber [Wed, 29 Sep 2004 20:04:08 +0000 (20:04 +0000)]
Some doc comments

19 years agoClean up ugly SQL for db wrapper funcs, begin on PostgreSQL support.
Brion Vibber [Wed, 29 Sep 2004 19:40:55 +0000 (19:40 +0000)]
Clean up ugly SQL for db wrapper funcs, begin on PostgreSQL support.
Now includes proper timestamp formats mostly, but doesn't work on restore
because the inverse_timestamp bit is PG-unfriendly.

19 years agoTietew's patch for optionally selecting revisions on undeletion.
Brion Vibber [Wed, 29 Sep 2004 16:27:49 +0000 (16:27 +0000)]
Tietew's patch for optionally selecting revisions on undeletion.

Bug 507: http://bugzilla.wikipedia.org/show_bug.cgi?id=507

19 years agoFix DATA CORRUPTION BUG caused by double-escaping.
Brion Vibber [Wed, 29 Sep 2004 08:41:38 +0000 (08:41 +0000)]
Fix DATA CORRUPTION BUG caused by double-escaping.

19 years agoMake FauxRequest actually work ;P
Brion Vibber [Wed, 29 Sep 2004 08:20:55 +0000 (08:20 +0000)]
Make FauxRequest actually work ;P

19 years agoFinish fixing parser test on PostgreSQL (bug 585)
Brion Vibber [Wed, 29 Sep 2004 07:35:55 +0000 (07:35 +0000)]
Finish fixing parser test on PostgreSQL (bug 585)
Add all necessary interwikis to the test db manually rather than copying the host's.

19 years agostupid PostgreSQL insists on parentheses :)
Wil Mahan [Wed, 29 Sep 2004 05:53:01 +0000 (05:53 +0000)]
stupid PostgreSQL insists on parentheses :)

19 years agoRemove the "random" table since it is no longer used;
Wil Mahan [Wed, 29 Sep 2004 04:28:40 +0000 (04:28 +0000)]
Remove the "random" table since it is no longer used;
document categorylinks, hitcounter, searchindex,
interwiki, and user.user_token

19 years agoMore checks for IE hideousness.
Brion Vibber [Tue, 28 Sep 2004 23:32:18 +0000 (23:32 +0000)]
More checks for IE hideousness.

19 years agoRemove some unnecessary PHPTAL 1 stub bits
Brion Vibber [Tue, 28 Sep 2004 22:16:06 +0000 (22:16 +0000)]
Remove some unnecessary PHPTAL 1 stub bits

19 years agoallow turning off image path hashing. there was a feature request for that somewhere.
Domas Mituzas [Tue, 28 Sep 2004 19:54:51 +0000 (19:54 +0000)]
allow turning off image path hashing. there was a feature request for that somewhere.

19 years ago1) Use CREATE TEMPORARY TABLE ... LIKE for MySQL >= 4.1
Wil Mahan [Mon, 27 Sep 2004 21:14:52 +0000 (21:14 +0000)]
1) Use CREATE TEMPORARY TABLE ... LIKE for MySQL >= 4.1
and PostgreSQL (untested, but should fix bug 585). Use a
hack for older MySQL versions that doesn't require including
a .sql file.
2) Die gracefully when an article has an invalid title or
already exists in the database.
3) Detect and report duplicate sections in the test file.

19 years agoA different fix for ':' in definitions that makes
Wil Mahan [Mon, 27 Sep 2004 21:01:39 +0000 (21:01 +0000)]
A different fix for ':' in definitions that makes
[http://blah foo : bar ]: baz
work as expected

19 years agoFormatting fix (tab instead of space)
Zheng Zhu [Mon, 27 Sep 2004 15:10:26 +0000 (15:10 +0000)]
Formatting fix (tab instead of space)

19 years agoUse 'includes/DefaultSettings.php' in preparation for running without include_path...
Brion Vibber [Mon, 27 Sep 2004 07:25:53 +0000 (07:25 +0000)]
Use 'includes/DefaultSettings.php' in preparation for running without include_path altered; things should now work if you just take that line out from LocalSettings.

19 years agoTweak image img_name index updater to current tables.sql (primary key)
Brion Vibber [Mon, 27 Sep 2004 07:18:49 +0000 (07:18 +0000)]
Tweak image img_name index updater to current tables.sql (primary key)

19 years agoTweak to work with no include path and working dir in the installer
Brion Vibber [Mon, 27 Sep 2004 07:01:38 +0000 (07:01 +0000)]
Tweak to work with no include path and working dir in the installer

19 years agoObsoleted by refreshlinks, apparently forgot to remove these files.
Brion Vibber [Mon, 27 Sep 2004 06:48:15 +0000 (06:48 +0000)]
Obsoleted by refreshlinks, apparently forgot to remove these files.

19 years agoFar from finished in-place UTF-8 wiki converter.
Brion Vibber [Mon, 27 Sep 2004 06:23:33 +0000 (06:23 +0000)]
Far from finished in-place UTF-8 wiki converter.
I had this code lying around for a while and wanted to check it in before I forget about it.

19 years agoShut up notices
Brion Vibber [Mon, 27 Sep 2004 06:20:57 +0000 (06:20 +0000)]
Shut up notices

19 years agoMore annoying definition list test cases...
Wil Mahan [Mon, 27 Sep 2004 06:14:36 +0000 (06:14 +0000)]
More annoying definition list test cases...

19 years agoFix "; url://blah blah : definition" definition lists and related cases,
Wil Mahan [Mon, 27 Sep 2004 06:13:07 +0000 (06:13 +0000)]
Fix "; url://blah blah : definition" definition lists and related cases,
noted by brion and JeLuF

19 years agoDisable msgnw test because no one cares about msgnw anyway;
Wil Mahan [Mon, 27 Sep 2004 05:33:17 +0000 (05:33 +0000)]
Disable msgnw test because no one cares about msgnw anyway;
add RFC test, more definition lists containing ':' tests

19 years agoAdd a couple definition list tests for colon & space bugs
Brion Vibber [Mon, 27 Sep 2004 05:00:04 +0000 (05:00 +0000)]
Add a couple definition list tests for colon & space bugs

19 years agoFix bug 77: semicolon-colon wikitext syntax requires extra space now;
Wil Mahan [Mon, 27 Sep 2004 04:44:00 +0000 (04:44 +0000)]
Fix bug 77: semicolon-colon wikitext syntax requires extra space now;
add some profiling statements

19 years agoShut up PHP notification warnings about $_SERVER['SERVER_NAME']
Brion Vibber [Mon, 27 Sep 2004 04:43:29 +0000 (04:43 +0000)]
Shut up PHP notification warnings about $_SERVER['SERVER_NAME']
being unaccessible from the command line. Fall back to $_SERVER['HOSTNAME']
or 'localhost' if not available.

19 years agoPHPTAL 1.0/PHP 5 fix: missing 'viewcount' sometimes.
Brion Vibber [Mon, 27 Sep 2004 03:10:28 +0000 (03:10 +0000)]
PHPTAL 1.0/PHP 5 fix: missing 'viewcount' sometimes.

19 years ago* Hacky fix for PHPTAL 0.7 bug to be consistent with PHPTAL 1.0 (${foo} interpolation...
Brion Vibber [Mon, 27 Sep 2004 03:05:20 +0000 (03:05 +0000)]
* Hacky fix for PHPTAL 0.7 bug to be consistent with PHPTAL 1.0 (${foo} interpolations not escaped)
* Switch usercss & userjs bits due to above; SkinPHPTal now sets them _with_ the CDATA markers, as PHPTAL seems unwilling to recognize XML tags with tal: bits on them inside a CDATA section in the template (though oddly enough it interpreted the ${bits} just fine!)

19 years agoDoc comments
Brion Vibber [Mon, 27 Sep 2004 02:59:24 +0000 (02:59 +0000)]
Doc comments

19 years agoMore fixes for PHPTAL 1.0 on PHP5. Apparently it's a bug in PHPTAl 0.7 that
Brion Vibber [Mon, 27 Sep 2004 01:30:27 +0000 (01:30 +0000)]
More fixes for PHPTAL 1.0 on PHP5. Apparently it's a bug in PHPTAl 0.7 that
substitutions with ${name} are not HTML-escaped... Replaced various inline
bits with tal:content or tal:replace using the 'structure' keyword to do
this in a compatible way, but some bits may be remaining.

Also changed some uses to tal:attributes, and took the htmlspecialchars()
off of the settings in SkinPHPTal to let them get escaped normally.
The main page logo link is currently bitten by this as i18n:attributes
and tal:attributes can't be used together on 0.7.0; this needs tweaking.

PHPTAL 1.0 currently doesn't escape the tal:attributes bits, but this seems
to be a simple bug and should be fixed soon, I hope.

19 years agolet getVariants() returns the content language by default. this makes sure messages...
Zheng Zhu [Mon, 27 Sep 2004 00:06:40 +0000 (00:06 +0000)]
let getVariants() returns the content language by default. this makes sure messages of the content language are drawn from the MediaWiki namespace.

19 years agoUse wfMsgForContent() when making links
Zheng Zhu [Sun, 26 Sep 2004 23:45:18 +0000 (23:45 +0000)]
Use wfMsgForContent() when making links

19 years agoBack out kturner's old table restructure for now.
Brion Vibber [Sun, 26 Sep 2004 19:49:44 +0000 (19:49 +0000)]
Back out kturner's old table restructure for now.
This will require downtiime on upgrade, so we're not going to do it until we have a better idea of the cost and can make all necessary changes at once to minimize it.

19 years agoFix problem with RFC magic links, as noted at bug 479
Wil Mahan [Sun, 26 Sep 2004 17:59:08 +0000 (17:59 +0000)]
Fix problem with RFC magic links, as noted at bug 479

19 years agoOops, no UTF8
Tim Starling [Sun, 26 Sep 2004 16:29:03 +0000 (16:29 +0000)]
Oops, no UTF8

19 years agoNew language file by Quackor, slightly modified by me
Tim Starling [Sun, 26 Sep 2004 16:09:33 +0000 (16:09 +0000)]
New language file by Quackor, slightly modified by me

19 years agoRemoved testcode.
Jens Frank [Sun, 26 Sep 2004 15:11:30 +0000 (15:11 +0000)]
Removed testcode.

19 years agoinclude sql patch
River Tarnell [Sun, 26 Sep 2004 14:43:50 +0000 (14:43 +0000)]
include sql patch

19 years agoremove old_namespace and old_title from old table.
River Tarnell [Sun, 26 Sep 2004 14:43:12 +0000 (14:43 +0000)]
remove old_namespace and old_title from old table.

19 years agocomments
Tim Starling [Sun, 26 Sep 2004 13:41:21 +0000 (13:41 +0000)]
comments

19 years agouser_token
River Tarnell [Sun, 26 Sep 2004 11:17:34 +0000 (11:17 +0000)]
user_token

19 years agoMore informative error message for when the user forgot to move LocalSettings.php...
Tim Starling [Sun, 26 Sep 2004 10:41:48 +0000 (10:41 +0000)]
More informative error message for when the user forgot to move LocalSettings.php. Moved recently-added setup code from index.php to Setup.php where it's meant to be. index.php isn't the only entry point!

19 years agoAdded check for valid user permissions when updating database
Tim Starling [Sun, 26 Sep 2004 10:07:31 +0000 (10:07 +0000)]
Added check for valid  user permissions when updating database

19 years agoAvoid PHP warning about undefined constant
Jens Frank [Sun, 26 Sep 2004 09:51:41 +0000 (09:51 +0000)]
Avoid PHP warning about undefined constant

19 years agoBUG#419 Added global variable that defines the elements of the navigation sidebar.
Jens Frank [Sun, 26 Sep 2004 09:45:35 +0000 (09:45 +0000)]
BUG#419 Added global variable that defines the elements of the navigation sidebar.
Made MonoBook use the global sidebar definition

19 years agoRefactored updaters.inc. With all those functions doing virtually the same thing...
Tim Starling [Sun, 26 Sep 2004 09:22:49 +0000 (09:22 +0000)]
Refactored updaters.inc. With all those functions doing virtually the same thing, it was getting kind of silly

19 years agocreate schema mediawiki and store all objects in it
Domas Mituzas [Sun, 26 Sep 2004 09:03:45 +0000 (09:03 +0000)]
create schema mediawiki and store all objects in it
add user_token

19 years agouser_token field (from REL1_3A)
Tim Starling [Sun, 26 Sep 2004 08:53:48 +0000 (08:53 +0000)]
user_token field (from REL1_3A)

19 years agoImproved security: don't send out password hashes or store them in the session, use...
Tim Starling [Sun, 26 Sep 2004 08:25:12 +0000 (08:25 +0000)]
Improved security: don't send out password hashes or store them in the session, use random tokens instead (from REL1_3A)