lhc/web/wiklou.git
13 years agoTidy up some unused variables and such
Sam Reed [Sat, 23 Apr 2011 21:40:52 +0000 (21:40 +0000)]
Tidy up some unused variables and such

13 years agoMove patch contributors to the right section
Sam Reed [Sat, 23 Apr 2011 21:32:37 +0000 (21:32 +0000)]
Move patch contributors to the right section

Remove Jan Paul and Derk-Jan Hartman from patch contributors as they're developers

Move diebuche and bawolff

13 years agoSome type-hinting and documentation in HTMLForm.php
Happy-melon [Sat, 23 Apr 2011 21:27:24 +0000 (21:27 +0000)]
Some type-hinting and documentation in HTMLForm.php

13 years agoFollow-up r86347: the $mFile written to in SpecialUndelete is not actually the 'same...
Happy-melon [Sat, 23 Apr 2011 21:26:54 +0000 (21:26 +0000)]
Follow-up r86347: the $mFile written to in SpecialUndelete is not actually the 'same' variable as is used in SpecialPage (SpecialPage->mFile is the php file where wfEvilSpecialPageFunction() can be found, while SpecialUndelete->mFile is a deleted file), but it still complains about private access unless it's redeclared.

13 years agoAdd missing semicolon from r86750
Sam Reed [Sat, 23 Apr 2011 21:26:10 +0000 (21:26 +0000)]
Add missing semicolon from r86750

13 years ago* Add preprocessor tests that Bergi supplied for Bug #28642
Mark A. Hershberger [Sat, 23 Apr 2011 21:26:04 +0000 (21:26 +0000)]
* Add preprocessor tests that Bergi supplied for Bug #28642
* Add Bergi to CREDITS

13 years agoUse assertStringEqualsFile in place of assertEquals and reading the file.
Mark A. Hershberger [Sat, 23 Apr 2011 21:21:02 +0000 (21:21 +0000)]
Use assertStringEqualsFile in place of assertEquals and reading the file.

13 years agomissed some w/s
Mark A. Hershberger [Sat, 23 Apr 2011 21:18:50 +0000 (21:18 +0000)]
missed some w/s

13 years agow/s cleanup
Mark A. Hershberger [Sat, 23 Apr 2011 21:18:22 +0000 (21:18 +0000)]
w/s cleanup

13 years agoFix code accidentally committed in r86735
Sam Reed [Sat, 23 Apr 2011 21:17:18 +0000 (21:17 +0000)]
Fix code accidentally committed in r86735

13 years agofollow up r86752 with some content for the result of “Gallery with wikitext inside...
Mark A. Hershberger [Sat, 23 Apr 2011 19:57:59 +0000 (19:57 +0000)]
follow up r86752 with some content for the result of “Gallery with wikitext inside caption”

13 years agoChange getUrl to getFullUrl for {{filepath:Filename.jpg}} of non-thumbd local files...
Krinkle [Sat, 23 Apr 2011 19:38:53 +0000 (19:38 +0000)]
Change getUrl to getFullUrl for {{filepath:Filename.jpg}} of non-thumbd local files. This way it matches the paths for thumbnails and for foreign files. (bug 28618)

13 years agorandom w/s cleanup
Mark A. Hershberger [Sat, 23 Apr 2011 19:28:35 +0000 (19:28 +0000)]
random w/s cleanup

13 years ago* Fixes Bug #27860 - Minor edit after clicking 'new section' tab
Mark A. Hershberger [Sat, 23 Apr 2011 18:58:03 +0000 (18:58 +0000)]
* Fixes Bug #27860 - Minor edit after clicking 'new section' tab

Patch from Jan Paul Posma of which he writes:

    This patch hides the minor edit checkbox when editing a new page or new
    section, and makes sure it cannot be enabled by injecting the form value in
    HTML.

* Add Jan Paul Posma to CREDITs re Reedy's earlier comments.
* Add note about isNew to other possible places that it can be used.

