lhc/web/wiklou.git
13 years agodiscussion with hashar
Jure Kajzer [Sat, 14 May 2011 16:54:22 +0000 (16:54 +0000)]
discussion with hashar
* moved getInfoBox into Xml.php as infoBox static method
* moved config-infobox* css classes from config to mw-infobox* in shared
* left getInfoBox as a wrapper in the installer

13 years agoBasic HTML file to test our CSS box
Antoine Musso [Sat, 14 May 2011 16:46:16 +0000 (16:46 +0000)]
Basic HTML file to test our CSS box

13 years agoorange should be prefered to yellow
Antoine Musso [Sat, 14 May 2011 16:09:56 +0000 (16:09 +0000)]
orange should be prefered to yellow

This is a recommandation by Jorm following a live conversation with him.
See also: http://www.mediawiki.org/wiki/Style_guide

Follow up r88098

13 years agoRemove special case for IE on Mac. No longer supported. Also fixes bug 28937: The...
Siebrand Mazeland [Sat, 14 May 2011 16:01:15 +0000 (16:01 +0000)]
Remove special case for IE on Mac. No longer supported. Also fixes bug 28937: The /* Empty */ comment inserted by RawPage::getArticleText should be localizable.

13 years agoadd a shared CSS class for warnings
Antoine Musso [Sat, 14 May 2011 15:39:37 +0000 (15:39 +0000)]
add a shared CSS class for warnings

We already have one for success and error

13 years agoVector.php: coding style
Jack Phoenix [Sat, 14 May 2011 15:14:03 +0000 (15:14 +0000)]
Vector.php: coding style

13 years agoFix line removedfor no explicit reason from r85771
Sam Reed [Sat, 14 May 2011 14:44:37 +0000 (14:44 +0000)]
Fix line removedfor no explicit reason from r85771

13 years ago(bug 18803) JPEG2000 images can no longer be uploaded as JPEG image. Done by adding...
Bryan Tong Minh [Sat, 14 May 2011 14:41:31 +0000 (14:41 +0000)]
(bug 18803) JPEG2000 images can no longer be uploaded as JPEG image. Done by adding the relevant mime info to mime.types and mime.info

13 years agoFix broken --sysop flag in r87480: it was triggering the bureaucrat right instead...
Roan Kattouw [Sat, 14 May 2011 14:20:18 +0000 (14:20 +0000)]
Fix broken --sysop flag in r87480: it was triggering the bureaucrat right instead, and createAndPromote.php couldn't be used to create sysops at all

