Chad Horohoe [Thu, 30 Jul 2009 22:31:24 +0000 (22:31 +0000)]
Never worked anyway, and completely useless with new message cache.
Brion Vibber [Thu, 30 Jul 2009 22:24:04 +0000 (22:24 +0000)]
* Parser test supports uploading results to remote CodeReview instance
Now I just have to finish the CodeReview extension side of it... ;)
Brion Vibber [Thu, 30 Jul 2009 22:11:44 +0000 (22:11 +0000)]
Allow passing postdata in Http::post() options...
Note -- CURL allows you to pass an array which it will encode as multipart, but this doesn't seem to work for me.
Until resolved, do URL form encoding yourself with wfArrayToCGI() and pass in a string.
Todo: implement also for non-CURL mode if possible?
Raimond Spekking [Thu, 30 Jul 2009 20:13:34 +0000 (20:13 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-30 19:50 UTC)
Niklas Laxström [Thu, 30 Jul 2009 19:26:18 +0000 (19:26 +0000)]
Consistent letter case
Raimond Spekking [Thu, 30 Jul 2009 18:47:33 +0000 (18:47 +0000)]
Follow-up r54033: Add new message keys to maintenance script
Aaron Schulz [Thu, 30 Jul 2009 18:36:09 +0000 (18:36 +0000)]
rm more SpecialSearchOld cruft
Aaron Schulz [Thu, 30 Jul 2009 18:27:56 +0000 (18:27 +0000)]
(bug 18531) Show hidden users on listusers for oversights
Aaron Schulz [Thu, 30 Jul 2009 18:01:41 +0000 (18:01 +0000)]
* Separated some delete & suppress message headers (bug 18839)
* rev-deleted message cleanup with log links
Aaron Schulz [Thu, 30 Jul 2009 17:36:20 +0000 (17:36 +0000)]
Removed $wgUseOldSearchUI and old search ui class
Philip Tzou [Thu, 30 Jul 2009 17:33:42 +0000 (17:33 +0000)]
Update the Chinese conversion tables.
Michael Dale [Thu, 30 Jul 2009 17:20:34 +0000 (17:20 +0000)]
* mvFirefogg refactoring for better reuse
Aaron Schulz [Thu, 30 Jul 2009 17:11:18 +0000 (17:11 +0000)]
Follow-up to r54016: deletedcontribs
Alexandre Emsenhuber [Thu, 30 Jul 2009 15:59:04 +0000 (15:59 +0000)]
fixes in the tests directory:
* create default object to avoid PHP notices in ArticleTest
* remove broken constructor in SearchMySQL4Test
* remove pass by ref to avoid PHP warnings in SearchEngineTest
Aaron Schulz [Thu, 30 Jul 2009 14:08:25 +0000 (14:08 +0000)]
(bug 19864) Removed overzealous hiding of deleted (but not suppressed) rows from log/contribs list from sysops
Aaron Schulz [Thu, 30 Jul 2009 13:14:08 +0000 (13:14 +0000)]
Tweak 'restore' link in deletedcontribs to say 'view' (bug 20006)
Victor Vasiliev [Thu, 30 Jul 2009 08:43:26 +0000 (08:43 +0000)]
Use $wgFileExtensions to check whether SVG is enabled
Michael Dale [Thu, 30 Jul 2009 01:29:59 +0000 (01:29 +0000)]
refactored get token to mv_embed global function
Chad Horohoe [Wed, 29 Jul 2009 23:46:26 +0000 (23:46 +0000)]
Remove 2 ancient files that aren't used anywhere and were abandoned shortly after commit.
Chad Horohoe [Wed, 29 Jul 2009 23:41:16 +0000 (23:41 +0000)]
* Move generic return true; various for lock functions to parent, no need to implement this everywhere
* Make LOW PRIORITY optional
* Use sourceFile instead of dbsource
Chad Horohoe [Wed, 29 Jul 2009 22:15:52 +0000 (22:15 +0000)]
* (bug 16311) Make recent change flags acronyms instead of spans. Also move this crap to common, we don't need identical declarations in 5 different skins.
Alexandre Emsenhuber [Wed, 29 Jul 2009 20:07:31 +0000 (20:07 +0000)]
* fixed Parser::runTest() title creation to use Title::newFromText rather than Title::makeTitle() that was forcing the namespace to be NS_MAIN and thus broke some disabled parser tests that have a title that was supposed to not be in NS_MAIN
* re-enabled now working parser tests: "Magic Word: {{NAMESPACE}}", "Magic Word: {{NAMESPACEE}}" and "Magic Word: {{PAGENAME}}"
* updated "Magic Word: {{PAGENAMEE}}" test accordingly, since {{PAGENAMEE}} is not {{FULLPAGENAMEE}}
Alexandre Emsenhuber [Wed, 29 Jul 2009 18:18:25 +0000 (18:18 +0000)]
* (bug 19968) Fixed "Project talk" namespace name for Maltese (mt)
Old namespace name added in alias list for b/c
Andrew Garrett [Wed, 29 Jul 2009 16:20:10 +0000 (16:20 +0000)]
Fix regression in r53316, some more intelligent handling.
Alexandre Emsenhuber [Wed, 29 Jul 2009 14:38:28 +0000 (14:38 +0000)]
Avoid infinite loop when an exception occurs in command line mode
Shinjiman [Wed, 29 Jul 2009 14:32:06 +0000 (14:32 +0000)]
* (bug 19809) Split the North Korean language, move the North Korean calendar from ko to ko-KP.
Alex Shih-Han Lin [Wed, 29 Jul 2009 12:23:33 +0000 (12:23 +0000)]
forget to set table name to variable
Alexandre Emsenhuber [Wed, 29 Jul 2009 08:43:40 +0000 (08:43 +0000)]
Fix for r53757 per Nikerabbit's comment: these can also be "true", only do array_unique() if they're array
Shinjiman [Wed, 29 Jul 2009 05:13:33 +0000 (05:13 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Brion Vibber [Wed, 29 Jul 2009 01:10:09 +0000 (01:10 +0000)]
* (bug 19957) All known-failing tests now marked disabled; added --run-disabled option to parser test suite to run disabled tests if desired.
Based on Dan Nessett's patch set.
I put back one of the test cases which does, in fact, work at least on my config. :)
Brion Vibber [Wed, 29 Jul 2009 00:56:48 +0000 (00:56 +0000)]
Fix regression I introduced breaking wgMaxTocLevel test case... whoops!
Michael Dale [Wed, 29 Jul 2009 00:12:57 +0000 (00:12 +0000)]
updated json_encode call to api version
Brion Vibber [Tue, 28 Jul 2009 21:13:48 +0000 (21:13 +0000)]
* Added fields to list=search output: size, wordcount, timestamp, snippet
* Where supported by backend, list=search adds a 'searchinfo' element with
optional info: 'totalhits' count and 'suggestion' alternate query term
Snippets added to result items earlier by Roan; extended this with the other
byte size, word count, and timestamp available on the result items and exposed
through the regular UI.
Had to work out a backwards-compatible method for the search meta-information
with Roan; added a second 'searchinfo' element since adding attributes to
'search' would break compatibility for JSON output (despite being safe in XML).
'searchinfo' is present only if the backend supports the extra info and has
something available; 'totalhits' with a total hit count and 'suggestion' for
an alternate query suggestion (exposed as "Did you mean X?" link in UI).
Note that total hit counts can be enabled for MySQL backend now by setting
the experimental option $wgSearchMySQLTotalHits, but did-you-mean suggestions
are not yet supported and need to be tested with a hack or another backend.
Sample XML and JSON output with the new searchinfo items (which can be
present whether or not there are any result items):
<?xml version="1.0"?>
<api>
<query>
<searchinfo totalhits="0" suggestion="joe momma" />
<search />
</query>
</api>
{
"query": {
"searchinfo": {
"totalhits": 0,
"suggestion": "joe momma"
},
"search": [
]
}
}
The suggestion value is suitable for plugging back in as a search term,
if present.
Brion Vibber [Tue, 28 Jul 2009 20:49:50 +0000 (20:49 +0000)]
And for good measure, force the count to an integer. Sigh... *stab php*
Brion Vibber [Tue, 28 Jul 2009 20:49:01 +0000 (20:49 +0000)]
*slap self* fix hit counts for title searches when counts in mysql are enabled.
Rotem Liss [Tue, 28 Jul 2009 20:30:44 +0000 (20:30 +0000)]
Localization update.
Alexandre Emsenhuber [Tue, 28 Jul 2009 20:16:17 +0000 (20:16 +0000)]
Per Simetrical's comment on r53832: only trim if there're newlines
Raimond Spekking [Tue, 28 Jul 2009 18:31:23 +0000 (18:31 +0000)]
Follow-up r53874: Add colon for consistency with other labels
Raimond Spekking [Tue, 28 Jul 2009 18:22:56 +0000 (18:22 +0000)]
Follow-up r53874: Add section header for maintenance scripts
Raimond Spekking [Tue, 28 Jul 2009 17:54:56 +0000 (17:54 +0000)]
Follow-up r53873: Make new message optional for translatewiki
Michael Dale [Tue, 28 Jul 2009 17:52:09 +0000 (17:52 +0000)]
improved upload api documentation
Michael Dale [Tue, 28 Jul 2009 17:38:33 +0000 (17:38 +0000)]
checking for session_id() was preventing updates (just put a @ infront to ignore E_NOTICE for php 4.3.3 and greater )
Niklas Laxström [Tue, 28 Jul 2009 17:32:26 +0000 (17:32 +0000)]
* Fix for r53874, missing file
Michael Dale [Tue, 28 Jul 2009 17:29:32 +0000 (17:29 +0000)]
* ( bug 19932 ) simpleFileWriter::close was still issuing a update_session_progress call even if do_close_session_update was off
Shinjiman [Tue, 28 Jul 2009 16:48:22 +0000 (16:48 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Aryeh Gregor [Tue, 28 Jul 2009 16:37:31 +0000 (16:37 +0000)]
Revert apparent typos from r53873
Niklas Laxström [Tue, 28 Jul 2009 15:37:59 +0000 (15:37 +0000)]
I'm being bold here, proposed solution to:
* (bug 16697) Unicode combining characters are difficult to edit in some browsers
Adds font style option to preferences and adds default override for Lingala (ln)
Niklas Laxström [Tue, 28 Jul 2009 15:10:42 +0000 (15:10 +0000)]
* (bug 14454) "Member of group(s)" in Special:Preferences causes language difficulties
Aaron Schulz [Tue, 28 Jul 2009 11:11:46 +0000 (11:11 +0000)]
code formatting
Aaron Schulz [Tue, 28 Jul 2009 10:05:14 +0000 (10:05 +0000)]
Skip feed items with deleted content entirely, fixes bug 19965
Niklas Laxström [Tue, 28 Jul 2009 07:07:33 +0000 (07:07 +0000)]
Followup to r53844, move to correct section and use common style
Niklas Laxström [Tue, 28 Jul 2009 07:04:17 +0000 (07:04 +0000)]
Add u to regex modifiers since we are dealing with unicode. Followup to r53842
Niklas Laxström [Tue, 28 Jul 2009 06:54:07 +0000 (06:54 +0000)]
* formatSize is not static
* isset returns bool
Aryeh Gregor [Tue, 28 Jul 2009 03:18:54 +0000 (03:18 +0000)]
Add tips to Linux distributors to docs/
After some discussion with Fedora's mediawiki maintainer, I thought this
would be helpful. Probably it could use improvement in a variety of
ways, but it's a start.
Trevor Parscal [Tue, 28 Jul 2009 00:09:03 +0000 (00:09 +0000)]
Made search icon flip in RTL.
Aryeh Gregor [Tue, 28 Jul 2009 00:07:03 +0000 (00:07 +0000)]
Comment on limitations of wfExpandUrl
Ariel Glenn [Tue, 28 Jul 2009 00:02:03 +0000 (00:02 +0000)]
linkTrail fix for el noted
Chad Horohoe [Mon, 27 Jul 2009 23:53:23 +0000 (23:53 +0000)]
(bug 9691) Add type parameter to ModifyUITemplate function calls
Ariel Glenn [Mon, 27 Jul 2009 23:51:57 +0000 (23:51 +0000)]
update linkTrail for el, see bug 19949
Chad Horohoe [Mon, 27 Jul 2009 23:42:58 +0000 (23:42 +0000)]
(bug 19392) Favicon, apple-touch-icon links matching the defaults should not be sent
Chad Horohoe [Mon, 27 Jul 2009 23:36:30 +0000 (23:36 +0000)]
$this not $db
Ariel Glenn [Mon, 27 Jul 2009 22:37:48 +0000 (22:37 +0000)]
only write Dbamdinuser and password if they are set
Michael Dale [Mon, 27 Jul 2009 21:52:50 +0000 (21:52 +0000)]
* ( bug 19741 ) Removed all the sample video files in favor of remote URLs
Michael Dale [Mon, 27 Jul 2009 21:32:25 +0000 (21:32 +0000)]
* ignorewarnings fixes
* removed extra debug statement
* supports do_close_session_update for php based requests
Rotem Liss [Mon, 27 Jul 2009 19:50:07 +0000 (19:50 +0000)]
Localization: Reverting overriding changes from BetaWiki.
Alexandre Emsenhuber [Mon, 27 Jul 2009 19:42:24 +0000 (19:42 +0000)]
* (bug 17988) Spaces before [[Category:]] links are no longer ignored
* some code style fixes
Raimond Spekking [Mon, 27 Jul 2009 19:10:00 +0000 (19:10 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-27 18:55 UTC)
Michael Dale [Mon, 27 Jul 2009 19:00:27 +0000 (19:00 +0000)]
* ( bug 19930 ) default to SYNC_DOWNLOAD
Michael Dale [Mon, 27 Jul 2009 18:05:29 +0000 (18:05 +0000)]
some firefogg fixes for target form selection
Andrew Garrett [Mon, 27 Jul 2009 17:57:51 +0000 (17:57 +0000)]
Incremental enabling changes to allow searching of LiquidThreads by page and by thread:
* Add three new hooks, XmlDumpWriterOpenPage, ModifyExportQuery and XmlDumpWriterWriteRevision, to WikiExporter class.
* Hook two of these events to add a DiscussionThreading section to XML dumps, containing the parent, ancestor and discussion page to which a post belongs, if it is indeed a LiquidThreads post (as determined by joining on the thread table).
* Deprecate old calling style for Thread constructor, the $children parameter has been unused for yonks.
Brion Vibber [Mon, 27 Jul 2009 17:53:22 +0000 (17:53 +0000)]
Remove link to old FAQ on Meta (they should be officially consolidated)!, removed extra period at end of link.
Michael Dale [Mon, 27 Jul 2009 15:24:14 +0000 (15:24 +0000)]
* (bug 19932) added do_close_session_update to avoid closing session on synchronous requests
* some upload js cleanup / bug fixes
Alexandre Emsenhuber [Mon, 27 Jul 2009 13:55:50 +0000 (13:55 +0000)]
* (bug 18407, bug 18409) Special:Upload is now listed on Special:Specialpages only if uploads are enabled and the user can access it
As side effect: this means Special:Upload is now displayed as restricted for users having the "upload" right, dunno if we should have some kind of whitelist for special pages accessible to some defined groups
Andrew Garrett [Mon, 27 Jul 2009 10:45:18 +0000 (10:45 +0000)]
Fix for bug 19887, make sure tagfilter form option is "consumed" (whatever that means), prevents old value from being propagated through the form.
Andrew Garrett [Mon, 27 Jul 2009 10:32:18 +0000 (10:32 +0000)]
Allow HTML in message emailnotauthenticated, fixes formatting regression caused by r53173 and bug 19820
Aaron Schulz [Mon, 27 Jul 2009 07:03:36 +0000 (07:03 +0000)]
IPv6 padding cleanup - removed trailing ':'
Aaron Schulz [Mon, 27 Jul 2009 06:08:41 +0000 (06:08 +0000)]
* IPv6 validation check fix for bug 19003
* Made regexps a bit more readable by breaking lines
Michael Dale [Mon, 27 Jul 2009 00:42:26 +0000 (00:42 +0000)]
applies patch from bug 19934
Michael Dale [Mon, 27 Jul 2009 00:28:58 +0000 (00:28 +0000)]
removed session_write_close(); per bug 19932
Michael Dale [Sun, 26 Jul 2009 21:10:05 +0000 (21:10 +0000)]
check for mUpload for in case of mReUPload
Alexandre Emsenhuber [Sun, 26 Jul 2009 20:09:14 +0000 (20:09 +0000)]
* (bug 19479) Show proper error message when unable to connect to PostgreSQL database with username/password in MediaWiki's setup
Roan Kattouw [Sun, 26 Jul 2009 18:24:47 +0000 (18:24 +0000)]
Elaborate docs added in r53753 per CR comment
Aryeh Gregor [Sun, 26 Jul 2009 17:04:22 +0000 (17:04 +0000)]
Don't overload wluser parameter, use new wlowner
Fix for r53703 based on code review by Roan. Also improved error
message and sample documentation slightly.
Chad Horohoe [Sun, 26 Jul 2009 16:57:45 +0000 (16:57 +0000)]
Per bug 19943, improve docs on addExtensionStyle(). It behaves differently depending on what you pass it :)
Philip Tzou [Sun, 26 Jul 2009 15:54:11 +0000 (15:54 +0000)]
Follow up on r46020 and r46489. Improve the $wgContLang->convert() calling procedure on CategoryPage.
Roan Kattouw [Sun, 26 Jul 2009 10:34:03 +0000 (10:34 +0000)]
Fix r53270: drop &returntoquery parameter if empty, and prevent Special:Userlogin from returning to itself, creating very long looplike URLs
Aaron Schulz [Sun, 26 Jul 2009 10:05:50 +0000 (10:05 +0000)]
Add diff links to suppress log for deleted revs too
Alex Shih-Han Lin [Sun, 26 Jul 2009 06:10:28 +0000 (06:10 +0000)]
fix classes description.
Aryeh Gregor [Sun, 26 Jul 2009 04:09:16 +0000 (04:09 +0000)]
Remove obsolete CBT stuff
Chad Horohoe [Sat, 25 Jul 2009 22:11:58 +0000 (22:11 +0000)]
Remove stupid id that makes clean merges impossible and doesn't help anyone
Chad Horohoe [Sat, 25 Jul 2009 20:52:57 +0000 (20:52 +0000)]
Remove suggestion to use svn-revision, it doesn't exist anymore.
Michael Dale [Sat, 25 Jul 2009 20:49:27 +0000 (20:49 +0000)]
removed extra control actions per in video update
Michael Dale [Sat, 25 Jul 2009 20:47:42 +0000 (20:47 +0000)]
fixed title restore after cancel edit in add-media-wizard
Alexandre Emsenhuber [Sat, 25 Jul 2009 20:11:01 +0000 (20:11 +0000)]
* (bug 18799) Special:Userlogin now handles correctly the returnto parameter to not link back to Special:Userlogout when user's language isn't the same as content's language
Michael Dale [Sat, 25 Jul 2009 20:05:56 +0000 (20:05 +0000)]
set local wiki to default in add media
Jack Phoenix [Sat, 25 Jul 2009 20:05:41 +0000 (20:05 +0000)]
coding style tweaks
Alexandre Emsenhuber [Sat, 25 Jul 2009 19:36:14 +0000 (19:36 +0000)]
* (bug 19301) Duplicates entries in $wgAddGroups, $wgRemoveGroups, $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf are no more displayed on Special:ListGroupRights
Roan Kattouw [Sat, 25 Jul 2009 18:29:13 +0000 (18:29 +0000)]
Followup to r53702: document $extradata parameter
Rotem Liss [Sat, 25 Jul 2009 17:32:29 +0000 (17:32 +0000)]
Localization update.
Chad Horohoe [Sat, 25 Jul 2009 14:28:53 +0000 (14:28 +0000)]
(bug 10812) Interwiki links can have names and descriptions, fetched from message 'interwiki-desc-PREFIX', not really used anywhere yet though