13 years agowfMsgReal() -> wfMsg() or wfMsgNoTrans()
Alexandre Emsenhuber [Sat, 23 Apr 2011 17:42:34 +0000 (17:42 +0000)]
wfMsgReal() -> wfMsg() or wfMsgNoTrans()

13 years ago* (bug 28560) list=deletedrevs should die, if combination of param is invalid
Sam Reed [Sat, 23 Apr 2011 16:57:03 +0000 (16:57 +0000)]
* (bug 28560) list=deletedrevs should die, if combination of param is invalid

No checking for NS or unique in the mode 1/2 checks, as they have defaults of 0 and false, which is impossible to determine if they had been set as that, or just using the defaults. They are ignored in the code still on the incorrect path

Update usage of dir

13 years agoDon't double escape html entities for messages obtained through Message::escaped().
Alexandre Emsenhuber [Sat, 23 Apr 2011 16:27:29 +0000 (16:27 +0000)]
Don't double escape html entities for messages obtained through Message::escaped().
Since we require PHP 5.2.3+ and htmlspecialchars() has a fourth parameter to prevent double escaping since... PHP 5.2.3 (per manual), let's use it

13 years agoRemove unused messages 'recentchangesall' (removed in r36682) and 'imagelistall'...
Robin Pepermans [Sat, 23 Apr 2011 16:18:19 +0000 (16:18 +0000)]
Remove unused messages 'recentchangesall' (removed in r36682) and 'imagelistall' (removed in r14091). Not found in current source code.

13 years ago* (bug 27344) add drprefix param to list=deletedrevs
Sam Reed [Sat, 23 Apr 2011 16:03:40 +0000 (16:03 +0000)]
* (bug 27344) add drprefix param to list=deletedrevs

13 years agoCall $wgRequest->getLimitOffset() directly instead of wfCheckLimits()
Alexandre Emsenhuber [Sat, 23 Apr 2011 15:51:21 +0000 (15:51 +0000)]
Call $wgRequest->getLimitOffset() directly instead of wfCheckLimits()

13 years agoStop stubbing $wgLang and $wgContLang. There are no major code paths which do not...
Happy-melon [Sat, 23 Apr 2011 15:19:38 +0000 (15:19 +0000)]
Stop stubbing $wgLang and $wgContLang.  There are no major code paths which do not call either $wgLang or $wgContLang at least once.  All index.php calls unstub $wgContLang from MediaWiki::parseTitle() except in the edgecase of viewing pages referenced only by "curid=123", and since those will end up calling OutputPage::output() they will eventually be unstubbed at some point as well.  All calls through load.php unstub $wgLang in ResourceLoaderContext::getLanguage() from ResouceLoader::respond() --> ResourceLoader::preloadModuleInfo().  All calls through api.php unstub $wgContLang in ApiResult::cleanUpUTF8() from ApiMain::printResult().

