wiki.techinc.nl/includes
Antoine Musso ff5fb5ea3e Bug 26948 - hyphens incorrectly interpreted as range
This is the kind of easy to fix, hard to review bug. Email validation
make uses of strings listing characters, those strings are then
enclosed between brackets "[]". Inside brackets, the hyphen is used
to describe a range of character [a-d] being a b c d.
The string containing an unescaped hyphen, made JS/PHP validation
to match the incorrect comma ",".

* Backslash hyphen
* JS,PHP: add tests for commas and hyphens in username or domain
* JS: add var to rfc_1034_ldh_str
* JS: minor code cleanup

TESTS:

php phpunit.php -c suite.xml --filter ValidEmail
OK (13 tests, 32 assertions)

Special:BlankPage?action=mwutiltest&debug=true
Ran 66 tests. 66 passed test(s). 0 error(s). 0 partially passed test(s).
2011-01-27 20:52:12 +00:00
..
api Make the UploadStash repo specific by creating FileRepo::getUploadStash(). In practice this will probably not be used and makes getting an UploadStash object slightly more type work, but I think it is cleaner to have an upload stash explicitly bound to a repo. 2011-01-25 21:26:53 +00:00
db * Fixed Oracle new installer support, broken by r80957. This is a minimal patch and doesn't address the architectural issues. 2011-01-27 08:25:48 +00:00
diff Revert r75769, r80475: mistaken attempt to fix bug 25725 by deleting random newlines from the output of a different diff engine. 2011-01-20 09:37:41 +00:00
extauth Followup to r79848 (and really, make it useful...) 2011-01-24 16:31:36 +00:00
filerepo Make the UploadStash repo specific by creating FileRepo::getUploadStash(). In practice this will probably not be used and makes getting an UploadStash object slightly more type work, but I think it is cleaner to have an upload stash explicitly bound to a repo. 2011-01-25 21:26:53 +00:00
installer * Fixed Oracle new installer support, broken by r80957. This is a minimal patch and doesn't address the architectural issues. 2011-01-27 08:25:48 +00:00
job Revert r76174 and call directly UserMailer::send() 2010-11-06 16:22:18 +00:00
json
libs Resolves bug 26931, where comments were not only not being properly stripped out, but were being transformed into syntax errors. 2011-01-25 19:00:21 +00:00
media Follow-up r79867: Read out EXIF orientation in JavaScript and rotate accordingly. Added JsJpegMeta library by Ben Leslie under the MIT license. 2011-01-22 22:34:36 +00:00
normal * (bug 25708) Update case mappings and normalization to Unicode 6.0.0 2011-01-09 12:04:28 +00:00
parser * Replaced $wgMessageCache by MessageCache::singleton(); since we only use one instance of this class (as for ParserCache, LinkCache) 2011-01-26 15:42:04 +00:00
resourceloader Obviously no need for a foreach loop here. (Follow-up r80790) 2011-01-23 02:22:27 +00:00
revisiondelete Fix up few remaining fixme things from r69910 2010-12-14 15:44:16 +00:00
search * Fixed Oracle new installer support, broken by r80957. This is a minimal patch and doesn't address the architectural issues. 2011-01-27 08:25:48 +00:00
specials Escape the output of $wgLang->timeanddate() in SpecialContributions. Was escaped in one code path but not in the other 2011-01-26 17:59:54 +00:00
templates bug 10158 : do not mention allowing others to contact you if $wgEnableUserEmail=false 2011-01-14 16:53:36 +00:00
upload Make the UploadStash repo specific by creating FileRepo::getUploadStash(). In practice this will probably not be used and makes getting an UploadStash object slightly more type work, but I think it is cleaner to have an upload stash explicitly bound to a repo. 2011-01-25 21:26:53 +00:00
zhtable Follow r80973, fix a tiny error. 2011-01-25 17:28:15 +00:00
.htaccess
AjaxDispatcher.php Use the AutoLoader to load the AjaxDispatcher class 2010-12-08 10:00:25 +00:00
AjaxFunctions.php
AjaxResponse.php
Article.php * Replaced $wgMessageCache by MessageCache::singleton(); since we only use one instance of this class (as for ParserCache, LinkCache) 2011-01-26 15:42:04 +00:00
AuthPlugin.php
AutoLoader.php * Fixed a bug causing the installer to ignore the "engine" and "charset" settings when installing a MySQL database. 2011-01-25 07:37:48 +00:00
Autopromote.php Follow up r67073 : add curly to if statement 2010-10-21 18:26:17 +00:00
BacklinkCache.php Reverted r70151 and re-did what it was intended to do in a proper way: instead of just quietly serializing a crippled connection, fix the caller and receive nice exceptions when something else is broken instead of bug-hunting later. 2010-10-23 11:16:44 +00:00
BagOStuff.php Fix for r78322, check $result not $value 2010-12-14 12:47:07 +00:00
Block.php Followup r73348, r70608: move 'infinity' stuff to DB classes 2011-01-05 13:43:13 +00:00
CacheDependency.php Assignment in loop conditions suck 2010-10-13 23:11:40 +00:00
Category.php
Categoryfinder.php Assignment in loop conditions suck 2010-10-13 23:11:40 +00:00
CategoryPage.php Revert r70418, r70959: direct use of $_GET is not needed anymore since we no longer use null characters as separators as of r80443. 2011-01-20 06:42:45 +00:00
Cdb.php CDB support: never refer to it as just "DB" in messages, it confuses people 2010-11-03 17:04:56 +00:00
Cdb_PHP.php CDB support: never refer to it as just "DB" in messages, it confuses people 2010-11-03 17:04:56 +00:00
ChangesFeed.php
ChangesList.php Follow-up r79084: synchronise keys. 2010-12-27 20:02:10 +00:00
ChangeTags.php Implement Message::isBlank and Message::isDisabled. 2011-01-14 10:51:05 +00:00
Collation.php * Introduced a non-dummy collation for $wgCategoryCollation, namely UCA with default tables. 2011-01-17 14:02:22 +00:00
ConfEditor.php More unused variables 2010-11-30 18:44:50 +00:00
Credits.php
DefaultSettings.php Follow-up r79867: Read out EXIF orientation in JavaScript and rotate accordingly. Added JsJpegMeta library by Ben Leslie under the MIT license. 2011-01-22 22:34:36 +00:00
Defines.php Fixes for r75545: don't use MEDIAWIKI_INSTALL in the updaters classes, it's not what it's for. Add new DBO_DDLMODE flag which does the same thing (and moved it up to DatabaseUpdater, in case any other children need it) 2011-01-06 19:25:47 +00:00
DjVuImage.php Fix for r69139: create_function() is not allowed. 2010-12-08 05:57:57 +00:00
EditPage.php * Replaced $wgMessageCache by MessageCache::singleton(); since we only use one instance of this class (as for ParserCache, LinkCache) 2011-01-26 15:42:04 +00:00
Exception.php Partial revert of r79903, unstubbing needs localisation cache which might need database 2011-01-09 18:31:52 +00:00
Exif.php Throw an exception instead of low-level PHP fatal error if something invokes the Exif() class when exif functions aren't actually present. (Discovered with PagedTiffHandler enabled on my test machine.) 2010-12-26 20:39:21 +00:00
Export.php Bug 26563: Add bytes changed per revision for stub and full article dumps 2011-01-08 03:11:06 +00:00
ExternalEdit.php (bug 26716, well partially anyways. kind of second half of r80608) Add a comment to external editor ini control file explaining 2011-01-20 01:49:49 +00:00
ExternalStore.php
ExternalStoreDB.php
ExternalStoreHttp.php
ExternalUser.php
FakeTitle.php
Fallback.php Fix r79494: Don't prefix functions now that they're in their own class 2011-01-04 01:44:11 +00:00
Feed.php Spell false with small latter 2011-01-11 14:28:35 +00:00
FeedUtils.php
FileDeleteForm.php Update deprecated method calls 2010-10-31 16:20:48 +00:00
FileRevertForm.php Update deprecated method calls 2010-10-31 16:20:48 +00:00
ForkController.php
FormOptions.php * Standardised file description headers 2010-10-23 14:16:26 +00:00
GlobalFunctions.php * Replaced $wgMessageCache by MessageCache::singleton(); since we only use one instance of this class (as for ParserCache, LinkCache) 2011-01-26 15:42:04 +00:00
HistoryBlob.php Change old php4 style constructor 2010-12-15 22:41:06 +00:00
HistoryPage.php Fix for bug 26561: clickjacking attacks. See the bug report for full documentation. 2011-01-04 06:12:33 +00:00
Hooks.php Hooks.php: trim trailing spaces, tweak docs, etc. 2011-01-26 16:50:31 +00:00
Html.php Added since notice to indicate method was not present in MW 1.16 yet 2011-01-20 19:26:30 +00:00
HTMLCacheUpdate.php Misc whitespace changes, mostly EOL w/s and indention fixes so TAB = 4 spaces 2010-12-19 04:31:15 +00:00
HTMLFileCache.php followup to r77843: fix off by one error 2010-12-06 00:36:54 +00:00
HTMLForm.php HTMLForm: All section headers and footers. Added an optional second $section parameter to addHeaderText and addFooterText. 2011-01-25 20:56:56 +00:00
HttpFunctions.old.php Followup r76566 2010-11-12 14:20:10 +00:00
HttpFunctions.php Follow up r67663. Now with 100% less sugar, er.. @s! 2010-12-29 16:15:23 +00:00
ImageFunctions.php * Moving wfGetSVGSize() and wfScaleSVGUnit() into a seperate SVGMetadataExtractor. 2010-11-01 23:57:09 +00:00
ImageGallery.php Simple commit trimming some trailing whitespace 2010-12-22 16:21:02 +00:00
ImagePage.php (bug 2585) Image pages should send 404 if no image, no shared image and no 2011-01-16 00:43:56 +00:00
ImageQueryPage.php Followup r78805, remove now unused function 2010-12-22 16:28:52 +00:00
Import.php Converted ImportStreamSource functions to return a Status object rather than ImportStreamSource-or-WikiError 2010-12-05 14:22:49 +00:00
ImportXMLReader.php Fix r66267, make hook code consistent with documentation, fix E_NOTICE 2011-01-18 18:33:31 +00:00
Interwiki.php Implement Message::isBlank and Message::isDisabled. 2011-01-14 10:51:05 +00:00
IP.php random w/s cleanup 2010-12-01 20:22:45 +00:00
Licenses.php Implement Message::isBlank and Message::isDisabled. 2011-01-14 10:51:05 +00:00
LinkBatch.php * (bug 26482) add a imimages param to prop=images 2011-01-05 02:52:04 +00:00
LinkCache.php Treat interwiki titles as known-bad in LinkCache, prevents useless queries for interwiki titles with possibly misleading results 2010-12-22 15:54:27 +00:00
Linker.php A wfProfileOut was missing (which messed up profiling sometimes). Thanks to Owen Davis for finding this. 2011-01-11 22:20:56 +00:00
LinkFilter.php
LinksUpdate.php * Introduced a non-dummy collation for $wgCategoryCollation, namely UCA with default tables. 2011-01-17 14:02:22 +00:00
LocalisationCache.php * Replaced $wgMessageCache by MessageCache::singleton(); since we only use one instance of this class (as for ParserCache, LinkCache) 2011-01-26 15:42:04 +00:00
LogEventsList.php Remove a few more unused variables 2010-10-31 23:19:40 +00:00
LogPage.php Fix mistake in r80248 and restructure a bit 2011-01-15 12:46:37 +00:00
MacBinary.php
MagicWord.php More unused variables 2010-11-30 18:44:50 +00:00
Math.php Removed some error suppression operators 2010-11-08 10:22:54 +00:00
memcached-client.php Few braces and spaces 2010-11-30 19:06:28 +00:00
MemcachedSessions.php
Message.php * Replaced $wgMessageCache by MessageCache::singleton(); since we only use one instance of this class (as for ParserCache, LinkCache) 2011-01-26 15:42:04 +00:00
MessageBlobStore.php (bug 26535) Variable naming collision in MessageBlobStore::updateMessage() caused exception ('Non-string key given' in MessageCache) when conflicted updates were retried. 2011-01-06 15:13:24 +00:00
MessageCache.php MessageCache.php: fixed a typo, tweaked spacing, added braces where needed, etc. 2011-01-26 17:41:18 +00:00
Metadata.php Spaces 2010-11-01 13:27:22 +00:00
mime.info Add support to upload WebP files. Disabled by default and no thumbnailing support. 2010-10-20 14:50:30 +00:00
mime.types Add support to upload WebP files. Disabled by default and no thumbnailing support. 2010-10-20 14:50:30 +00:00
MimeMagic.php Document how the mime<->extension map is supposed to work, to my best understanding from reading the code. Fixed the built-in mini-mime.types according to this specification. Should fix bug 26367. 2011-01-07 19:41:38 +00:00
MWFunction.php Forcing array breaks MWFunction with <2 parameters 2011-01-04 01:51:48 +00:00
Namespace.php (bug 26762) Fix order of namespace list 2011-01-21 03:48:00 +00:00
ObjectCache.php
OutputHandler.php
OutputPage.php Followup r81067, use the right syntax for doing a join 2011-01-27 20:25:37 +00:00
PageQueryPage.php Merge querypage-work2 branch from trunk. The most relevant changes are: 2010-12-22 14:16:25 +00:00
Pager.php Fixup fixme on r76844 2010-12-14 18:17:42 +00:00
PatrolLog.php
PoolCounter.php Big attack on unused variables... 2010-10-14 20:53:04 +00:00
Preferences.php Remove debugging issue in user preferences 2011-01-14 20:43:30 +00:00
PrefixSearch.php Lame documentation, code style 2010-10-27 21:11:36 +00:00
Profiler.php Revert r74913, caused many problems, and was only likely to cause more in the future 2010-10-17 21:18:04 +00:00
ProfilerSimple.php Revert r74913, caused many problems, and was only likely to cause more in the future 2010-10-17 21:18:04 +00:00
ProfilerSimpleText.php Revert r74913, caused many problems, and was only likely to cause more in the future 2010-10-17 21:18:04 +00:00
ProfilerSimpleTrace.php Remove a couple of unused variables, add spaces, wrap some long lines 2010-11-30 18:33:59 +00:00
ProfilerSimpleUDP.php Revert r74913, caused many problems, and was only likely to cause more in the future 2010-10-17 21:18:04 +00:00
ProfilerStub.php Revert r74913, caused many problems, and was only likely to cause more in the future 2010-10-17 21:18:04 +00:00
ProtectionForm.php Implement Message::isBlank and Message::isDisabled. 2011-01-14 10:51:05 +00:00
proxy_check.php
ProxyTools.php Mark wfParseCIDR(), was moved to IP::parseCIDR() in r16625; also tag for removal, no use in core or extensions. 2010-11-07 15:51:56 +00:00
QueryPage.php Follow up r78786. Do not mark as @deprecated yet, since it is called by getQueryInfo(). 2011-01-06 19:15:02 +00:00
RawPage.php Implement Message::isBlank and Message::isDisabled. 2011-01-14 10:51:05 +00:00
RecentChange.php Documentation format 2011-01-05 23:08:13 +00:00
Revision.php Fixup some more documentation 2010-11-13 00:47:51 +00:00
Sanitizer.php * bug 26437: fix for Sanitizer::decodeCharReferences converting invalid hex character references 2010-12-27 03:21:43 +00:00
SeleniumWebSettings.php Follow up to #79421. Cleaned up some globals and some typos. Going to follow up with some actual test changes 2011-01-11 00:36:36 +00:00
Setup.php * Replaced $wgMessageCache by MessageCache::singleton(); since we only use one instance of this class (as for ParserCache, LinkCache) 2011-01-26 15:42:04 +00:00
SiteConfiguration.php More unused variables 2010-11-30 18:44:50 +00:00
SiteStats.php
Skin.php Last $wgArticle junk in Skin(Template). Just pass the article on hand to lastModified(). Nothing outside of here calls it anyway 2011-01-26 17:06:18 +00:00
SkinTemplate.php Last $wgArticle junk in Skin(Template). Just pass the article on hand to lastModified(). Nothing outside of here calls it anyway 2011-01-26 17:06:18 +00:00
SpecialPage.php Small fixes 2011-01-25 19:53:21 +00:00
SquidPurgeClient.php More unused variables 2010-11-30 18:44:50 +00:00
SquidUpdate.php Assignment in loop conditions suck 2010-10-13 23:11:40 +00:00
Status.php * Made the web upgrade process more friendly. Instead of saying "access denied, go away" when the user has a normal LocalSettings.php file, generate a random $wgUpgradeKey and instruct the user to insert it into their LocalSettings.php. The subsequent file modification then authenticates the session and allows the upgrade. 2010-12-09 08:24:54 +00:00
StreamFile.php Remove some unused variables and globals 2010-11-28 16:13:13 +00:00
StringUtils.php Fixed a doxygen warning 2010-10-02 14:23:26 +00:00
StubObject.php Move wfCreateObject to MWFunction::newObj. This uses the ReflectionClass to 2011-01-03 02:10:05 +00:00
tidy.conf
Title.php Fixup query fail from r80936 2011-01-26 23:13:20 +00:00
TitleArray.php
Token.php Follow-up r78585: Make Token::PERSISTENT the default, so no need to specify it. That will be more usual, I expect. 2010-12-19 15:23:22 +00:00
User.php Bug 26948 - hyphens incorrectly interpreted as range 2011-01-27 20:52:12 +00:00
UserArray.php
UserMailer.php When using safe_mode, mail() cannot take the 5th parameter. Rather than (needlessly) disabling e-mail confirmation as a result, just disregard the parameter. Pointed out by Kunda on IRC. 2010-12-15 19:55:08 +00:00
UserRightsProxy.php Assignment in loop conditions suck 2010-10-13 23:11:40 +00:00
ViewCountUpdate.php Per Platonides, fix for r79430: removed debugging code 2011-01-01 21:57:32 +00:00
WatchedItem.php Assignment in loop conditions suck 2010-10-13 23:11:40 +00:00
WatchlistEditor.php Followup r74298: add ORDER BY wl_namespace, wl_title to the query in WatchlistEditor.php , rather than conditionally adding an ORDER BY that only seems to play nice on Postgres 2011-01-08 16:01:31 +00:00
WebRequest.php Followup r72119, add some braces 2011-01-07 00:55:09 +00:00
WebResponse.php
WebStart.php Per my comment on r68760: Make MWfunction class, complete with call_user_func helper functions that automatically 2011-01-02 06:48:07 +00:00
Wiki.php * Modified Article::loadPageData() to use a slave database connection and pageDataFromTitle() instead of pageDataFromId() in the default case, as in Wiki.php (this also saves a query since the ID will be fetched with other fileds) 2011-01-03 19:50:01 +00:00
WikiError.php * (bug 23119) WikiError class and subclasses are now marked as deprecated 2010-12-06 10:09:43 +00:00
WikiMap.php
Xml.php adding comment 2011-01-22 01:57:25 +00:00
XmlTypeCheck.php
ZhClient.php
ZhConversion.php Follow r80973, fix a tiny error. 2011-01-25 17:28:15 +00:00