River Tarnell
b19e0b60ce
don't parse blank ISBNs
2004-09-09 23:04:08 +00:00
Jens Frank
227b54cbfd
BUG#76 For categories, don't use the Category:-prefix for the sortkey.
...
[[Category:Mountains of Panama]] now gets cl_sortkey='Mountains of Panama' instead of 'Category:Mountains of Panama'.
Avoids later issues with sorting.
2004-09-07 22:08:01 +00:00
Antoine Musso
ba2afcd9fa
Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema
2004-09-03 23:00:01 +00:00
Antoine Musso
90155b8a97
Changing comments layout preparing for generated documentation with Phpdocumentor
2004-09-02 23:28:24 +00:00
Brion Vibber
67e6306a0e
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
2004-08-31 02:26:55 +00:00
Jens Frank
dac2ca94f4
BUG#160 Internationalize display of numbers:
...
* section numbers in TOC
* file size in edit page warning for big articles.
2004-08-28 19:08:49 +00:00
Jens Frank
312187e477
BUG#219 enable link shortcuts like [[:Category:catname|]]
2004-08-28 16:42:57 +00:00
Tim Starling
0f9c5b24fd
Abstracted site name in LanguageFi.php. This required the implementation of general handling for inflected languages, in particular the {{grammar:}} tag
2004-08-27 14:55:41 +00:00
Jens Frank
48cf90b00f
removed forgotten debugging statement
2004-08-27 06:16:16 +00:00
Jens Frank
be8efb66ca
cleanup of unused categoryMagic code
2004-08-27 06:15:13 +00:00
Jens Frank
3d4d040658
BUG#206: replace <!--LINK tags by the link text for displaying text in TOCs
...
Thanks to Daniel D�sentrieb for his help writing the regexp.
2004-08-26 18:48:13 +00:00
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