13 years agoFollowup r86763, and also fix ancient revision from SpecialProtectedpages (Aaron...
Sam Reed [Sat, 23 Apr 2011 14:24:42 +0000 (14:24 +0000)]
Followup r86763, and also fix ancient revision from SpecialProtectedpages (Aaron at fault), use $db->getInfinity()

13 years agoDocument SpecialPageFactory::getAliasList()
Happy-melon [Sat, 23 Apr 2011 14:16:12 +0000 (14:16 +0000)]
Document SpecialPageFactory::getAliasList()

13 years agoDocumentation
Sam Reed [Sat, 23 Apr 2011 14:11:43 +0000 (14:11 +0000)]
Documentation

Fix call to undefined self::getTitleFor

13 years agoDocumentation and type hinting.
Happy-melon [Sat, 23 Apr 2011 13:55:27 +0000 (13:55 +0000)]
Documentation and type hinting.

13 years agoSimplify a bit to make nicer links: Special:ListFiles/Username
Raimond Spekking [Sat, 23 Apr 2011 13:40:04 +0000 (13:40 +0000)]
Simplify a bit to make nicer links: Special:ListFiles/Username

13 years agoAdd some more spacing due to long parameter names
Sam Reed [Sat, 23 Apr 2011 13:29:11 +0000 (13:29 +0000)]
Add some more spacing due to long parameter names

Use str_repeat for ease rather than "     " etc

Fix MiserMode to MiserMode

13 years agoEmbrace comment with () only when really needed. In Special:ListFiles and ImagePage...
Raimond Spekking [Sat, 23 Apr 2011 13:23:08 +0000 (13:23 +0000)]
Embrace comment with () only when really needed. In Special:ListFiles and ImagePage the comment is shown alone in a table cell -> no () needed

13 years ago* (bug 26882) Allow listing of indefinite protections with the api
Sam Reed [Sat, 23 Apr 2011 13:07:40 +0000 (13:07 +0000)]
* (bug 26882) Allow listing of indefinite protections with the api

Swap some !empty for count

13 years agoFollowup r86670: Define section header for new variant
Raimond Spekking [Sat, 23 Apr 2011 12:18:42 +0000 (12:18 +0000)]
Followup r86670: Define section header for new variant

13 years ago* (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap
Sam Reed [Sat, 23 Apr 2011 11:50:20 +0000 (11:50 +0000)]
* (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap

Waiting on bug 28673 to be merged to core and be used, before this is of any use, but it's done anyway

13 years ago* (bug 28672) give information about misermode on api
Sam Reed [Sat, 23 Apr 2011 11:12:31 +0000 (11:12 +0000)]
* (bug 28672) give information about misermode on api

13 years agoReverting r86749: The alt stuff is far too simplistic. One way to fix it would be...
Leo Koppelkamm [Sat, 23 Apr 2011 09:55:42 +0000 (09:55 +0000)]
Reverting r86749: The alt stuff is far too simplistic. One way to fix it would be to generalize makeImage() in the parser to process gallery params as well, but I don't have time to that now

13 years agoSQLite compatibility for patch-profiling.sql
Max Semenik [Sat, 23 Apr 2011 09:49:52 +0000 (09:49 +0000)]
SQLite compatibility for patch-profiling.sql

13 years agoAdd ability to use add alt texts for images in galleries ( Bug 18682 ). Patch by...
Leo Koppelkamm [Sat, 23 Apr 2011 07:27:45 +0000 (07:27 +0000)]
Add ability to use add alt texts for images in galleries ( Bug 18682 ). Patch by Jan Paul Posma. Also cleaned up some comments and var names

13 years agoAllow rows missing iw_trans or iw_local to be considered valid.
Daniel Friesen [Sat, 23 Apr 2011 03:10:57 +0000 (03:10 +0000)]
Allow rows missing iw_trans or iw_local to be considered valid.

13 years agoMove the Interwiki class to includes/interwiki/ to make way for a more flexible Inter...
Daniel Friesen [Sat, 23 Apr 2011 02:35:21 +0000 (02:35 +0000)]
Move the Interwiki class to includes/interwiki/ to make way for a more flexible Interwiki system. Do this first since svn doesn't support editing and moving a file in the same commit.

13 years agoBreaking the 'math' table setup out to Math extension. Should be the last main step...
Brion Vibber [Fri, 22 Apr 2011 21:37:16 +0000 (21:37 +0000)]
Breaking the 'math' table setup out to Math extension. Should be the last main step in extension-ification of the math options!

The 'math' table will no longer be created on a default install unless you've explicitly enabled the Math plugin at install time; the usual update.php procedure will add it in.

Postgres, Oracle, MSSQL, and DB2 variants are included -- broken out from the core files -- but have not been tested.

I know there has been some code duplication in parser test infrastructure but could only find one instance of the parser test temporary table setup to remove the 'math' table from (the extension adds it back via the hook). If the phpunit-based runner breaks, please track it down and fix it there too.

13 years agoUse wfMsgExt() instead of wfMsgReal()
Alexandre Emsenhuber [Fri, 22 Apr 2011 21:05:47 +0000 (21:05 +0000)]
Use wfMsgExt() instead of wfMsgReal()

13 years agoImplemented param tracking for hook users, feels a bit hackish
Niklas Laxström [Fri, 22 Apr 2011 20:25:21 +0000 (20:25 +0000)]
Implemented param tracking for hook users, feels a bit hackish

13 years agoFollowup to r86312
Sam Reed [Fri, 22 Apr 2011 20:17:21 +0000 (20:17 +0000)]
Followup to r86312

<ialex> Reedy: that rev is breaking usage of {{PAGENAME}} in messages, such as in MediaWiki:Noarticles

Allowing optional passing in of a Title object (like it may be set in Message), but if it's not set, or not a title object, fall back and use $wgTitle (I'm sorry!)

13 years agoCleanup next/prev links on special:search. Removed unused mPrefix.
Niklas Laxström [Fri, 22 Apr 2011 20:12:29 +0000 (20:12 +0000)]
Cleanup next/prev links on special:search. Removed unused mPrefix.

13 years agoFollow-up r86732: really mark it as deprecated ;)
Alexandre Emsenhuber [Fri, 22 Apr 2011 19:54:01 +0000 (19:54 +0000)]
Follow-up r86732: really mark it as deprecated ;)

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Fri, 22 Apr 2011 19:41:16 +0000 (19:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-04-22 19:12:00 UTC)

