lhc/web/wiklou.git
13 years agoPorting tocToggle to ResourceLoader
Krinkle [Fri, 24 Dec 2010 00:55:20 +0000 (00:55 +0000)]
Porting tocToggle to ResourceLoader
* Path is now set to sitewide rather than current path so that it doesn't apply to just the current article but to the entire domain (fixes bug 26324)
* To avoid cookievalue being overriden by an older cookie from the legacy code (which had a more specific path and thus overrides it), using a different cookiename now ("mw_hidetoc" instead of "hidetoc")

13 years agoImproving jquery.makeCollapsible:
Krinkle [Thu, 23 Dec 2010 23:34:32 +0000 (23:34 +0000)]
Improving jquery.makeCollapsible:
* Setting toggle function in a variable to easier reuse it through the plugin
* Replace "-hide" and "-show" classes with "expanded" and "collapsed" respectively
* For more flexibility, if there's a toggle-element already, bind the function to it and use it instead. Otherwise, just create one as usual. See [[betawiki:User:Krinkle/CollapsingTestpageKr#footer|CollapsingTestpageKr#Combination example]]
** It's more likely that the source has a custom position of the togglelink waiting for it to be bound, then it to be already bound.
* Some comments improved
* Message key "hide" to "collapsible-collapse" (Follow-up r78915 CR)
* Message key "show" to "collapsible-expand"
* Changed toggle-link content filling from html() to text() (message errors like <keyname> caused an HTML-element to be created)

13 years agoFollowup r78933: reapply r78802
Roan Kattouw [Thu, 23 Dec 2010 23:28:12 +0000 (23:28 +0000)]
Followup r78933: reapply r78802

13 years agoRevert r78023 and its follow-up r78802: change seems to have been made for somewhat...
Roan Kattouw [Thu, 23 Dec 2010 23:26:10 +0000 (23:26 +0000)]
Revert r78023 and its follow-up r78802: change seems to have been made for somewhat cosmetic reasons ("it makes more sense for this to be here rather than there") and breaks stuff. Will reapply typo fix from r78802 in next commit

13 years agoSome test cleanup.
Priyanka Dhanda [Thu, 23 Dec 2010 23:12:31 +0000 (23:12 +0000)]
Some test cleanup.

13 years agoRevert r78903, r78904, r78905, r78906 (changing opendir() to use sfFinder class)...
Chad Horohoe [Thu, 23 Dec 2010 21:49:01 +0000 (21:49 +0000)]
Revert r78903, r78904, r78905, r78906 (changing opendir() to use sfFinder class) per CR and wikitech-l objections.
It's arguable whether the code is cleaner either way, and adding all this code for the (relatively few) places we do file listings just isn't worth it.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 23 Dec 2010 21:06:31 +0000 (21:06 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-23 20:39:00 UTC)

13 years ago(bug 26399) Preload module info for all modules in startup module, to prevent lots...
Roan Kattouw [Thu, 23 Dec 2010 21:01:54 +0000 (21:01 +0000)]
(bug 26399) Preload module info for all modules in startup module, to prevent lots of individual queries. Also improve preloadModuleInfo() to register the absence of message blobs for modules that do have messages (they were being missed because they were expected to have blobs for this reason)

13 years ago* Fix r78774 for Oracle and Postgres, broke by method rename
Chad Horohoe [Thu, 23 Dec 2010 20:24:11 +0000 (20:24 +0000)]
* Fix r78774 for Oracle and Postgres, broke by method rename
* Get rid of Postgres version check, already handled by PostgresInstaller::submitConnectForm()

13 years agoProper exception handling in ResourceLoader. Catch exceptions and output them in...
Roan Kattouw [Thu, 23 Dec 2010 20:14:18 +0000 (20:14 +0000)]
Proper exception handling in ResourceLoader. Catch exceptions and output them in comments. Instead of just surrounding everything in a big try { } block, catch module-level exceptions where possible to allow error-free modules loaded in the same request to still be output normally. Modules that don't get output because of an exception are marked as missing in the client-side loader so other modules depending on them won't get loaded either.