13 years ago(bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all pages.
Bryan Tong Minh [Sat, 14 May 2011 14:15:35 +0000 (14:15 +0000)]
(bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all pages.
Removed All pages link which doesn't make sense
Patch by Salvatore Ingala

Put ST47 on the proper place in CREDITS

13 years agoRELEASE-NOTES for r88054
Bryan Tong Minh [Sat, 14 May 2011 14:08:58 +0000 (14:08 +0000)]
RELEASE-NOTES for r88054

13 years agobug 28503: add ircs to UrlProtocols in defaultsettings & css
Antoine Musso [Sat, 14 May 2011 13:56:13 +0000 (13:56 +0000)]
bug 28503: add ircs to UrlProtocols in defaultsettings & css

13 years agoPut jQuery UI modules in their own group
Roan Kattouw [Sat, 14 May 2011 13:45:07 +0000 (13:45 +0000)]
Put jQuery UI modules in their own group

13 years agoFix bug in r87497, reported in CR: &modules=foo,bar,baz would look for '.foo', '...
Roan Kattouw [Sat, 14 May 2011 13:34:03 +0000 (13:34 +0000)]
Fix bug in r87497, reported in CR: &modules=foo,bar,baz would look for '.foo', '.ar' and '.az' . Now handling prefixless modules correctly

13 years agoFixed language in comments and error messages - see comments in r88053.
Trevor Parscal [Sat, 14 May 2011 13:21:58 +0000 (13:21 +0000)]
Fixed language in comments and error messages - see comments in r88053.

13 years agoImproves on r88053 - added code basically lifted from jQuery.getScript which ensures...
Trevor Parscal [Sat, 14 May 2011 13:14:34 +0000 (13:14 +0000)]
Improves on r88053 - added code basically lifted from jQuery.getScript which ensures that onreadystatechange is handled properly - only executing the callback when the state is changed to the correct state, and only calling it one time. Thanks John Resig!

13 years agoFollow-up r88054: Update messages.inc
Bryan Tong Minh [Sat, 14 May 2011 13:12:58 +0000 (13:12 +0000)]
Follow-up r88054: Update messages.inc

13 years agoAdding a small test to verify that the regex worked. Apparently it's failing in IE8...
Krinkle [Sat, 14 May 2011 13:07:12 +0000 (13:07 +0000)]
Adding a small test to verify that the regex worked. Apparently it's failing in IE8. Thanks TestSwarm

13 years agoAdding files missing in r88061
Krinkle [Sat, 14 May 2011 12:54:06 +0000 (12:54 +0000)]
Adding files missing in r88061

13 years agoAdding QUnit tests for mw.loader (Follow-up r88053)
Krinkle [Sat, 14 May 2011 12:48:38 +0000 (12:48 +0000)]
Adding QUnit tests for mw.loader (Follow-up r88053)

13 years ago(bug 28952) Add tofragment to the redirect resolution info.
Roan Kattouw [Sat, 14 May 2011 12:48:07 +0000 (12:48 +0000)]
(bug 28952) Add tofragment to the redirect resolution info.

Changes the format of ApiPageSet::getRedirectTitles() from returning prefixed text strings to returning title objects so we can obtain the fragment info

13 years agoSpecial pages don't have talk page. Fixes exception in feeds when using revision...
Niklas Laxström [Sat, 14 May 2011 12:24:45 +0000 (12:24 +0000)]
Special pages don't have talk page. Fixes exception in feeds when using revision deletion feature:

Exception: MWNamespace::getTalk does not make any sense for given namespace -1

13 years ago(bug 23002) Imagelinks table not updated after imagemove. The actual bug was inconsis...
Bryan Tong Minh [Sat, 14 May 2011 12:20:45 +0000 (12:20 +0000)]
(bug 23002) Imagelinks table not updated after imagemove. The actual bug was inconsistent behaviour between imagelinks and pagelinks for redirects.
* Parser now only adds the redirect source to imagelinks, like it does in pagelinks
* ImagePage now shows the file redirects in-line with the normal "The following pages link to this file:"
** Added message linkstoimage-redirect
** Removed the separate file redirects section and removed associated message redirectstofile
** ImagePage::imageLinks will first fetch image links to the file, determine which are redirects, and if there are fewer links than the limit, fetch the redirect target links.

13 years agoAdded direct file loading functionality to debug mode for both scripts and styles...
Trevor Parscal [Sat, 14 May 2011 12:15:58 +0000 (12:15 +0000)]
Added direct file loading functionality to debug mode for both scripts and styles, with callbacks for module state changes (changing to ready) and executing of jobs and modules awaiting dependency resolutions. These changes also provide a way to used mw.loader.implement with arrays of URLs for the scripts and styles arguments, which will make it possible to implement modules using user scripts. This probably solves bug #27023 - tests to verify that will be coming soon.

13 years agoFix up last errors from r88047
Sam Reed [Sat, 14 May 2011 12:14:25 +0000 (12:14 +0000)]
Fix up last errors from r88047

13 years agoFix MWNamespaceTest::testGetTalkExceptions()
Antoine Musso [Sat, 14 May 2011 12:01:08 +0000 (12:01 +0000)]
Fix MWNamespaceTest::testGetTalkExceptions()

It was actually testing for associated. Thanks copy & paste for this bug.

Test result:

$ php phpunit.php -c suite.xml includes/MWNamespaceTest.php
.........IIIII..........
Tests: 24, Assertions: 99, Incomplete: 5.

13 years agoFix daft loading error I added in r88047
Sam Reed [Sat, 14 May 2011 12:00:46 +0000 (12:00 +0000)]
Fix daft loading error I added in r88047

13 years ago* changed display function for length to Linker::formatRevisionSize
Jure Kajzer [Sat, 14 May 2011 11:36:03 +0000 (11:36 +0000)]
* changed display function for length to Linker::formatRevisionSize

13 years ago* (bug 28963) add langbacklinks module to api
Sam Reed [Sat, 14 May 2011 11:29:45 +0000 (11:29 +0000)]
* (bug 28963) add langbacklinks module to api

Completely untested at this point, that's being done next

13 years agoFollowup r88043: Add new message keys to maintenance file
Raimond Spekking [Sat, 14 May 2011 11:21:36 +0000 (11:21 +0000)]
Followup r88043: Add new message keys to maintenance file

13 years agoApiBase::dieUsageMsg() now also accept being given a single element as a string.
Antoine Musso [Sat, 14 May 2011 11:19:59 +0000 (11:19 +0000)]
ApiBase::dieUsageMsg() now also accept being given a single element as a string.

So the old:
  $api->dieUsageMsg( array( 'nologging' ) );

Can now be written:
  $api->dieUsageMsg( 'nologging' );

Saves up a few keystrokes.

13 years ago(Bug 28960) add message when email copy is sent to user
Platonides [Sat, 14 May 2011 11:09:26 +0000 (11:09 +0000)]
(Bug 28960) add message when email copy is sent to user
Also added an error message when the mails were not sent.
Documented the new messages plus some older ones.

Note: $successCount and $failCount fields of Status are ugly to use.

13 years ago* (bug 28945) Keyboard shortcuts on history page no longer work in 1.18
Brion Vibber [Sat, 14 May 2011 09:27:36 +0000 (09:27 +0000)]
* (bug 28945) Keyboard shortcuts on history page no longer work in 1.18

The link replacements for the button were dropping title & accesskey attributes, losing the shortcut key. Now copying these and replacing the buttons in-place, makes em work.

13 years agoFollowup r87711: add ! to the forbidden characters list for module names, per CR
Roan Kattouw [Sat, 14 May 2011 09:24:24 +0000 (09:24 +0000)]
Followup r87711: add ! to the forbidden characters list for module names, per CR

13 years agoFollowup r88002, fix naming on param documentation
Sam Reed [Sat, 14 May 2011 09:05:15 +0000 (09:05 +0000)]
Followup r88002, fix naming on param documentation

13 years ago* addon to previous
Jure Kajzer [Fri, 13 May 2011 23:42:06 +0000 (23:42 +0000)]
* addon to previous

13 years ago* removed unused messages because of previous revert.
Jure Kajzer [Fri, 13 May 2011 23:31:06 +0000 (23:31 +0000)]
* removed unused messages because of previous revert.
* hidden namespace select box if in wgMiserMode(requested by domas)

13 years ago* partial revert of r88019. Left the messages in for now ... don't know ... those...
Jure Kajzer [Fri, 13 May 2011 23:18:02 +0000 (23:18 +0000)]
* partial revert of r88019. Left the messages in for now ... don't know ... those mesages seem logical to me, i know domas might not like it, but they are still displayed.

13 years ago* bug 28571
Jure Kajzer [Fri, 13 May 2011 23:08:38 +0000 (23:08 +0000)]
* bug 28571
* Not sure about this one: the index i changed is defined as ar_usertext_timestamp in tables.sql, but created and used as usertext_timestamp.

13 years agoFollow-up r88014: Removing tablesorter from mw.util test loader, no longer being...
Krinkle [Fri, 13 May 2011 21:51:31 +0000 (21:51 +0000)]
Follow-up r88014: Removing tablesorter from mw.util test loader, no longer being used there

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Fri, 13 May 2011 21:34:44 +0000 (21:34 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-13 21:15:00 UTC)

13 years ago* fixed as per comment on r88008
Jure Kajzer [Fri, 13 May 2011 21:33:56 +0000 (21:33 +0000)]
* fixed as per comment on r88008

13 years agoRewrite importUseModWiki to subclass maintenance, general cleanup, etc. Also fixing...
Chad Horohoe [Fri, 13 May 2011 19:04:57 +0000 (19:04 +0000)]
Rewrite importUseModWiki to subclass maintenance, general cleanup, etc. Also fixing bug 22287, change default field separator

13 years ago(bug 21086) generateSitemap.php uses wfWikiID() in sitemap filenames
Chad Horohoe [Fri, 13 May 2011 17:54:34 +0000 (17:54 +0000)]
(bug 21086) generateSitemap.php uses wfWikiID() in sitemap filenames

Add optional --identifier parameter to override wfWikiId()

13 years agoFollowup to r87987: Remove tablesorter from mw.util dependencies
Leo Koppelkamm [Fri, 13 May 2011 17:48:29 +0000 (17:48 +0000)]
Followup to r87987: Remove tablesorter from mw.util dependencies

13 years agoKill defines in favor of class constants, not used anywhere else
Chad Horohoe [Fri, 13 May 2011 17:47:24 +0000 (17:47 +0000)]
Kill defines in favor of class constants, not used anywhere else

13 years agoAdding qunit tests for isIPv4Address and isIPv6Address in mw.util
Krinkle [Fri, 13 May 2011 17:28:28 +0000 (17:28 +0000)]
Adding qunit tests for isIPv4Address and isIPv6Address in mw.util

13 years agoremoved max line size for a sql dump file. This optional since PHP 4.2.0. Larger...
Markus Glaser [Fri, 13 May 2011 17:24:43 +0000 (17:24 +0000)]
removed max line size for a sql dump file. This optional since PHP 4.2.0. Larger lines are needed when importing test databases in selenium framework. This change was discussed on wikitech-l on 03.Feb.2011.

13 years ago* bug 24037
Jure Kajzer [Fri, 13 May 2011 17:11:44 +0000 (17:11 +0000)]
* bug 24037

13 years ago(bug 24781) Define XML namespace for API output. Also created the referenced URL...
Roan Kattouw [Fri, 13 May 2011 16:34:36 +0000 (16:34 +0000)]
(bug 24781) Define XML namespace for API output. Also created the referenced URL on the cluster.

13 years ago(bug 10154) Don't allow user to specify days beyond $wgRCMaxAge
Chad Horohoe [Fri, 13 May 2011 16:21:39 +0000 (16:21 +0000)]
(bug 10154) Don't allow user to specify days beyond $wgRCMaxAge

13 years agoFix unused variables
Sam Reed [Fri, 13 May 2011 16:16:44 +0000 (16:16 +0000)]
Fix unused variables

Decapitalise False

13 years agoImprove variable naming
Sam Reed [Fri, 13 May 2011 16:16:08 +0000 (16:16 +0000)]
Improve variable naming

13 years agoFollowup to r87987: Actually load the lazy loader
Leo Koppelkamm [Fri, 13 May 2011 15:57:33 +0000 (15:57 +0000)]
Followup to r87987: Actually load the lazy loader

13 years agobug 2429 fix up index by using IN / NOT IN instead of (!= and !=)
Antoine Musso [Fri, 13 May 2011 15:56:12 +0000 (15:56 +0000)]
bug 2429 fix up index by using IN / NOT IN instead of (!= and !=)

Tested (EXPLAIN <query>) against the english wikipedia database.

Follow up:
- r83110 : original ns association implementation
- r87992 : abstraction support for 'NOT IN'

(note: breaks some existing PHPUnit tests)

13 years ago* (bug 15461) Make IE8 turn off content sniffing. Everbody else should ignore this
Brion Vibber [Fri, 13 May 2011 15:52:46 +0000 (15:52 +0000)]
* (bug 15461) Make IE8 turn off content sniffing. Everbody else should ignore this

Adding X-Content-Type-Options: nosniff header in WebStart.php so that it's *always* set, even for alternate entry points and when $wgOut gets disabled or overridden.

Note that this of course doesn't apply to uploaded images and such loaded directly -- the usual caveats still apply.

Have not tested to confirm that this actually protects against sniffing errors -- please test on IE8 and IE9.

13 years agoSupport abstraction for 'NOT IN' SQL structure
Antoine Musso [Fri, 13 May 2011 15:39:45 +0000 (15:39 +0000)]
Support abstraction for 'NOT IN' SQL structure

Following a live discussion with Catrope.

When using Database::makeList() in LIST_AND or LIST_OR modes, you can now
suffix the field name with an exclamation mark.  It will negate the logical
boolean.

Example:
  $db->makeList( array( 'field!' => array( 1,2,3 ) );
  outputs:
    'field' NOT IN ('1', '2', '3' );

 $db->makeList( array( 'foo!' => array( 777 ) ) );
 outputs:
   'foo' =! 777

(note: tests not ran, please run them and ammend them)

13 years agoLooks like even margin-top isn't save due to box model differences (ie. becomes 6px...
Krinkle [Fri, 13 May 2011 15:28:44 +0000 (15:28 +0000)]
Looks like even margin-top isn't save due to box model differences (ie. becomes 6px in WebKit browser...?). Using visibility insteawd. (Follow-up to r87938, r87970)

13 years agoLazy load tablesorter only when needed. Bug 28946
Leo Koppelkamm [Fri, 13 May 2011 15:28:42 +0000 (15:28 +0000)]
Lazy load tablesorter only when needed. Bug 28946

13 years ago(reverts r87985, and does what that was SUPPOSED to do!) Gerenalized code used in...
Trevor Parscal [Fri, 13 May 2011 15:22:52 +0000 (15:22 +0000)]
(reverts r87985, and does what that was SUPPOSED to do!) Gerenalized code used in 2 places for adding scripts to the body, and switched from using jQuery.getScript to direct DOM manipulation to avoid jQuery running script file contents through eval, which caused insane line numbers when errors occured.

13 years ago* (bug 28634) document possible API caveat caused by accounts without the registratio...
Brion Vibber [Fri, 13 May 2011 15:04:55 +0000 (15:04 +0000)]
* (bug 28634) document possible API caveat caused by accounts without the registration time field

13 years agoExpanded the contents of a function that was immediately called.
Trevor Parscal [Fri, 13 May 2011 14:30:53 +0000 (14:30 +0000)]
Expanded the contents of a function that was immediately called.

13 years agoReword prefs-help-email-others per https://translatewiki.net/wiki/Thread:Support...
Niklas Laxström [Fri, 13 May 2011 14:20:34 +0000 (14:20 +0000)]
Reword prefs-help-email-others per https://translatewiki.net/wiki/Thread:Support/MediaWiki:Prefs-help-email-others/en

13 years agoFix width of live log in installer, so that it floats correctly to the right
Leo Koppelkamm [Fri, 13 May 2011 13:21:08 +0000 (13:21 +0000)]
Fix width of live log in installer, so that it floats correctly to the right

13 years agoFollow-up r87971: remove some more English.
Siebrand Mazeland [Fri, 13 May 2011 13:08:10 +0000 (13:08 +0000)]
Follow-up r87971: remove some more English.

13 years agoRemove some English
Niklas Laxström [Fri, 13 May 2011 12:44:00 +0000 (12:44 +0000)]
Remove some English

13 years agocomparing colors cross-browser is Aweful. Turns out Opera normalizes to hexidecimal...
Krinkle [Fri, 13 May 2011 12:43:49 +0000 (12:43 +0000)]
comparing colors cross-browser is Aweful. Turns out Opera normalizes to hexidecimal.. Using anoter property instead (margin-top). Thanks TestSwarm

13 years agomerge in prettyURL patch
Antoine Musso [Fri, 13 May 2011 11:41:17 +0000 (11:41 +0000)]
merge in prettyURL patch

This is basicly a merge of r84386 & r84491, see their commit messages for
more details.

r84386 makes wikilinks nicer by updating the URL forge implemented by r2621
r84491 fix an issue with the (un)?watch links. getParamValue should not be
used to guess 'title' or 'action'

13 years agoRe-do r87961 in a better way. Like I said, it's not acting the same as Linker::toolti...
Krinkle [Fri, 13 May 2011 10:34:01 +0000 (10:34 +0000)]
Re-do r87961 in a better way. Like I said, it's not acting the same as Linker::tooltip, which is already expended. Calling it when generating the HTML will try to expend the output from Linker::tooltip, which failed. Instead expending it where it's not normalized yet.

13 years agoReverted r87961. Broke stuff on action=edit...
Krinkle [Fri, 13 May 2011 10:29:21 +0000 (10:29 +0000)]
Reverted r87961. Broke stuff on action=edit...

13 years agoFixing broken tooltip/accesskey's for view_urls in Vector. Thanks JeroenDeDauw for...
Krinkle [Fri, 13 May 2011 10:26:20 +0000 (10:26 +0000)]
Fixing broken tooltip/accesskey's for view_urls in Vector. Thanks JeroenDeDauw for reporting this! In contrary to Linker:tooltip (which returns a string (attributes expanded allready), Linker::tooltipAndAccesskeyAttribs returns an array. This caused the link to be like <a href='..' array></a>

13 years agoFollow-up r87955: fix comment
Alexandre Emsenhuber [Fri, 13 May 2011 09:30:19 +0000 (09:30 +0000)]
Follow-up r87955: fix comment

13 years agoUse Article::doEdit(), much, much easier
Alexandre Emsenhuber [Fri, 13 May 2011 09:28:09 +0000 (09:28 +0000)]
Use Article::doEdit(), much, much easier

13 years agoRemoved redundant whitespaces
Alexandre Emsenhuber [Fri, 13 May 2011 09:20:15 +0000 (09:20 +0000)]
Removed redundant whitespaces

13 years agoArticle::updateArticle() doesn't exist anymore
Alexandre Emsenhuber [Fri, 13 May 2011 08:43:42 +0000 (08:43 +0000)]
Article::updateArticle() doesn't exist anymore

13 years agofix backtrace on SQL error
Antoine Musso [Fri, 13 May 2011 07:05:20 +0000 (07:05 +0000)]
fix backtrace on SQL error

Setting $wgShowDBErrorBacktrace did not have any effect when
throwing a DBQueryError exception.  Code was missing to actually
append the backtrace to the output :)

13 years ago(no commit message)
Krinkle [Thu, 12 May 2011 23:40:53 +0000 (23:40 +0000)]

13 years agoRemove unneeded parens in $.compareObject; Fix addCSS QUnit test for IE6 which puts...
Krinkle [Thu, 12 May 2011 23:03:16 +0000 (23:03 +0000)]
Remove unneeded parens in $.compareObject; Fix addCSS QUnit test for IE6 which puts spaces between commas..

13 years agoFix for r86041: when the user wants to unwatch the article, really unwatch it ;)
Alexandre Emsenhuber [Thu, 12 May 2011 20:39:41 +0000 (20:39 +0000)]
Fix for r86041: when the user wants to unwatch the article, really unwatch it ;)

