lhc/web/wiklou.git
14 years agoDeclare visibility on almost all of these, minor code style tweaks.
Chad Horohoe [Sat, 25 Jul 2009 00:14:34 +0000 (00:14 +0000)]
Declare visibility on almost all of these, minor code style tweaks.

14 years ago(bug 19914) ApiUpload needs to use write mode.
Chad Horohoe [Sat, 25 Jul 2009 00:07:35 +0000 (00:07 +0000)]
(bug 19914) ApiUpload needs to use write mode.

14 years agodepreciated mwAddOnloadHook in favor of js2AddOnloadHook naming
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)

14 years ago64-bit host compatibility for hash function in pure-PHP implementation of CDB reader...
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

14 years agoDeprecate broken accessor and add a new one
Niklas Laxström [Fri, 24 Jul 2009 20:12:44 +0000 (20:12 +0000)]
Deprecate broken accessor and add a new one

14 years ago* (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set
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

14 years agofix another typo on documentation :P
Shinjiman [Fri, 24 Jul 2009 19:42:56 +0000 (19:42 +0000)]
fix another typo on documentation :P

14 years agoCheck in Tim's test script for PHP implementation of CDB class while we track down...
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.

14 years agofix E_NOTICE on r53720 and r53721.
Shinjiman [Fri, 24 Jul 2009 18:35:09 +0000 (18:35 +0000)]
fix E_NOTICE on r53720 and r53721.

14 years agofix typo on documentation
Shinjiman [Fri, 24 Jul 2009 17:51:44 +0000 (17:51 +0000)]
fix typo on documentation

14 years agoTweak the language code display more comply with the BCP 47 standards, using a new...
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().

14 years agoLocalisation updates for core messages from translatewiki.net (2009-07-24 15:19 UTC)
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)

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Fri, 24 Jul 2009 15:46:57 +0000 (15:46 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoPHP is so nice to not touch our input data ever (magic_quotes anyone?), except someti...
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.

14 years ago(bug 19905) Clean up revdelete/restore interaction
Aaron Schulz [Fri, 24 Jul 2009 12:21:41 +0000 (12:21 +0000)]
(bug 19905) Clean up revdelete/restore interaction

14 years ago5.3 reference error fix
Aaron Schulz [Fri, 24 Jul 2009 12:08:06 +0000 (12:08 +0000)]
5.3 reference error fix

14 years agoProperly escape the search term here.
Robert Stojnić [Fri, 24 Jul 2009 11:12:09 +0000 (11:12 +0000)]
Properly escape the search term here.

14 years ago* Don't add 200 extra css/js requests when showing 100 diffs
Niklas Laxström [Fri, 24 Jul 2009 11:06:27 +0000 (11:06 +0000)]
* Don't add 200 extra css/js requests when showing 100 diffs
* Allow suppressing "line 1" from the diffs, which can get quite annoying with many diffs

14 years agoundefined variable error fix
Aaron Schulz [Fri, 24 Jul 2009 10:32:17 +0000 (10:32 +0000)]
undefined variable error fix

14 years agoAvoid some silly unlink notices
Aaron Schulz [Fri, 24 Jul 2009 09:22:51 +0000 (09:22 +0000)]
Avoid some silly unlink notices

14 years agoFix a regression from the preference rewrite: The help messages for maximum values...
Raimond Spekking [Fri, 24 Jul 2009 08:09:17 +0000 (08:09 +0000)]
Fix a regression from the preference rewrite: The help messages for maximum values were lost.
Tweak 'en' messages: Remove () for consistency with other help messages

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Fri, 24 Jul 2009 05:10:42 +0000 (05:10 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agofix namespaces target
Alex Shih-Han Lin [Fri, 24 Jul 2009 01:37:00 +0000 (01:37 +0000)]
fix namespaces target

14 years agoeol-style
Alex Shih-Han Lin [Fri, 24 Jul 2009 01:25:27 +0000 (01:25 +0000)]
eol-style

14 years agoAdd opt-in RSS feed for watchlist
Aryeh Gregor [Fri, 24 Jul 2009 01:22:06 +0000 (01:22 +0000)]
Add opt-in RSS feed for watchlist

Authentication is via a token entered in preferences, if not blank.  If
you set a token in your preferences, the following sort of link will
generate the RSS feed:

api.php?action=feedwatchlist&list=watchlist&wluser=Simetrical&wltoken=91c1ef18279f9c24ccf67a79e899ae4d2a3201bc

I haven't actually added the <link> tag to Special:Watchlist, since I've
done enough coding for one night.  Someone else can feel free to do
that (otherwise people might get kind of confused :) ).

An auto-generated random token is suggested to the user on the pref page
so that they don't have to be too creative.  Pref help text is rather
underemphasized in the default style, though.

It would be worth considering making this opt-out instead of opt-in,
but that would require some voodoo magic to get the default prefs to
work right (since we'd need a different value for each user).  We might
set the default to some function of user id + secret site-specific value
to avoid having to store the values in the database.

Since the feature is implemented via the API, it only works if the API
is enabled.  Some API people might want to review my code for sanity.

Bug: 471

14 years agoBetter documentation for dieUsage()
Aryeh Gregor [Thu, 23 Jul 2009 23:50:04 +0000 (23:50 +0000)]
Better documentation for dieUsage()

If I got it wrong, please improve.

14 years agofixes bug 19736
Michael Dale [Thu, 23 Jul 2009 21:28:54 +0000 (21:28 +0000)]
fixes bug 19736
If you did not have the wgServer var set manually the internal shell request for the download would result in localhost being used for the API result url.

14 years ago* (bug 16009) Limit selection forms based on Pager now links to the correct page...
Alexandre Emsenhuber [Thu, 23 Jul 2009 20:18:34 +0000 (20:18 +0000)]
* (bug 16009) Limit selection forms based on Pager now links to the correct page when using long urls

14 years ago* (bug 19900) The "listgrouprights-key" message is now wrapped in a div with class...
Alexandre Emsenhuber [Thu, 23 Jul 2009 19:39:37 +0000 (19:39 +0000)]
* (bug 19900) The "listgrouprights-key" message is now wrapped in a div with class "mw-listgrouprights-key"

14 years agoApply ^demon's patch. Reason was: fixes mismatched <tbody> issue from when child...
Alexandre Emsenhuber [Thu, 23 Jul 2009 18:00:32 +0000 (18:00 +0000)]
Apply ^demon's patch. Reason was: fixes mismatched <tbody> issue from when child did not implement TablePager's getStartBody() with a trailing <tbody> Also adds <thead> around header rows, like parent does.

14 years ago* fix doxygen warnings
Alexandre Emsenhuber [Thu, 23 Jul 2009 17:14:07 +0000 (17:14 +0000)]
* fix doxygen warnings
* fix wfReportTime()'s identation

14 years ago+Add BrokenRedirects and DoubleRedirects API script for bot development.
Alex Shih-Han Lin [Thu, 23 Jul 2009 16:25:31 +0000 (16:25 +0000)]
+Add BrokenRedirects and DoubleRedirects API script for bot development.

14 years ago* Add release note for r53618.
Robert Leverington [Thu, 23 Jul 2009 11:08:24 +0000 (11:08 +0000)]
* Add release note for r53618.

14 years agoEnabled use of the greater-than sign (">") in page titles. There is actually no reaso...
Remember the dot [Thu, 23 Jul 2009 03:01:02 +0000 (03:01 +0000)]
Enabled use of the greater-than sign (">") in page titles. There is actually no reason for this character to be restricted because it does not interfere with wiki syntax or HTML tags. This will have immediate applications for articles such as "M>Tram", ">play", "The Videos 86>98", "Tour 00 >> 01 Macabre", and "I>Télé", as well as redirects for "Inequality" and "Bitwise operation".

14 years ago* Sequencer render updates
Michael Dale [Thu, 23 Jul 2009 02:09:56 +0000 (02:09 +0000)]
* Sequencer render updates
** created class/file mvFirefoggRender.js

14 years ago* (bug 14201) Set $wgDBadminuser/$wgDBadminpassword during setup
Chad Horohoe [Thu, 23 Jul 2009 00:31:37 +0000 (00:31 +0000)]
* (bug 14201) Set $wgDBadminuser/$wgDBadminpassword during setup
* (bug 18768) Remove AdminSettings requirements. Maintenance environment will still load it if it exists, but it's not required for anything

14 years agoLocalisation updates for core messages from translatewiki.net (2009-07-22 23:12 UTC)
Siebrand Mazeland [Wed, 22 Jul 2009 23:23:12 +0000 (23:23 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-22 23:12 UTC)

14 years ago(bug 16877) When moving a page over a redirect, delete the creation entry for the...
Alex Z [Wed, 22 Jul 2009 20:09:23 +0000 (20:09 +0000)]
(bug 16877) When moving a page over a redirect, delete the creation entry for the redirect from the recentchanges table

14 years ago* no need to pass "$asyncdownload = false", this is not python :)
Alexandre Emsenhuber [Wed, 22 Jul 2009 19:42:02 +0000 (19:42 +0000)]
* no need to pass "$asyncdownload = false", this is not python :)
* added new line at the end of wfDebug() call
* change ereg(i) to preg_match, the former is deprecated since PHP 5.3

14 years ago(bug 19876) remove the obsolete namespace names into aliases for zh-tw
Shinjiman [Wed, 22 Jul 2009 13:31:04 +0000 (13:31 +0000)]
(bug 19876) remove the obsolete namespace names into aliases for zh-tw

14 years ago* (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks target...
Alexandre Emsenhuber [Wed, 22 Jul 2009 10:34:15 +0000 (10:34 +0000)]
* (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks target page
* also copy ar_page_id, ar_len and ar_deleted fields when deleting a revision

14 years agoFixed php 5.3 reference error
Aaron Schulz [Wed, 22 Jul 2009 04:53:59 +0000 (04:53 +0000)]
Fixed php 5.3 reference error

14 years ago(bug 19574) LocalisationCache gets confused when external code deletes its store...
Tim Starling [Wed, 22 Jul 2009 04:03:46 +0000 (04:03 +0000)]
(bug 19574) LocalisationCache gets confused when external code deletes its store after it does its cache freshness check. Fix by reinitialising the cache after the DB setup.

14 years agoAdd experimental support for a total hit count in the MySQL search engine.
Brion Vibber [Tue, 21 Jul 2009 23:20:00 +0000 (23:20 +0000)]
Add experimental support for a total hit count in the MySQL search engine.
Disabled by default as it's a bit flaky when you combine title and page content results... also might be slow on larger sites. :)
Good for local UI testing to confirm that the search count totals work in the search UI/API though!

/**
 * Set to true to have the default MySQL search engine count total
 * search matches to present in the Special:Search UI.
 *
 * This could however be slow on larger wikis, and is pretty flaky
 * with the current title vs content split. Recommend avoiding until
 * that's been worked out cleanly; but this may aid in testing the
 * search UI and API to confirm that the result count works.
 */
$wgSearchMySQLTotalHits = false;

14 years agoSolves bug #19514.
Trevor Parscal [Tue, 21 Jul 2009 22:54:45 +0000 (22:54 +0000)]
Solves bug #19514.

14 years agoSolves bug #19567 by applying the bottom margin to the child p or div tag, making...
Trevor Parscal [Tue, 21 Jul 2009 22:44:16 +0000 (22:44 +0000)]
Solves bug #19567 by applying the bottom margin to the child p or div tag, making it possible to have the #siteNotice div always present and the notice content hidden, without adding the extra space.

14 years agoFixes bug #19866
Trevor Parscal [Tue, 21 Jul 2009 22:23:26 +0000 (22:23 +0000)]
Fixes bug #19866

14 years agoFixed text wrapping problem, which was being solved in langues with spaces between...
Trevor Parscal [Tue, 21 Jul 2009 22:03:31 +0000 (22:03 +0000)]
Fixed text wrapping problem, which was being solved in langues with spaces between words by changing them to &nbsp; (dirty hack) but was not fixed in languages without them such as Chinese. This does it with CSS (how it should have been done originally).

14 years agoremove debugging code *stab*
Alexandre Emsenhuber [Tue, 21 Jul 2009 20:32:41 +0000 (20:32 +0000)]
remove debugging code *stab*

14 years ago* don't require allow_url_fopen enabled when cURL is available
Alexandre Emsenhuber [Tue, 21 Jul 2009 20:31:49 +0000 (20:31 +0000)]
* don't require allow_url_fopen enabled when cURL is available
* implemented get_headers() with cURL (headers_only option in HttpRequest)
* fix some possible ENOTICE
* some spacing fixes

14 years ago* Replace $wgSecondaryGoNamespace with $wgSecondaryGoNamespaces (taking an array...
Robert Leverington [Tue, 21 Jul 2009 20:18:56 +0000 (20:18 +0000)]
* Replace $wgSecondaryGoNamespace with $wgSecondaryGoNamespaces (taking an array of integers instead of just an integer), per code review of r53600.

14 years agoFixed broken jumpto link. Fixes bug #17710
Trevor Parscal [Tue, 21 Jul 2009 17:57:16 +0000 (17:57 +0000)]
Fixed broken jumpto link. Fixes bug #17710

14 years agoCleanup for r53518 (subpage support for edit comments)
Brion Vibber [Tue, 21 Jul 2009 17:07:56 +0000 (17:07 +0000)]
Cleanup for r53518 (subpage support for edit comments)
Reported bug: PHP Notice: Undefined variable: thelink in /var/www/w/includes/Linker.php on line 1090 on hitting http://translatewiki.net/w/i.php?title=Special:Log&dir=prev&user=Siebrand
Weren't properly checking for the case where we end up with an invalid link at the end.

14 years agoonly set wpDestFile after selecting a file if its empty -- this could have been set...
Jan Gerber [Tue, 21 Jul 2009 15:51:00 +0000 (15:51 +0000)]
only set wpDestFile after selecting a file if its empty -- this could have been set via url /index.php?title=Special:Upload&wpDestFile=foobar.ogv

14 years agoAdd $wgSecondaryGoNamespace, used if an exact match is not found when pressing go...
Robert Leverington [Tue, 21 Jul 2009 14:45:21 +0000 (14:45 +0000)]
Add $wgSecondaryGoNamespace, used if an exact match is not found when pressing go - will try to find a match in a different namespace before performing a search.

See bug 19862.

14 years agoSmall changes to Special:Disambiguations
Raimond Spekking [Tue, 21 Jul 2009 12:31:51 +0000 (12:31 +0000)]
Small changes to Special:Disambiguations
** Use 'editlink' message instead of 'qbedit' (CologneBlue specific message)
** Use parentheses message instead of hardcoded parentheses

14 years agofollow up r53582: Move escaping to the outer message for consistency. Per suggestion...
Raimond Spekking [Tue, 21 Jul 2009 12:17:32 +0000 (12:17 +0000)]
follow up r53582: Move escaping to the outer message for consistency. Per suggestion of Ialex :)

14 years agofollow up r53582: remove duped line :/
Raimond Spekking [Tue, 21 Jul 2009 12:04:52 +0000 (12:04 +0000)]
follow up r53582: remove duped line :/

14 years ago* (bug 19097) Small changes to Special:DoubleRedirects
Raimond Spekking [Tue, 21 Jul 2009 12:02:34 +0000 (12:02 +0000)]
* (bug 19097) Small changes to Special:DoubleRedirects
** Use 'editlink' message instead of 'qbedit'
** Use parentheses message instead of hardcoded parentheses
Based on a patch by Ahmad Sherif

14 years ago* update UploadComplete hook, the object is now a subclass of UploadBase
Alexandre Emsenhuber [Tue, 21 Jul 2009 11:48:52 +0000 (11:48 +0000)]
* update UploadComplete hook, the object is now a subclass of UploadBase
* whitespaces fixes

14 years ago(bug 18161) Fix inconsistent separators in watchlist link toolbars with "enhanced...
Raimond Spekking [Tue, 21 Jul 2009 11:18:27 +0000 (11:18 +0000)]
(bug 18161) Fix inconsistent separators in watchlist link toolbars with "enhanced recent changes"

14 years agoUpdate the Chinese conversion tables.
Philip Tzou [Tue, 21 Jul 2009 06:26:53 +0000 (06:26 +0000)]
Update the Chinese conversion tables.

14 years agoFollow-up to r52963: Moved ID attributes on header elements to the spans within the...
Remember the dot [Tue, 21 Jul 2009 04:19:34 +0000 (04:19 +0000)]
Follow-up to r52963: Moved ID attributes on header elements to the spans within the headers to avoid breaking things, at least until we can decide what the best way to handle these IDs is.

15 years agoLocalisation updates for core messages from translatewiki.net (2009-07-20 18:45 UTC)
Raimond Spekking [Mon, 20 Jul 2009 19:08:50 +0000 (19:08 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-20 18:45 UTC)

15 years agoA bit more readable
Niklas Laxström [Mon, 20 Jul 2009 13:25:14 +0000 (13:25 +0000)]
A bit more readable

15 years ago(bug 19839) fix for r53173: Comments in log items are no more double escaped
Alexandre Emsenhuber [Mon, 20 Jul 2009 12:07:07 +0000 (12:07 +0000)]
(bug 19839) fix for r53173: Comments in log items are no more double escaped

15 years ago* refactor Special:ActiveUser's SQL query to use options on $query rather than hardco...
Alexandre Emsenhuber [Mon, 20 Jul 2009 09:40:49 +0000 (09:40 +0000)]
* refactor Special:ActiveUser's SQL query to use options on $query rather than hardcoding it in $query['tables']
* fix case: use Activeusers to match aliases in localisation

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Mon, 20 Jul 2009 09:03:29 +0000 (09:03 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years ago(bug 15745) Make the edit summary link parser detect links more like the real parser...
Alex Z [Mon, 20 Jul 2009 06:29:46 +0000 (06:29 +0000)]
(bug 15745) Make the edit summary link parser detect links more like the real parser, added a parser test for it

15 years agoFollow-up r53515: register 'prefs-registration-date-time' and mark it optional.
Siebrand Mazeland [Mon, 20 Jul 2009 06:08:36 +0000 (06:08 +0000)]
Follow-up r53515: register 'prefs-registration-date-time' and mark it optional.

15 years agoMake --delete confirmation actually work
Aaron Schulz [Mon, 20 Jul 2009 05:54:06 +0000 (05:54 +0000)]
Make --delete confirmation actually work

15 years agoMake sure this commits too
Aaron Schulz [Mon, 20 Jul 2009 05:40:23 +0000 (05:40 +0000)]
Make sure this commits too

15 years ago(bug 19596) Fix more fucked up garbage from when $types was made into an array in...
Aaron Schulz [Mon, 20 Jul 2009 05:38:26 +0000 (05:38 +0000)]
(bug 19596) Fix more fucked up garbage from when $types was made into an array in various places. Log headers were missing.

15 years agoRemoved filestore references from comments
Aaron Schulz [Mon, 20 Jul 2009 05:19:40 +0000 (05:19 +0000)]
Removed filestore references from comments

15 years agoUpdate deleteArchivedFiles.inc to use FileRepo (FileStore was removed)
Aaron Schulz [Mon, 20 Jul 2009 05:16:41 +0000 (05:16 +0000)]
Update deleteArchivedFiles.inc to use FileRepo (FileStore was removed)

15 years ago(bug 19818) - Allow users to patrol edits to user CSS/JS subpages even if they can...
Alex Z [Mon, 20 Jul 2009 05:14:35 +0000 (05:14 +0000)]
(bug 19818) - Allow users to patrol edits to user CSS/JS subpages even if they can't edit them

15 years ago* Query fixes
Aaron Schulz [Mon, 20 Jul 2009 04:53:35 +0000 (04:53 +0000)]
* Query fixes
* Don't count account creations (bug 19616)

15 years agoReplace the call to action=raw with a couple API calls for the main
Alex Z [Mon, 20 Jul 2009 04:43:22 +0000 (04:43 +0000)]
Replace the call to action=raw with a couple API calls for the main
hook category and the removed hook category (that I just created)
for better results and proper filtering of removed hooks for the
online doc check

15 years agoFix activeusers grouping
Aaron Schulz [Mon, 20 Jul 2009 04:37:41 +0000 (04:37 +0000)]
Fix activeusers grouping

15 years ago* (bug 17374) Special:Export no longer exports multiple copies of pages
Brion Vibber [Mon, 20 Jul 2009 02:47:48 +0000 (02:47 +0000)]
* (bug 17374) Special:Export no longer exports multiple copies of pages
Proper normalization now! Only keeps one copy of each normalized page title; also now discarding interwikis explicitly.

15 years agoAlso treat [[#section]] links as expected with the 'local' param for diff view vs...
Brion Vibber [Mon, 20 Jul 2009 02:26:37 +0000 (02:26 +0000)]
Also treat [[#section]] links as expected with the 'local' param for diff view vs RC/history view.

15 years agoAdd standardSelectDistinct() function to help fork queries based on whether the order...
Greg Sabino Mullane [Mon, 20 Jul 2009 02:20:15 +0000 (02:20 +0000)]
Add standardSelectDistinct() function to help fork queries based on whether the order by items must appear in the select distinct list. See bug 18078.

15 years agoFollowup to r52477. Call unlock/lock in correct order :)
Chad Horohoe [Mon, 20 Jul 2009 02:18:12 +0000 (02:18 +0000)]
Followup to r52477. Call unlock/lock in correct order :)

15 years agoAllow date/time separation in the data following MediaWiki:prefs-registration
Purodha B Blissenbach [Mon, 20 Jul 2009 02:14:54 +0000 (02:14 +0000)]
Allow date/time separation in the data following MediaWiki:prefs-registration

15 years ago* (bug 14080) Short notation links to subpages didn't work in edit summaries
Brion Vibber [Mon, 20 Jul 2009 02:07:56 +0000 (02:07 +0000)]
* (bug 14080) Short notation links to subpages didn't work in edit summaries
Moved Parser::maybeDoSubpage guts to Linker to call from both locations.
Added some parser test cases.
Note that this might not behave exactly like the main parser in cases where the link text would get altered, but the links are functional. Yay!

15 years agoExtra quotes are breaking wfShellExecute() for me...need to look into this more to...
Aaron Schulz [Mon, 20 Jul 2009 02:04:54 +0000 (02:04 +0000)]
Extra quotes are breaking wfShellExecute() for me...need to look into this more to see what changed (PHP or cmd?)

15 years agoNote fixing of 19445.
Greg Sabino Mullane [Mon, 20 Jul 2009 01:56:04 +0000 (01:56 +0000)]
Note fixing of 19445.

15 years agoFull support for modified oldimage FK constraint to do ON UPDATE CASCASE as well...
Greg Sabino Mullane [Mon, 20 Jul 2009 01:54:36 +0000 (01:54 +0000)]
Full support for modified oldimage FK constraint to do ON UPDATE CASCASE as well as ON DELETE CASCADE. Thanks to Robert Fleming for reporting and supplying a patch in bug #19445.

15 years agoFor oldimage table, do ON UPDATE CASCADE. Per bug #19445.
Greg Sabino Mullane [Mon, 20 Jul 2009 01:42:24 +0000 (01:42 +0000)]
For oldimage table, do ON UPDATE CASCADE. Per bug #19445.
Note: still needs adjustments to updaters.inc

15 years agoFinally add a damn string->array parser for parser test case options, so it's easier...
Brion Vibber [Mon, 20 Jul 2009 01:40:47 +0000 (01:40 +0000)]
Finally add a damn string->array parser for parser test case options, so it's easier to add more.

15 years agoFix fatal from r53504
Aryeh Gregor [Mon, 20 Jul 2009 00:52:14 +0000 (00:52 +0000)]
Fix fatal from r53504

Apparently a) var $foo = $bar = 'baz' doesn't work in PHP, and b) I
should try viewing pages with action=purge to make sure there aren't
actually any fatals.

15 years agoadd GENDER support to revision-info
Purodha B Blissenbach [Mon, 20 Jul 2009 00:44:39 +0000 (00:44 +0000)]
add GENDER support to revision-info

15 years agoreverted r53502: FATAL from untested code
Aaron Schulz [Mon, 20 Jul 2009 00:42:50 +0000 (00:42 +0000)]
reverted r53502: FATAL from untested code

15 years agoUse member variable defaults for SkinTemplate
Aryeh Gregor [Mon, 20 Jul 2009 00:33:23 +0000 (00:33 +0000)]
Use member variable defaults for SkinTemplate

15 years agoAdd support for running test cases on the Linker::formatComment() mini-parser, so...
Brion Vibber [Mon, 20 Jul 2009 00:20:33 +0000 (00:20 +0000)]
Add support for running test cases on the Linker::formatComment() mini-parser, so we can protect against behavior regressions there.

15 years agoAdd experimental new auth framework, ExternalAuth
Aryeh Gregor [Sun, 19 Jul 2009 22:02:00 +0000 (22:02 +0000)]
Add experimental new auth framework, ExternalAuth

This should not affect any existing behavior.  (Except that it reorders
some error conditions in attemptAutoCreate(), but probably no one cares
about that.)  It adds a new database table, but it will be unused unless
you enable external authentication.

An outline of the rationale for this system, and the design planning, is
at <http://www.mediawiki.org/wiki/ExternalAuth>.  Essentially,
AuthPlugin puts too much of a burden on plugin authors, requiring them
to write a lot of policy logic instead of just handling the actual
interface to the external user database.  This system uses a standard
framework to decide policy questions, and auth plugins only need to
provide some low-level, clearly-specified data.

There are lots of features still missing, marked in the code, but basic
functionality is present.  The commit includes initial support for one
type of external authentication, the forum software vBulletin (which I
happen to know well, and want to integrate with my MediaWiki).

I'm encouraging the inclusion of ExternalAuth plugins in core because in
this framework, the amount of code required to add an additional backend
is quite small -- well under 100 lines in this case.  I'd hope to see a
lot more of these, and it seems unreasonable to make an armada of tiny
extensions instead of letting them live happily in their own directory
out of everyone's way.

15 years ago* (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile
Brion Vibber [Sun, 19 Jul 2009 21:25:47 +0000 (21:25 +0000)]
* (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile
Added a trim on the sort key preprocessing as well as the picking of the preprocessor

15 years agoLocalisation updates for core messages from translatewiki.net (2009-07-19 21:09 UTC)
Siebrand Mazeland [Sun, 19 Jul 2009 21:17:00 +0000 (21:17 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-19 21:09 UTC)

15 years ago* (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1
Brion Vibber [Sun, 19 Jul 2009 20:21:28 +0000 (20:21 +0000)]
* (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1
Patch by GreenReaper: http://bug-attachment.wikimedia.org/attachment.cgi?id=6246

15 years ago(bug 19564) Update docs/hooks.txt
Alex Z [Sun, 19 Jul 2009 20:03:13 +0000 (20:03 +0000)]
(bug 19564) Update docs/hooks.txt