13 years agoAnother variable type hint, and some function documentation
Sam Reed [Thu, 23 Dec 2010 20:00:02 +0000 (20:00 +0000)]
Another variable type hint, and some function documentation

13 years agoMore minor bits of documentation
Sam Reed [Thu, 23 Dec 2010 19:53:28 +0000 (19:53 +0000)]
More minor bits of documentation

Object type hint on mPrinter

13 years agoremoving cursor style from JS, adding to CSS file instead
Krinkle [Thu, 23 Dec 2010 19:42:26 +0000 (19:42 +0000)]
removing cursor style from JS, adding to CSS file instead

13 years agofixing comment in jquery.makeCollapsible.js (in mw 'jquery' is written in lowercase...
Krinkle [Thu, 23 Dec 2010 19:27:43 +0000 (19:27 +0000)]
fixing comment in jquery.makeCollapsible.js (in mw 'jquery' is written in lowercase in filenames

13 years agowhitespace according to mw conventions + using mw.msg instead of english hardcoding
Krinkle [Thu, 23 Dec 2010 19:26:30 +0000 (19:26 +0000)]
whitespace according to mw conventions + using mw.msg instead of english hardcoding

13 years agoadding jQuery.makeCollapsible plugin
Krinkle [Thu, 23 Dec 2010 19:25:16 +0000 (19:25 +0000)]
adding jQuery.makeCollapsible plugin

13 years agoAdd some method documentation
Sam Reed [Thu, 23 Dec 2010 19:24:38 +0000 (19:24 +0000)]
Add some method documentation

13 years agoFix r78897: remove dependency on makeCollapsible as well
Roan Kattouw [Thu, 23 Dec 2010 18:38:24 +0000 (18:38 +0000)]
Fix r78897: remove dependency on makeCollapsible as well

13 years agoFollowup to r78903: Add proper SVN info
X! [Thu, 23 Dec 2010 18:28:25 +0000 (18:28 +0000)]
Followup to r78903: Add proper SVN info

13 years agoFollowup to r78903: Forgot to svn add
X! [Thu, 23 Dec 2010 18:22:10 +0000 (18:22 +0000)]
Followup to r78903: Forgot to svn add

13 years agoPer discussion on mailing list, modifying some uses of opendir()/readdir()/closedir...
X! [Thu, 23 Dec 2010 18:20:13 +0000 (18:20 +0000)]
Per discussion on mailing list, modifying some uses of opendir()/readdir()/closedir() to use new sfFinder class.

13 years agodidn't mean to commit this
Krinkle [Thu, 23 Dec 2010 17:50:52 +0000 (17:50 +0000)]
didn't mean to commit this

13 years agousing .append() instead of innerHTML+=. The latter replaces the html and causes all...
Krinkle [Thu, 23 Dec 2010 16:36:37 +0000 (16:36 +0000)]
using .append() instead of innerHTML+=. The latter replaces the html and causes all bound event handlers to be list

13 years agoFollow-up r78865 CR
Happy-melon [Thu, 23 Dec 2010 16:21:06 +0000 (16:21 +0000)]
Follow-up r78865 CR

13 years agoFollow-up r78865 CR; restore arrow helper functions, fixing fatal on TWN.
Happy-melon [Thu, 23 Dec 2010 15:03:24 +0000 (15:03 +0000)]
Follow-up r78865 CR; restore arrow helper functions, fixing fatal on TWN.

13 years agoFix JS errors thrown by SimpleSearch: add dependency from jquery.autoEllipsis to...
Roan Kattouw [Thu, 23 Dec 2010 14:16:20 +0000 (14:16 +0000)]
Fix JS errors thrown by SimpleSearch: add dependency from jquery.autoEllipsis to jquery.highlightText, and fix the latter for the RegExp.escape() -> $.escapeRE() rename

13 years agoFollowup r78539: don't renew a cookie that expires at the end of the session anyway...
Roan Kattouw [Thu, 23 Dec 2010 14:07:25 +0000 (14:07 +0000)]
Followup r78539: don't renew a cookie that expires at the end of the session anyway, no point in doing that.

13 years agoAdded MediaWikiOnAlreadyInstalledTestCase.php to the test suite
nadeesha [Thu, 23 Dec 2010 11:58:32 +0000 (11:58 +0000)]
Added MediaWikiOnAlreadyInstalledTestCase.php to the test suite

13 years agoUpdated the test cases as per the code review comments
nadeesha [Thu, 23 Dec 2010 10:36:22 +0000 (10:36 +0000)]
Updated the test cases as per the code review comments

13 years agoAdded MediaWikiInstallationMessage.php and MediaWikiInstallationVariables.php as...
nadeesha [Thu, 23 Dec 2010 10:30:25 +0000 (10:30 +0000)]
Added MediaWikiInstallationMessage.php and MediaWikiInstallationVariables.php as per the code review comment

13 years agoTweak 'nocookiesfornew'
Siebrand Mazeland [Thu, 23 Dec 2010 09:21:11 +0000 (09:21 +0000)]
Tweak 'nocookiesfornew'

13 years ago(bug 17456) implement CollapsibleTables in core javascript. Using ResourceLoader...
Happy-melon [Thu, 23 Dec 2010 00:06:58 +0000 (00:06 +0000)]
(bug 17456) implement CollapsibleTables in core javascript.  Using ResourceLoader/jQuery, this is now able to replace not only the ubiquitous collapsible tables in articles ([[mw:Manual:Collapsible tables]]), but also most of the other places we collapse things as well, like the enhanced Watchlist/RecentChanges feed.

13 years agoBetter release notes for r78841
Sam Reed [Wed, 22 Dec 2010 21:52:37 +0000 (21:52 +0000)]
Better release notes for r78841

13 years agoFixup date and uppercase parameter from r78824
Sam Reed [Wed, 22 Dec 2010 21:50:00 +0000 (21:50 +0000)]
Fixup date and uppercase parameter from r78824

13 years agoReimplement $cp1252Table avoiding th e5.3-only heredoc.
Platonides [Wed, 22 Dec 2010 21:44:05 +0000 (21:44 +0000)]
Reimplement $cp1252Table avoiding th e5.3-only heredoc.

13 years ago* (bug 24287) Wrap/similar on api help output
Sam Reed [Wed, 22 Dec 2010 21:40:33 +0000 (21:40 +0000)]
* (bug 24287) Wrap/similar on api help output

13 years agoFix r78828: comma to dot
Roan Kattouw [Wed, 22 Dec 2010 21:32:57 +0000 (21:32 +0000)]
Fix r78828: comma to dot

13 years agoPer bug 14869 being fixed, bug 8130 and bug 14020 have been fixed. Marking them as...
Sam Reed [Wed, 22 Dec 2010 21:30:43 +0000 (21:30 +0000)]
Per bug 14869 being fixed, bug 8130 and bug 14020 have been fixed. Marking them as resolved in the RELEASE-NOTES too

13 years agoRemove spurious 0 from r78831
Sam Reed [Wed, 22 Dec 2010 21:12:50 +0000 (21:12 +0000)]
Remove spurious 0 from r78831

13 years agoAdd a really basic example for completeness
Sam Reed [Wed, 22 Dec 2010 21:08:40 +0000 (21:08 +0000)]
Add a really basic example for completeness

13 years agoFix trailing whitespace in ApiQueryQueryPage.
Sam Reed [Wed, 22 Dec 2010 21:03:51 +0000 (21:03 +0000)]
Fix trailing whitespace in ApiQueryQueryPage.

Add comment noting that the pages are case sensitive

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 22 Dec 2010 20:55:03 +0000 (20:55 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-21 20:31:00 UTC)

13 years agoDelete all the "API for MediaWiki 1.8+" comments
Sam Reed [Wed, 22 Dec 2010 20:52:06 +0000 (20:52 +0000)]
Delete all the "API for MediaWiki 1.8+" comments

Add since to ApiQueryQueryPage

13 years agoFix misspelling of my name, that I seem to have put in myself. Kinda embarrassing
Roan Kattouw [Wed, 22 Dec 2010 20:49:29 +0000 (20:49 +0000)]
Fix misspelling of my name, that I seem to have put in myself. Kinda embarrassing

13 years agoReplace my old e-mail address with my new one in API comments. A bit outdated (droppe...
Roan Kattouw [Wed, 22 Dec 2010 20:48:10 +0000 (20:48 +0000)]
Replace my old e-mail address with my new one in API comments. A bit outdated (dropped the old one in September '08)

13 years agoMinor followup to r78822, locally cache the cachedTimestamp so we don't have to do...
Sam Reed [Wed, 22 Dec 2010 20:43:22 +0000 (20:43 +0000)]
Minor followup to r78822, locally cache the cachedTimestamp so we don't have to do duplicate db calls for the same information

13 years agoRELEASE-NOTES for r78824, r78786
Sam Reed [Wed, 22 Dec 2010 20:38:19 +0000 (20:38 +0000)]
RELEASE-NOTES for r78824, r78786

13 years ago(bug 14869) Add API module for accessing QueryPage-based special pages. Took 2.5...
Roan Kattouw [Wed, 22 Dec 2010 20:35:37 +0000 (20:35 +0000)]
(bug 14869) Add API module for accessing QueryPage-based special pages. Took 2.5 years and a flight to England to get this done, but there you go :)

13 years agoComment out unreachable code line
Sam Reed [Wed, 22 Dec 2010 20:33:35 +0000 (20:33 +0000)]
Comment out unreachable code line

13 years agoRefactor the retrieval of the cache timestamp into getCachedTimestamp() so the future...
Roan Kattouw [Wed, 22 Dec 2010 20:31:32 +0000 (20:31 +0000)]
Refactor the retrieval of the cache timestamp into getCachedTimestamp() so the future API module can use it

13 years agoRemove nonsense comment about order being relevant
Roan Kattouw [Wed, 22 Dec 2010 19:57:31 +0000 (19:57 +0000)]
Remove nonsense comment about order being relevant

13 years agoSpaces and braces
Sam Reed [Wed, 22 Dec 2010 18:25:40 +0000 (18:25 +0000)]
Spaces and braces

13 years agoFollowup r78786: make back compat mode actually work by moving up $dbr assignment
Roan Kattouw [Wed, 22 Dec 2010 18:08:52 +0000 (18:08 +0000)]
Followup r78786: make back compat mode actually work by moving up $dbr assignment

13 years agoFollowup r78786: var->protected
Roan Kattouw [Wed, 22 Dec 2010 17:29:31 +0000 (17:29 +0000)]
Followup r78786: var->protected

13 years ago(bug 26395) Change name of Cornish language to Kernowek
Roan Kattouw [Wed, 22 Dec 2010 17:20:50 +0000 (17:20 +0000)]
(bug 26395) Change name of Cornish language to Kernowek

13 years agoFollowup r78805, remove now unused function
Sam Reed [Wed, 22 Dec 2010 16:28:52 +0000 (16:28 +0000)]
Followup r78805, remove now unused function

13 years agoSimple commit trimming some trailing whitespace
Sam Reed [Wed, 22 Dec 2010 16:21:02 +0000 (16:21 +0000)]
Simple commit trimming some trailing whitespace

13 years agoShow images that don't exist, as they are included in the count
Sam Reed [Wed, 22 Dec 2010 16:20:16 +0000 (16:20 +0000)]
Show images that don't exist, as they are included in the count

13 years agoMark LinkSearch as uncacheable and fix its headers display. Followup r78786
Roan Kattouw [Wed, 22 Dec 2010 16:19:32 +0000 (16:19 +0000)]
Mark LinkSearch as uncacheable and fix its headers display. Followup r78786

13 years agoFix reported database error in updateSpecialPages.php for SpecialMIMEsearch, by retur...
Roan Kattouw [Wed, 22 Dec 2010 16:18:24 +0000 (16:18 +0000)]
Fix reported database error in updateSpecialPages.php for SpecialMIMEsearch, by returning 0 rather than false from QueryPage::recache() for uncacheable pages

13 years agoFollowup r78023, change usage of $style to $styles, not introduced in this revision...
Sam Reed [Wed, 22 Dec 2010 16:16:12 +0000 (16:16 +0000)]
Followup r78023, change usage of $style to $styles, not introduced in this revision, but was moved by it

13 years agoPerformance crusade in SpecialListredirects:
Roan Kattouw [Wed, 22 Dec 2010 15:58:15 +0000 (15:58 +0000)]
Performance crusade in SpecialListredirects:
* Use the rd_* fields to build redirect objects directly rather than running additional queries to grab them
** If the rd_* fields are not available (i.e. when running from cache), use Article::getRedirectTarget() rather than grabbing the revision text
* Preload the existence status of the redirects and their targets in a LinkBatch so Linker::link() won't query them one at a time

13 years agoTreat interwiki titles as known-bad in LinkCache, prevents useless queries for interw...
Roan Kattouw [Wed, 22 Dec 2010 15:54:27 +0000 (15:54 +0000)]
Treat interwiki titles as known-bad in LinkCache, prevents useless queries for interwiki titles with possibly misleading results

13 years agoWe need to select the namespace, even hardcoded, this is causing: Notice: Undefined...
Alexandre Emsenhuber [Wed, 22 Dec 2010 15:29:29 +0000 (15:29 +0000)]
We need to select the namespace, even hardcoded, this is causing: Notice: Undefined property: stdClass::$namespace in includes/QueryPage.php on line 307

13 years agoNo need to recreate a second object if we already have the good one ;)
Alexandre Emsenhuber [Wed, 22 Dec 2010 15:24:13 +0000 (15:24 +0000)]
No need to recreate a second object if we already have the good one ;)

13 years agoFew @since annotations
Niklas Laxström [Wed, 22 Dec 2010 15:22:59 +0000 (15:22 +0000)]
Few @since annotations

13 years agoFollowup r78786, fix special wanted pages. Aliasing pages in left join doesn't work
Sam Reed [Wed, 22 Dec 2010 15:20:10 +0000 (15:20 +0000)]
Followup r78786, fix special wanted pages. Aliasing pages in left join doesn't work

Trim some trailing whitespace too

13 years agoFollow-up r78786: for consistency, removed array() when there's only one item
Alexandre Emsenhuber [Wed, 22 Dec 2010 15:06:08 +0000 (15:06 +0000)]
Follow-up r78786: for consistency, removed array() when there's only one item

13 years agoReally do what r78790 claimed to do (fix E_STRICT in r78786)
Roan Kattouw [Wed, 22 Dec 2010 15:00:33 +0000 (15:00 +0000)]
Really do what r78790 claimed to do (fix E_STRICT in r78786)

13 years agoFollowup r7876: fix another E_STRICT: kill additional parameter in doQuery() override...
Roan Kattouw [Wed, 22 Dec 2010 14:53:24 +0000 (14:53 +0000)]
Followup r7876: fix another E_STRICT: kill additional parameter in doQuery() override; I guess doQuery() must've had that third parameter before but doesn't have it anymore

13 years agoFollowup r78786: remove useless getTitle() override, was causing E_STRICT
Roan Kattouw [Wed, 22 Dec 2010 14:35:57 +0000 (14:35 +0000)]
Followup r78786: remove useless getTitle() override, was causing E_STRICT

13 years agoMerge querypage-work2 branch from trunk. The most relevant changes are:
Roan Kattouw [Wed, 22 Dec 2010 14:16:25 +0000 (14:16 +0000)]
Merge querypage-work2 branch from trunk. The most relevant changes are:
* QueryPage now uses array-based query building instead of raw SQL
* Converted all QueryPage-based special pages that were using old-style wfSpecialFoo functions to new-style SpecialPage subclasses; this is possible because QueryPage is changed to extend SpecialPage
* Backward compatibility for extensions is partly preserved: getSQL() is fallen back on for QueryPage subclasses that don't implement getQueryInfo(), but getOrder() will be ignored (implement getOrderFields() instead). This also means that dual compatibility (1.18 compat and b/c with pre-1.18) is trivial

Extension changes will be merged after this commit.

These changes make it easier to write an API module for QueryPages (bug 14869); this wasn't done in the branch but will be done in trunk soon.

13 years agoFollowup r78775, svn:eol-style native SET UP YOUR AUTOPROPS
Sam Reed [Wed, 22 Dec 2010 11:16:24 +0000 (11:16 +0000)]
Followup r78775, svn:eol-style native SET UP YOUR AUTOPROPS

13 years agodelete the additional variable
nadeesha [Wed, 22 Dec 2010 10:13:12 +0000 (10:13 +0000)]
delete the additional variable

13 years agoAdd MediaWiki 1.18 alpha installer test cases
nadeesha [Wed, 22 Dec 2010 09:35:23 +0000 (09:35 +0000)]
Add MediaWiki 1.18 alpha installer test cases

13 years agoRewrite install steps again (cleanup r76390)
Chad Horohoe [Wed, 22 Dec 2010 05:21:22 +0000 (05:21 +0000)]
Rewrite install steps again (cleanup r76390)
* No longer iterating and modifying the same array
* Allows multiple attachments to the same step
* Database -> DatabaseMysql

13 years agosmall fixes
Krinkle [Wed, 22 Dec 2010 04:08:40 +0000 (04:08 +0000)]
small fixes
* Change assumptions about default/newest skin in CSS comments from Monobook to Vector
* Single-item array to string

13 years agoRevert r78767. The problem was $wgDBerrorLog being false.
Platonides [Wed, 22 Dec 2010 01:11:22 +0000 (01:11 +0000)]
Revert r78767. The problem was $wgDBerrorLog being false.

13 years agoThe filename is the first parameter!
Platonides [Wed, 22 Dec 2010 00:57:40 +0000 (00:57 +0000)]
The filename is the first parameter!

13 years agoOne call left in r78764
Platonides [Wed, 22 Dec 2010 00:57:00 +0000 (00:57 +0000)]
One call left in r78764

13 years agoThese calls have been broken since the files birth in r16781.
Platonides [Wed, 22 Dec 2010 00:52:11 +0000 (00:52 +0000)]
These calls have been broken since the files birth in r16781.
The parameters are finish, start.

13 years agoself to Maintenance
Sam Reed [Wed, 22 Dec 2010 00:40:59 +0000 (00:40 +0000)]
self to Maintenance

13 years agoProperly qualify usage of class constants
Sam Reed [Wed, 22 Dec 2010 00:25:16 +0000 (00:25 +0000)]
Properly qualify usage of class constants

13 years agoWe don't like final ?> in scripts
Platonides [Wed, 22 Dec 2010 00:06:56 +0000 (00:06 +0000)]
We don't like final ?> in scripts

13 years agoFour more spaces, per r78759 CR
Platonides [Wed, 22 Dec 2010 00:06:14 +0000 (00:06 +0000)]
Four more spaces, per r78759 CR

13 years agoAvoid create_function. Making explicit functions.
Platonides [Wed, 22 Dec 2010 00:02:49 +0000 (00:02 +0000)]
Avoid create_function. Making explicit functions.
Not using self:: in the callbacks for PHP 5.2 compatibility.
$sourceFields = array_keys( array_filter( $fields, array( $this, 'notUpgradeNull' ) ) ); works flawlessly too, but might begin throwing warnings in the future.

13 years agoRemove unused global
Platonides [Tue, 21 Dec 2010 23:38:29 +0000 (23:38 +0000)]
Remove unused global

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 21 Dec 2010 21:18:43 +0000 (21:18 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-21 20:57:00 UTC)

13 years agoInstaller and doc fixups thanks to Zak Greant.
Mark A. Hershberger [Tue, 21 Dec 2010 18:11:22 +0000 (18:11 +0000)]
Installer and doc fixups thanks to Zak Greant.

13 years agoMerge r78700 to trunk
Roan Kattouw [Tue, 21 Dec 2010 17:48:42 +0000 (17:48 +0000)]
Merge r78700 to trunk

13 years agoFollow-up r78695: correct class name
Alexandre Emsenhuber [Tue, 21 Dec 2010 17:41:05 +0000 (17:41 +0000)]
Follow-up r78695: correct class name

13 years agoi before e except after c
Roan Kattouw [Tue, 21 Dec 2010 17:21:25 +0000 (17:21 +0000)]
i before e except after c

13 years agoFollowup r78192: rather than silently ignoring calls to undefined SpecialPage methods...
Roan Kattouw [Tue, 21 Dec 2010 17:15:25 +0000 (17:15 +0000)]
Followup r78192: rather than silently ignoring calls to undefined SpecialPage methods, throw an exception

13 years agoMigrate last call to escapeLike() in core to buildLike(). Admittedly the former makes...
Roan Kattouw [Tue, 21 Dec 2010 16:09:32 +0000 (16:09 +0000)]
Migrate last call to escapeLike() in core to buildLike(). Admittedly the former makes a bit more sense in this particular context, but it's deprecated and throws warnings.

13 years agoFix the bug when a math image was contained by an "<a>" tag, there will be extra...
Philip Tzou [Tue, 21 Dec 2010 15:27:23 +0000 (15:27 +0000)]
Fix the bug when a math image was contained by an "<a>" tag, there will be extra markup -{R| and }-.
Since the -{ and }- has been escaped, the Raw (-{R|text}-) markup are no longer needed.

13 years agoLong and ugly script to convert the recently-discovered August 2001 backup of Wikiped...
Tim Starling [Tue, 21 Dec 2010 13:59:19 +0000 (13:59 +0000)]
Long and ugly script to convert the recently-discovered August 2001 backup of Wikipedia to a MediaWiki XML file.

13 years ago(bug 26379) Make the importImages.php maintenance script give useful error
Brian Wolff [Tue, 21 Dec 2010 04:46:49 +0000 (04:46 +0000)]
(bug 26379) Make the importImages.php maintenance script give useful error
messages on failure. (as in pass along the errors generated from publish() )

13 years agoActually skip invalid titles in XML dumps, don't just say you're going to. Avoids...
Tim Starling [Tue, 21 Dec 2010 02:57:33 +0000 (02:57 +0000)]
Actually skip invalid titles in XML dumps, don't just say you're going to. Avoids fatal error.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 20 Dec 2010 20:57:55 +0000 (20:57 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-20 20:25:00 UTC)

13 years agoRevert rollback implementation of r78585, r78599. The way the API is set up, it...
Happy-melon [Mon, 20 Dec 2010 19:03:00 +0000 (19:03 +0000)]
Revert rollback implementation of r78585, r78599.  The way the API is set up, it's not possible to have some tokens on the new system and some on the old.