13 years agoDoc comment updates for CoreTagHooks callback functions + Parser::setHook() & Parser...
Brion Vibber [Fri, 22 Apr 2011 19:06:52 +0000 (19:06 +0000)]
Doc comment updates for CoreTagHooks callback functions + Parser::setHook() & Parser::setTransparentTagHook().

Added notes about the 'extended' return values from some of the hooks, which seems to be undocumented but is vaguely similar to what is documented for parser function callbacks. It doesn't look like a very safe interface, and could stomp on internal variables if one isn't careful. Needs to be better defined and doc'd.

setTransparentTagHook() seems to have been largely undocumented and is only used by the 'geoserver' extension currently. Is this considered obsolete? Should it be simply replaced by use of the frame & recursiveTagParse goodies, or is it still needed for something?

13 years agoAdded DBError::getContentMessage() to factorise common code; DBUnexpectedError now...
Alexandre Emsenhuber [Fri, 22 Apr 2011 18:57:01 +0000 (18:57 +0000)]
Added DBError::getContentMessage() to factorise common code; DBUnexpectedError now displays shows like a DB error for consistency with CLI mode

13 years agoApply patch from Karsten Düsterloh in Bug #28103.
Mark A. Hershberger [Fri, 22 Apr 2011 18:47:17 +0000 (18:47 +0000)]
Apply patch from Karsten Düsterloh in Bug #28103.

Karsten writes:

    If the $table_prefix is not empty, several table renamings will happen,
    including for 'pagecontent' and 'mwuser'. This breaks the import into postgres,
    because
    - 'pagecontent' doesn't exist (temporarily renamed to 'text')
    - 'mwuser' won't exist later (temporarily renamed to 'mw_mwuser')
    Also, some sequence names are wrong.
    Furthermore, some of the generated ALTER statements lack the final semicolon

    The attached patch contains the changes I had to do to make this run.

13 years agoAllow extensions to customize the search forms. This required some cleanup and refact...
Niklas Laxström [Fri, 22 Apr 2011 16:13:58 +0000 (16:13 +0000)]
Allow extensions to customize the search forms. This required some cleanup and refactoring to special:search and search engine.
Should be fully backwards compatible. Lightly tested, but only with MySQL search backend.
Introduces concept of search profiles, which replace long list of namespaces in the url.

13 years agoFollowup r86705 fix typo in comment
Niklas Laxström [Fri, 22 Apr 2011 15:16:37 +0000 (15:16 +0000)]
Followup r86705 fix typo in comment

13 years agoUpdate StartProfiler.sample after r86175
Sam Reed [Fri, 22 Apr 2011 15:02:39 +0000 (15:02 +0000)]
Update StartProfiler.sample after r86175

