lhc/web/wiklou.git
13 years agothree new hooks in SpecialUndelete.php from Wikia codebase so that extensions, such...
Jack Phoenix [Mon, 16 May 2011 13:30:32 +0000 (13:30 +0000)]
three new hooks in SpecialUndelete.php from Wikia codebase so that extensions, such as the Video extension, can use their custom PageArchive class

13 years agopeace, love and coding style
Jack Phoenix [Mon, 16 May 2011 13:15:15 +0000 (13:15 +0000)]
peace, love and coding style

13 years agosome coding style tweaks
Jack Phoenix [Mon, 16 May 2011 13:04:57 +0000 (13:04 +0000)]
some coding style tweaks

13 years agounbreak ProfilerSimpleTrace, some Profile refactoring made it not worky :( Also,...
Domas Mituzas [Mon, 16 May 2011 12:50:02 +0000 (12:50 +0000)]
unbreak ProfilerSimpleTrace, some Profile refactoring made it not worky :( Also, add it to AutoLoader

13 years agoFix ProfilerSimpleTextBreakage introduced by r86633
Domas Mituzas [Mon, 16 May 2011 12:45:08 +0000 (12:45 +0000)]
Fix ProfilerSimpleTextBreakage introduced by r86633

13 years agofurther update to skin due to module update, also some margin/padding tweaks to accou...
Ryan Kaldari [Mon, 16 May 2011 12:18:54 +0000 (12:18 +0000)]
further update to skin due to module update, also some margin/padding tweaks to account for formatting differences unique to our skin

13 years agoFollowup r88211: make the release notes entry say something useful
Niklas Laxström [Mon, 16 May 2011 10:12:14 +0000 (10:12 +0000)]
Followup r88211: make the release notes entry say something useful

13 years agoupdating our jquery ui button skin to match changes in jquery.ui.button functionality...
Ryan Kaldari [Mon, 16 May 2011 10:11:58 +0000 (10:11 +0000)]
updating our jquery ui button skin to match changes in jquery.ui.button functionality, per current version in trunk

13 years agoFollow-up r88190: coding style
Niklas Laxström [Mon, 16 May 2011 09:59:23 +0000 (09:59 +0000)]
Follow-up r88190: coding style

13 years agoWhitespace changes
Niklas Laxström [Mon, 16 May 2011 09:40:19 +0000 (09:40 +0000)]
Whitespace changes

13 years agoFollow-up 88165: kis
Niklas Laxström [Mon, 16 May 2011 09:30:55 +0000 (09:30 +0000)]
Follow-up 88165: kis

13 years ago(bug 28174) Message amended so as to not explicitly refer to LTR/RTL screen layout.
Purodha B Blissenbach [Mon, 16 May 2011 01:33:12 +0000 (01:33 +0000)]
(bug 28174) Message amended so as to not explicitly refer to LTR/RTL screen layout.

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

13 years ago(bug 26742) Add @noflip to RTL-specific rules in jquery.ui.datepicker.css
Roan Kattouw [Sun, 15 May 2011 16:19:39 +0000 (16:19 +0000)]
(bug 26742) Add @noflip to RTL-specific rules in jquery.ui.datepicker.css

13 years agoKill the error suppression operator in the Api
Bryan Tong Minh [Sun, 15 May 2011 14:57:10 +0000 (14:57 +0000)]
Kill the error suppression operator in the Api

13 years agoBug 28715 - Display what the server default timezone is in the timezone selection...
Rob Lanphier [Sun, 15 May 2011 14:51:01 +0000 (14:51 +0000)]
Bug 28715 - Display what the server default timezone is in the timezone selection preference.

13 years agoRemoved usage of error suppression operator in Special:LockDB and Special:UnlockDB
Alexandre Emsenhuber [Sun, 15 May 2011 14:48:15 +0000 (14:48 +0000)]
Removed usage of error suppression operator in Special:LockDB and Special:UnlockDB

13 years agoPer CR r75906, reintroduce ApiUpload::transformWarnings()
Bryan Tong Minh [Sun, 15 May 2011 14:46:13 +0000 (14:46 +0000)]
Per CR r75906, reintroduce ApiUpload::transformWarnings()

13 years agoAdd check for evil, EVIL @
Chad Horohoe [Sun, 15 May 2011 14:32:49 +0000 (14:32 +0000)]
Add check for evil, EVIL @

13 years agoFix Bug #28995: “public interface for getting state of a module” from
Mark A. Hershberger [Sun, 15 May 2011 14:26:24 +0000 (14:26 +0000)]
Fix Bug #28995: “public interface for getting state of a module” from
    Bergi

    Sometimes userscripts need to know about the registrated modules,
    mostly about their state.
    …
    My patch also resolves inconsistencies in the naming conventions
    of getters and setters; I think there should be a clear
    difference.

13 years agow/s and typo fix
Mark A. Hershberger [Sun, 15 May 2011 14:18:35 +0000 (14:18 +0000)]
w/s and typo fix

13 years agoFix directory name, mw-config, not config
Alexandre Emsenhuber [Sun, 15 May 2011 14:15:43 +0000 (14:15 +0000)]
Fix directory name, mw-config, not config

13 years agoChanging !isset to is_null (thanks Roan!) and fixing some coding style stuff
Rob Lanphier [Sun, 15 May 2011 13:56:12 +0000 (13:56 +0000)]
Changing !isset to is_null (thanks Roan!) and fixing some coding style stuff
Followup to r88178

13 years agoSetting $wgLocalTZoffset based on $wgLocaltimezone, using code that used to
Rob Lanphier [Sun, 15 May 2011 13:42:10 +0000 (13:42 +0000)]
Setting $wgLocalTZoffset based on $wgLocaltimezone, using code that used to
be in a comment in DefaultSettings.  Pair programmed with hashar.

13 years agoFix for HipHop breakage in r87748 etc. Please do not use require_once(dirname(__FILE_...
Tim Starling [Sun, 15 May 2011 13:36:59 +0000 (13:36 +0000)]
Fix for HipHop breakage in r87748 etc. Please do not use require_once(dirname(__FILE__)...) to fetch class, function or define() dependencies anymore. You do not need to have HipHop to know that doing so will break it.

13 years agoRevert r87635, r87637, r87639, r87643 (MW_MIN_PHP_VERSION etc.): breaks HipHop support.
Tim Starling [Sun, 15 May 2011 13:21:16 +0000 (13:21 +0000)]
Revert r87635, r87637, r87639, r87643 (MW_MIN_PHP_VERSION etc.): breaks HipHop support.

13 years ago* (bug 27593) API: add error message when sha1/sha1base36 is invalid
Sam Reed [Sun, 15 May 2011 13:16:13 +0000 (13:16 +0000)]
* (bug 27593) API: add error message when sha1/sha1base36 is invalid

13 years agoFollow up r87805. Remove unused global.
Platonides [Sun, 15 May 2011 13:12:19 +0000 (13:12 +0000)]
Follow up r87805. Remove unused global.

13 years ago(bug 23464) File: prefixes are now chopped off during uploading.
Bryan Tong Minh [Sun, 15 May 2011 12:51:52 +0000 (12:51 +0000)]
(bug 23464) File: prefixes are now chopped off during uploading.

13 years agoProfile brace substitution per title to help detect the "bad templates". (Make this...
Platonides [Sun, 15 May 2011 12:40:32 +0000 (12:40 +0000)]
Profile brace substitution per title to help detect the "bad templates". (Make this configurable?)

13 years agoMove $wgContLang out of the switch
Platonides [Sun, 15 May 2011 12:37:50 +0000 (12:37 +0000)]
Move $wgContLang out of the switch

13 years agoFollow up r88053. This was trying to throw the return value of a function called...
Platonides [Sun, 15 May 2011 12:36:21 +0000 (12:36 +0000)]
Follow up r88053. This was trying to throw the return value of a function called MWException.

13 years ago(bug 1780) Uploading files with non-ascii characters are now forbidden on Windows...
Bryan Tong Minh [Sun, 15 May 2011 12:35:50 +0000 (12:35 +0000)]
(bug 1780) Uploading files with non-ascii characters are now forbidden on Windows. PHP on Windows does not reliably support non-ascii characters to forbid them all. Theoretically we could detect the filesystem locale and iconv the filename, but that is just too much hassle. Added message 'windows-nonascii-filename'.

13 years agoPerform an early exit
Platonides [Sun, 15 May 2011 12:34:00 +0000 (12:34 +0000)]
Perform an early exit

13 years agoHipHop build fixes:
Tim Starling [Sun, 15 May 2011 12:25:36 +0000 (12:25 +0000)]
HipHop build fixes:
* Generate the file list from the autoloader so that it won't break so often
* Removed spyc.php from AutoLoader.php, was deleted in r86302

13 years agoIn tests, remove references to wgInputEncoding and wgOutputEncoding
Antoine Musso [Sun, 15 May 2011 12:09:59 +0000 (12:09 +0000)]
In tests, remove references to wgInputEncoding and wgOutputEncoding

Those globals are no more used as of r87589

13 years agoinitialize Profiler instance singleton with ProfilerStub if 'bogus' is detected,...
Domas Mituzas [Sun, 15 May 2011 11:16:59 +0000 (11:16 +0000)]
initialize Profiler instance singleton with ProfilerStub if 'bogus' is detected, rather than failing. CBA to debug. Reviewed by Tim eating his lunch.

13 years agoRemove debugging code introduced in r88115
Roan Kattouw [Sun, 15 May 2011 10:57:01 +0000 (10:57 +0000)]
Remove debugging code introduced in r88115

13 years agoRedo r88144
Krinkle [Sun, 15 May 2011 10:47:37 +0000 (10:47 +0000)]
Redo r88144

13 years agoFollow-up r87176 use wfLocalFile instead of wfFindFile
Bryan Tong Minh [Sun, 15 May 2011 10:43:51 +0000 (10:43 +0000)]
Follow-up r87176 use wfLocalFile instead of wfFindFile

13 years agoRevert r88144, deleted the wrong file
Roan Kattouw [Sun, 15 May 2011 10:42:33 +0000 (10:42 +0000)]
Revert r88144, deleted the wrong file

13 years agoFollow-up r87176: Make importDump.php import files
Bryan Tong Minh [Sun, 15 May 2011 10:39:15 +0000 (10:39 +0000)]
Follow-up r87176: Make importDump.php import files
* Fixes for Import.php: Check sha1 of the file; only delete source files if they are temporary
* importDump.php now imports embedded files if --uploads is set; if they are not present it will try to get them from --image-base-path

13 years agoGoodbye mediawiki.util.test. In no particular order:
Krinkle [Sun, 15 May 2011 10:34:28 +0000 (10:34 +0000)]
Goodbye mediawiki.util.test. In no particular order:
* Uses ugly eval()
* Initially meant to cross-browser test mediawiki.util.test, (re|ab|)used for random other tests
* Uses ugly html-element innerText comparison to validate tests
* Loaded for all debug=true requests
* Not automatable, not distributeable, not pushable, not compatible with TestSwarm.
* I wrote it on a late sunday night because we needed it.
* QUnit is the opposite of this.

To run the test suite: visit /w/resources/test/

13 years ago(bug 27073) Lazy init the style marker and insert if not available (ie. when using...
Krinkle [Sun, 15 May 2011 10:33:07 +0000 (10:33 +0000)]
(bug 27073) Lazy init the style marker and insert if not available (ie. when using resourceloader js on a non-mediawiki domain); fixing typo (r88074 CR)

13 years agoAdd 'hash' => array( 'class' => 'HashBagOStuff' ) to $wgObjectCaches; greatly speeds...
Bryan Tong Minh [Sun, 15 May 2011 09:54:31 +0000 (09:54 +0000)]
Add 'hash' => array( 'class' => 'HashBagOStuff' ) to $wgObjectCaches; greatly speeds up importDump.php

13 years ago* fixed typo
Jure Kajzer [Sun, 15 May 2011 09:20:40 +0000 (09:20 +0000)]
* fixed typo

13 years agoFixes regression in r88125 - if batch is empty we should bail early
Trevor Parscal [Sun, 15 May 2011 09:10:04 +0000 (09:10 +0000)]
Fixes regression in r88125 - if batch is empty we should bail early

13 years agoFixed a bug in transformation where previous language could leak into later transform...
Niklas Laxström [Sun, 15 May 2011 07:16:25 +0000 (07:16 +0000)]
Fixed a bug in transformation where previous language could leak into later transformations in UI language. Not sure what do with userlang.

13 years agoMarked some _Newtalk functions protected
Aaron Schulz [Sun, 15 May 2011 06:32:26 +0000 (06:32 +0000)]
Marked some _Newtalk functions protected

13 years agoKill diff.js with fire. It only applies to versions of Gecko that were released befor...
Roan Kattouw [Sat, 14 May 2011 23:49:29 +0000 (23:49 +0000)]
Kill diff.js with fire. It only applies to versions of Gecko that were released before Nov 2002, which is waaaay beyond what we support, or what anyone could conceivably be using in this day and age.

13 years ago(bug 28940) When making a thumb of an SVG, and only specifying the height
Brian Wolff [Sat, 14 May 2011 23:48:59 +0000 (23:48 +0000)]
(bug 28940) When making a thumb of an SVG, and only specifying the height
make the width be the max SVG size, not the natrual width of the SVG.

Some of the linker code here should perhaps be moved. See comments on bug 28940

13 years agoRemoved the go() call, and the suspended until go() is called behavior.
Trevor Parscal [Sat, 14 May 2011 23:12:16 +0000 (23:12 +0000)]
Removed the go() call, and the suspended until go() is called behavior.

13 years agoAdd Rotem Liss and Platonides to author list.
Siebrand Mazeland [Sat, 14 May 2011 23:11:15 +0000 (23:11 +0000)]
Add Rotem Liss and Platonides to author list.

13 years agoBump to 1.19
Platonides [Sat, 14 May 2011 23:08:43 +0000 (23:08 +0000)]
Bump to 1.19

13 years ago(bug 28287) The "your changes" box for edit conflicts is now read-only. Patch by...
Benjamin Lees [Sat, 14 May 2011 22:57:55 +0000 (22:57 +0000)]
(bug 28287) The "your changes" box for edit conflicts is now read-only.  Patch by MZMcBride.

13 years agoCredits to Victor Vasiliev in [[Special:Version]]
Antoine Musso [Sat, 14 May 2011 22:53:31 +0000 (22:53 +0000)]
Credits to Victor Vasiliev in [[Special:Version]]

Be bold!

13 years agoRevert r88043. It was broken in several ways.
Platonides [Sat, 14 May 2011 22:36:19 +0000 (22:36 +0000)]
Revert r88043. It was broken in several ways.

13 years agoFix Bug 28979 — “remove some CSS for abbr and acronym tags”
Mark A. Hershberger [Sat, 14 May 2011 22:10:10 +0000 (22:10 +0000)]
Fix Bug 28979 — “remove some CSS for abbr and acronym tags”

    The <abbr> and <acronym> tags were whitelisted with bug 671, but
    there are some CSS rules for them since long, long times. They can
    be found in the first versions of chick, monobook and are carried
    on to vector skin.

    Often these tags are used in links, e.g. [[Normalnull|<abbr
    title="meter above see level">NN</abbr>]]. But in here the
    color:black; makes the text unrecognizable as a hyperlink
    (together with the senseful cursor:help; rule).

    When these rules where meant to override some crazy
    browserdependent default settings, they should be be changed to
    "inherit".

from Bergi

13 years ago* added alternative revison size display if diff size is not selected
Jure Kajzer [Sat, 14 May 2011 22:06:47 +0000 (22:06 +0000)]
* added alternative revison size display if diff size is not selected

13 years ago(bug 28978) jquery.autoEllipsis cache doesn't take position into account, leads to...
Roan Kattouw [Sat, 14 May 2011 17:56:01 +0000 (17:56 +0000)]
(bug 28978) jquery.autoEllipsis cache doesn't take position into account, leads to cache pollution

13 years agoRewrote the article counting code and related:
Alexandre Emsenhuber [Sat, 14 May 2011 17:11:32 +0000 (17:11 +0000)]
Rewrote the article counting code and related:
* (bug 26033, bug 24754) Added $wgArticleCountMethod to have a more flexible way to define which method to use to define if a page is an article or not and deprecated $wgUseCommaCount. There is now a new 'any' method to count any article that is in a content namespace and not a redirect.
* (bug 11868) If using links to count articles, Article::isCountable() will now use the ParserOutput to check if there's a link instead of checking for the "[[" string. Changed Article::isCountable() to take a stdObject or false for the first parameters. If false is passed, the result will be based on the current article's state (i.e. database). The only call outside of the Article class is in DeleteAction (including extensions).
* Removed this horror of Article::$mGoodAdjustment and Article::$mTotalAdjustment, replaced by the new $created parameter on Article::editUpdates(); simplified Article::createUpdates()
* Updated Import.php to take advantage of the new parameter and make a single call to Article::editUpdates()

13 years ago* added an option to toggle the display of diff size with a warning message.
Jure Kajzer [Sat, 14 May 2011 17:05:25 +0000 (17:05 +0000)]
* added an option to toggle the display of diff size with a warning message.
* in misermode this option is disabled

13 years agoFollow-up r87589: let's simplify this a bit :P
Alexandre Emsenhuber [Sat, 14 May 2011 17:02:37 +0000 (17:02 +0000)]
Follow-up r87589: let's simplify this a bit :P

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)