Commit graph

486 commits

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason
3f026e7518 * Making a linkprefix message that hold the link prefix previously hardcoded
in the parser
2005-07-30 20:03:38 +00:00
Brion Vibber
c0a4dfc060 * Fix typo in undefined array index access prevention 2005-07-26 15:26:33 +00:00
Brion Vibber
9d4ad0468a * Spelling fix: $wgUrlProtcols -> $wgUrlProtocols 2005-07-25 13:38:54 +00:00
Tim Starling
7c900a732a profiling improvements and bug fixes 2005-07-25 07:00:20 +00:00
Jens Frank
cd7963fca7 (bug 2857) fixed parsing of lists in <pre> sections 2005-07-22 22:14:05 +00:00
Brion Vibber
b0c41ad13b * (bug 2885) Fix fatal errors and notices in PHP 5.1.0beta3
* (bug 2931) Fix additional notices on reference use in PHP 4.4.0
2005-07-22 11:29:15 +00:00
Ævar Arnfjörð Bjarmason
1c757c8650 * (bug 431) Make external URL protocols configurable in DefaultSettings 2005-07-21 20:58:44 +00:00
Tim Starling
fcc4b040f0 fixed incorrect use of text->boolean conversion 2005-07-17 02:14:58 +00:00
Antoine Musso
8b1fc67ec4 Fix #460 : handle <center> as a block 2005-07-13 21:18:32 +00:00
Antoine Musso
12dbb2267d Fix #785 : properly get out of a <pre> element :p 2005-07-13 15:17:28 +00:00
Antoine Musso
73fc002516 Fix autonumbering that was broke following bug 787 fixing 2005-07-08 06:13:00 +00:00
Antoine Musso
b2ac0fc51c Fix #787 : External links being rendered. Tests cases at http://twenkill.dyndns.org/wiki/787 and http://test.leuksman.com/index.php/787 2005-07-08 05:54:16 +00:00
Niklas Laxström
22b7e7c831 * (bug 2534) Hide edit sections with CSS to make right click to edit section work
* Remove some unneeded stuff!?
2005-07-05 19:15:13 +00:00
River Tarnell
cb42120cc0 'floating right' option for quickbar in classic and cologne blue skins 2005-07-05 18:26:34 +00:00
River Tarnell
740b3ac49d tc_url -> varchar, limit url length 2005-07-03 07:48:04 +00:00
River Tarnell
847ef6554b fixes from live site 2005-07-03 07:39:49 +00:00
River Tarnell
2d61f91edf - proxy support for wfGetHTTP()
- support for interwiki transcludes (disabled by default, keyed on iw_trans)
2005-07-03 07:15:53 +00:00
Brion Vibber
054ef12f51 * (bug 2658) Fix signature time, localtime to match timezone offset again 2005-07-03 02:08:12 +00:00
Tim Starling
d3caf604c1 Added hooks at various parser stages. Repaired neglected insertStripItem(). 2005-07-02 09:15:51 +00:00
Brion Vibber
d390ac8b92 * (bug 2567) Fix HTML escaping on category titles in list 2005-06-28 19:56:17 +00:00
Ævar Arnfjörð Bjarmason
e34aa50e13 * Removed a comment, "FIXME require in a foreach", require_once() will be
evaluated exactly once during execution (it has an effect similar to the
  static keyword), do demonstrate this behaviour run the code
    for ($i = 0; $i < 10; ++$i) require("file.txt");
  in a directory that has a file called 'file.txt' and then change require()
  to require_once();
2005-06-27 08:23:22 +00:00
Antoine Musso
6c52e611b7 quotes. Nice "require" in a foreach() need a fix ;) 2005-06-27 01:35:22 +00:00
Tim Starling
9acfb88be7 More interwiki mucking around -- isLocal() is not the opposite of isExternal()\! 2005-06-26 13:38:43 +00:00
Ævar Arnfjörð Bjarmason
76d3a0b5f3 * A new magic word, {{NUMBEROFFILES}}, returns the number of rows in the
image table
2005-06-26 03:23:24 +00:00
Brion Vibber
a2a28a34c1 * (bug 996) Replace $wgWhitelistEdit with 'edit' permission; fixup UPGRADE documentation about edit and read whitelists.
Patch by robla: http://bugzilla.wikimedia.org/attachment.cgi?id=645&action=view
plus doc fixes
2005-06-25 06:24:46 +00:00
Ævar Arnfjörð Bjarmason
9048d60b57 * Added a new magic word, {{SERVERNAME}}, that returns $wgServerName, useful
for things like bug 1825
2005-06-24 02:54:52 +00:00
Ævar Arnfjörð Bjarmason
0ecd7aa835 * MAG_PATH renamed to MAG_SCRIPTPATH 2005-06-20 11:06:33 +00:00
Brion Vibber
b115dd7442 * (bug 2462 etc) Taking out the experimental dash conversion; it broke too
many things for the current parser to handle cleanly
2005-06-20 04:56:59 +00:00
Ævar Arnfjörð Bjarmason
97cf74d1c9 * A new magic word, {{PATH}}, returns $wgScriptPath 2005-06-19 16:09:00 +00:00
Ævar Arnfjörð Bjarmason
6ab543b32d * Bah, this extracttags hack sucked 2005-06-18 01:23:20 +00:00
Ævar Arnfjörð Bjarmason
52c18763b9 * Moved $text alteration statement, should only be used when we're not
stripping comments.
2005-06-18 01:13:46 +00:00
Ævar Arnfjörð Bjarmason
798df26f95 * (bug 2374) Allow extension tags to be terminated empty elements
i.e. <extension/> instead of <extension></extension>, works for
  <extension foo=bar.../> too
