Commit graph

17 commits

Author SHA1 Message Date
Fran McCrory
d6028a1811 (bug 34939) Handle mixed-case URL protocols in wikitext
This patch marks the regex matching url protocol as being case
insensitive. We will from now render links like [HTTP://ww].

Tests added.

Change-Id: I706acb7a0ae194b50d2318763beae4e5e83671f3
2012-09-04 16:26:46 +02:00
Alexandre Emsenhuber
0fc8c8e14e Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.

Change-Id: I10c077f27a2077a266a64048fa137f7b1f8e226c
2012-05-01 09:05:48 +02:00
Sam Reed
0a626db6e1 Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar
Other documentation improvements
2012-02-09 19:29:36 +00:00
Tim Starling
4c63ef444a Some HipHop fixes:
* Scan the C++ for volatile classes and show a warning with a list of them
* Fixed volatile classes Revision, CoreLinkFunctions and FileRepoStatus, made them non-volatile by patching the referring code
* Added some configuration for the build process to DefaultSettings.php. 
* Split a few functions off MakeHipHop::execute()
* Only include UtfNormalDefines.php in interpreted mode, since in compiled mode, the constants exist from startup
* Apparently HipHop does not support set_exception_handler(). Added a try/catch block around the main part of index.php instead.
* Fixed ini_get() dependencies in Special:Upload. Upload now works, if you disable ZipDirectoryReader.
2011-05-27 06:25:21 +00:00
Sam Reed
7b28a6ea62 Fix undefined variable from r39635 2011-05-25 16:14:59 +00:00
Jack Phoenix
ad12563356 follow-up to r85193: missed one file 2011-04-02 14:53:02 +00:00
Platonides
aeb547b465 Adding more wfProfileOut() 2011-02-10 16:11:34 +00:00
Alexandre Emsenhuber
dc50e1a4bf * Added file description headers
* Added @file where needed
2010-08-22 14:31:05 +00:00
Platonides
62b824b977 Follow up r71289. $wgContLang is now unused. 2010-08-21 14:44:25 +00:00
Sam Reed
88403ed2c5 More unused.... 2010-08-19 11:42:06 +00:00
Sam Reed
5fd23ed8b5 More unused globals 2010-07-25 17:47:41 +00:00
Alexandre Emsenhuber
de27b8eee9 * Fixed some doxygen warnings
* Groupped some related functions
2010-06-10 21:05:58 +00:00
Daniel Friesen
9c16dab74d Committing todays work on LinkHooks and the link rewrite:
* Cleanup and remove cruft
* Get hooks working
* Get Categories working (whitespace trimming not done)
2008-08-19 04:44:34 +00:00
Daniel Friesen
f3c8e13f38 Revert 39613; Please don't mark that function static. It is not called statically, and is not meant to be. That is meant as a test to see if there are any markers inside of part of the string being worked on.
Ideally in the future markers will have unique identifier so that using multiple link marker replacers don't clash with each other.
2008-08-19 01:19:19 +00:00
Aaron Schulz
5bf849c8fd mark static 2008-08-18 20:38:34 +00:00
Daniel Friesen
5a43da4025 Committing today's work the LinkHooks' new parser.
Don't expect this to work completely yet, there is likely going to be a lot of refactoring before a final version is complete.
2008-08-18 14:44:51 +00:00
Daniel Friesen
22c1e38461 Create a placeholder for the LinkHook experimentation.
This will allow us to develop a new method of parsing links (non-hacky), without breaking current syntax, and also allow us to make sure new methods don't break syntax.

Currently this class merely inherits from the Parser class. Constants and static functions are coppied so that use of self:: won't break when we modify things.
2008-08-18 03:56:38 +00:00