Commit graph

216 commits

Author SHA1 Message Date
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
Arne Heizmann
460d5f9aa9 Use linktrail instead of na�ve \\S* 2004-07-13 00:01:33 +00:00
Jens Frank
ecd99db4ab use makeKnownLink istead of makeLink. A page pointing to another page must exist que definitionem 2004-07-12 23:00:08 +00:00
Arne Heizmann
92fded9b95 This fixes the issue that something like [http://url/ link]s (i.e. text directly following
the closing square bracket) would produce something ugly in printing:
  link (http://url/)s
Now it finishes the word first:
  links (http://url/)
The given example seems pointless, but in languages other than English this happens more
frequently.
2004-07-12 22:57:13 +00:00
Arne Heizmann
bc18a0867d - fix issue outlined by Emmanuel Engelhart <emmanuel@engelhart.org> on wikitech-l
- fix indentation
- remove commented-out code
2004-07-12 19:49:20 +00:00
Tim Starling
b96b707efa OOP calling convention for database functions. DBMS abstraction implemented by means of functions instead of global variables, PostgreSQL object converted to a subclass instead of a drop-in replacement. Also the beginnings of a flexible table name feature. 2004-07-10 03:09:26 +00:00
Gabriel Wicke
944b872646 New magic word __TOC__ that inserts the toc at the place it is found
Implies __FORCETOC__
2004-06-29 23:59:30 +00:00
Guillaume Blanchard
af9ce48b3e add [;] to french space character list 2004-06-29 10:38:55 +00:00
Tim Starling
61819d059b Corrected spelling error 2004-06-19 06:48:02 +00:00
Antoine Musso
7936e29ba5 * doExponant() function. Convert ^^th^^ in <small><sup>th</sup></small>.
The function call is commented
2004-06-17 17:29:54 +00:00
Tim Starling
3545cddd9b oops, removed random speculation 2004-06-12 07:15:27 +00:00
Tim Starling
85ef7f8865 changed code formatting, changed parser hook calling convention so updating will require a simultaneous update of the extensions. Now use $wgParser->setHook() instead of Parser::setHook() 2004-06-12 06:15:09 +00:00
Jens Frank
21891fe83f Fix sorting of subcategories without a sortkey. Use Category name as sortkey, not the first letter of Category. See comment for details. 2004-06-10 22:32:04 +00:00
Jens Frank
f3a14034f4 use sortkey for subcategories, too 2004-06-10 12:06:25 +00:00
Tim Starling
3ac0a71c13 Hiero and timeline as fully modular extensions. To use, just include the header file from LocalSettings.php 2004-06-09 12:15:42 +00:00
Jens Frank
07db37945d Don't show underscores instead of spaces for subcategories. BUG #969473 2004-06-09 12:07:32 +00:00
Antoine Musso
107062dbba Replacement of most double quotes by single quotes for plain text strings. Should be bug free as I did not make change unless I was sure it was bug less. 2004-06-08 18:11:28 +00:00
Antoine Musso
e197696c58 Don't generate article list if we have no article to show 2004-06-07 08:27:13 +00:00
Antoine Musso
c629470933 bug fix in newcategorymagic: first char was alway the one of the category namespace (aka C) 2004-06-07 03:46:33 +00:00
Jens Frank
29c1135460 new layout for Category:XXX pages.
Can be turned on or off using MediaWiki:Usenewcategorypage
2004-06-06 09:24:07 +00:00
Antoine Musso
6ec37b9507 some comments added 2004-06-05 15:17:08 +00:00
Gabriel Wicke
c410b3f316 section anchor cleanup, unurlencode : 2004-06-05 10:34:32 +00:00
Tim Starling
2650e92361 More profiling sections 2004-06-05 04:51:24 +00:00
Tim Starling
242d225e10 removed non-matching wfProfileOut() calls 2004-06-05 02:22:16 +00:00
Gabriel Wicke
94c2a67f51 /tr added to tags 2004-06-02 23:22:24 +00:00
Gabriel Wicke
e4562fbd4c The Arab al[[Razi]] cleanup 2004-06-02 22:54:01 +00:00
Gabriel Wicke
6aa81d268b The Arab al[[Razi]] back on board 2004-06-02 22:39:06 +00:00
Gabriel Wicke
a0fbb5e730 section anchor encoding:
'%' -> '.'
pseudo-urlencoded for enough uniqueness in non-ascii languages
2004-06-02 15:19:28 +00:00
Gabriel Wicke
f982803ae9 nowiki handling
* unstrip done for nowiki separately (unstripNoWiki())
* unstripNoWiki() called *after* doBlockLevels
2004-06-02 12:29:15 +00:00
Brion Vibber
5830e7c6f9 Reverting to previous revision; this broke at least one example and I'm not sure why. 2004-06-02 08:01:48 +00:00
Brion Vibber
8f4bf54583 Don't put literal <nowiki>, <hiero>, or <timeline> into the output. This
breaks (X)HTML validation as well as the general rule of rejecting
unknown tags by showing them as text. (<nowiki> is never unknown of course,
so it never appears. Just its text remains raw.)
2004-06-02 07:43:05 +00:00
Jens Frank
cdd0bae0ab workaround, strip nowikis again in doBlockLevels. BUG #96447 2004-06-02 05:54:52 +00:00
Gabriel Wicke
e30390b38f performance fix 2004-06-02 02:42:13 +00:00
Gabriel Wicke
9feaa3422a sig fix II 2004-06-02 01:22:29 +00:00
Gabriel Wicke
10fa17d61b bug fix: list item with nowiki 2004-06-02 00:39:02 +00:00
Gabriel Wicke
afd3aaa6d1 nowiki handling
nowiki areas are wrapped in <span class="nowiki></span > (allows styling) and treated similar to pre areas in doBlockLevels
2004-06-01 22:19:22 +00:00
Gabriel Wicke
32f3b62bab keep unwrapped text arounf 2004-06-01 11:03:39 +00:00