lhc/web/wiklou.git
12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sun, 18 Sep 2011 19:42:47 +0000 (19:42 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoDocumentation
Sam Reed [Sun, 18 Sep 2011 18:21:19 +0000 (18:21 +0000)]
Documentation

Fix whitespace

Set svn:eol-style native on Wikimania/README

Added 0.1 version number to Wikimania.php

12 years agoModify 'image links' message used for the heading on the File-page showing entries...
Krinkle [Sun, 18 Sep 2011 17:48:58 +0000 (17:48 +0000)]
Modify 'image links' message used for the heading on the File-page showing entries in the mw_imagelinks table which contains pages that use/embed this file.
* Following the discussion on bug 30126. "File links" is confusing. Although developers will understand because of the table named 'imagelinks', other interfaces refer to this as 'usage' not a 'link'.
* Also updated message documentation

12 years agoRelease-notes for bug 30843 / r97405 / r97406
Krinkle [Sun, 18 Sep 2011 05:05:20 +0000 (05:05 +0000)]
Release-notes for bug 30843 / r97405 / r97406

12 years agoFix lowercase test added in r97405
Krinkle [Sun, 18 Sep 2011 05:03:03 +0000 (05:03 +0000)]
Fix lowercase test added in r97405
* (bug 30843) mediawiki.Title should not convert extensions (anything after the last full stop) to lower case
* Follows-up r97405

12 years agoAdd extra unit test in Transformation for mediawiki.Title
Krinkle [Sun, 18 Sep 2011 04:58:29 +0000 (04:58 +0000)]
Add extra unit test in Transformation for mediawiki.Title
* (bug 30843) mediawiki.Title should not convert extensions (anything after the last full stop) to lower case
* Patch my Michael M. slightly modified (moved to section "Transformation")
* Currently broken, will fix in next commit

12 years agoMove the mediawiki.test.bug30825.js helper script out of the /suites/ directory into...
Krinkle [Sun, 18 Sep 2011 04:50:47 +0000 (04:50 +0000)]
Move the mediawiki.test.bug30825.js helper script out of the /suites/ directory into /data/  and rename to be more re-usable.
(Follows-up r96680)

12 years ago(bug 18424) Clean up paging links on Special:allpages and special:prefixindex.
Brian Wolff [Sun, 18 Sep 2011 04:25:40 +0000 (04:25 +0000)]
(bug 18424) Clean up paging links on Special:allpages and special:prefixindex.

*Make them normal font size (my eyes! my eyes! with the tiny writing)
*Special:prefindex needs a paging link on the bottom like special:allpages (added a class name here, because I couldn't use the existing id on both)
*special:prefindex was doing $wgLang->pipeList( "full html table here", "next link here" ) which was giving bad output for the obvious reason.

12 years agoMake the phpunit old-style parserTest converter thingy not fall on its face if an...
Brian Wolff [Sun, 18 Sep 2011 03:32:43 +0000 (03:32 +0000)]
Make the phpunit old-style parserTest converter thingy not fall on its face if an extension registers a parserTests test file that has a period in it.

12 years agoFollow-up r92635 Make sure the Exif related tests handle not having the Exif extensio...
Brian Wolff [Sun, 18 Sep 2011 01:53:09 +0000 (01:53 +0000)]
Follow-up r92635 Make sure the Exif related tests handle not having the Exif extension available properly

This should fix issues reported in http://lists.wikimedia.org/pipermail/wikitech-l/2011-September/055212.html Lots of these tests loaded the exif extension dynamically, but then didn't reset $wgShowEXIF var properly.

Also change some of the markTestIncomplete to markTestSkipped as that seemed more correct.

12 years agoRevert r97386, way to soon. loader constructor has dependencies and assumptions about...
Krinkle [Sat, 17 Sep 2011 20:21:40 +0000 (20:21 +0000)]
Revert r97386, way to soon. loader constructor has dependencies and assumptions about mw.log, mw.html and mw.messages

12 years ago[RL] Stand-alone ResourceLoader front-end
Krinkle [Sat, 17 Sep 2011 20:15:24 +0000 (20:15 +0000)]
[RL] Stand-alone ResourceLoader front-end
* In preparation of this, duplicating the entire file as-is in order to preserve svn history.

(Part of bug 30956)

12 years agoDon't use isset() to check for null
Alexandre Emsenhuber [Sat, 17 Sep 2011 19:09:13 +0000 (19:09 +0000)]
Don't use isset() to check for null

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Sat, 17 Sep 2011 19:04:05 +0000 (19:04 +0000)]
* Use local context instead of global variables
* Call Linker methods statically

12 years agoUse Skin->getCategories() instead of Skin->getCategoryLinks() and manually wrapping...
Krinkle [Sat, 17 Sep 2011 18:03:18 +0000 (18:03 +0000)]
Use Skin->getCategories() instead of Skin->getCategoryLinks() and manually wrapping the #catlinks element around it. This to use the centralized output control, no need to duplicate the IDs and class names here.
* Also removing the conditional addition of <br />, which is no longer needed since <div> is a block level element which downs;t need a line break to start on a new line (this <br />) hasn't been needed since it's an unordered list (r92054)
* Follows-up r92054 and it's CR

12 years agoAdding padding:0px to '.catlinks ul' (Follow-up r92054). Browsers sometimes have...
Krinkle [Sat, 17 Sep 2011 18:01:54 +0000 (18:01 +0000)]
Adding padding:0px to '.catlinks ul' (Follow-up r92054). Browsers sometimes have a default padding-left: 40px; which looks ugly if the <ul> is diplayed inline with a label in front of it. Before: i.imgur.com/JWJvp.png ; After: http://i.imgur.com/Vo1nN.png

12 years agoFollowup to r97150 per CR: use .children() instead of .find(), more efficient and...
Roan Kattouw [Sat, 17 Sep 2011 15:52:45 +0000 (15:52 +0000)]
Followup to r97150 per CR: use .children() instead of .find(), more efficient and prevents potential issues with nested tables.

12 years agoFollowup r95562: forgot to convert one case. Thanks to Nikerabbit for providing the...
Roan Kattouw [Sat, 17 Sep 2011 15:50:06 +0000 (15:50 +0000)]
Followup r95562: forgot to convert one case. Thanks to Nikerabbit for providing the line number

12 years agoRevert r97257
Sam Reed [Sat, 17 Sep 2011 11:49:10 +0000 (11:49 +0000)]
Revert r97257

12 years ago(bug 30940) Add a hook in User:getDefaultOptions.
Krinkle [Sat, 17 Sep 2011 02:42:34 +0000 (02:42 +0000)]
(bug 30940) Add a hook in User:getDefaultOptions.

Needs back porting to 1.18 in order to fix Gadgets in REL1_18

12 years ago[RL] pass 'media' property to <link> tags as well (in already did it for the <style...
Krinkle [Sat, 17 Sep 2011 02:32:36 +0000 (02:32 +0000)]
[RL] pass 'media' property to <link> tags as well (in already did it for the <style> tags). Fixes debug-mode bug where print stylesheet were loaded in e.g. 'skins.modern'.
*  (Follows-up r88053 c22683 CR)
* Whitespace fix in Resources.php

12 years agoFollowup to r97342 to add docs for new hook.
Sean Colombo [Fri, 16 Sep 2011 23:14:13 +0000 (23:14 +0000)]
Followup to r97342 to add docs for new hook.

12 years agoMove 2 wikimedia specific files to WikimediaMaintenance
Sam Reed [Fri, 16 Sep 2011 22:58:50 +0000 (22:58 +0000)]
Move 2 wikimedia specific files to WikimediaMaintenance

12 years agoMerged in changes from LogEventsList which prevent missing usernames in log-lines...
Sean Colombo [Fri, 16 Sep 2011 22:30:39 +0000 (22:30 +0000)]
Merged in changes from LogEventsList which prevent missing usernames in log-lines and adds hook LogEventsListShowLogExtract. Part of merge from here: mediawiki.org/wiki/Wikia_code

12 years agoFix another old constructor
Sam Reed [Fri, 16 Sep 2011 21:54:35 +0000 (21:54 +0000)]
Fix another old constructor

Documentation

12 years agoCode cleanup
Sam Reed [Fri, 16 Sep 2011 21:50:30 +0000 (21:50 +0000)]
Code cleanup

Add README

Fix php4 style constructor in backup.inc

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Fri, 16 Sep 2011 20:51:04 +0000 (20:51 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoAdditional register_globals vulnerability check. Merged in from big Wikia merge:...
Sean Colombo [Fri, 16 Sep 2011 20:31:37 +0000 (20:31 +0000)]
Additional register_globals vulnerability check. Merged in from big Wikia merge: mediawiki.org/wiki/Wikia_code

12 years agoRemove the pseudo TOC, part of file descripton pages, from printing. Useless and...
Raimond Spekking [Fri, 16 Sep 2011 20:27:09 +0000 (20:27 +0000)]
Remove the pseudo TOC, part of file descripton pages, from printing. Useless and confusing if a really TOC exists

12 years agoNoticed in apache error logs (see below). If the length of the message is longer...
Sam Reed [Fri, 16 Sep 2011 20:08:33 +0000 (20:08 +0000)]
Noticed in apache error logs (see below). If the length of the message is longer than the maximum length, only send what will fit

Sep 16 20:07:28 10.0.2.193 apache2[28441]: PHP Warning:  socket_sendto() [<a href='function.socket-sendto'>function.socket-sendto</a>]: unable to write to socket [90]: Message too long in /home/wikipedia/common/php-1.17-test/includes/GlobalFunctions.php on line 464
Sep 16 20:07:29 10.0.2.193 apache2[26511]: PHP Warning:  socket_sendto() [<a href='function.socket-sendto'>function.socket-sendto</a>]: unable to write to socket [90]: Message too long in /home/wikipedia/common/php-1.17-test/includes/GlobalFunctions.php on line 464

12 years agoRemoved useless check since the variable always exists and null would be catched...
Alexandre Emsenhuber [Fri, 16 Sep 2011 19:39:53 +0000 (19:39 +0000)]
Removed useless check since the variable always exists and null would be catched by the second part

12 years agoCall Linker methods statically
Alexandre Emsenhuber [Fri, 16 Sep 2011 19:35:14 +0000 (19:35 +0000)]
Call Linker methods statically

12 years agoFix extra brace
Sam Reed [Fri, 16 Sep 2011 19:03:47 +0000 (19:03 +0000)]
Fix extra brace

12 years ago* Added HttpError exception as replacement for wfHttpError(); changed alls core calls...
Alexandre Emsenhuber [Fri, 16 Sep 2011 18:50:13 +0000 (18:50 +0000)]
* Added HttpError exception as replacement for wfHttpError(); changed alls core calls to it except AjaxDispatcher.php
* Changed FeedUtils' call to it to be similar than feeds are completely disabled
* Use local context instead of global variables in Special:Userlogout

12 years agoRefactor variables to give somewhat useful names
Sam Reed [Fri, 16 Sep 2011 18:28:24 +0000 (18:28 +0000)]
Refactor variables to give somewhat useful names

12 years agoAdd handling of format modules to ApiParamInfo
Sam Reed [Fri, 16 Sep 2011 18:25:02 +0000 (18:25 +0000)]
Add handling of format modules to ApiParamInfo

12 years agoGive a list of modules to query and action into paraminfo
Sam Reed [Fri, 16 Sep 2011 18:11:47 +0000 (18:11 +0000)]
Give a list of modules to query and action into paraminfo

12 years agoMoar documentations
Sam Reed [Fri, 16 Sep 2011 17:58:50 +0000 (17:58 +0000)]
Moar documentations

12 years agoAmend documentation for r97296
Niklas Laxström [Fri, 16 Sep 2011 16:59:10 +0000 (16:59 +0000)]
Amend documentation for r97296

12 years agoRevert r91561
Sam Reed [Fri, 16 Sep 2011 16:55:39 +0000 (16:55 +0000)]
Revert r91561

12 years ago* (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces
Niklas Laxström [Fri, 16 Sep 2011 16:11:54 +0000 (16:11 +0000)]
* (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces

12 years agoDon't attempt to get a request url from a FauxRequest
Chad Horohoe [Fri, 16 Sep 2011 15:21:06 +0000 (15:21 +0000)]
Don't attempt to get a request url from a FauxRequest

12 years agoFollowup r97264 move RELEASE-NOTES-1.19 to RELEASE-NOTES-1.18 from r97177 in trunk
Sam Reed [Fri, 16 Sep 2011 13:32:40 +0000 (13:32 +0000)]
Followup r97264 move RELEASE-NOTES-1.19 to RELEASE-NOTES-1.18 from r97177 in trunk

12 years ago* (bug 30927) Omission of MySQLField::maxLength
Sam Reed [Fri, 16 Sep 2011 12:25:45 +0000 (12:25 +0000)]
* (bug 30927) Omission of MySQLField::maxLength

12 years agoFix indenting of a couple of braces
Sam Reed [Fri, 16 Sep 2011 11:35:56 +0000 (11:35 +0000)]
Fix indenting of a couple of braces

12 years agoLocalization update for he.
Rotem Liss [Fri, 16 Sep 2011 10:04:32 +0000 (10:04 +0000)]
Localization update for he.

12 years agoImprove r97239 with comments from Aaron. Also fixed another typo that was lurking...
Niklas Laxström [Fri, 16 Sep 2011 06:23:48 +0000 (06:23 +0000)]
Improve r97239 with comments from Aaron. Also fixed another typo that was lurking there.

12 years ago* Fixed indentation
Niklas Laxström [Fri, 16 Sep 2011 06:15:44 +0000 (06:15 +0000)]
* Fixed indentation
* Fixed assumption about message keys that was no longer true
* Ping r97207
* Clarified the part about null

12 years agorevert r97203
Antoine Musso [Fri, 16 Sep 2011 06:13:57 +0000 (06:13 +0000)]
revert r97203

That code was not really meant to work :-D

12 years agoRemove @param for argument removed in r97206.
Platonides [Thu, 15 Sep 2011 21:29:53 +0000 (21:29 +0000)]
Remove @param for argument removed in r97206.

12 years agoRevisionDeleter::getChanges() documentation cleanup
Aaron Schulz [Thu, 15 Sep 2011 21:22:11 +0000 (21:22 +0000)]
RevisionDeleter::getChanges() documentation cleanup

12 years agoFollow up r89706, building up on r97091.
Platonides [Thu, 15 Sep 2011 21:09:04 +0000 (21:09 +0000)]
Follow up r89706, building up on r97091.
I think this should fix the issues while
keeping bug 14404 solved.
We may need now a more advanced test than
ArticleTablesTest::testbug14404() thoigh.

12 years agoNew hook RecentChangesListRecentChangesLine which let you customize an
Antoine Musso [Thu, 15 Sep 2011 20:57:43 +0000 (20:57 +0000)]
New hook RecentChangesListRecentChangesLine which let you customize an
entire recent changes line for user with 'Enhanced recent changes' option
It is equivalent to the existing hook OldChangesListRecentChangesLine

Reported by finlay on IRC.

12 years agobuildMainQueryConds() (called by assertConditions) uses a wfGetDB( DB_SLAVE )
Platonides [Thu, 15 Sep 2011 20:43:40 +0000 (20:43 +0000)]
buildMainQueryConds() (called by assertConditions) uses a wfGetDB( DB_SLAVE )
Although no data is transmitted to/from the server (create a DB_NONE?)

12 years ago(bug 30903) Show diff size in contribution list. Works via batched query using rev_pa...
Aaron Schulz [Thu, 15 Sep 2011 19:36:12 +0000 (19:36 +0000)]
(bug 30903) Show diff size in contribution list. Works via batched query using rev_parent_id. This is the original change diff and won't the current "diff to previous rev according to rev_page,rev_timestamp" size for edge cases of selective undeletion (revdelete should be used instead anyway) or history merges.

12 years agoRemove unused messages 'globalfileusage-of-file', 'globaltemplateusage-of-file' intro...
Siebrand Mazeland [Thu, 15 Sep 2011 19:34:29 +0000 (19:34 +0000)]
Remove unused messages 'globalfileusage-of-file', 'globaltemplateusage-of-file' introduced in r95396.

12 years agoUse wfSpecialList() so it displays properly when user direction != content direction...
Robin Pepermans [Thu, 15 Sep 2011 19:07:24 +0000 (19:07 +0000)]
Use wfSpecialList() so it displays properly when user direction != content direction, and call Linker function statically.

12 years agoFollow-up r96979: one more message that needs to be worded consistenly.
Siebrand Mazeland [Thu, 15 Sep 2011 18:14:14 +0000 (18:14 +0000)]
Follow-up r96979: one more message that needs to be worded consistenly.

12 years agoFollow up r97179; Err... ;) you didn't see AutoLoader lines for half-finished code...
Daniel Friesen [Thu, 15 Sep 2011 17:47:02 +0000 (17:47 +0000)]
Follow up r97179; Err... ;) you didn't see AutoLoader lines for half-finished code leak into my commit.

12 years agoSeparate RequestContext.php into separate files inside of context/
Daniel Friesen [Thu, 15 Sep 2011 17:42:17 +0000 (17:42 +0000)]
Separate RequestContext.php into separate files inside of context/
Update the AutoLoader too. This is also a follow up to r97161 since I forgot to add the AutoLoader line.

12 years agothrow exception if rename of output file fails
Ariel Glenn [Thu, 15 Sep 2011 17:18:13 +0000 (17:18 +0000)]
throw exception if rename of output file fails

12 years ago* (bug 30817) Restored linktrail for kk (Kazakh)
Niklas Laxström [Thu, 15 Sep 2011 16:42:22 +0000 (16:42 +0000)]
* (bug 30817) Restored linktrail for kk (Kazakh)

12 years agoRe-do reverted r96824, but in SpecialSearch first return if the title object is invalid.
Robin Pepermans [Thu, 15 Sep 2011 16:26:35 +0000 (16:26 +0000)]
Re-do reverted r96824, but in SpecialSearch first return if the title object is invalid.

12 years agoFollow up to r97128;
Jeroen De Dauw [Thu, 15 Sep 2011 16:07:40 +0000 (16:07 +0000)]
Follow up to r97128;

12 years ago* Factorise calls to get the User object
Alexandre Emsenhuber [Thu, 15 Sep 2011 15:55:13 +0000 (15:55 +0000)]
* Factorise calls to get the User object
* Call Linker method statically

12 years agoImplement DerivativeContext. Can be used to inherit context from another context...
Daniel Friesen [Thu, 15 Sep 2011 15:47:15 +0000 (15:47 +0000)]
Implement DerivativeContext. Can be used to inherit context from another context while overriding only parts of the context.

12 years agoFollowup r93247: add apiScript as a property of a ResourceLoader source.
Roan Kattouw [Thu, 15 Sep 2011 15:40:40 +0000 (15:40 +0000)]
Followup r93247: add apiScript as a property of a ResourceLoader source.

12 years agoUse IContextSource instead of RequestContext inside type hints and instanceof checks...
Daniel Friesen [Thu, 15 Sep 2011 15:19:49 +0000 (15:19 +0000)]
Use IContextSource instead of RequestContext inside type hints and instanceof checks. All we need is something that implements IContextSource and it's possible we may want to implement types of RequestContext that don't directly extend RequestContext but are perfectly valid to be passed to classes.

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Thu, 15 Sep 2011 15:04:17 +0000 (15:04 +0000)]
Use local context instead of global variables

12 years ago(bug 30907) Special:Unusedcategories should sort ascendingly (A-Z not Z-A).
Brian Wolff [Thu, 15 Sep 2011 13:47:40 +0000 (13:47 +0000)]
(bug 30907) Special:Unusedcategories should sort ascendingly (A-Z not Z-A).

12 years agoUpdate jquery.tablesorter for r97145: emulate <thead> if there is no <thead> in the...
Roan Kattouw [Thu, 15 Sep 2011 13:15:06 +0000 (13:15 +0000)]
Update jquery.tablesorter for r97145: emulate <thead> if there is no <thead> in the HTML, by walking down the table starting at the first row and moving rows to the <thead> as long as all of its cells are <th>s (or the row is empty). Also fix and simplify the sortbottom code, which was incorrectly creating multiple <tfoot> elements if there were multiple sortbottom rows.

12 years agoPer Nikerabbit on IRC, document the $status parameter in ArticleSaveComplete. Has...
Roan Kattouw [Thu, 15 Sep 2011 13:11:59 +0000 (13:11 +0000)]
Per Nikerabbit on IRC, document the $status parameter in ArticleSaveComplete. Has been undocumented since its introduction in r41244 (!)

12 years agoFollowup r97146: drop the $lb->waitTimeout() call per Tim. Was used so Tim could...
Roan Kattouw [Thu, 15 Sep 2011 12:42:29 +0000 (12:42 +0000)]
Followup r97146: drop the $lb->waitTimeout() call per Tim. Was used so Tim could sleep while a schema change was going on, but this is the kind of live hack that doesn't belong in core.

12 years agoMerge live hacks from r83992 to trunk, after cleaning some things up.
Roan Kattouw [Thu, 15 Sep 2011 12:17:44 +0000 (12:17 +0000)]
Merge live hacks from r83992 to trunk, after cleaning some things up.

* Wait for slaves after every thousand rows rather than after processing every batch. r83992 had 1000 hard-coded, I put it in SYNC_INTERVAL
* Set $lb->waitTimeout(100000). I have no idea why, but it was in the live hack. Maybe Tim or Domas could enlighten me
* Use a STRAIGHT JOIN for the query on categorylinks and page because MySQL appears to want to join the tables the wrong way around
* Use cl_collation='previousValue' rather than cl_collation!='newValue' if possible. This was originally a dirty live hack, but I re-implemented it nicely with a --previous-collation command line option
* Print a status update both before and after the SELECT query. This allows the user to notice when the SELECT queries are getting increasingly slower, which is an indication you may want to set --previous-collation

12 years agoReverted r85922 and related: new doTableStuff(). I copied in the old doTableStuff...
Tim Starling [Thu, 15 Sep 2011 12:10:53 +0000 (12:10 +0000)]
Reverted r85922 and related: new doTableStuff(). I copied in the old doTableStuff() from before r85922 and reverted all parser test changes that looked vaguely related. Apologies to Platonides, since some of his parser tests appeared to be relevant to the old parser, but it's simplest to just revert all the related changes and then re-add any useful tests later. See CR r85922 for full rationale.

12 years agoMerge r82361 from 1.17wmf1 to trunk. This shuts up "Non-string key given" exceptions...
Roan Kattouw [Thu, 15 Sep 2011 11:12:19 +0000 (11:12 +0000)]
Merge r82361 from 1.17wmf1 to trunk. This shuts up "Non-string key given" exceptions in cases where a numeric key manages to become an integer somehow. This could probably be fixed in a better way but I wouldn't know how.

12 years agoFollowup 97141: merge r92469 too, was a typo fix for r82286
Roan Kattouw [Thu, 15 Sep 2011 11:08:30 +0000 (11:08 +0000)]
Followup 97141: merge r92469 too, was a typo fix for r82286

12 years agoMerge r82286 (live hack that fixes Malayam redirect loop bug) to trunk. I still don...
Roan Kattouw [Thu, 15 Sep 2011 11:06:33 +0000 (11:06 +0000)]
Merge r82286 (live hack that fixes Malayam redirect loop bug) to trunk. I still don't understand this hack, but we needed it on the cluster when we deployed 1.17 so we'll probably need it now for 1.18 as well.

12 years agoThis should fix the following PHP notice and the display of some yet another kind...
Niklas Laxström [Thu, 15 Sep 2011 07:51:25 +0000 (07:51 +0000)]
This should fix the following PHP notice and the display of some yet another kind of legacy log entries for suppression log
PHP Notice:  Undefined offset: 6 in /www/w/includes/logging/LogFormatter.php on line 379

12 years agoAdd support for a second argument to wfDeprecated so we can start using it right...
Daniel Friesen [Thu, 15 Sep 2011 02:10:44 +0000 (02:10 +0000)]
Add support for a second argument to wfDeprecated so we can start using it right away and let users limit what warnings they get if they need to, instead of delaying warnings for an entire release or more.

12 years ago* (bug 30894) Add --output option to mwdocgen.php to override output directory
Brion Vibber [Wed, 14 Sep 2011 21:38:26 +0000 (21:38 +0000)]
* (bug 30894) Add --output option to mwdocgen.php to override output directory

Note that files go into the 'html' subdir of wherever you point.

12 years agoammend design guide :p
Antoine Musso [Wed, 14 Sep 2011 20:48:02 +0000 (20:48 +0000)]
ammend design guide :p

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Wed, 14 Sep 2011 20:46:49 +0000 (20:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years ago* (bug 30900) Remove confusing default value added for the default-don't-say-anything...
Brion Vibber [Wed, 14 Sep 2011 20:42:28 +0000 (20:42 +0000)]
* (bug 30900) Remove confusing default value added for the default-don't-say-anything case of searchmenu-new-nocreate message

Reverts r80746's addition of a default value, removal of the message from the 'ignore' list, and the subsequent translations of this message that's supposed to be empty.
It doesn't make sense to have a default value here; as added in r65902 it was meant to default to empty. It's not very well thought out to begin with, so any message that goes it ends up being confusing. For queries that aren't meant to be page titles it's meaningless to begin with, and for users who aren't allowed to create articles at all due to read-only or edit/create restrictions it's even more confusing.

12 years agoRevert r96824: causes fatal errors when search query doesn't happen to be a valid...
Brion Vibber [Wed, 14 Sep 2011 20:34:39 +0000 (20:34 +0000)]
Revert r96824: causes fatal errors when search query doesn't happen to be a valid title. Code doesn't appear to have been tested?

12 years agoTypo fixed in message text of MediaWiki:logentry-suppress-delete
Purodha B Blissenbach [Wed, 14 Sep 2011 20:32:58 +0000 (20:32 +0000)]
Typo fixed in message text of MediaWiki:logentry-suppress-delete
see http://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Logentry-suppress-delete/en

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Wed, 14 Sep 2011 20:23:36 +0000 (20:23 +0000)]
Use local context instead of global variables

12 years agoIntroduce MessageCache::getAllMessageKeys(), which returns all message keys stored...
Roan Kattouw [Wed, 14 Sep 2011 19:59:50 +0000 (19:59 +0000)]
Introduce MessageCache::getAllMessageKeys(), which returns all message keys stored in the MessageCache, and use this to power the amincludelocal parameter in meta=allmessages which adds messages that don't exist in PHP but exist as MediaWiki: pages only.

12 years agoFU r89706: Cleaned up getParserOptions duplication problems
Aaron Schulz [Wed, 14 Sep 2011 19:57:41 +0000 (19:57 +0000)]
FU r89706: Cleaned up getParserOptions duplication problems

12 years agoFU r84610: Renamed getImageTimeKeys() to getFileSearchOptions()
Aaron Schulz [Wed, 14 Sep 2011 19:05:43 +0000 (19:05 +0000)]
FU r84610: Renamed getImageTimeKeys() to getFileSearchOptions()

12 years agoFix typo in r97044 reported in twn
Niklas Laxström [Wed, 14 Sep 2011 18:02:04 +0000 (18:02 +0000)]
Fix typo in r97044 reported in twn

12 years agoFixed WikiPage::newFromId to use the factory() function
Aaron Schulz [Wed, 14 Sep 2011 17:51:37 +0000 (17:51 +0000)]
Fixed WikiPage::newFromId to use the factory() function

12 years agoSwitched from prepending http for protocol-relative $wgUploadStashScalerBaseUrl to...
Ian Baker [Wed, 14 Sep 2011 17:48:10 +0000 (17:48 +0000)]
Switched from prepending http for protocol-relative $wgUploadStashScalerBaseUrl to wfExpandUrl()
Followup to r96934

12 years agoFU r97022: Fallback to empty array for getExtraSortFields() result in __construct...
Aaron Schulz [Wed, 14 Sep 2011 17:42:28 +0000 (17:42 +0000)]
FU r97022: Fallback to empty array for getExtraSortFields() result in __construct() if no value is set for the sort order/type.

12 years agoFixed incorrect userId reference
Ian Baker [Wed, 14 Sep 2011 17:23:09 +0000 (17:23 +0000)]
Fixed incorrect userId reference

12 years agoAdded @todo items
Aaron Schulz [Wed, 14 Sep 2011 17:15:07 +0000 (17:15 +0000)]
Added @todo items

12 years agoIntroduce Language::getMessageKeysFor() and use it in ApiQueryAllmessages
Roan Kattouw [Wed, 14 Sep 2011 16:48:29 +0000 (16:48 +0000)]
Introduce Language::getMessageKeysFor() and use it in ApiQueryAllmessages

12 years agoWhitespace/documentation
Sam Reed [Wed, 14 Sep 2011 15:07:20 +0000 (15:07 +0000)]
Whitespace/documentation

12 years agoRevert r96715 per committer's (Chad's) CR comment
Roan Kattouw [Wed, 14 Sep 2011 13:43:06 +0000 (13:43 +0000)]
Revert r96715 per committer's (Chad's) CR comment

12 years agoFollowup r86304, guard against $title AND $wgTitle being null
Sam Reed [Wed, 14 Sep 2011 12:32:22 +0000 (12:32 +0000)]
Followup r86304, guard against $title AND $wgTitle being null

Add profiling too