Rotem Liss [Sun, 1 Apr 2007 07:13:32 +0000 (07:13 +0000)]
Update.
Rob Church [Sun, 1 Apr 2007 03:31:58 +0000 (03:31 +0000)]
(bug 9466) "Rollback failed" page doesn't format edit comment
Rob Church [Sat, 31 Mar 2007 23:36:58 +0000 (23:36 +0000)]
Move PageQueryPage class into own file
Rob Church [Sat, 31 Mar 2007 22:57:04 +0000 (22:57 +0000)]
Add messages for r20872 before the i18n team gets me...
Rob Church [Sat, 31 Mar 2007 22:54:30 +0000 (22:54 +0000)]
(bug 9046) Special page to list pages without language links
Tim Starling [Sat, 31 Mar 2007 17:23:10 +0000 (17:23 +0000)]
Reduce query/transaction count.
Tim Starling [Sat, 31 Mar 2007 17:15:00 +0000 (17:15 +0000)]
* Fix extension of DJVU output
* Specify output type in ImageMagick SVG rendering command line
* Make some Image functions static, for the benefit of WebStore.
* Fixed SVG MIME type, will be image/svg+xml from now on with both accepted.
Tim Starling [Sat, 31 Mar 2007 16:53:31 +0000 (16:53 +0000)]
Exception text conventionally does not have a terminating line break.
Tim Starling [Sat, 31 Mar 2007 16:52:34 +0000 (16:52 +0000)]
Quote and escape the binary path.
River Tarnell [Fri, 30 Mar 2007 22:53:12 +0000 (22:53 +0000)]
"comment" and "user" are reserved words in Oracle
Raimond Spekking [Fri, 30 Mar 2007 21:11:12 +0000 (21:11 +0000)]
* (bug 9460) Update Swedish translations
Patch (by Lejonel) applied and running through rebuildLanguage
River Tarnell [Fri, 30 Mar 2007 19:38:11 +0000 (19:38 +0000)]
erroneous indentation
River Tarnell [Fri, 30 Mar 2007 19:35:24 +0000 (19:35 +0000)]
if non-UTF8 string given to addQuotes(), convert to UTF-8
throw error if non-utf8 sql query given to doQuery()
Raimond Spekking [Fri, 30 Mar 2007 19:27:29 +0000 (19:27 +0000)]
Adding some namespace aliases for language ksh.
Brion Vibber [Thu, 29 Mar 2007 20:57:12 +0000 (20:57 +0000)]
* (bug 2979) Import now gracefully skips invalid titles with a warning
Should help with Jeff Merkey's problems with import of very long titles with mismatched local namespaces.
Instead of crashing the script, the particular problem pages will be skipped.
Rob Church [Thu, 29 Mar 2007 19:51:43 +0000 (19:51 +0000)]
(bug 9440) Added "mediawikiwiki" interwiki prefix to MediaWiki.org
Steve Sanbeg [Thu, 29 Mar 2007 19:31:25 +0000 (19:31 +0000)]
fix section/size links from cached templates, so templates look teh same whether from db or cache.
Raimond Spekking [Thu, 29 Mar 2007 19:25:34 +0000 (19:25 +0000)]
* (bug 9448) Update Lithuanian translations
Patch by Edgaras
Rob Church [Thu, 29 Mar 2007 19:06:35 +0000 (19:06 +0000)]
Revert r20820; pointless
Greg Sabino Mullane [Thu, 29 Mar 2007 19:00:50 +0000 (19:00 +0000)]
Note lack of closing ?> in a comment, to reduce bug reports.
Rob Church [Thu, 29 Mar 2007 18:57:54 +0000 (18:57 +0000)]
(bug 8914) Don't transform colons in {{anchorencode:}}
Rob Church [Thu, 29 Mar 2007 18:37:45 +0000 (18:37 +0000)]
* (bug 9177) Installer now warns of various conditions affecting session.save_path which can lead to broken session storage
* Warns, but doesn't halt, if no explicit value set (sessions can still work)
* Halts if the value is set and invalid or not writable
Brion Vibber [Thu, 29 Mar 2007 18:00:36 +0000 (18:00 +0000)]
committing a live-hack script so it doesn't get lost
Greg Sabino Mullane [Thu, 29 Mar 2007 14:56:02 +0000 (14:56 +0000)]
Revert previous - do it the Right Way by calling $this->dbr->timestamp on values passed in to the db.
Greg Sabino Mullane [Thu, 29 Mar 2007 14:45:19 +0000 (14:45 +0000)]
Minor tweak to 9131 notes
Greg Sabino Mullane [Thu, 29 Mar 2007 14:40:13 +0000 (14:40 +0000)]
Make sure wfTimestamp is used for all timestamps.
For true timestamp databases, use to_char as needed, rather than slinging around ugly timestamps.
Brion Vibber [Thu, 29 Mar 2007 14:25:07 +0000 (14:25 +0000)]
* (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent target page instead of silently redirecting.
Brion Vibber [Thu, 29 Mar 2007 14:17:10 +0000 (14:17 +0000)]
Revert r14063; listed as fix for bug 5817 in May 2006 but the behavior seems very unintuitive to me.
The listed problem is that the backlink to the target page on Special:Recentchangeslinked shows blue for nonexistent pages, but this patch made it redirect to the nonexistent page, where I'd expect to just change the link coloring. The redirect behavior also makes it tough to work with the category mode for cats where the page hasn't been filled out yet.
Brion Vibber [Thu, 29 Mar 2007 14:05:57 +0000 (14:05 +0000)]
* (bug 9371) Marathi linktrail update
Greg Sabino Mullane [Thu, 29 Mar 2007 12:54:16 +0000 (12:54 +0000)]
Restore archive table before we check columns, per report from kreegee on #mediawiki
River Tarnell [Thu, 29 Mar 2007 12:38:54 +0000 (12:38 +0000)]
varchar instead of char for interwiki table
Rotem Liss [Thu, 29 Mar 2007 07:47:43 +0000 (07:47 +0000)]
Moving the writing to file to the function writeMessagesToFile in writeMessagesArray.inc file, for future use in other scripts.
Rotem Liss [Thu, 29 Mar 2007 07:38:18 +0000 (07:38 +0000)]
Add no-unknown parameter for hiding the list of unknown messages.
Raimond Spekking [Thu, 29 Mar 2007 06:41:44 +0000 (06:41 +0000)]
* (bug 9441) Misspelled Tahitian language file renamed to correct ISO code
Fallback language for Aymara to 'es'
Rob Church [Wed, 28 Mar 2007 21:01:58 +0000 (21:01 +0000)]
* Split most of the result output code from QueryPage::doQuery() into QueryPage::outputResults(), leaving paging and other logic behind
* Introduce ImageQueryPage class which uses galleries instead of boring old lists
* (bug 9069) Use galleries in query pages dedicated to images [uncategorised images, most linked-to images and unused files at the moment]
Brion Vibber [Wed, 28 Mar 2007 20:41:32 +0000 (20:41 +0000)]
newlines are friendly
Greg Sabino Mullane [Wed, 28 Mar 2007 19:54:45 +0000 (19:54 +0000)]
Much more elegant solution for functions that are not sending a timestamp, thanks to Brion.
Aaron Schulz [Wed, 28 Mar 2007 19:41:53 +0000 (19:41 +0000)]
*Re-add r20317 with support for older URL param, rename "undoto" to just "undo"
Brion Vibber [Wed, 28 Mar 2007 19:14:24 +0000 (19:14 +0000)]
Revert r20558: appears to be trying to treat symptoms of misformatted data being passed to Language::timeanddate().
Instead, find the bits that are passing raw database-format timestamps in there and make them normalize their data properly through wfTimestamp()
River Tarnell [Wed, 28 Mar 2007 18:49:49 +0000 (18:49 +0000)]
this would be less silly if it used 2 dp
River Tarnell [Wed, 28 Mar 2007 18:26:28 +0000 (18:26 +0000)]
el_to should be varchar in oracle
check return from oci_new_descriptor
Brion Vibber [Wed, 28 Mar 2007 18:10:34 +0000 (18:10 +0000)]
revert r20430; seems to have been tied into a reverted branch merge, uses config var that's not present
Rotem Liss [Wed, 28 Mar 2007 17:10:05 +0000 (17:10 +0000)]
Fixing a regression (caused by r20473 and then r20525) that the move revert link was not shown.
Rotem Liss [Wed, 28 Mar 2007 16:57:35 +0000 (16:57 +0000)]
Update.
Greg Sabino Mullane [Wed, 28 Mar 2007 15:53:15 +0000 (15:53 +0000)]
Switch to always return GMT time.
Ivan Lanin [Wed, 28 Mar 2007 15:44:07 +0000 (15:44 +0000)]
Updates for Indonesian (id) localization.
Brion Vibber [Wed, 28 Mar 2007 15:12:05 +0000 (15:12 +0000)]
Revert r20659: accesses private member variables of Article and Revision, and doesn't appear to actually fix the permalink-on-old-version issue to boot
Brion Vibber [Wed, 28 Mar 2007 14:16:43 +0000 (14:16 +0000)]
Revert r20769: we don't use PHPDocumentor anymore, we use doxygen.
If making mass changes to tweak to its preferences, probably better to do it for the tool we actually generate docs with. :)
Raimond Spekking [Wed, 28 Mar 2007 10:22:51 +0000 (10:22 +0000)]
Use proper allowInlineDisplay function, by hint of Brion
Nick Jenkins [Wed, 28 Mar 2007 08:53:02 +0000 (08:53 +0000)]
PHPDocumentor [en.wikipedia.org/wiki/PhpDocumentor] documentation tweaking stuff.
Minor doc tweaks to prevent some PHPDocumentor warnings or errors when run on the includes/ directory. PHPDocumentor uses a syntax very similar to javadoc - mostly we already use this, but there were a few scattered places that were adjusted to make them consistent with the rest of the code. In practical terms, these changes were made:
* @url becomes @link
* @fixme becomes @todo
* HTML tags in descriptions must be closed / balanced.
* @bug was removed (where the bug was long fixed), or changed into a @todo (in the few situations where the bug was still pending)
* @obsolete becomes @deprecated
* Things like "/**@{{" and "/**@}}*/" which cause "unknown tag" warnings were removed
* @access must be a valid access level.
* @desc tag not needed, removed.
* Doesn't seem to like @licence, will accept @license however.
* Use full comment block notation in a few places (i.e. open block with "/**", start each line with " *", and end block with " */")
Then additional to this, to get some class docs associated with their respective classes:
* Moved some docs to right above those classes (deleting blank lines, or moving descriptions from the file headers)
* Marked some classes without docs as "@todo document"
* (done up to "class MIMEsearchPage" on the "classtrees_MediaWiki.html" page for the includes/ directory)
Aaron Schulz [Wed, 28 Mar 2007 07:28:21 +0000 (07:28 +0000)]
Don't show rev_deleted usernames
Raimond Spekking [Wed, 28 Mar 2007 07:09:37 +0000 (07:09 +0000)]
* (bug 9430) Update Cantonese translations
Patch by Shinjiman
Aaron Schulz [Wed, 28 Mar 2007 05:39:06 +0000 (05:39 +0000)]
*Fix isInRange(), remove cruft, add "ipv-6" prefix to toHex() and parseRange6(), actually show hidename option for blocks
Aaron Schulz [Wed, 28 Mar 2007 01:26:28 +0000 (01:26 +0000)]
*Use intval() to stop $ns from becoming '' which breaks query
Aaron Schulz [Wed, 28 Mar 2007 01:16:05 +0000 (01:16 +0000)]
*Don't embed $ns from string, for NS 0 it becomes '' and can break the query
Aryeh Gregor [Tue, 27 Mar 2007 22:14:49 +0000 (22:14 +0000)]
Improve documentation for $wgMaxUploadSize
Brion Vibber [Tue, 27 Mar 2007 21:43:21 +0000 (21:43 +0000)]
Revert r20426 which added an unused $isvalid parameter on Title::newFromURL()
It gives me the willies...
Brion Vibber [Tue, 27 Mar 2007 21:30:39 +0000 (21:30 +0000)]
Revert r20317 for the moment; incompatible changes to URL parameters for undo
Rob Church [Tue, 27 Mar 2007 21:15:23 +0000 (21:15 +0000)]
(bug 8421) Expose current action in JavaScript globals (as 'wgAction')
Rob Church [Tue, 27 Mar 2007 20:56:46 +0000 (20:56 +0000)]
Better mention that in release notes, since it fixes a regression...
Rob Church [Tue, 27 Mar 2007 20:56:00 +0000 (20:56 +0000)]
(bug 8933) User::loadFromDatabase() doesn't exist; use User::load()
Rob Church [Tue, 27 Mar 2007 20:53:33 +0000 (20:53 +0000)]
* (bug 8975) Use "Maintenance script" as the username for importTextFile.php, not "MediaWiki default" as it could cause pages to be overwritten
* Use "Maintenance script" as the username for importImages.php, too
* Clarified reserved username comment
Raimond Spekking [Tue, 27 Mar 2007 20:52:13 +0000 (20:52 +0000)]
* Update German translations
* adding new messages to messageTypes.inc
* fix RELEASE-NOTES
Brion Vibber [Tue, 27 Mar 2007 19:39:37 +0000 (19:39 +0000)]
Revert $wgDBtimezone commits: r20688, 20689, 20690, 20691.
Alters behavior of wfTimestamp() and wfTimestampNow() in clearly broken ways, such that current time would not return current time anymore.
Brion Vibber [Tue, 27 Mar 2007 19:25:26 +0000 (19:25 +0000)]
good thing we're not actually using this fallback func, huh
Rob Church [Tue, 27 Mar 2007 19:07:05 +0000 (19:07 +0000)]
Beef up the Special:Log search form so it's laid out a bit clearer; clarified English text for the prefix/wildcard thing
Domas Mituzas [Tue, 27 Mar 2007 19:01:55 +0000 (19:01 +0000)]
another miser-mode target...
Aaron Schulz [Tue, 27 Mar 2007 17:53:43 +0000 (17:53 +0000)]
*Add IF EXISTS clause so tables.sql can be ran to create a db without errors
Domas Mituzas [Tue, 27 Mar 2007 17:08:42 +0000 (17:08 +0000)]
in misermode enforce maximum offset of 10000, people should use search fields, probably.
TODO: rewrite to use indexpager
Domas Mituzas [Tue, 27 Mar 2007 16:50:09 +0000 (16:50 +0000)]
don't allow search for new images in miser mode
Rob Church [Tue, 27 Mar 2007 14:34:43 +0000 (14:34 +0000)]
Give the username field an identifier so the label is "linked" to it again
Raimond Spekking [Tue, 27 Mar 2007 12:10:50 +0000 (12:10 +0000)]
* (bug 7859) Update Kazahk translations
Patches by AlefZet
Nick Jenkins [Tue, 27 Mar 2007 08:08:53 +0000 (08:08 +0000)]
parenthesis
Aryeh Gregor [Tue, 27 Mar 2007 02:51:56 +0000 (02:51 +0000)]
While I'm at it, why not pseudo-initialize to null instead of ''? No difference in behavior, due to behavior of the receiving function, but who knows, it makes more sense. More semantic-y, kinda.
Aryeh Gregor [Tue, 27 Mar 2007 02:50:23 +0000 (02:50 +0000)]
Use the variable I introduced, maybe?
Aryeh Gregor [Mon, 26 Mar 2007 23:50:19 +0000 (23:50 +0000)]
Don't mess with system variables, sry brion
Rob Church [Mon, 26 Mar 2007 23:08:07 +0000 (23:08 +0000)]
(bug 9397) Introduce "sp-contributions-footer" and "sp-contributions-footer-anon" messages, shown at the end of Special:Contributions as appropriate for the target
Rob Church [Mon, 26 Mar 2007 23:06:33 +0000 (23:06 +0000)]
Move note for Aaron's hooks into correct section
Brion Vibber [Mon, 26 Mar 2007 22:16:48 +0000 (22:16 +0000)]
more idiot mistakes from me. whee
Brion Vibber [Mon, 26 Mar 2007 22:13:57 +0000 (22:13 +0000)]
duh
Brion Vibber [Mon, 26 Mar 2007 22:05:06 +0000 (22:05 +0000)]
quickie script to move ES blob tables from one wiki name to another, leaving fresh tables at the old name
should be generalized
Raimond Spekking [Mon, 26 Mar 2007 20:57:36 +0000 (20:57 +0000)]
Remove useless parameter/uninitialized variable.
Thanks to Nikerabbit
Raimond Spekking [Mon, 26 Mar 2007 17:46:13 +0000 (17:46 +0000)]
* (bug 4756) Add user tool links for self created accounts at special:log
instead of sometimes broken block links from newuserlog extension
Furthermore the block link from newuserlog was shown to users w/o block
allowance too.
Aryeh Gregor [Mon, 26 Mar 2007 16:42:45 +0000 (16:42 +0000)]
Fix E_NOTICE on line 76 if $_SERVER['HTTP_ACCEPT'] not set
Brion Vibber [Mon, 26 Mar 2007 14:33:08 +0000 (14:33 +0000)]
* (bug 9411) Fix for shared image descriptions using query-string titles
Extracted URL-query-append logic from Title to wfAppendQuery(), using this in two places now.
Greg Sabino Mullane [Mon, 26 Mar 2007 13:05:55 +0000 (13:05 +0000)]
Begin simple tests to catch invalid search queries.
Raimond Spekking [Mon, 26 Mar 2007 08:18:42 +0000 (08:18 +0000)]
* (bug 9384) Update French translations
Patches by Rémi Kaupp
Greg Sabino Mullane [Mon, 26 Mar 2007 02:32:33 +0000 (02:32 +0000)]
Account for wgDBtimezone if set. DBs not using it (mysql) will have it = 0 and return same time as always.
Greg Sabino Mullane [Mon, 26 Mar 2007 02:05:36 +0000 (02:05 +0000)]
Do not do timezone adjustment if tz is not set - unlogged in users thus see the "local" timezone
Greg Sabino Mullane [Mon, 26 Mar 2007 01:13:39 +0000 (01:13 +0000)]
Find out the local db timezone
Greg Sabino Mullane [Mon, 26 Mar 2007 01:05:06 +0000 (01:05 +0000)]
Allow user timezone adjustments to work when using Postgres - fixed bug 9299
Greg Sabino Mullane [Mon, 26 Mar 2007 00:12:26 +0000 (00:12 +0000)]
Account for pre-existing test table, commit only if setup completes.
Greg Sabino Mullane [Mon, 26 Mar 2007 00:02:16 +0000 (00:02 +0000)]
Another pesky comma where it shouldn't be.
Greg Sabino Mullane [Sun, 25 Mar 2007 23:53:36 +0000 (23:53 +0000)]
Mild formatting, fix missing '$'
Greg Sabino Mullane [Sun, 25 Mar 2007 23:51:30 +0000 (23:51 +0000)]
Errant comma restored.
Rob Church [Sun, 25 Mar 2007 23:42:09 +0000 (23:42 +0000)]
* Update release notes for r20680
* Typos in hook documentation
Please remember to document hook additions in both places in future.
Aaron Schulz [Sun, 25 Mar 2007 23:20:48 +0000 (23:20 +0000)]
*Document PageHistoryBeforeList and PageHistoryLineEnding and remove cruft variable from former
Aaron Schulz [Sun, 25 Mar 2007 23:06:52 +0000 (23:06 +0000)]
*Add some cute hooks; possible flaggedrevs use
Niklas Laxström [Sun, 25 Mar 2007 22:40:50 +0000 (22:40 +0000)]
* The very beginning of Luganda (lg)
Greg Sabino Mullane [Sun, 25 Mar 2007 21:40:02 +0000 (21:40 +0000)]
Typo.