13 years agoUpdated patch from Bergi re: r86676 with tested code to fix bug #28642
Mark A. Hershberger [Fri, 22 Apr 2011 14:25:17 +0000 (14:25 +0000)]
Updated patch from Bergi re: r86676 with tested code to fix bug #28642

13 years ago* insert page 0 (for FK) if updating
Jure Kajzer [Fri, 22 Apr 2011 14:23:10 +0000 (14:23 +0000)]
* insert page 0 (for FK) if updating

13 years ago* Remove manual query building in search mysql
Niklas Laxström [Fri, 22 Apr 2011 13:28:03 +0000 (13:28 +0000)]
* Remove manual query building in search mysql
* Remove reference to mysql3, no longer supported
* Changed method signatures, I found no class extending this class in extensions
* Tested lightly and returns same results

13 years ago* begin, commit, rollback functions updated
Jure Kajzer [Fri, 22 Apr 2011 11:31:18 +0000 (11:31 +0000)]
* begin, commit, rollback functions updated
* using ->execFlags instead of hardcoded OCI_DEFAULT
* added dummy page (id=0) to satisfy FK checks

13 years agoAdd docs
Niklas Laxström [Fri, 22 Apr 2011 11:20:28 +0000 (11:20 +0000)]
Add docs

13 years ago(bug 28650) Refactor dynamic byte-based maxlength of edit summary into a jQuery plugi...
Roan Kattouw [Fri, 22 Apr 2011 10:58:58 +0000 (10:58 +0000)]
(bug 28650) Refactor dynamic byte-based maxlength of edit summary into a jQuery plugin. Patch by Jan Paul Posma

13 years ago(bug 26603) Followup r82232: fix double-escaping of returnto and returntoquery. Was...
Roan Kattouw [Fri, 22 Apr 2011 10:47:13 +0000 (10:47 +0000)]
(bug 26603) Followup r82232: fix double-escaping of returnto and returntoquery. Was caused by using two sources ($this->thisurl and $wgRequest) where one was already escaped and the other wasn't, then unconditionally escaping the result.

13 years agoFix bug #28642 - wrong part->commentEnd set to abbutting comments
Mark A. Hershberger [Thu, 21 Apr 2011 22:20:48 +0000 (22:20 +0000)]
Fix bug #28642 - wrong part->commentEnd set to abbutting comments

    To be able to search for headline-closing equal sign even when
    there are comments between the last = and the linebreak, there are
    some position values appended to the recent domParts. This works
    well with the first comment, but as soon as a second one comes,
    the commentEnd value is set to $wsEnd instead of $endPos.

Patch from Bergi

13 years agoConversion script between Syllabics and Latin for the Inuktitut language
Robin Pepermans [Thu, 21 Apr 2011 21:21:32 +0000 (21:21 +0000)]
Conversion script between Syllabics and Latin for the Inuktitut language

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Thu, 21 Apr 2011 19:43:03 +0000 (19:43 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-04-21 19:30:00 UTC)

13 years agoAdded jquery.json library to core.
Trevor Parscal [Thu, 21 Apr 2011 19:33:53 +0000 (19:33 +0000)]
Added jquery.json library to core.

13 years agoRemoved false comment introduced in r86633
Alexandre Emsenhuber [Thu, 21 Apr 2011 16:33:10 +0000 (16:33 +0000)]
Removed false comment introduced in r86633

13 years ago* Added Profiler::isStub() to check if we are using a stub profiler, instead of check...
Alexandre Emsenhuber [Thu, 21 Apr 2011 16:31:02 +0000 (16:31 +0000)]
* Added Profiler::isStub() to check if we are using a stub profiler, instead of checking whether $wgProfiler is set
* Replaced wfProfileClose() and wfGetProfilingOutput() by direct calls to the Profiler instance and removed them, no uses in extensions
* Also removed useless params from Profiler::getOutput() call in wfLogProfilingData()
* Only generate profiling output if it'll be used; introduced Profiler::logData() that saves profiling data (database, udp, ...) to separate it from output generation
* Removed unused Profiler::getCaller(), not used at all, and we have wfGetCaller() that does the same thing