13 years agoinsertNewArticle() no longer exists
Alexandre Emsenhuber [Thu, 12 May 2011 20:16:51 +0000 (20:16 +0000)]
insertNewArticle() no longer exists

13 years agotests for XmlSelect::GetAttributes()
Antoine Musso [Thu, 12 May 2011 20:07:57 +0000 (20:07 +0000)]
tests for XmlSelect::GetAttributes()

13 years ago* ammend class comment
Antoine Musso [Thu, 12 May 2011 20:06:00 +0000 (20:06 +0000)]
* ammend class comment
* nice spacing

13 years agoRemoved dead code path since r27312: $revision cannot be null if $restored is non...
Alexandre Emsenhuber [Thu, 12 May 2011 18:06:57 +0000 (18:06 +0000)]
Removed dead code path since r27312: $revision cannot be null if $restored is non-zero

13 years agofollow-up to r87584: remove a call to no-op function ImageGallery::useSkin() in Image...
Jack Phoenix [Thu, 12 May 2011 11:51:53 +0000 (11:51 +0000)]
follow-up to r87584: remove a call to no-op function ImageGallery::useSkin() in ImageQueryPage.php

13 years agoAdd unit test for jquery.colorUtil module
Krinkle [Thu, 12 May 2011 06:24:18 +0000 (06:24 +0000)]
Add unit test for jquery.colorUtil module