2005-06-18 01:07:42 +00:00
Anders Wegge Jakobsen
a178720a2c (bug 2171) The parser is not totally reentrant 2005-06-14 16:04:00 +00:00
Brion Vibber
fafdfd30ed * (bug 2394) Undo incompatible breakage to {{msg:}} compatiblity includes 2005-06-12 13:39:28 +00:00
Brion Vibber
17d54cfb4b * (bug 2372) Fix rendering of empty-title inline interwiki links 2005-06-11 01:54:03 +00:00
Brion Vibber
36c79652ca Fix for bug 2319, accidentally reverted in last checkin 2005-06-06 03:06:53 +00:00
Brion Vibber
ebefdf49d0 * Disallow close tags and enforce empty tags for <hr> and <br> 2005-06-06 03:04:12 +00:00
Brion Vibber
b42e337463 * (bug 2309) Allow templates and template parameters in HTML attribute zone,
with proper validation checks. (regression from fix for 2304)
2005-06-06 01:46:03 +00:00
Brion Vibber
2097b8a72f * (bug 2319) Fix parse hook tag matching 2005-06-04 22:49:08 +00:00
Brion Vibber
13eb618dd9 * (bug 684) Accept an attribute parameter array on parser hook tags
Some parts of http://bugzilla.wikimedia.org/attachment.cgi?id=96&action=view
with heavy modification; using tag matching in the style we accept regular
HTML elements, and decode attribute values to proper strings.
2005-06-03 08:12:48 +00:00
Brion Vibber
84e2e2ff13 * (bug 2130) Fixed interwiki links with fragments 2005-06-03 05:46:24 +00:00
Brion Vibber
fe40fe9da8 * Replace wfMungeToUtf8 and do_html_entity_decode with a single function
that does both numeric and named chars: Sanitizer::decodeCharReferences
* Removed some obsolete UTF-8 converter functions
2005-05-31 11:54:36 +00:00
Brion Vibber
1c53790966 * (bug 2271) Use faster text-only link replacement in image alt text
instead of rerunning expensive link lookup and HTML generation.
2005-05-31 08:49:03 +00:00
Brion Vibber
ee1f2b3c31 fix syntax error introduced in last commit 2005-05-29 10:45:37 +00:00
Anders Wegge Jakobsen
281803dd1f * (bug 2094) Multiple use of a template produced wrong results in some cases 2005-05-29 10:28:39 +00:00
Tim Starling
842fef7c4d basic support for special page inclusions 2005-05-28 11:09:22 +00:00
Tim Starling
d22bea9ab7 convenient ParserOptions constructor 2005-05-28 06:59:49 +00:00
Brion Vibber
e0ce5a322e * links and brokenlinks tables merged to pagelinks; this will reduce pain
dealing with moves and deletes of widely-linked pages.

The updaters should be fixed up to understand future versions without the
tables there without breaking upgrades.
2005-05-26 10:23:36 +00:00
Ævar Arnfjörð Bjarmason
fe8625db80 * Restored the {{msg:}} magic word, except now it's the wikisyntax
representation of wfMsgForContent() rather than a shorthand for {{Template:}}
2005-05-23 23:24:00 +00:00
Brion Vibber
43fe2dcbe2 Fix for the main (no pipe) case of bug 2095, triple closing backets on link
was putting the extra bracket as the link text instead of the trail.
This was due to a broken workaround for links in image captions.
For now it will still move the bracket inside the link text for piped links,
which is wrong and ought to be fixed.
2005-05-18 09:21:47 +00:00