Antoine Musso
3d60242fb5
massive double to single quotes conversion. I have not noticed any bug after a lot of testing
2004-08-22 17:24:50 +00:00
Brion Vibber
16514740cf
Remove what seems to be an accidentally checked-in testing line:
...
'/([^> ]+(0(1|3|9);)[^< ]*)/i' => '<span class="diacrit">\\1</span>',
(Originally added by gwicke in revision 1.197)
With very long 'words' this regexp is super slow, and causes timeouts:
Bug 183: timeout in Parser.php with Tidy
http://bugzilla.wikipedia.org/show_bug.cgi?id=183
2004-08-22 09:57:12 +00:00
Jens Frank
1eb2480014
Moved category stuff to CategoryPage, copying logic of ImagePage
2004-08-22 09:42:12 +00:00
Jens Frank
d289825788
Fix notice regarding invalid array index -1
2004-08-22 07:22:13 +00:00
Antoine Musso
9a3ae4a58e
Reverting patch 1.246 made by Guillaume. It breaks things such as [[100]].
2004-08-21 19:59:43 +00:00
Brion Vibber
830e915970
Add some more profiling points
2004-08-19 08:44:13 +00:00
Guillaume Blanchard
a3581bcf9c
*fix bug in non-breaking space regexp
...
*add non-breaking code for French numbers
*set MAX_INCLUDE_REPEAT to 100 (I'll remove it when I'll update the per page size max)
2004-08-17 15:42:42 +00:00
Antoine Musso
440edce494
* some comments (using # instead of /* */ )
...
* function foobar () { shema
2004-08-16 20:01:21 +00:00
Antoine Musso
c5686b5b32
more double to single quotes
2004-08-16 15:29:17 +00:00
Antoine Musso
354e912799
Comments, double to single quotes, foobar () { shema.
2004-08-16 15:23:46 +00:00
Jens Frank
426899ec1b
Move check for wgUseGeoMode to where the function is called, avoids copying the text around
2004-08-15 13:49:14 +00:00
Arne Heizmann
af38689651
New PHPtal-based skin 'Chick'. Designed for PDAs and other low-resolution devices.
...
See non-whitespace-changing patch at http://bugzilla.wikipedia.org/show_bug.cgi?id=49
2004-08-14 22:38:46 +00:00
Arne Heizmann
69eaf5751b
Fixes to the bold/italics rendering problems [Bug 40]
...
http://bugzilla.wikipedia.org/show_bug.cgi?id=40
2004-08-14 08:32:57 +00:00
Brion Vibber
41c8b7bf72
Antiglobalization!
...
* Remove some unused and some useless functions from GlobalSettings.php
* wfEscapeHTML() replaced with PHP built-in htmlspecialchars().
* Moved some functions into Parser.php and Image.php
2004-08-13 15:55:59 +00:00
Guillaume Blanchard
1c8f04ece2
MAX_INCLUDE_REPEAT 5 => 20
...
Fix non-breaking space before ';'
2004-08-13 14:15:21 +00:00
Antoine Musso
4054b8773c
Fix source forge bug #1007149 . Wrong plural when listing categories and subcategories. Added two new messages in language.php
2004-08-12 13:58:54 +00:00
Antoine Musso
6291a4774d
implement a new magic word: PAGENAMEE wich return the escaped title. Implement sourceforge feature requests 999044 and 997771
2004-08-12 13:32:04 +00:00
Tim Starling
d2ac7399cc
tweaking escaping of external links
2004-08-10 11:24:24 +00:00
Magnus Manske
7b0686a408
(Hopefully) fixing various template bugs once and for all!
2004-08-08 18:05:41 +00:00
Tim Starling
5d58e45c1a
Fixing bug #584804 , extra characters requested in $sep for external links. This includes the right parenthesis fix suggested by Brion.
2004-08-07 18:45:30 +00:00
Tim Starling
badf11ffe6
Rewrote external link handler, using preg_split(). Passes all external link test cases on [[m:Parser testing]]. Fixes some parts of bug #583234 : fixes URL inside URL problem and incorrectly rejected character problem
2004-08-07 18:24:12 +00:00
Arne Heizmann
96206ce09b
Bugfix: produce valid XHTML even if user entered invalid '' / ''' mark-up.
2004-08-07 12:37:20 +00:00
Arne Heizmann
2e76b8fa28
rm trailing white space
2004-08-07 12:35:59 +00:00
Tim Starling
ea050f787c
comments and descriptive variable names
2004-08-07 08:54:52 +00:00
Tim Starling
d73935a5f0
New feature, nicer display of redirects. Removed special case for redirects from Parser.php, which probably would have caused problems anyway. Changed a few places to use NS_xxx constants instead of the old Namespace:: functions.
2004-08-07 03:50:46 +00:00
Arne Heizmann
99b447f83b
Performance optimisation: Merge two for loops into one.
2004-08-06 21:13:30 +00:00
Arne Heizmann
11093c73a1
Somewhat less hacky fix to the French l''''homme''' problem.
2004-08-06 20:47:21 +00:00
Magnus Manske
406abe0b0a
Adding option $fixLbug to fix bug 948549
2004-08-06 17:52:43 +00:00
Jens Frank
152dcb411d
Category links are not part of mBodyText, so <!--LINK tags are not converted.
...
set postParseLinkColour to false to force "real" link. There must be a better way to do this.
2004-08-05 20:15:32 +00:00
Magnus Manske
a56f343767
This should fix bug 980557
2004-08-04 20:56:46 +00:00
Jens Frank
61fb81f125
Removed debug output
2004-08-04 20:04:54 +00:00
Magnus Manske
ef2acad514
fixing several bugs at once, or creating new ones?
2004-08-04 19:59:04 +00:00
Magnus Manske
5d88dfc609
fixing my redirect bug fix (hopefully)
2004-08-04 17:08:33 +00:00
Jens Frank
40d9911ee1
Allow indentation of tables using :{|
...
Bug #989788 .
2004-08-04 16:37:48 +00:00
Brion Vibber
73a4662190
Move magic ISBN, RFC, and GEO links to between replaceExternalLinks and
...
replaceInternalLinks. This is a basic fix for the infamous bug
[ 708163 ] [[ISBN #]] doesn't work correctly
ISBN, RFC links accidentally put inside [[ ]] brackets will now come up
relatively straightforwardly, with extra brackets. This is much nicer
than a horror of HTML errors that there were before; does not solve
problem with embedded <a>-in-<a> tag if you put it in a link piped
text, but that's a smaller problem.
Someday a full tokenized parser will wish this problem away into the
cornfields.
2004-08-04 01:53:29 +00:00
Magnus Manske
10a7bdc143
category redirect bug fix
2004-08-03 19:50:37 +00:00
Arne Heizmann
d6b0fc1ab5
Allowing for piped links inside template variables; by Emmanuel Engelhart
...
http://mail.wikipedia.org/pipermail/wikitech-l/2004-July/011776.html ff.
2004-07-31 14:13:07 +00:00
Brion Vibber
a3e3155936
Fix fragments on interwiki links and in-wiki links with case sensitive option on.
...
* [ 991569 ] Interwiki Links to Sections Do Not Work
2004-07-29 04:48:42 +00:00
Brion Vibber
81911cace9
Use localized numerals for CURRENTMONTH, CURRENTDAY, CURRENTYEAR, NUMBEROFARTICLES
2004-07-28 21:20:49 +00:00
Brion Vibber
67833d481c
$wgRawHtml option to enable <html>...</html> container for RAW UNCHECKED
...
UNPARSED html bits. Don't enable this except on trusted sites!
2004-07-24 22:59:44 +00:00
Arne Heizmann
a75b7d316f
sp :)
2004-07-24 01:03:16 +00:00
Arne Heizmann
6697d32053
Prevent category stuff ("There are 0 articles in this category.") from appearing in
...
the middle of articles because it is appended when a {{macro}} is expanded.
2004-07-24 00:46:27 +00:00
Jens Frank
063befc4cc
Changed template inclusion code to detect loops and to limit the text length.
...
Based on an algorithm proposed by Emmanuel Engelhardt in
http://mail.wikipedia.org/pipermail/wikitech-l/2004-July/011254.html
slightly modified.
2004-07-24 00:37:24 +00:00
Jens Frank
4c5f567db2
allow blank lines in preformatted text started by blanks. BUG #993991
2004-07-19 19:03:43 +00:00
Jens Frank
6b37aa9a04
New global config setting $wgMaxTocLevel: Maximum indent level of toc.
2004-07-19 05:15:50 +00:00
Tim Starling
ac549401d4
* Support for table name prefixes throughout the code. No support yet for converting static SQL, which also means no installation. But it has been tested by creating the tables in the ordinary way and then renaming them
...
* DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE
* Converted to use SQL wrapper functions instead of direct SQL in various places
* Experimental method for preserving the chronological order of events when slave servers are used. Untested.
* Fixes to the new post-parse existence test feature
* Some.. other stuff
2004-07-18 08:48:43 +00:00
Magnus Manske
67bcaab800
GEO mode
2004-07-16 20:32:44 +00:00
Gabriel Wicke
90f6f42193
improved pre/list interaction, cleanup
2004-07-14 18:46:02 +00:00
Gabriel Wicke
c3a00f5a65
allow pre's in lists, report by rizzo and mhnoyes
2004-07-14 18:38:28 +00:00
Jens Frank
6606778166
move $this->initialiseVariables down to where the variables are used the first time. This removes one SQL query per page view if no variables are used on that page.
2004-07-13 06:42:55 +00:00