13 years agoFollow-up r87898: Using real path
Krinkle [Thu, 12 May 2011 06:13:25 +0000 (06:13 +0000)]
Follow-up r87898: Using real path

13 years agoContinue implementation QUnit/TestSwarm integration (bug 28915)
Krinkle [Thu, 12 May 2011 01:34:07 +0000 (01:34 +0000)]
Continue implementation QUnit/TestSwarm integration (bug 28915)
--
For now static html files. I have considered using load.php calls, and tried an in-wiki SpecialPage. However in order for versioned testing to work in TestSwarm it must be possible to do a checkout of a revision, alias or put it in a web-acccesible directory (eg. domain/tmp-svn/r1234/resources/test) and it must work right away (without needing database or LocalConfig or permission rules to avoid the wiki being modified).

For that reason I chose for a static html page for now.

Right now it loads mediawiki.js and mediawiki.util.js modules and I created complete tests for these modules.

13 years agoReturn comment stuffs
Sam Reed [Wed, 11 May 2011 23:11:41 +0000 (23:11 +0000)]
Return comment stuffs

13 years agoFix bug link for PhpRefCallBugTester class
Sam Reed [Wed, 11 May 2011 22:29:24 +0000 (22:29 +0000)]
Fix bug link for PhpRefCallBugTester class