13 years agoUse Profiler::instance() instead of $wgProfiler
Alexandre Emsenhuber [Thu, 21 Apr 2011 15:53:25 +0000 (15:53 +0000)]
Use Profiler::instance() instead of $wgProfiler

13 years ago(bug 27833) CollapsibleTabs doesn't collapse tabs due to JS errors
Roan Kattouw [Thu, 21 Apr 2011 14:39:45 +0000 (14:39 +0000)]
(bug 27833) CollapsibleTabs doesn't collapse tabs due to JS errors
* Change remove() to detach() so .data() isn't lost
* Be more careful using the parent's .data() in addData()
* Change ele (which mysteriously isn't available in the closure) to this, they're the same anyway

13 years ago(bug 28643) Merge Serbian language variant conversion improvements to trunk (r85224...
Chad Horohoe [Thu, 21 Apr 2011 14:02:38 +0000 (14:02 +0000)]
(bug 28643) Merge Serbian language variant conversion improvements to trunk (r85224, r85239, r85308) from Nikola's branch

13 years ago(bug 22209, bug 22574) Make indent, bullet list and numbered list buttons in the...
Roan Kattouw [Thu, 21 Apr 2011 13:42:39 +0000 (13:42 +0000)]
(bug 22209, bug 22574) Make indent, bullet list and numbered list buttons in the WikiEditor toolbar act on each line individually

* Reintroduce support for the splitlines argument in encapsulateSelection(). Was implemented by Adam Miller in r61493 but got lost somehow
* Add 'splitlines': true for the bullet list and numbered list buttons. The indent button already had it, so that part of r61493 did survive
* Copy options.pre and options.post to local pre and post variables instead of using (and modifying!) them directly all over the place

13 years agoFollowup to 86603 per CR: Fix var declaration of i
Leo Koppelkamm [Thu, 21 Apr 2011 09:03:04 +0000 (09:03 +0000)]
Followup to 86603 per CR: Fix var declaration of i

13 years agoMove edit.js stuff to mediawiki.action.edit.js, and remove wikibits dependency. Wrap...
Leo Koppelkamm [Thu, 21 Apr 2011 08:19:24 +0000 (08:19 +0000)]
Move edit.js stuff to mediawiki.action.edit.js, and remove wikibits dependency. Wrap publicly accessible functions inside mw.toolbar & provide legacy shortcuts to those. Make the traditional toolbar use $.fn.textSelection, to reduce code duplication. This fixes Bug 27116, Bug 15705, Bug 11011

13 years agoFix Bug 25794: Disallow multiple table captions & only keep the first
Leo Koppelkamm [Thu, 21 Apr 2011 07:27:05 +0000 (07:27 +0000)]
Fix Bug 25794: Disallow multiple table captions & only keep the first

13 years agoFollowup to r86202: Pass jQuery as argument in .ready(). Thanks Krinkle\!
Leo Koppelkamm [Thu, 21 Apr 2011 07:03:40 +0000 (07:03 +0000)]
Followup to r86202: Pass jQuery as argument in .ready(). Thanks Krinkle\!

13 years agoFixed SearchMySQL broken by r80856
Max Semenik [Thu, 21 Apr 2011 05:43:52 +0000 (05:43 +0000)]
Fixed SearchMySQL broken by r80856

13 years agoFixed bugs: Version was being checked against the wrong index after the cookie's...
Trevor Parscal [Thu, 21 Apr 2011 01:05:36 +0000 (01:05 +0000)]
Fixed bugs: Version was being checked against the wrong index after the cookie's "version:bucket" content was parsed, causing it to never match. Bucket names were being converted into numbers, resulting in NaN usually.

13 years agoSwtiched to using full mediaWiki prefix in cookies and events, rather than the shortc...
Trevor Parscal [Thu, 21 Apr 2011 00:24:20 +0000 (00:24 +0000)]
Swtiched to using full mediaWiki prefix in cookies and events, rather than the shortcut version "mw".

13 years agoRemove @static from all over the place. That's what the static keyword is for, this...
Chad Horohoe [Thu, 21 Apr 2011 00:07:09 +0000 (00:07 +0000)]
Remove @static from all over the place. That's what the static keyword is for, this being PHP5 and all

13 years agoadded wgCookiePrefix to exported variables
Nimish Gautam [Thu, 21 Apr 2011 00:06:21 +0000 (00:06 +0000)]
added wgCookiePrefix to exported variables

13 years agoFixed mismatched cookie names, changed to using ":" instead of "-" between cookie...
Trevor Parscal [Thu, 21 Apr 2011 00:02:27 +0000 (00:02 +0000)]
Fixed mismatched cookie names, changed to using ":" instead of "-" between cookie basename and bucketing key to help make the cookie more readable and removed some extra space in an error message.

13 years agoAdded generic bucketing feature to the user object, which handles bucketing users...
Trevor Parscal [Wed, 20 Apr 2011 23:58:22 +0000 (23:58 +0000)]
Added generic bucketing feature to the user object, which handles bucketing users, invalidating bucketing on version changes, tracking and and persistence.

13 years agoTweak wfDl() so it actually works properly in 5.3.x
Chad Horohoe [Wed, 20 Apr 2011 23:33:28 +0000 (23:33 +0000)]
Tweak wfDl() so it actually works properly in 5.3.x
Also add $fileName parameter in case the extension doesn't match the filename
Minor tweak for windows, its files begin php_

13 years agoa bit more polish on the datepicker styling
Ryan Kaldari [Wed, 20 Apr 2011 23:28:40 +0000 (23:28 +0000)]
a bit more polish on the datepicker styling

13 years agoadding a little padding (1px) to the select lists so that they dont look ugly
Ryan Kaldari [Wed, 20 Apr 2011 23:15:37 +0000 (23:15 +0000)]
adding a little padding (1px) to the select lists so that they dont look ugly

13 years agoRemove the JPEG/TIFF specific metadata code from BitmapHandler and put it in JpegOrTi...
Brian Wolff [Wed, 20 Apr 2011 23:15:13 +0000 (23:15 +0000)]
Remove the JPEG/TIFF specific metadata code from BitmapHandler and put it in JpegOrTiff handler
to stop mostly irrelevent classes from getting it.

Also remove a method that is an exact duplicate of a base class (not sure whats with that).

This also coincidently fixes the issue with when a foreign file repo uses PagedTiffHandler
and the local one does not, and the builtin Tiff handler tries to treat the metadata as if
it was its own form.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Wed, 20 Apr 2011 21:13:02 +0000 (21:13 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-04-20 21:00:00 UTC)

13 years agobug 28413: Fix IE problems with self-closing link-elements in .innerHTML. Using ...
Krinkle [Wed, 20 Apr 2011 20:45:01 +0000 (20:45 +0000)]
bug 28413: Fix IE problems with self-closing link-elements in .innerHTML. Using { attributes } instead so jQuery will use document.createElement instead of innerHTML. See also bug 28413 comments

13 years agoFixes for r86482
Raimond Spekking [Wed, 20 Apr 2011 20:19:52 +0000 (20:19 +0000)]
Fixes for r86482

13 years ago(bug 23816) Add tracking category for any page with a broken image.
Brian Wolff [Wed, 20 Apr 2011 19:43:47 +0000 (19:43 +0000)]
(bug 23816) Add tracking category for any page with a broken image.

Note this considers a link to a non-existent image to be broken. A link
to an image that exists but does not have a handler is not considered broken.

13 years agoFollow-up r86485: SQL error in patch, and also add the index to tables.sql.
Happy-melon [Wed, 20 Apr 2011 19:02:51 +0000 (19:02 +0000)]
Follow-up r86485: SQL error in patch, and also add the index to tables.sql.

13 years agoFIx inconsistent messages in r86482.
Siebrand Mazeland [Wed, 20 Apr 2011 18:08:27 +0000 (18:08 +0000)]
FIx inconsistent messages in r86482.

13 years agoFollow-up r86508: also change keys in optionals.
Siebrand Mazeland [Wed, 20 Apr 2011 18:04:40 +0000 (18:04 +0000)]
Follow-up r86508: also change keys in optionals.

13 years agoFollow-up r86048: fix fatal, and deprecated Skin static method call.
Happy-melon [Wed, 20 Apr 2011 17:34:29 +0000 (17:34 +0000)]
Follow-up r86048: fix fatal, and deprecated Skin static method call.

13 years agoFollow-up r82285: prefix group css and js pages with "Group-", and fix license header.
Happy-melon [Wed, 20 Apr 2011 17:29:24 +0000 (17:29 +0000)]
Follow-up r82285: prefix group css and js pages with "Group-", and fix license header.

13 years agoFollow-up r86482: patch to add an index on user_email. Not a problem if this is...
Happy-melon [Wed, 20 Apr 2011 15:33:04 +0000 (15:33 +0000)]
Follow-up r86482: patch to add an index on user_email.  Not a problem if this is not run on WMF wikis as long as they don't enable the $wgPasswordResetRoutes['email'].

13 years agoFollow up r86447. Support the $wiki parameter
Platonides [Wed, 20 Apr 2011 15:32:10 +0000 (15:32 +0000)]
Follow up r86447. Support the $wiki parameter

13 years agoFollowup to r86056 per CR: No need to keep jQuery object, just set it to boolean...
Leo Koppelkamm [Wed, 20 Apr 2011 15:30:26 +0000 (15:30 +0000)]
Followup to r86056 per CR: No need to keep jQuery object, just set it to boolean true

13 years ago(bug 13015, bug 18347, bug 18996, bug 20473, bug 23669, bug 28244) separate the passw...
Happy-melon [Wed, 20 Apr 2011 15:27:09 +0000 (15:27 +0000)]
(bug 13015, bug 18347, bug 18996, bug 20473, bug 23669, bug 28244) separate the password-reset request dialogue from SpecialUserlogin.
* Refactor with all the latest bells and whistles
* Allow wikis to enable resettting by entering an email address (bug 13015).  This is currently an unindexed query, but it is disabled by default so no immediate problem.
* Allow resetting to be disabled entirely (bug 20473).
* Don't send registered users' IP addresses in the emails (bug 18347)
* Check that a user is not globally blocked before letting them send messages (bug 23669)
* Display a more useful error message when an account exists globally but not locally (bug 18996).

13 years agoFollow-up r86407: missed a file (and some random documentation); I'm surprised it...
Happy-melon [Wed, 20 Apr 2011 15:26:05 +0000 (15:26 +0000)]
Follow-up r86407: missed a file (and some random documentation); I'm surprised it worked without it.

13 years agoFollowup to r86056 per CR: Remove unneeded function wrapping
Leo Koppelkamm [Wed, 20 Apr 2011 15:22:28 +0000 (15:22 +0000)]
Followup to r86056 per CR: Remove unneeded function wrapping

13 years agoFix Bug 28537: JUI buttons now have black as text-color
Leo Koppelkamm [Wed, 20 Apr 2011 12:27:26 +0000 (12:27 +0000)]
Fix Bug 28537: JUI buttons now have black as text-color

13 years ago* Made SiteStatsInit::articles() give a correct result when $wgUseCommaCount is false...
Alexandre Emsenhuber [Wed, 20 Apr 2011 11:58:00 +0000 (11:58 +0000)]
* Made SiteStatsInit::articles() give a correct result when $wgUseCommaCount is false (btw, do we really need to keep that variable?)
* Changed updateArticleCount.php to use that function instead of doing its own query

13 years agoUse OutputPage::addWikiMsg() instead of OutputPage::addHTML() with wfMsgExt()
Alexandre Emsenhuber [Wed, 20 Apr 2011 11:44:01 +0000 (11:44 +0000)]
Use OutputPage::addWikiMsg() instead of OutputPage::addHTML() with wfMsgExt()