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
Shinjiman [Sat, 25 Jul 2009 07:23:03 +0000 (07:23 +0000)]
Tweak to use lowercase on other cases, which follows r53720 and r53722.
Michael Dale [Sat, 25 Jul 2009 03:25:01 +0000 (03:25 +0000)]
* updates for strict compliance mode chunk uploading
* fixes for firefogg multiple forms on the special upload page.
Chad Horohoe [Sat, 25 Jul 2009 00:27:56 +0000 (00:27 +0000)]
Make $headers protected and declare it as an empty array.
Alex Z [Sat, 25 Jul 2009 00:19:36 +0000 (00:19 +0000)]
Fix a couple notices/strict warnings
Chad Horohoe [Sat, 25 Jul 2009 00:17:21 +0000 (00:17 +0000)]
;
Chad Horohoe [Sat, 25 Jul 2009 00:16:00 +0000 (00:16 +0000)]
Forgot to declare $mFixMagicQuotes.
Chad Horohoe [Sat, 25 Jul 2009 00:14:34 +0000 (00:14 +0000)]
Declare visibility on almost all of these, minor code style tweaks.
Chad Horohoe [Sat, 25 Jul 2009 00:07:35 +0000 (00:07 +0000)]
(bug 19914) ApiUpload needs to use write mode.
Michael Dale [Fri, 24 Jul 2009 22:50:20 +0000 (22:50 +0000)]
depreciated mwAddOnloadHook in favor of js2AddOnloadHook naming
minor add Media Wizard updates (bug 19863)
Brion Vibber [Fri, 24 Jul 2009 22:15:23 +0000 (22:15 +0000)]
64-bit host compatibility for hash function in pure-PHP implementation of CDB reader/writer.
This fixes the problem where localization cache files generated under command-line and web were incompatible on Mac OS X when using $wgCacheDirectory instead of l10n_cache table in database.
(Apple ships a 64-bit Apache+mod_php but only a 32-bit CLI php binary, and neither has the cda extension present by default.)
Confirmed hash compatibility with native cda extension by running Tim's maintenance/cdb-test.php on 32-bit and 64-bit Ubuntu installs:
32 bit before patch:
brion@bribuntu:~/src/phase3$ php maintenance/cdb-test.php
Write test...
e5d9cbbcd0137b281da400bb213820fa php.cdb
e5d9cbbcd0137b281da400bb213820fa dba.cdb
Read test...
Done.
32-bit after patch:
brion@bribuntu:~/src/phase3$ php maintenance/cdb-test.php
Write test...
84108f6dab5c34823333169ca05eb5c3 php.cdb
84108f6dab5c34823333169ca05eb5c3 dba.cdb
Read test...
Done.
brion@bribuntu:~/src/phase3$
64-bit before patch:
brion@bribuntu64:~/src/phase3$ php maintenance/cdb-test.php
Write test...
188d06832d321b20e88e9d0200242efc php.cdb
14e0225466464003d21496204f12d20c dba.cdb <- note mismatch!
Read test...
Done.
64-bit after patch:
brion@bribuntu64:~/src/phase3$ php maintenance/cdb-test.php
Write test...
d244a877c9639e27c79aa1bdbcaee3c2 php.cdb
d244a877c9639e27c79aa1bdbcaee3c2 dba.cdb <- now matches!
Read test...
Done.
YESSSS
Niklas Laxström [Fri, 24 Jul 2009 20:12:44 +0000 (20:12 +0000)]
Deprecate broken accessor and add a new one
Brion Vibber [Fri, 24 Jul 2009 20:01:23 +0000 (20:01 +0000)]
* (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set
Shinjiman [Fri, 24 Jul 2009 19:42:56 +0000 (19:42 +0000)]
fix another typo on documentation :P
Brion Vibber [Fri, 24 Jul 2009 19:18:05 +0000 (19:18 +0000)]
Check in Tim's test script for PHP implementation of CDB class while we track down the bugs w/ 64-bit vs 32-bit cross-compat.
Shinjiman [Fri, 24 Jul 2009 18:35:09 +0000 (18:35 +0000)]
fix E_NOTICE on r53720 and r53721.
Shinjiman [Fri, 24 Jul 2009 17:51:44 +0000 (17:51 +0000)]
fix typo on documentation
Shinjiman [Fri, 24 Jul 2009 17:41:01 +0000 (17:41 +0000)]
Tweak the language code display more comply with the BCP 47 standards, using a new global function wfBCP47().
Raimond Spekking [Fri, 24 Jul 2009 15:53:09 +0000 (15:53 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-24 15:19 UTC)
Shinjiman [Fri, 24 Jul 2009 15:46:57 +0000 (15:46 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Niklas Laxström [Fri, 24 Jul 2009 13:35:24 +0000 (13:35 +0000)]
PHP is so nice to not touch our input data ever (magic_quotes anyone?), except sometimes: us2.php.net/variables.external#language.variables.external.dot-in-names
Work around PHP *feature* to avoid *bugs* elsewhere.
Aaron Schulz [Fri, 24 Jul 2009 12:21:41 +0000 (12:21 +0000)]
(bug 19905) Clean up revdelete/restore interaction