Was linking to the bug for the PhpXmlBugTester class

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Wed, 11 May 2011 21:11:39 +0000 (21:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-11 20:45:00 UTC)

13 years agosvn:eol-style native
Alexandre Emsenhuber [Wed, 11 May 2011 19:13:58 +0000 (19:13 +0000)]
svn:eol-style native

13 years agoLocalization update for he.
Rotem Liss [Wed, 11 May 2011 08:51:02 +0000 (08:51 +0000)]
Localization update for he.

13 years agoreadding generic public domain option per comments at r87862
Ryan Kaldari [Wed, 11 May 2011 04:01:32 +0000 (04:01 +0000)]
readding generic public domain option per comments at r87862

13 years agoUpdating license choices for installer. CC public domain dedication is deprecated...
Ryan Kaldari [Wed, 11 May 2011 00:32:03 +0000 (00:32 +0000)]
Updating license choices for installer. CC public domain dedication is deprecated by Creative Commons (replaced by CC0). Since GFDL migration window is over, theres no reason to still offer the old GFDL 1.2. Adding CC-by since this is a commonly used license.

13 years agoadding icon for cc-by license
Ryan Kaldari [Tue, 10 May 2011 23:49:52 +0000 (23:49 +0000)]
adding icon for cc-by license

13 years ago* (bug 27790) add query type for querymodules to action=paraminfo
Sam Reed [Tue, 10 May 2011 23:46:27 +0000 (23:46 +0000)]
* (bug 27790) add query type for querymodules to action=paraminfo

