Antoine Musso [Sun, 5 Sep 2004 03:37:30 +0000 (03:37 +0000)]
some more files I forgot from /stylesheets/
Antoine Musso [Sun, 5 Sep 2004 03:33:26 +0000 (03:33 +0000)]
files moved from /stylesheets/ (wich is now obsolete)
Antoine Musso [Sun, 5 Sep 2004 03:25:58 +0000 (03:25 +0000)]
Use the new skin tree hierarchy
Antoine Musso [Sun, 5 Sep 2004 02:21:52 +0000 (02:21 +0000)]
New stylepath : ./skins/ instead of ./style/ or ./stylesheet/
Committing before I forget about it. Installer probably need it's default choice to be updated as well.
Arne Heizmann [Sat, 4 Sep 2004 14:25:47 +0000 (14:25 +0000)]
forgot to remove this
Arne Heizmann [Sat, 4 Sep 2004 14:21:45 +0000 (14:21 +0000)]
expand comment for isNewbie(), and spelling corrections
Antoine Musso [Sat, 4 Sep 2004 13:06:25 +0000 (13:06 +0000)]
Phpdoc comments
Tim Starling [Sat, 4 Sep 2004 09:48:12 +0000 (09:48 +0000)]
Use default skin
Brion Vibber [Sat, 4 Sep 2004 09:35:01 +0000 (09:35 +0000)]
Some more phpdoc bits
Brion Vibber [Sat, 4 Sep 2004 09:09:17 +0000 (09:09 +0000)]
typo
Brion Vibber [Sat, 4 Sep 2004 09:08:22 +0000 (09:08 +0000)]
phpdoc comments
Brion Vibber [Sat, 4 Sep 2004 08:54:59 +0000 (08:54 +0000)]
More command-line options so I can just hit 'up, enter' instead of the tedious prompt. :)
Brion Vibber [Sat, 4 Sep 2004 08:34:51 +0000 (08:34 +0000)]
phpdoc tweaking
Brion Vibber [Sat, 4 Sep 2004 06:25:23 +0000 (06:25 +0000)]
Link the FAQ
Antoine Musso [Sat, 4 Sep 2004 04:27:53 +0000 (04:27 +0000)]
dummy FAQ
Arne Heizmann [Sat, 4 Sep 2004 02:20:34 +0000 (02:20 +0000)]
MediaWiki :-)
Brion Vibber [Sat, 4 Sep 2004 01:58:17 +0000 (01:58 +0000)]
Remove hard-coded paths from documentation generation script, and don't allow running except from CLI.
Added --all option to skip the prompt so this can be run as part of an automated release build process.
Place the generated files into docs/html.
Brion Vibber [Sat, 4 Sep 2004 00:12:08 +0000 (00:12 +0000)]
Add some documentation comments
Arne Heizmann [Sat, 4 Sep 2004 00:05:30 +0000 (00:05 +0000)]
change all occurrences of "Mediawiki" to "MediaWiki".
Antoine Musso [Sat, 4 Sep 2004 00:02:45 +0000 (00:02 +0000)]
some comments.
Antoine Musso [Fri, 3 Sep 2004 23:53:56 +0000 (23:53 +0000)]
some comments
Antoine Musso [Fri, 3 Sep 2004 23:07:58 +0000 (23:07 +0000)]
simple script to generate phpdocumentor documentation and troubleshoot its generation
Antoine Musso [Fri, 3 Sep 2004 23:00:01 +0000 (23:00 +0000)]
Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema
Antoine Musso [Fri, 3 Sep 2004 22:52:28 +0000 (22:52 +0000)]
Change the way comment are generated so they are compatible with phpdocumentor. Changes already existing files as well.
Antoine Musso [Fri, 3 Sep 2004 22:33:01 +0000 (22:33 +0000)]
Phpdocumentor comments format.
Devs: please update your AdminSettings.php
Arne Heizmann [Fri, 3 Sep 2004 21:29:06 +0000 (21:29 +0000)]
change all occurrences of "fromwikipedia" to "tagline".
change all occurrences of "aboutwikipedia" to "aboutsite".
Arne Heizmann [Fri, 3 Sep 2004 21:22:20 +0000 (21:22 +0000)]
remove trailing white space
Brion Vibber [Fri, 3 Sep 2004 21:21:19 +0000 (21:21 +0000)]
Suppress unset array index notice with quoted search terms
Antoine Musso [Fri, 3 Sep 2004 21:02:18 +0000 (21:02 +0000)]
Skins classes under their own phpdocumentor subpackage: "Skins"
Arne Heizmann [Fri, 3 Sep 2004 20:54:26 +0000 (20:54 +0000)]
grammar fix
Antoine Musso [Fri, 3 Sep 2004 20:33:01 +0000 (20:33 +0000)]
Phpdoc comments and place holder. Part of the subpackage "maintenance", archives in subpackage "maintenanceArchive"
Erik Moeller [Fri, 3 Sep 2004 19:48:38 +0000 (19:48 +0000)]
add Ashar to credits
Antoine Musso [Fri, 3 Sep 2004 18:52:58 +0000 (18:52 +0000)]
Comments. No more alpha version
Brion Vibber [Fri, 3 Sep 2004 17:36:21 +0000 (17:36 +0000)]
Removing obsolete files, already removed from 1.3 branch.
Antoine Musso [Fri, 3 Sep 2004 17:22:43 +0000 (17:22 +0000)]
comment that it's deprecated
Antoine Musso [Fri, 3 Sep 2004 17:13:55 +0000 (17:13 +0000)]
More comments !
Antoine Musso [Fri, 3 Sep 2004 16:51:45 +0000 (16:51 +0000)]
phpdocumentor comments placeholders
Antoine Musso [Fri, 3 Sep 2004 16:36:46 +0000 (16:36 +0000)]
Comments for phpdocumentor + comments placeholder.
Antoine Musso [Fri, 3 Sep 2004 15:48:02 +0000 (15:48 +0000)]
comments and comments placeholders
Antoine Musso [Fri, 3 Sep 2004 15:23:37 +0000 (15:23 +0000)]
Some comments
Antoine Musso [Fri, 3 Sep 2004 15:10:05 +0000 (15:10 +0000)]
Fix bug bugzilla.wikipedia.org/show_bug.cgi?id=270
PHPTal skins would not let an user watch a non existent page.
Antoine Musso [Fri, 3 Sep 2004 14:47:27 +0000 (14:47 +0000)]
Fix bug bugzilla.wikipedia.org/show_bug.cgi?id=365
Typo
Domas Mituzas [Fri, 3 Sep 2004 12:13:53 +0000 (12:13 +0000)]
change double->single quotes for string literal in sql query
Domas Mituzas [Fri, 3 Sep 2004 11:53:46 +0000 (11:53 +0000)]
working schema for working pg layer. hooray! :)
$wgPutIPinRC=true; must be set
Domas Mituzas [Fri, 3 Sep 2004 11:28:35 +0000 (11:28 +0000)]
wfTimestampNow()->Database::timestamp()
Brion Vibber [Fri, 3 Sep 2004 07:12:46 +0000 (07:12 +0000)]
Normalize Unicode in uploaded filenames. In particular this is a fix for a problem with non-ascii filenames uploaded with Safari, which encodes the file with HTML character references *with combining characters decomposed*.
* Fix for http://bugzilla.wikipedia.org/show_bug.cgi?id=215
Brion Vibber [Fri, 3 Sep 2004 06:49:17 +0000 (06:49 +0000)]
Normalize output for Special:Export.
Brion Vibber [Fri, 3 Sep 2004 06:44:57 +0000 (06:44 +0000)]
Correction to the \r stripping
Brion Vibber [Fri, 3 Sep 2004 06:28:59 +0000 (06:28 +0000)]
Parameters in wrong order, used wrong where conditions
Brion Vibber [Fri, 3 Sep 2004 06:19:16 +0000 (06:19 +0000)]
typo
Brion Vibber [Fri, 3 Sep 2004 06:12:57 +0000 (06:12 +0000)]
Start cracking down on illegal titles: in UTF-8 mode reject titles which have had the 'replacement character' inserted, representing illegal UTF-8 sequences or non-legal Unicode characters.
Moved the PATH_INFO check from index.php into WebRequest; it now just shoves the param into $_REQUEST['title'].
Brion Vibber [Fri, 3 Sep 2004 05:39:30 +0000 (05:39 +0000)]
Add UtfNormal::cleanUp() function: strips XML-unsafe characters and illegal UTF-8 sequences, then normalizes to form C.
Antoine Musso [Fri, 3 Sep 2004 01:05:32 +0000 (01:05 +0000)]
Some documentation. Let's talk about it in wikitech-l.
Antoine Musso [Fri, 3 Sep 2004 00:20:26 +0000 (00:20 +0000)]
some documentation
Brion Vibber [Thu, 2 Sep 2004 23:35:13 +0000 (23:35 +0000)]
Don't bother writing out the MediaWiki:All_messages page. It takes a billion years to render and is superceded by the dynamic Special:Allmessages.
Antoine Musso [Thu, 2 Sep 2004 23:28:24 +0000 (23:28 +0000)]
Changing comments layout preparing for generated documentation with Phpdocumentor
Brion Vibber [Thu, 2 Sep 2004 08:01:13 +0000 (08:01 +0000)]
One more unicode normalization fix: don't die horribly on arrays, and get the PATH_INFO title too.
Brion Vibber [Thu, 2 Sep 2004 07:50:04 +0000 (07:50 +0000)]
Normalize Unicode input to normalization form C. Most of the time input
is already in this form and it shouldn't take very long to verify it.
There is still optimization to be done though.
Partial fix for http://bugzilla.wikipedia.org/show_bug.cgi?id=240
Will also need to verify correct UTF-8 sequences and strip characters
that are illegal in XML.
Some input may not be going through this verification yet (eg the uploaded filenames)
Brion Vibber [Thu, 2 Sep 2004 07:39:06 +0000 (07:39 +0000)]
Split the data arrays for form KC, KD to a separate include file and load it on demand.
These are less likely to be used, so save the memory and parse time...
Jens Frank [Thu, 2 Sep 2004 05:59:33 +0000 (05:59 +0000)]
BUG#26 Set setSquidMaxage to 0 if the user has new messages. Don't cache page.
Antoine Musso [Thu, 2 Sep 2004 03:48:26 +0000 (03:48 +0000)]
Security fix: do not use $IP on include (thanks brion)
Antoine Musso [Thu, 2 Sep 2004 03:41:11 +0000 (03:41 +0000)]
temp fix for wikimediawiki skins stylesheets. It iss just a copy of monobook directory
Brion Vibber [Thu, 2 Sep 2004 03:32:57 +0000 (03:32 +0000)]
* Refactor to separate the database bits from the UI bits
* Make output valid XHTML
* Use the standard comment formatter and provide user links
Antoine Musso [Thu, 2 Sep 2004 03:31:32 +0000 (03:31 +0000)]
typo? That was giving xml parse error.
Antoine Musso [Thu, 2 Sep 2004 03:24:01 +0000 (03:24 +0000)]
New system to generate $wgValidSkinNames by listing available dirs. Skins using PHPTal will not load and the software fallback to the standard skin. Added 2 samples for skin designers and updated doc
Brion Vibber [Thu, 2 Sep 2004 03:13:09 +0000 (03:13 +0000)]
Use the result wrapper object.
Brion Vibber [Thu, 2 Sep 2004 02:43:13 +0000 (02:43 +0000)]
ResultWrapper object, so you can pass a result back as a return value without passing along the database object you used too.
Brion Vibber [Thu, 2 Sep 2004 02:23:49 +0000 (02:23 +0000)]
Add FauxRequest class for arbitrary parameters.
Brion Vibber [Thu, 2 Sep 2004 02:22:42 +0000 (02:22 +0000)]
Fix for starting point entered as lowercase.
Antoine Musso [Thu, 2 Sep 2004 02:15:54 +0000 (02:15 +0000)]
moving templates from /templates/ to /skins/ . xhtml_slim.pt is now MonoBook.pt, xhtml_minimal.pt is now Chick.pt, xhtml_slim_wikimediawiki.pt is now WikimediaWiki.pt
Antoine Musso [Thu, 2 Sep 2004 01:33:43 +0000 (01:33 +0000)]
removing obsolete files. See ./skins/ for new location
Antoine Musso [Thu, 2 Sep 2004 01:29:18 +0000 (01:29 +0000)]
Big change to the skin system. Php files are now in ./skins/ . Templates and stylesheets will be migrated there as well later. The main idea is to let users add new skins easily without hacking mediawiki
Antoine Musso [Thu, 2 Sep 2004 00:25:56 +0000 (00:25 +0000)]
* some comments
* double to single quotes
* function foobar () { shema
* indentation fix in function getEditToolbar()
Antoine Musso [Thu, 2 Sep 2004 00:01:19 +0000 (00:01 +0000)]
do not indent code inside the "if( defined( 'MEDIAWIKI' ) ) { }" block
Antoine Musso [Wed, 1 Sep 2004 23:34:28 +0000 (23:34 +0000)]
killing some double quotes
Jens Frank [Wed, 1 Sep 2004 22:56:03 +0000 (22:56 +0000)]
Add SOAP read only API. API still unstable, might add limitations on number
of queries per day or similar.
Antoine Musso [Wed, 1 Sep 2004 22:29:25 +0000 (22:29 +0000)]
comments from DefaultSettings.php
Fix bug http://bugzilla.wikipedia.org/show_bug.cgi?id=257
Arne Heizmann [Wed, 1 Sep 2004 21:53:50 +0000 (21:53 +0000)]
We should try not to use the same message for different things :/
Brion Vibber [Wed, 1 Sep 2004 18:16:32 +0000 (18:16 +0000)]
Set $wgDBadminuser and $wgDBadminpassword to root when using the root
login so that certain db upgrade steps (eg convertLinks.inc) will not
try to use the unprivileges database account to do restructuring.
This fixes the problem with upgrading wikis created by the old
command-line installer dying at the link table conversion.
Domas Mituzas [Wed, 1 Sep 2004 14:10:42 +0000 (14:10 +0000)]
time(), date(), timeanddate() now use wfTimestamp(TS_MW) for timestamp input
* should be merged into other language files, defining these functions as well
Domas Mituzas [Wed, 1 Sep 2004 12:49:19 +0000 (12:49 +0000)]
include all fields in group-by, required by nonmysql databases, doesn't break anything on mysql
Domas Mituzas [Wed, 1 Sep 2004 12:48:09 +0000 (12:48 +0000)]
strip profile name in case it exceeds db storage size (at 255 mark)
Domas Mituzas [Wed, 1 Sep 2004 12:29:07 +0000 (12:29 +0000)]
get rid of all INSERT IGNORE in includes/, change into Database::insertArray
Domas Mituzas [Wed, 1 Sep 2004 12:27:57 +0000 (12:27 +0000)]
treat every array as an array, not only with option IGNORE,
IGNORE single-row inserts as well, if specified.
Arne Heizmann [Wed, 1 Sep 2004 03:08:44 +0000 (03:08 +0000)]
probably a typo
Arne Heizmann [Wed, 1 Sep 2004 03:01:37 +0000 (03:01 +0000)]
display "view current revision" link on old revisions. (This means that the
Classic skin will have it twice in different places, but I hope people won't mind.)
Arne Heizmann [Wed, 1 Sep 2004 02:57:26 +0000 (02:57 +0000)]
remove trailing white space (sorry)
Erik Moeller [Tue, 31 Aug 2004 10:23:55 +0000 (10:23 +0000)]
Custom namespaces:
To add a new namespace, just set $wgExtraNamespaces in LocalSettings.php.
Custom namespaces must begin at 100.
This is primarily intended to let us add a bunch of international versions
of the "Help:" namespace on Meta, so we can finally have a single place for
all documentation and easily dump/import it to other wikis.
Brion Vibber [Tue, 31 Aug 2004 02:26:55 +0000 (02:26 +0000)]
Avoid numeric and boolean interpretation of "0" in self-link check and Go searching.
Fix for bug 174: 0 as an article name behaves strangely (numerical comparison in article-ids).
http://bugzilla.wikipedia.org/show_bug.cgi?id=174
Arne Heizmann [Tue, 31 Aug 2004 01:43:31 +0000 (01:43 +0000)]
document $wgLocalTZoffset
Brion Vibber [Tue, 31 Aug 2004 01:01:44 +0000 (01:01 +0000)]
Quote seemingly numeric values in SQL, as they might
actually be strings which may not convert 1:1 if passed
to MySQL as numbers.
fix for Bug 255: Number articles on Special:Newpages
http://bugzilla.wikipedia.org/show_bug.cgi?id=255
Arne Heizmann [Mon, 30 Aug 2004 23:45:05 +0000 (23:45 +0000)]
Oops. Don't double-escape this.
Arne Heizmann [Mon, 30 Aug 2004 23:23:10 +0000 (23:23 +0000)]
comment was incomplete
Arne Heizmann [Mon, 30 Aug 2004 23:17:04 +0000 (23:17 +0000)]
Re-insert my changes to the Diff engine that make it so that the original text is diffed
and only HTML-escaped on output. JeLuF was seeing unescaped HTML because he had
$wgUseExternalDiffEngine turned on; hence, this commit makes it so that pre-escaped text is
sent to such an external engine just as before. Also fixes indentation and readability
issues, adds a few comments, and removes trailing whitespace in only 4(!) lines. :)
Jens Frank [Mon, 30 Aug 2004 20:23:36 +0000 (20:23 +0000)]
fix nasty error due to /dev/random exhaustion
Brion Vibber [Mon, 30 Aug 2004 08:22:15 +0000 (08:22 +0000)]
In the allpages index, make the whole line links to hopefully
reduce the confusion factor. Some people thought that the link
was actually a link _to_ the first page listed.
Since the centering is done with a table (yecch) each line is
actually three separate links, for the first page, "to", and
last page. All go to the same place, and on Monobook with link
underlining off it should look pretty decent. It's less attractive
on the classic skins with underlining on, but it's better than
the old look i think.
Also, removed the old caching with LogPage, since this no longer
works. Either the index generation needs to be made a lot faster,
or the index points should be saved in the querycache table.
http://bugzilla.wikipedia.org/show_bug.cgi?id=250
Brion Vibber [Mon, 30 Aug 2004 05:11:21 +0000 (05:11 +0000)]
When using wfMsgNoDB(), *don't use the cached messsages!*
This restores Special:Allmessages to working order; previously it was
showing the MediaWiki: message in both columns, which is not too helpful.
Brion Vibber [Sun, 29 Aug 2004 21:26:00 +0000 (21:26 +0000)]
Snarf the deletion log entries on the undelete page. Make the log items
and the archived history quite distinct by adding headings.
Jens Frank [Sun, 29 Aug 2004 19:07:18 +0000 (19:07 +0000)]
BUG#244 Backed out changes done in Patch 1.33 due to major
security problems. HTML tags were not escaped and it was possible to execute arbitrary javascript code
Jens Frank [Sun, 29 Aug 2004 18:25:25 +0000 (18:25 +0000)]
BUG#249 Add ecclipse meta files to .cvsignore