Tim Starling [Fri, 31 Aug 2007 15:23:48 +0000 (15:23 +0000)]
Allow API modules to be defined in extensions
Tim Starling [Fri, 31 Aug 2007 14:53:17 +0000 (14:53 +0000)]
Don't return truncated output
Niklas Laxström [Fri, 31 Aug 2007 14:24:32 +0000 (14:24 +0000)]
* Updates to (nds)
Tim Starling [Fri, 31 Aug 2007 14:01:27 +0000 (14:01 +0000)]
Fixed border option to makeImageLink2()
Niklas Laxström [Fri, 31 Aug 2007 13:52:11 +0000 (13:52 +0000)]
* Updates to (fa)
Niklas Laxström [Fri, 31 Aug 2007 13:39:07 +0000 (13:39 +0000)]
* Sakha (sah) l10n file
* Local name for Sakha
Aaron Schulz [Fri, 31 Aug 2007 12:38:45 +0000 (12:38 +0000)]
*Add $wgExtPGNewFields. Allowing for extensions to use only $wgExtNewFields when PG/mysql updaters use different formats (column attributes vs directory to query file) is just asking for mistakes to be made.
Niklas Laxström [Fri, 31 Aug 2007 11:26:01 +0000 (11:26 +0000)]
* Franco-Provençal/Arpitan (frp) l10n file
* Fixed native name
Raimond Spekking [Fri, 31 Aug 2007 11:10:32 +0000 (11:10 +0000)]
* Add link to user contributions in normal watchlist edit mode
Niklas Laxström [Fri, 31 Aug 2007 11:04:52 +0000 (11:04 +0000)]
* Updates to Estonian (et)
Raimond Spekking [Fri, 31 Aug 2007 10:30:50 +0000 (10:30 +0000)]
Updates German
Aaron Schulz [Fri, 31 Aug 2007 08:57:22 +0000 (08:57 +0000)]
*Call OutputPageBeforeHTML on preview (bug 7050)
Aaron Schulz [Fri, 31 Aug 2007 08:19:49 +0000 (08:19 +0000)]
*Tweak odd phrase
Aryeh Gregor [Fri, 31 Aug 2007 04:48:45 +0000 (04:48 +0000)]
Debug code, gah.
Aryeh Gregor [Fri, 31 Aug 2007 04:43:56 +0000 (04:43 +0000)]
Added the possibility for Sanitizer::escapeId to validate the first character of the id (make sure it's a letter). This is added as a flag that's set by default. Ideally it should be off by default, with expected behavior being for the returned id to be valid no matter what . . .
This isn't actually used yet, but it probably should be.
Tim Starling [Fri, 31 Aug 2007 02:51:23 +0000 (02:51 +0000)]
In OggHandler:
* Changed display style: added a "more" link which expands a box for player selection.
* Allow return to the still image only display.
* Fixed Java detection in IE (I hope)
Elsewhere:
* Changed MediaTransformOutput::toHtml() parameters, now accepts a single associative array with well-defined elements. Allows OggHandler to distinguish between file download links and image description links.
* Made image links consistently have an anchor tag with class=image, instead of a mixture of image and internalParse.
* Made most images have a border=0 attribute, instead of just images on the image description page. Does not appear to adversely affect display at all, it was just convenient.
* Use the image name as the title attribute for the <a> tag, when an a caption was not given by the user
* Block centering by the auto margins method in ImageGallery
* Fixed complete breakage of the thumbnail on upload conflict feature
* TODO: test DjVu
Rotem Liss [Thu, 30 Aug 2007 18:16:39 +0000 (18:16 +0000)]
Update.
Raimond Spekking [Thu, 30 Aug 2007 14:25:48 +0000 (14:25 +0000)]
* (bug 9742) Update Lithuanian translations
Patch by Edgaras
Brion Vibber [Thu, 30 Aug 2007 13:47:06 +0000 (13:47 +0000)]
Revert r25297, r25298 for now.
Adds what seems to be a very purpose-specific extension into the core API:
a) shortly before release
b) while apparently not implementing much of its interface
c) with an interface that looks kind of strange to me
Raimond Spekking [Thu, 30 Aug 2007 08:32:29 +0000 (08:32 +0000)]
* Removed unused message
* Updates German
Paa Kwesi Imbeah [Wed, 29 Aug 2007 22:57:41 +0000 (22:57 +0000)]
Adding InstantCommons includes into ApiMain and AutoLoader's API section
Paa Kwesi Imbeah [Wed, 29 Aug 2007 22:50:06 +0000 (22:50 +0000)]
Adding InstantCommons api into trunk
Brion Vibber [Wed, 29 Aug 2007 18:11:17 +0000 (18:11 +0000)]
* (bug 11114) Fix regression in read-only mode error display during editing
Regression caused by the new permissions error reporting system.
For read-only case, the read-only text didn't get passed back with the message from Title::getUserPermissionsErrors().
The text is either originally set in $wgReadOnly or gets loaded into it from $wgReadOnlyFile during wfReadOnly(), so pulling that it now gets passed back as expected.
Other functions using $wgOut->readOnlyPage() would have still got the original, still working, behavior.
Aryeh Gregor [Wed, 29 Aug 2007 16:10:36 +0000 (16:10 +0000)]
Reinstate r25260 with fix (missing trim()). No additional parser tests are broken relative to trunk.
Brion Vibber [Wed, 29 Aug 2007 16:01:23 +0000 (16:01 +0000)]
Revert r25260; breaks several parser tests cases, seems to be borking up section IDs.
8 previously passing test(s) now FAILING! :(
* Basic section headings [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (r25250) and 29-Aug-2007 15:55:07, 1.11alpha (r25289)]
* Section headings with TOC [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (r25250) and 29-Aug-2007 15:55:07, 1.11alpha (r25289)]
* Handling of sections up to level 6 and beyond [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (r25250) and 29-Aug-2007 15:55:07, 1.11alpha (r25289)]
* TOC regression (bug 9764) [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (r25250) and 29-Aug-2007 15:55:07, 1.11alpha (r25289)]
* TOC with wgMaxTocLevel=3 (bug 6204) [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (r25250) and 29-Aug-2007 15:55:07, 1.11alpha (r25289)]
* Resolving duplicate section names [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (r25250) and 29-Aug-2007 15:55:07, 1.11alpha (r25289)]
* Fuzz testing: Parser14 [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (r25250) and 29-Aug-2007 15:55:07, 1.11alpha (r25289)]
* -{}- tags within headlines (within html for parserConvert()) [Introduced between 29-Aug-2007 15:27:48, 1.11alpha (r25250) and 29-Aug-2007 15:55:07, 1.11alpha (r25289)]
Sample:
--- /tmp/mwParser-
557844546-expected 2007-08-29 15:55:46.
000000000 +0000
+++ /tmp/mwParser-
557844546-actual 2007-08-29 15:55:46.
000000000 +0000
@@ -1,16 +1,16 @@
<table id="toc" class="toc" summary="Contents"><tr><td><div id="toctitle"><h2>Contents</h2></div>
<ul>
-<li class="toclevel-1"><a href="#Level_1_Heading"><span class="tocnumber">1</span> <span class="toctext">Level 1 Heading</span></a>
+<li class="toclevel-1"><a href="#_Level_1_Heading"><span class="tocnumber">1</span> <span class="toctext">Level 1 Heading</span></a>
<ul>
etc
Brion Vibber [Wed, 29 Aug 2007 15:30:47 +0000 (15:30 +0000)]
Revert schema change in r25267 -- no more schema changes right before release please.
Niklas Laxström [Wed, 29 Aug 2007 13:37:02 +0000 (13:37 +0000)]
* Updates to Dutch (nl)
Niklas Laxström [Wed, 29 Aug 2007 13:31:41 +0000 (13:31 +0000)]
* Updates to Norwegian (no)
Niklas Laxström [Wed, 29 Aug 2007 13:15:44 +0000 (13:15 +0000)]
* Updates to Icelandic (is)
Niklas Laxström [Wed, 29 Aug 2007 13:07:37 +0000 (13:07 +0000)]
* Updates to Occitan (oc)
Niklas Laxström [Wed, 29 Aug 2007 10:52:57 +0000 (10:52 +0000)]
* Changed Uyghur (ug) label by request of Jose77 in Betawiki
Aryeh Gregor [Wed, 29 Aug 2007 02:33:13 +0000 (02:33 +0000)]
* Add an index to (rev_page,rev_user,rev_timestamp) for use in "All edits by a user to this page". Also potentially useful for "edits to a page grouped by user". (Would "edits by a user grouped by page" be more useful instead?) See bug 10788. Code to implement that feature will follow at some point when the index has actually been applied to Wikimedia servers, probably shortly after I get annoyed at its nonexistence again when looking for an old edit of mine.
* Bowlderism
Rob Church [Wed, 29 Aug 2007 01:34:44 +0000 (01:34 +0000)]
Update documentation for Language::truncate()
Rotem Liss [Wed, 29 Aug 2007 01:34:31 +0000 (01:34 +0000)]
Fix.
Rotem Liss [Wed, 29 Aug 2007 01:32:14 +0000 (01:32 +0000)]
* Rename script - easier to remember and use.
* Update comment.
* Change group in docs.
Aryeh Gregor [Wed, 29 Aug 2007 00:06:58 +0000 (00:06 +0000)]
(bug 8393) <sup> and <sub> need to be preserved (without attributes) for entries in the table of contents.
Rotem Liss [Tue, 28 Aug 2007 22:27:54 +0000 (22:27 +0000)]
Update.
Rob Church [Tue, 28 Aug 2007 21:53:50 +0000 (21:53 +0000)]
Re-alphabetise a few hooks
Raimond Spekking [Tue, 28 Aug 2007 18:53:11 +0000 (18:53 +0000)]
Update German
Raimond Spekking [Tue, 28 Aug 2007 17:50:49 +0000 (17:50 +0000)]
* (bug 11098) Update Chinese translations
* (bug 11099) Update Chinese extesion translations
Patches by Shinjiman
Raimond Spekking [Tue, 28 Aug 2007 17:10:08 +0000 (17:10 +0000)]
Update Low German, from Betawiki (Slomox)
Rob Church [Tue, 28 Aug 2007 16:59:24 +0000 (16:59 +0000)]
* (bug 10985) Compromise solution; strike out resolved cached entries to avoid breaking paging - fancier solutions can wait
* Tweak "doubleredirectstext"
Rob Church [Tue, 28 Aug 2007 16:50:31 +0000 (16:50 +0000)]
(bug 11022) Use a more accurate page title for Special:Whatlinkshere and Special:Recentchangeslinked
Niklas Laxström [Tue, 28 Aug 2007 16:49:02 +0000 (16:49 +0000)]
* Message file for Tok Pisin (tpi)
Rob Church [Tue, 28 Aug 2007 15:37:31 +0000 (15:37 +0000)]
(bug 11094) Update API help for 'siteinfo' - based on a patch by VasilievVV
Rob Church [Tue, 28 Aug 2007 15:31:16 +0000 (15:31 +0000)]
(bug 11095) Honour "preview on first edit" preference when preloading text for a non-existent page
Anders Wegge Jakobsen [Tue, 28 Aug 2007 13:01:37 +0000 (13:01 +0000)]
Updated da translations
Raimond Spekking [Tue, 28 Aug 2007 09:08:06 +0000 (09:08 +0000)]
* (bug 11092) Update French translations
Patch by Bertrand GRONDIN
Rotem Liss [Tue, 28 Aug 2007 02:37:44 +0000 (02:37 +0000)]
Using (optional) parameters instead of globals in checkLanguage.inc.
Greg Sabino Mullane [Mon, 27 Aug 2007 23:44:33 +0000 (23:44 +0000)]
Downgrade from semicolon to comma
Aaron Schulz [Mon, 27 Aug 2007 23:16:52 +0000 (23:16 +0000)]
*err...make this consistent with rc_deleted patch file
Raimond Spekking [Mon, 27 Aug 2007 21:36:22 +0000 (21:36 +0000)]
Update German
Brion Vibber [Mon, 27 Aug 2007 21:32:47 +0000 (21:32 +0000)]
* (bug 11072) Fix regression in API image history query
LocalFile::nextHistoryLine() now returns original column names for oldimage rows instead of aliasing them to image column names.
That whole interface should fucking die, it's hideous.
Raimond Spekking [Mon, 27 Aug 2007 21:18:14 +0000 (21:18 +0000)]
some more clean-up :-)
Brion Vibber [Mon, 27 Aug 2007 21:05:19 +0000 (21:05 +0000)]
Revert bug 10347 stuff -- too-big, too-prominent, too-technical subtitle slapped on every protected page.
This needs more work before going into trunk, which you'll remember is *what is live at any given time* except when we've got a problem going on.
Rotem Liss [Mon, 27 Aug 2007 20:16:04 +0000 (20:16 +0000)]
Update.
Brion Vibber [Mon, 27 Aug 2007 20:10:48 +0000 (20:10 +0000)]
* (bug 11067) Fix regression in upload conflict thumbnail display
Wildly incorrect data was getting passed through the Linker makeImageLinkObj -> makeImageLink2 -> makeThumbLink2 path, breaking certain thumb rendering as used by the special:upload ajax thingybob
Aaron Schulz [Mon, 27 Aug 2007 19:37:52 +0000 (19:37 +0000)]
*Don't reference $moverestr either, makes things more complicated
Aaron Schulz [Mon, 27 Aug 2007 19:23:32 +0000 (19:23 +0000)]
*Make protection notice only care about edit rights
*Pass in edit/move restrictions as extra params. Allow variable fun with that like a template.
Brion Vibber [Mon, 27 Aug 2007 18:56:31 +0000 (18:56 +0000)]
* (bug 11082) Fix check for fully-specced table names in Database::tableName
strpos() was in wrong order since added in 2004 :D
Rotem Liss [Mon, 27 Aug 2007 16:29:54 +0000 (16:29 +0000)]
* Using the appropriate prefix for parameter (wg means global).
* Documenting the parameter.
Rotem Liss [Mon, 27 Aug 2007 16:22:08 +0000 (16:22 +0000)]
Update.
Raimond Spekking [Mon, 27 Aug 2007 16:01:11 +0000 (16:01 +0000)]
Remove 'blockedtext-concise'/'autoblockedtext-concise' messages, they are redundant to 'blockedtext/'autoblockedtext'
I do not see a reason why to maintain four very very similar messages instead of two messages.
Add $blockTimestamp as $8. It's used in OutputPage.php for these messages too.
Rob Church [Mon, 27 Aug 2007 15:55:02 +0000 (15:55 +0000)]
Show relevant deletion log lines
Yuri Astrakhan [Mon, 27 Aug 2007 15:45:44 +0000 (15:45 +0000)]
Added missing API features added in this release.
Raimond Spekking [Mon, 27 Aug 2007 14:25:33 +0000 (14:25 +0000)]
* (bug 10367) Update Kazakh translations
Patch by AlefZet
Rob Church [Mon, 27 Aug 2007 13:59:41 +0000 (13:59 +0000)]
* Drop useless `image` parameter from deletion links in file histories
* Drop useless `wpEditToken` parameter from same
Rob Church [Mon, 27 Aug 2007 13:52:51 +0000 (13:52 +0000)]
(bug 11079) Use 'wpReason' as the comment field name and pre-fill the comment field from the request when building the form
Raimond Spekking [Mon, 27 Aug 2007 11:24:53 +0000 (11:24 +0000)]
Fix a regression from r24808 for some image options.
Thanks for hints from VP in de.wp.
Raimond Spekking [Mon, 27 Aug 2007 09:32:11 +0000 (09:32 +0000)]
* Three long time unused messages removed
* One message to a more generic section moved
Raimond Spekking [Mon, 27 Aug 2007 08:55:51 +0000 (08:55 +0000)]
* Introduce new messages 'group-autoconfirmed-member' and 'grouppage-autoconfirmed' for the long time existing group 'autoconfirmed'.
* Updates German
Raimond Spekking [Mon, 27 Aug 2007 07:17:24 +0000 (07:17 +0000)]
* (bug 11062) Update Russian translations
Patch by Alexander Sigachov
Aaron Schulz [Mon, 27 Aug 2007 00:37:24 +0000 (00:37 +0000)]
*Add a space if we already have subtitle content
Rotem Liss [Sun, 26 Aug 2007 23:08:46 +0000 (23:08 +0000)]
* Adding a newline before the statistics footer, to prevent parsing problems
* Preventing the TOC from appearing in Special:Statistics
Rotem Liss [Sun, 26 Aug 2007 22:16:34 +0000 (22:16 +0000)]
Update.
Aaron Schulz [Sun, 26 Aug 2007 21:43:35 +0000 (21:43 +0000)]
*On second thought, don't use 'diff', might be confusing. And I meant 'informative' in r25175 :)
Aaron Schulz [Sun, 26 Aug 2007 21:34:23 +0000 (21:34 +0000)]
*Rename protected-subtitle messages to something more uninformative. Tweak one message very slightly.
Anders Wegge Jakobsen [Sun, 26 Aug 2007 17:36:30 +0000 (17:36 +0000)]
Updated translations for da
Brion Vibber [Sun, 26 Aug 2007 14:52:56 +0000 (14:52 +0000)]
Fix regression caused by r24505 for bug 10683 -- was breaking redirects to pages using '+' in the title.
Now matching parser inline link decoding; urldecode() is only run if %s are present.
This does break something that has a literal % *and* a literal +, but that already matches Parser behavior. :P
Should think about tweaking that to maybe use rawurldecode?
Niklas Laxström [Sun, 26 Aug 2007 12:22:41 +0000 (12:22 +0000)]
* Double url encoding of title broke Special:Newpages for some languages
Aaron Schulz [Sun, 26 Aug 2007 11:29:07 +0000 (11:29 +0000)]
forgot to commit this with message tweak
Aaron Schulz [Sun, 26 Aug 2007 11:16:59 +0000 (11:16 +0000)]
*Tweak message naming and content for protection notices
Aaron Schulz [Sun, 26 Aug 2007 09:49:28 +0000 (09:49 +0000)]
*Generalize function to list UI names for all groups with a permission into OutputPage::getGroupsWithPermission()
*Make a separate function in article for showing protection notice thingy on view. List out who can edit/move the page.
*Some messages added for above. Remove annoying html comment from one.
*Fix php array index errors with protection notice
Daniel Cannon [Sun, 26 Aug 2007 04:54:43 +0000 (04:54 +0000)]
(bug 10347) Added subtle message to subtitle indicating that the page currently being viewed is protected. Could perhaps be a bit more subtle by default though ...
Brion Vibber [Sat, 25 Aug 2007 22:25:17 +0000 (22:25 +0000)]
* (bug 11065) Fix regression in handling of wiki-formatted EXIF metadata
Removed a wfEscapeWikiText() in the metadata formatting code... that whole mess needs some major cleanup, though. :)
Probably escaping should happen on the _input_ somewhere in the boxels of EXIF stuff.
Aaron Schulz [Sat, 25 Aug 2007 21:25:12 +0000 (21:25 +0000)]
*Use 'USE INDEX' not 'FORCE INDEX'. Database functions seem to just ignore the later. 'USE INDEX' is outputted as 'FORCE INDEX' in the query anyway, not to mention mysql seems to use the right ones without being told.
Brion Vibber [Sat, 25 Aug 2007 20:18:56 +0000 (20:18 +0000)]
Fix for restore of image data where oldimage rows hadn't contained the various new metadata fields.
When missing on restore, metadata is re-fetched from the file and inserted into the new record in place of the empty fields.
Aaron Schulz [Sat, 25 Aug 2007 19:22:51 +0000 (19:22 +0000)]
*oi_metadata can't be null. Some fa_metadata values are NULL since there was not always an oi_metadata to use for insertion.
Brion Vibber [Sat, 25 Aug 2007 15:52:49 +0000 (15:52 +0000)]
update url in test case ref
Brion Vibber [Sat, 25 Aug 2007 15:49:36 +0000 (15:49 +0000)]
Hack a special case for regression in setting image height via box size (eg 200x200px).
The height had been simply dropped off the face of the earth, with only the width taken into account anymore.
The infrastructure for parameters doesn't seem to gracefully handle multiple values coming from one magic word match, so this is an ugly hack.
Tim Starling [Sat, 25 Aug 2007 15:15:15 +0000 (15:15 +0000)]
Optional upgrade script to populate the img_sha1 field
Tim Starling [Sat, 25 Aug 2007 13:54:12 +0000 (13:54 +0000)]
Update img_sha1 only when it's really needed, instead of in maybeUpgradeRow().
Raimond Spekking [Fri, 24 Aug 2007 08:04:51 +0000 (08:04 +0000)]
* (bug 10405) Update Farsi translations
Patch by Huji
Raimond Spekking [Fri, 24 Aug 2007 08:01:25 +0000 (08:01 +0000)]
* (bug 10367) Update Kazakh translations
Patch by AlefZet
Raimond Spekking [Fri, 24 Aug 2007 07:57:38 +0000 (07:57 +0000)]
* (bug 11020) Update Chinese translations
Patch by Shinjiman
Tim Laqua [Thu, 23 Aug 2007 22:36:54 +0000 (22:36 +0000)]
Tim Laqua [Thu, 23 Aug 2007 22:34:12 +0000 (22:34 +0000)]
Added SkinAfterBottomScripts hook to Skin::bottomScripts(), documented in hooks.txt
Rob Church [Thu, 23 Aug 2007 18:56:40 +0000 (18:56 +0000)]
General updates
Brion Vibber [Thu, 23 Aug 2007 18:28:21 +0000 (18:28 +0000)]
* Resizing transparent GIF images with GD now retains transparency by skipping
resampling
Rotem Liss [Thu, 23 Aug 2007 16:42:54 +0000 (16:42 +0000)]
Update.