13 years agoRELEASE-NOTES for r87856
Krinkle [Tue, 10 May 2011 23:24:09 +0000 (23:24 +0000)]
RELEASE-NOTES for r87856

13 years agoCreating a way to toggle mw.config LEGACY_GLOBALS from LocalSettings (bug 28916).
Krinkle [Tue, 10 May 2011 23:17:13 +0000 (23:17 +0000)]
Creating a way to toggle mw.config LEGACY_GLOBALS from LocalSettings (bug 28916).
* I thought a while for a way to somehow get that global variable from php to the start of the main mediaWiki object creation. Considered using a (temporary) global variable and deleting afterwards, but that looked like a hack and wasn't sure about the cross-browser functioning of it. Instead ended up by moving it to the startUp module where other global variables are accessed as well. This seems to work pretty good.

* Can be toggled from LocalSettings by setting $wgLegacyJavaScriptGlobals.
* Changed some usages of mediaWiki to use the global mw alias instead.

13 years agoTurn forUpdate() into an actual no-op
Chad Horohoe [Tue, 10 May 2011 22:54:59 +0000 (22:54 +0000)]
Turn forUpdate() into an actual no-op

13 years agoStep 1 of QUnit/TestSwarm support (bug 26908)
Krinkle [Tue, 10 May 2011 21:54:42 +0000 (21:54 +0000)]
Step 1 of QUnit/TestSwarm support (bug 26908)
* Add jQuery QUnit module
* Add a return value to mw.Map.prototype.set
* Add fallback to 'body' for options.parent in a new $.messageBox

(this is a re-do of r87830, but without breaking mw.config, see r87830 CR)

--
* Small whitespace fix (spaces to tabs) in Resources.php