Gabriel Wicke [Thu, 13 May 2004 14:17:44 +0000 (14:17 +0000)]
After a longer phone call Erik and me agreed on working on an equivalent feature most likely based on categories that interacts better with caching. More discussion on to follow.
Removed with Erik's agreement.
Erik Moeller [Thu, 13 May 2004 12:20:59 +0000 (12:20 +0000)]
restore section folding
Gabriel Wicke [Thu, 13 May 2004 12:08:02 +0000 (12:08 +0000)]
Silenced this, $token["pos"] was undefined when parsing '''hi'''''hi'' which created a notice. Output is fine, so silencing it should be ok.
Gabriel Wicke [Thu, 13 May 2004 11:54:19 +0000 (11:54 +0000)]
removed section folding
Erik Moeller [Wed, 12 May 2004 22:01:25 +0000 (22:01 +0000)]
fix collapsing problem with templates (templates would be expanded and
formatted first and thus cause a duplicate TOC, the internal parser now has
an isMain parameter to specify whether it is called from the main article
text, or from a template.
Erik Moeller [Wed, 12 May 2004 21:40:59 +0000 (21:40 +0000)]
that was unintentional
Erik Moeller [Wed, 12 May 2004 21:38:01 +0000 (21:38 +0000)]
fix a couple of section collapsing bugs
Gabriel Wicke [Wed, 12 May 2004 18:46:21 +0000 (18:46 +0000)]
disabled blockquote rule
Gabriel Wicke [Wed, 12 May 2004 14:30:35 +0000 (14:30 +0000)]
tweaks to tidy comments
Erik Moeller [Wed, 12 May 2004 13:55:40 +0000 (13:55 +0000)]
fix a =/== typo
Erik Moeller [Wed, 12 May 2004 13:26:36 +0000 (13:26 +0000)]
New feature:
Automatic or manual collapsing and expanding of long pages.
Pages can be collapsed automatically according to a size threshold
set in the user preferences. Pages can be collapsed manually by clicking
the "Collapse" link in the TOC.
When a page is collapsed, only the intro & TOC are displayed. The
individual TOC lines link to section views, which can be individually edited
(classic section editing).
Section editing/viewing behavior has also been improved. When a section
with subsections is viewed or edited, all subsections are also loaded.
Known issues:
- After saving a section, we return to the full article view
rather than the section view, even if we previously were in section view
mode.
- Should work with Standard and Monobook, not tested with Cologne Blue yet.
- In Monobook, no backlink to the mother article is shown during section
viewing (Gabriel, can you fix that?)
Gabriel Wicke [Wed, 12 May 2004 13:05:00 +0000 (13:05 +0000)]
don't unescape preview text (made things like \<pre\> a plain \<pre\> in preview mode). Not sure if this has any side effects (and why it was unescaped in the first place).
Gabriel Wicke [Wed, 12 May 2004 12:48:36 +0000 (12:48 +0000)]
preserve newline before braced variables
Erik Moeller [Wed, 12 May 2004 01:17:05 +0000 (01:17 +0000)]
some documentation
Brion Vibber [Tue, 11 May 2004 09:47:41 +0000 (09:47 +0000)]
Whitelist and diff fixes:
* Enforce whitelist on oldid and diff specifiers (bug 950911)
* Show the titles given for oldid and diff if they differ (UI change related to bug 622636)
* Use canonical text form in $wgWhitelistRead
Gabriel Wicke [Tue, 11 May 2004 02:28:15 +0000 (02:28 +0000)]
prefixing require_once statements- previous version worked only for for a few minutes until php checked mod times again
Gabriel Wicke [Tue, 11 May 2004 01:42:58 +0000 (01:42 +0000)]
phptal doesn't require ini_set anymore
Tim Starling [Tue, 11 May 2004 01:22:55 +0000 (01:22 +0000)]
from meta
Gabriel Wicke [Tue, 11 May 2004 01:14:01 +0000 (01:14 +0000)]
make phptal available even if ini_set can't be set
Gabriel Wicke [Mon, 10 May 2004 19:16:50 +0000 (19:16 +0000)]
quote in separate function as well
Brion Vibber [Mon, 10 May 2004 18:53:26 +0000 (18:53 +0000)]
Don't forget to escape things in regexps
Gabriel Wicke [Mon, 10 May 2004 18:45:15 +0000 (18:45 +0000)]
shorter message while previewing
Gabriel Wicke [Mon, 10 May 2004 17:28:23 +0000 (17:28 +0000)]
typo
Gabriel Wicke [Mon, 10 May 2004 17:17:39 +0000 (17:17 +0000)]
don't show when previewing
Gabriel Wicke [Mon, 10 May 2004 17:14:01 +0000 (17:14 +0000)]
preview note
Gabriel Wicke [Mon, 10 May 2004 15:34:29 +0000 (15:34 +0000)]
work around the horizontal scrollbar khtml bug
Gabriel Wicke [Mon, 10 May 2004 15:33:28 +0000 (15:33 +0000)]
khtml fix stylesheet
Gabriel Wicke [Mon, 10 May 2004 13:15:28 +0000 (13:15 +0000)]
* user css/js preview
* utility functions in title to test for user css/js, some weird php bug prevents those from working in most places though
Gabriel Wicke [Mon, 10 May 2004 13:08:51 +0000 (13:08 +0000)]
comment out entries that are the same as in en, use wfMsgNoDb( )
Brion Vibber [Mon, 10 May 2004 01:54:56 +0000 (01:54 +0000)]
PHP 4.1.2 compatibility fixes (based on patch submission by Asheesh Laroia)
Also, urlencode anchor names for non-ascii compatibility. This is the
recommendation of HTML 4.01 standard in B.2.1, as far as I can tell.
Works in UTF-8 at least for IE6/win, Firefox, Safari.
Gabriel Wicke [Sun, 9 May 2004 22:05:51 +0000 (22:05 +0000)]
another tweak to the thumb centering
Gabriel Wicke [Sun, 9 May 2004 21:12:16 +0000 (21:12 +0000)]
really centered now
Gabriel Wicke [Sun, 9 May 2004 20:56:37 +0000 (20:56 +0000)]
centered thumb image
Tim Starling [Sun, 9 May 2004 14:28:21 +0000 (14:28 +0000)]
limit parameter
Brion Vibber [Sun, 9 May 2004 12:04:59 +0000 (12:04 +0000)]
Add $wgUserHtml option; set to false to disable use of user-supplied HTML
in wiki markup. Note that <nowiki>, <pre>, <math> etc are counted as wiki
markup. That <pre> looks like HTML's <pre> is a coincidence; they behave
differently (<pre> also disables other wiki markup like <nowiki> does).
Also, escape the <math> tag when $wgUseTeX is off.
Jens Frank [Sun, 9 May 2004 10:55:47 +0000 (10:55 +0000)]
make image width an integer, not a real number
Jens Frank [Sun, 9 May 2004 10:52:50 +0000 (10:52 +0000)]
Image bounding box can be specified instead of width, e.g. as
100x100px, making the image not wider than 100px and not higher
than 100px, keeping aspect ratio.
Brion Vibber [Sun, 9 May 2004 10:37:00 +0000 (10:37 +0000)]
Allow installing and running the wiki on a server where ini_set has been
disabled via disable_functions in php.ini (bug #928168)
The PHPTal skin doesn't function unless the PEAR bits are in include_path,
so it's disabled if ini_set can't be used. If the files are manually placed
or a real PEAR installation is available with the right stuff, one can
use $wgUsePHPTal = true;
There are likely other things that need to be taken into account for
restricted environments. Maintenance scripts haven't been tweaked for
such an environment yet either.
Tim Starling [Sun, 9 May 2004 06:20:46 +0000 (06:20 +0000)]
proper handling of users with no contributions
Tim Starling [Sun, 9 May 2004 06:03:54 +0000 (06:03 +0000)]
bug fixes
Brion Vibber [Sun, 9 May 2004 05:12:55 +0000 (05:12 +0000)]
Add an objectcache table for limited caching when memcached isn't
available. Currently using for the message cache to avoid reading
every message separately. This now is only slightly slower than
memcached in my tests when $wgUseDatabaseMessages is enabled, so
it's a bit of a speedup for common hosts.
Tim Starling [Sun, 9 May 2004 04:10:01 +0000 (04:10 +0000)]
table definitions for board vote
Tim Starling [Sun, 9 May 2004 02:32:04 +0000 (02:32 +0000)]
Board of Trustees vote
Brion Vibber [Sun, 9 May 2004 01:30:34 +0000 (01:30 +0000)]
Replace ugly abuse of log pages to store cached results of query pages
with a table that stores up to 1000 rows for each 'expensive' special
page. This can be paged through, reducing the annoyingness of 50 result
limits on the old system.
Rebuilding the cache can be forced by adding "recache=1" URL parameter,
but this will need to be refined with some sort of controls to prevent
abuse.
Added the user realname update to the installer's updater list, also.
Jens Frank [Sat, 8 May 2004 18:55:22 +0000 (18:55 +0000)]
Moved image history retrieval function to Image.php.
Variable names in Skin::imageHistoryLine() changed.
Jens Frank [Sat, 8 May 2004 18:11:22 +0000 (18:11 +0000)]
More translations, from Alwin Meschede
Brion Vibber [Sat, 8 May 2004 04:43:32 +0000 (04:43 +0000)]
Fix $wgLogo to new location, for standard and nostalgia skins
Brion Vibber [Sat, 8 May 2004 04:41:54 +0000 (04:41 +0000)]
Suppress PHP warnings on failure to create thumbnail subdirectories. This should be checked at file save time and a human-friendly error message listed instead
Brion Vibber [Sat, 8 May 2004 02:55:21 +0000 (02:55 +0000)]
User interface images have been moved to stylesheets/images. Removing the
now duplicate files from images, and fixing GNU FDL icon URL.
Brion Vibber [Sat, 8 May 2004 02:15:50 +0000 (02:15 +0000)]
Add $wgDefaultSkin setting.
Remove redundant options array in bn
Brion Vibber [Sat, 8 May 2004 01:37:01 +0000 (01:37 +0000)]
Remove never-used half-implemented framed skin. yuck, frames\!
Brion Vibber [Fri, 7 May 2004 23:47:46 +0000 (23:47 +0000)]
Documentation fix for wgWhitelistRead
Tim Starling [Fri, 7 May 2004 13:43:10 +0000 (13:43 +0000)]
include_once -> require_once
Gabriel Wicke [Fri, 7 May 2004 09:06:45 +0000 (09:06 +0000)]
add encoding option
Gabriel Wicke [Thu, 6 May 2004 21:10:57 +0000 (21:10 +0000)]
seriousxhtmlerrors message
Gabriel Wicke [Thu, 6 May 2004 21:06:23 +0000 (21:06 +0000)]
pipe for stderr was troublesome on pages with many errors (buffer filled up), generic message now
Gabriel Wicke [Thu, 6 May 2004 19:01:05 +0000 (19:01 +0000)]
* simpler html strip function if tidy is used
* error reporting if tidy doesn't honour force-output option *and* html is severely broken (if unknown elements are encountered), never return uncleaned version
Gabriel Wicke [Thu, 6 May 2004 15:40:47 +0000 (15:40 +0000)]
slightly larger indent for dd's
Gabriel Wicke [Thu, 6 May 2004 15:30:05 +0000 (15:30 +0000)]
one unclosed br partisan
Gabriel Wicke [Thu, 6 May 2004 13:38:23 +0000 (13:38 +0000)]
return the uncleaned text if tidy isn't there or if nothing is returned
Gabriel Wicke [Thu, 6 May 2004 12:50:04 +0000 (12:50 +0000)]
New tidy function that uses html tidy (tidy.sf.net) to make sure the output is valid xhtml/xml
Disabled by default, set $wgUseTidy = true to enable
Possible improvements:
* Tweaking it to work on windows (don't know if that's possible)
* use the php5 built-in tidy module if available, that seems to allow a fine-grained config on which tags are allowed as well (see http://www.php.net/manual/en/ref.tidy.php)
Gabriel Wicke [Thu, 6 May 2004 12:41:31 +0000 (12:41 +0000)]
settings for tidy extension
Tim Starling [Thu, 6 May 2004 06:46:27 +0000 (06:46 +0000)]
fixing wa
Jens Frank [Thu, 6 May 2004 06:31:35 +0000 (06:31 +0000)]
Merged wfImagePath into Image class
Gabriel Wicke [Wed, 5 May 2004 21:22:30 +0000 (21:22 +0000)]
some id name updates, some things in the footer hidden as well, black line on top of the footer
Gabriel Wicke [Wed, 5 May 2004 20:56:06 +0000 (20:56 +0000)]
no javascript: of course
Jens Frank [Wed, 5 May 2004 19:50:00 +0000 (19:50 +0000)]
More translations
Gabriel Wicke [Wed, 5 May 2004 12:03:12 +0000 (12:03 +0000)]
open edit help in separate window to work around IE data loss bug
Gabriel Wicke [Wed, 5 May 2004 12:02:25 +0000 (12:02 +0000)]
removed makeUrl functions, now in Skin.php
Gabriel Wicke [Wed, 5 May 2004 12:01:54 +0000 (12:01 +0000)]
added makeUrl functions to make them available in other skins as well
Gabriel Wicke [Wed, 5 May 2004 00:58:09 +0000 (00:58 +0000)]
noticed this is added as html attribute to the body
Gabriel Wicke [Wed, 5 May 2004 00:55:15 +0000 (00:55 +0000)]
make sure there's a contrast between text and bg
Gabriel Wicke [Wed, 5 May 2004 00:53:21 +0000 (00:53 +0000)]
set default background to white (make sure there's a contrast between text and bg)
Gabriel Wicke [Tue, 4 May 2004 23:42:09 +0000 (23:42 +0000)]
floating left option in cologneblue, patch by thetorpedodog (bug #941620)
Jens Frank [Tue, 4 May 2004 20:35:37 +0000 (20:35 +0000)]
moved some more functions from GlobalFunctions to Image
Tim Starling [Tue, 4 May 2004 14:38:21 +0000 (14:38 +0000)]
on Windows, you can't use a hard-coded directory. Getting temp directory from the environment instead
Tim Starling [Tue, 4 May 2004 14:36:42 +0000 (14:36 +0000)]
Orphan creating feature -- go redirects to edit if the page doesn't exist, off by default
Tim Starling [Tue, 4 May 2004 12:49:41 +0000 (12:49 +0000)]
Spam regex feature
Tim Starling [Tue, 4 May 2004 12:37:29 +0000 (12:37 +0000)]
Interwiki redirects using prefixes in the URL
Jerome Jamnicky [Tue, 4 May 2004 11:25:27 +0000 (11:25 +0000)]
removing Wikipedia's favicon.ico from public CVS
Gabriel Wicke [Mon, 3 May 2004 10:23:51 +0000 (10:23 +0000)]
switch off message expansion. Messages seem to be expanded in the db, didn't find a reason for this in InitializeMessages.inc. If manually changed to {{ns:4}} and similar this turns up correctly in the php version now.
Gabriel Wicke [Mon, 3 May 2004 10:21:26 +0000 (10:21 +0000)]
added way to swich off message expansion
Tim Starling [Mon, 3 May 2004 03:20:58 +0000 (03:20 +0000)]
Outputting MySQL's error message in dbsource()
Gabriel Wicke [Sun, 2 May 2004 23:53:10 +0000 (23:53 +0000)]
\n rather than \n (although they both seem to work)
Gabriel Wicke [Sun, 2 May 2004 23:18:25 +0000 (23:18 +0000)]
experimental fix to the template-inserts-newline-on-save problem
Gabriel Wicke [Sun, 2 May 2004 21:27:56 +0000 (21:27 +0000)]
two bug fixes: html comments don't add a paragraph anymore, lang links don't eat following text anymore
Brion Vibber [Sun, 2 May 2004 09:06:56 +0000 (09:06 +0000)]
Don't load user session in command line mode; this can bork web-based
reinstalls in some circumstances (bug 941461)
Tim Starling [Sun, 2 May 2004 08:51:07 +0000 (08:51 +0000)]
interwiki table for wiktionaries
Gabriel Wicke [Sat, 1 May 2004 15:42:11 +0000 (15:42 +0000)]
optional ?ot=php argument to get a copy&pasteable php representation of the mediawiki messages
possible update route:
1) get a sorted dump of the default messages (from a clean, fresh install)
2) same for the updated mediawiki messages
3) diff/merge using your favourite editor while paying attention to the wp-specific things
Gabriel Wicke [Sat, 1 May 2004 10:51:13 +0000 (10:51 +0000)]
* namespace-specific 'article' tabs
Brion Vibber [Sat, 1 May 2004 10:21:49 +0000 (10:21 +0000)]
Separate out the newly added docs links for the intial main page
into 'mainpagedocfooter' message to simplify the l10n task.
Brion Vibber [Sat, 1 May 2004 09:13:17 +0000 (09:13 +0000)]
Fix unicode case conversion for English/UTF-8
Brion Vibber [Sat, 1 May 2004 08:16:30 +0000 (08:16 +0000)]
Revert COMPLETE FILE CORRUPTION in all versions after 1.10.
Any substantive changes will have to be redone.
Brion Vibber [Sat, 1 May 2004 07:03:53 +0000 (07:03 +0000)]
Forward port install fixes for 1.2.5:
* Don't forget to grant user privs with blank root pw install
* Acknowledge 'apache2handler' as ok for pretty URLs
* Add link to http://meta.wikipedia.org/wiki/MediaWiki_i18n
in the initial main page (#1 FAQ is "how do I change 'From X,
the free encyclopedia'")
Evan Prodromou [Sat, 1 May 2004 03:19:51 +0000 (03:19 +0000)]
Fixed quoting in contributors query.
Gabriel Wicke [Sat, 1 May 2004 03:03:07 +0000 (03:03 +0000)]
wording update to refresh message
Gabriel Wicke [Sat, 1 May 2004 02:31:09 +0000 (02:31 +0000)]
* note on css/js view about refreshing to see the changes
* ie5 tweaks
Gabriel Wicke [Sat, 1 May 2004 01:21:36 +0000 (01:21 +0000)]
bah- edit tab was always selected..
Brion Vibber [Sat, 1 May 2004 00:46:20 +0000 (00:46 +0000)]
Remove redundant (and broken) favicon link
Gabriel Wicke [Sat, 1 May 2004 00:40:34 +0000 (00:40 +0000)]
this-\>iseditable, fixes the doubleclick-on-edit-page-not working bug; false instead of empty string to omit the tags