lhc/web/wiklou.git
16 years agosome more clean-up :-)
Raimond Spekking [Mon, 27 Aug 2007 21:18:14 +0000 (21:18 +0000)]
some more clean-up :-)

16 years agoRevert bug 10347 stuff -- too-big, too-prominent, too-technical subtitle slapped...
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.

16 years agoUpdate.
Rotem Liss [Mon, 27 Aug 2007 20:16:04 +0000 (20:16 +0000)]
Update.

16 years ago* (bug 11067) Fix regression in upload conflict thumbnail display
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

16 years ago*Don't reference $moverestr either, makes things more complicated
Aaron Schulz [Mon, 27 Aug 2007 19:37:52 +0000 (19:37 +0000)]
*Don't reference $moverestr either, makes things more complicated

16 years ago*Make protection notice only care about edit rights
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.

16 years ago* (bug 11082) Fix check for fully-specced table names in Database::tableName
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

16 years ago* Using the appropriate prefix for parameter (wg means global).
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.

16 years agoUpdate.
Rotem Liss [Mon, 27 Aug 2007 16:22:08 +0000 (16:22 +0000)]
Update.

16 years agoRemove 'blockedtext-concise'/'autoblockedtext-concise' messages, they are redundant...
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.

16 years agoShow relevant deletion log lines
Rob Church [Mon, 27 Aug 2007 15:55:02 +0000 (15:55 +0000)]
Show relevant deletion log lines

16 years agoAdded missing API features added in this release.
Yuri Astrakhan [Mon, 27 Aug 2007 15:45:44 +0000 (15:45 +0000)]
Added missing API features added in this release.

16 years ago* (bug 10367) Update Kazakh translations
Raimond Spekking [Mon, 27 Aug 2007 14:25:33 +0000 (14:25 +0000)]
* (bug 10367) Update Kazakh translations
  Patch by AlefZet

16 years ago* Drop useless `image` parameter from deletion links in file histories
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

16 years ago(bug 11079) Use 'wpReason' as the comment field name and pre-fill the comment field...
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

16 years agoFix a regression from r24808 for some image options.
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.

16 years ago* Three long time unused messages removed
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

16 years ago* Introduce new messages 'group-autoconfirmed-member' and 'grouppage-autoconfirmed...
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

16 years ago* (bug 11062) Update Russian translations
Raimond Spekking [Mon, 27 Aug 2007 07:17:24 +0000 (07:17 +0000)]
* (bug 11062) Update Russian translations
  Patch by Alexander Sigachov

16 years ago*Add a space if we already have subtitle content
Aaron Schulz [Mon, 27 Aug 2007 00:37:24 +0000 (00:37 +0000)]
*Add a space if we already have subtitle content

16 years ago* Adding a newline before the statistics footer, to prevent parsing problems
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

16 years agoUpdate.
Rotem Liss [Sun, 26 Aug 2007 22:16:34 +0000 (22:16 +0000)]
Update.

16 years ago*On second thought, don't use 'diff', might be confusing. And I meant 'informative...
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 :)

16 years ago*Rename protected-subtitle messages to something more uninformative. Tweak one messag...
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.

16 years agoUpdated translations for da
Anders Wegge Jakobsen [Sun, 26 Aug 2007 17:36:30 +0000 (17:36 +0000)]
Updated translations for da

16 years agoFix regression caused by r24505 for bug 10683 -- was breaking redirects to pages...
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?

16 years ago* Double url encoding of title broke Special:Newpages for some languages
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

16 years agoforgot to commit this with message tweak
Aaron Schulz [Sun, 26 Aug 2007 11:29:07 +0000 (11:29 +0000)]
forgot to commit this with message tweak

16 years ago*Tweak message naming and content for protection notices
Aaron Schulz [Sun, 26 Aug 2007 11:16:59 +0000 (11:16 +0000)]
*Tweak message naming and content for protection notices

16 years ago*Generalize function to list UI names for all groups with a permission into OutputPag...
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

16 years ago(bug 10347) Added subtle message to subtitle indicating that the page currently being...
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 ...

16 years ago* (bug 11065) Fix regression in handling of wiki-formatted EXIF metadata
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.

16 years ago*Use 'USE INDEX' not 'FORCE INDEX'. Database functions seem to just ignore the later...
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.

16 years agoFix for restore of image data where oldimage rows hadn't contained the various new...
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.

16 years ago*oi_metadata can't be null. Some fa_metadata values are NULL since there was not...
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.

16 years agoupdate url in test case ref
Brion Vibber [Sat, 25 Aug 2007 15:52:49 +0000 (15:52 +0000)]
update url in test case ref

16 years agoHack a special case for regression in setting image height via box size (eg 200x200px).
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.

16 years agoOptional upgrade script to populate the img_sha1 field
Tim Starling [Sat, 25 Aug 2007 15:15:15 +0000 (15:15 +0000)]
Optional upgrade script to populate the img_sha1 field

16 years agoUpdate img_sha1 only when it's really needed, instead of in maybeUpgradeRow().
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().

16 years ago* (bug 10405) Update Farsi translations
Raimond Spekking [Fri, 24 Aug 2007 08:04:51 +0000 (08:04 +0000)]
* (bug 10405) Update Farsi translations
  Patch by Huji

16 years ago* (bug 10367) Update Kazakh translations
Raimond Spekking [Fri, 24 Aug 2007 08:01:25 +0000 (08:01 +0000)]
* (bug 10367) Update Kazakh translations
  Patch by AlefZet

16 years ago* (bug 11020) Update Chinese translations
Raimond Spekking [Fri, 24 Aug 2007 07:57:38 +0000 (07:57 +0000)]
* (bug 11020) Update Chinese translations
  Patch by Shinjiman

16 years ago(no commit message)
Tim Laqua [Thu, 23 Aug 2007 22:36:54 +0000 (22:36 +0000)]

16 years agoAdded SkinAfterBottomScripts hook to Skin::bottomScripts(), documented in hooks.txt
Tim Laqua [Thu, 23 Aug 2007 22:34:12 +0000 (22:34 +0000)]
Added SkinAfterBottomScripts hook to Skin::bottomScripts(), documented in hooks.txt

16 years agoGeneral updates
Rob Church [Thu, 23 Aug 2007 18:56:40 +0000 (18:56 +0000)]
General updates

16 years ago* Resizing transparent GIF images with GD now retains transparency by skipping
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

16 years agoUpdate.
Rotem Liss [Thu, 23 Aug 2007 16:42:54 +0000 (16:42 +0000)]
Update.

16 years agoUpdate German
Raimond Spekking [Thu, 23 Aug 2007 10:58:26 +0000 (10:58 +0000)]
Update German

16 years agoFix for r25082. Access key for preferences changed to '9'.
Raimond Spekking [Thu, 23 Aug 2007 10:52:51 +0000 (10:52 +0000)]
Fix for r25082. Access key for preferences changed to '9'.
Access key ',' is already in use for the textarea of the edit form, but hard coded. Is there a special reason not to use the normal access key/tooltip mechanism?
Thanks to WebBoy.

16 years ago* (bug 5206) Add accesskey ',' to 'preferences' navigationlink
Raimond Spekking [Thu, 23 Aug 2007 09:34:33 +0000 (09:34 +0000)]
* (bug 5206) Add accesskey ',' to 'preferences' navigationlink
* Add accesskey 's' and tooltip to 'upload file' button at Special:Upload
* Remove ancient hard coded [alt- ] references from message files

16 years agoRevert r25080, accident commit, sorry :-(
Raimond Spekking [Thu, 23 Aug 2007 09:04:26 +0000 (09:04 +0000)]
Revert r25080, accident commit, sorry :-(

16 years ago* (bug 5206) Add accesskey ',' to 'preferences' navigationlink
Raimond Spekking [Thu, 23 Aug 2007 08:47:36 +0000 (08:47 +0000)]
* (bug 5206) Add accesskey ',' to 'preferences' navigationlink
* Add accesskey 's' and tooltip to 'upload file' button at Special:Upload
* Remove ancient hard coded [alt- ] references from message files

16 years ago* Updates to Dutch (nl) translations
Niklas Laxström [Thu, 23 Aug 2007 07:28:05 +0000 (07:28 +0000)]
* Updates to Dutch (nl) translations

16 years agoRevert r25037 -- just removes functionality from Special:DoubleRedirects instead...
Brion Vibber [Wed, 22 Aug 2007 21:52:44 +0000 (21:52 +0000)]
Revert r25037 -- just removes functionality from Special:DoubleRedirects instead of fixing the paging problem

16 years agoOrder of link parameters changed in r25049; putting them back so the parser test...
Brion Vibber [Wed, 22 Aug 2007 20:07:00 +0000 (20:07 +0000)]
Order of link parameters changed in r25049; putting them back so the parser test stops whining. :)

16 years ago* Updates to Korean (ko) by Klutzy
Niklas Laxström [Wed, 22 Aug 2007 17:40:26 +0000 (17:40 +0000)]
* Updates to Korean (ko) by Klutzy

16 years ago* (bug 11020) Update Chinese translations
Raimond Spekking [Wed, 22 Aug 2007 17:13:08 +0000 (17:13 +0000)]
* (bug 11020) Update Chinese translations
* (bug 11024) typo
  Patches by Shinjiman

16 years agoFixed typo in LocalFileDeleteBatch::execute() which was causing complete breakage...
Tim Starling [Wed, 22 Aug 2007 16:32:10 +0000 (16:32 +0000)]
Fixed typo in LocalFileDeleteBatch::execute() which was causing complete breakage when squid was enabled.

16 years agoRevert r25047 -- produces confusing, useless behavior when going to Special:Upload...
Brion Vibber [Wed, 22 Aug 2007 16:25:07 +0000 (16:25 +0000)]
Revert r25047 -- produces confusing, useless behavior when going to Special:Upload instead of displaying the useful message that you have to enable uploads.

16 years agooptional comments added, proper formatting
Raimond Spekking [Wed, 22 Aug 2007 15:58:35 +0000 (15:58 +0000)]
optional comments added, proper formatting

16 years agoUpdate.
Rotem Liss [Wed, 22 Aug 2007 15:55:27 +0000 (15:55 +0000)]
Update.

16 years agoUse actual arrows, not entities.
Rotem Liss [Wed, 22 Aug 2007 15:49:31 +0000 (15:49 +0000)]
Use actual arrows, not entities.

16 years ago(bug 11013) Make sure dl() is available before attempting to use it to check availabl...
Rob Church [Wed, 22 Aug 2007 15:05:30 +0000 (15:05 +0000)]
(bug 11013) Make sure dl() is available before attempting to use it to check available databases in installer...this detection code is quite crap and could do with some work; got a partial patch, but a few bits (the UI, JavaScript) are broken...committing this to fix the *immediate* problem

16 years agoIn ImageGallery:
Tim Starling [Wed, 22 Aug 2007 13:40:22 +0000 (13:40 +0000)]
In ImageGallery:
* Split "is parsing" and "respect bad images" concepts.
* Call media handler parser hook
* Use the $linkAttribs parameter instead of putting an <a> tag around the whole media output.

16 years agoTweak "invalid special page" message a bit - tempted to add, e.g. "Some special pages...
Rob Church [Wed, 22 Aug 2007 13:28:46 +0000 (13:28 +0000)]
Tweak "invalid special page" message a bit - tempted to add, e.g. "Some special pages might be unavailable if certain software features are disabled, and some special pages are provided via extensions, and thus not available on all wikis." -- what do we think?

16 years ago(bug 11023) Don't register Special:Upload as a special page when uploads are disabled
Rob Church [Wed, 22 Aug 2007 13:22:23 +0000 (13:22 +0000)]
(bug 11023) Don't register Special:Upload as a special page when uploads are disabled

16 years agoWhoops, fix up permission check so "deletedhistory" still works to view, etc.
Rob Church [Wed, 22 Aug 2007 08:55:50 +0000 (08:55 +0000)]
Whoops, fix up permission check so "deletedhistory" still works to view, etc.

16 years ago* (bug 9002) Provide a "view/restore deleted edits" link on Special:Upload when a...
Rob Church [Wed, 22 Aug 2007 08:51:56 +0000 (08:51 +0000)]
* (bug 9002) Provide a "view/restore deleted edits" link on Special:Upload when a destination filename is provided that corresponds with previous deleted files
* Fix various bits of invalid XHTML in Special:Upload

16 years ago* Fix "most viewed" heading
Rob Church [Wed, 22 Aug 2007 08:07:48 +0000 (08:07 +0000)]
* Fix "most viewed" heading
* Fix images in list

16 years ago* (bug 9026) Incorrect heading numbering when viewing Special:Statistics with "auto...
Rob Church [Wed, 22 Aug 2007 08:05:40 +0000 (08:05 +0000)]
* (bug 9026) Incorrect heading numbering when viewing Special:Statistics with "auto-numbered headings" enabled
* Some minor cleanup and bits of refactoring

16 years agoTweak comment; people seem to whine about this one, not reading past the mt_rand...
Rob Church [Wed, 22 Aug 2007 07:24:30 +0000 (07:24 +0000)]
Tweak comment; people seem to whine about this one, not reading past the mt_rand() bit, and criticising us...

16 years ago(bug 10985) Special:DoubleRedirects was omitting "fixed" results when cached, leading...
Rob Church [Wed, 22 Aug 2007 07:08:12 +0000 (07:08 +0000)]
(bug 10985) Special:DoubleRedirects was omitting "fixed" results when cached, leading to inconsistent paging behaviour - if the query is too expensive to run live, then it shouldn't be run in miser mode either (which is what was happening)

16 years ago(bug 9339) Use wfMsgExt() in OutputPage::showErrorPage() to avoid the old issue with...
Rob Church [Wed, 22 Aug 2007 06:41:50 +0000 (06:41 +0000)]
(bug 9339) Use wfMsgExt() in OutputPage::showErrorPage() to avoid the old issue with incorrect/inconsistent message transformation and braces

16 years ago* Removing untranslated magic words
Raimond Spekking [Wed, 22 Aug 2007 06:27:15 +0000 (06:27 +0000)]
* Removing untranslated magic words
* Removing outdated messages too/rebuilding file

16 years agoAdd links back to the image in deletion and reversion forms
Rob Church [Wed, 22 Aug 2007 05:35:40 +0000 (05:35 +0000)]
Add links back to the image in deletion and reversion forms

16 years agoFrench localisation update, c/o Bertrand GRONDIN
Rob Church [Wed, 22 Aug 2007 05:30:18 +0000 (05:30 +0000)]
French localisation update, c/o Bertrand GRONDIN

16 years agoAdd a class to <strong> for watched links in change lists
Rob Church [Wed, 22 Aug 2007 05:21:59 +0000 (05:21 +0000)]
Add a class to <strong> for watched links in change lists

16 years agoWrap
Rob Church [Wed, 22 Aug 2007 00:57:41 +0000 (00:57 +0000)]
Wrap

16 years agobugfix noted (10783)
Tim Laqua [Wed, 22 Aug 2007 00:54:32 +0000 (00:54 +0000)]
bugfix noted (10783)

16 years agoFix f/ PNG-24 Alpha Transparency using GDLIB resizing
Tim Laqua [Wed, 22 Aug 2007 00:30:16 +0000 (00:30 +0000)]
Fix f/ PNG-24 Alpha Transparency using GDLIB resizing

16 years agoIndonesian (id) localisation updates.
Ivan Lanin [Wed, 22 Aug 2007 00:02:55 +0000 (00:02 +0000)]
Indonesian (id) localisation updates.

16 years agoAlready had brackets as part of the string.
Nick Jenkins [Tue, 21 Aug 2007 04:03:33 +0000 (04:03 +0000)]
Already had brackets as part of the string.

16 years agoStatic code analysis housekeeping time... things that could be double-checked are...
Nick Jenkins [Tue, 21 Aug 2007 03:57:54 +0000 (03:57 +0000)]
Static code analysis housekeeping time... things that could be double-checked are marked with "[Note: some-comment]" :
if-if-else without curly braces [api/ApiQuerySiteinfo.php] --> adding
Unused global declaration:  $wgGroupPermissions --> removing
Unused global declaration:  $wgEmailConfirmToEdit (line 301) --> removing
Variable $id appears only once (line 1021)  --> removing
Variable $m was used before it was defined (line 805) --> defining.
Variable $retval was used before it was defined (line 2346) --> renaming to $result
Variable $rcid appears only once (line 244 of RecentChange.php)  --> using this instead of $change [Note: was left over from r24607 refactoring, revert if wrong please]
Unused global declaration:  $wgCommandLineMode (line 11) --> removing
Variable $k appears only once (line 132 of ImagePage.php) --> removing.
Variable $info appears only once (line 311 of ImagePage.php)  --> removing.
Unused global declaration:  $wgTitle (line 569 of ImagePage.php) -> removing.
Variable $handlerParams was used before it was defined (line 616 of Linker.php) --> resolved by Raymond in r24966
Variable $match was used before it was defined (line 1031 of Linker.php) --> defining.
Unused global declaration:  $wgEnotifWatchlist (line 253 of UserMailer.php) --> removing
Unused global declaration:  $wgShowUpdatedMarker (line 253 of UserMailer.php) --> removing
Variable $img appears only once (line 446 of SpecialUpload.php) --> added definition, defined as null, flagged with @todo  [Note: should $img be defined in this context, or is it intended to be null? And should the return value after the hook be checked in some way?]
Unused global declaration:  $wgEnableAPI (line 739 of SpecialUpload.php) --> removing.
Unused global declaration:  $wgNamespaceProtection (line 1030 of OutputPage.php) --> removing.
Unused global declaration:  $wgContLang (line 18 of SpecialWatchlist.php) --> removing.
Unused global declaration:  $wgRawHtml (line 269 of SpecialMovepage.php) --> removing.
The value of variable $page was never used (line 331 of SpecialUndelete.php) --> removing line, as $page gets redefined a few lines down.
Variable $synIndex appears only once (line 521 of MagicWord.php) --> commenting out.
Variable $case appears only once (line 539 of MagicWord.php) --> removing from foreach index key usage.
Variable $wgUser appears only once (line 1039 of Title.php) --> adding line to declare as a global, would be null otherwise.
Variable $m was used before it was defined (line 285 of Title.php) --> defining.
Variable $id appears only once (line 1150 of Title.php) --> removing from foreach index key usage.
Variable $subpage appears only once (line 1297 of Title.php) --> commenting out.
Variable $restrictions appears only once (line 1399 of Title.php) --> commenting out.
Variable $mime appears only once (line 210 of filerepo/OldLocalFile.php) --> removing.
Variable $deprefixedName appears only once (line 213 of filerepo/LocalFile.php) --> removing.
Variable $m appears only once (line 541 of filerepo/LocalFile.php) --> removing.
Variable $where appears only once (line 1245 of filerepo/LocalFile.php) --> removing.
Variable $info appears only once (line 1427 of filerepo/LocalFile.php) --> removing.
Variable $rel appears only once (line 138 of filerepo/RepoGroup.php) --> commenting out.
Variable $zone appears only once (line 138 of filerepo/RepoGroup.php) --> commenting out.
Variable $nbytes appears only once (line 208 of media/Generic.php) --> added a return line that uses $nbytes. [Note: I'm assuming that this was the intent]
Variable $offset appears only once (line 201 of SpecialListusers.php) --> removing.
Variable $limit appears only once (line 201 of SpecialListusers.php) --> removing.
Variable $groupTarget appears only once (line 203 of SpecialListusers.php) --> removing.
Unused global declaration:  $wgLang (line 74 of SpecialWantedpages.php) --> removing.
Variable $block appears only once (line 244 of SpecialProtectedpages.php) --> removing.
Variable $offset appears only once (line 281 of SpecialProtectedpages.php) --> removing.
Variable $limit appears only once (line 281 of SpecialProtectedpages.php) --> removing.
Unused global declaration:  $wgLang (line 30 of FileDeleteForm.php) --> removing.
Unused global declaration:  $wgServer (line 30 of FileDeleteForm.php) --> removing.

16 years ago*If no changes, made, we have no new revision. Make $revision NULL, rather than not...
Aaron Schulz [Tue, 21 Aug 2007 03:21:27 +0000 (03:21 +0000)]
*If no changes, made, we have no new revision. Make $revision NULL, rather than not defined at all, as this spewed errors on no-change rollbacks

16 years agoFix a regression from r24808:
Raimond Spekking [Mon, 20 Aug 2007 21:37:48 +0000 (21:37 +0000)]
Fix a regression from r24808:
PHP-Notice: 'Undefined variable:'

16 years agoUpdate.
Rotem Liss [Mon, 20 Aug 2007 15:54:18 +0000 (15:54 +0000)]
Update.

16 years agoUse an instance variable, not a static one
Rob Church [Mon, 20 Aug 2007 14:57:30 +0000 (14:57 +0000)]
Use an instance variable, not a static one

16 years agoMore robust existence/sanity checking
Rob Church [Mon, 20 Aug 2007 14:49:07 +0000 (14:49 +0000)]
More robust existence/sanity checking

16 years agoAs r24950, but for FileDeleteForm
Rob Church [Mon, 20 Aug 2007 14:35:59 +0000 (14:35 +0000)]
As r24950, but for FileDeleteForm

16 years ago* Fix FileRevertForm::getTimestamp() - stupid assumption about archive names :)
Rob Church [Mon, 20 Aug 2007 14:32:08 +0000 (14:32 +0000)]
* Fix FileRevertForm::getTimestamp() - stupid assumption about archive names :)
* Do date/time adjustments where applicable
* Reverse odd ordering of date/times in messages - time, then date looks cleaner in English
* Remove the commented-out remnants for now

16 years agoaaand restore behavior from prior to r24882 on expected input
Brion Vibber [Mon, 20 Aug 2007 13:46:08 +0000 (13:46 +0000)]
aaand restore behavior from prior to r24882 on expected input

16 years agoThrow an exception for invalid data in expandAttributes() so we get a backtrace and...
Brion Vibber [Mon, 20 Aug 2007 13:43:14 +0000 (13:43 +0000)]
Throw an exception for invalid data in expandAttributes() so we get a backtrace and can beat the shit out of whoever did us wrong instead of just seeing a useless PHP warning message or worse yet silently going through without even knowing we probably lost the data we wanted somewhere else in our output

16 years agoTrim some end-of-file whitespace
Rob Church [Mon, 20 Aug 2007 13:42:23 +0000 (13:42 +0000)]
Trim some end-of-file whitespace

16 years ago* (bug 10983) Removing Wikipedia hardwired messages
Raimond Spekking [Mon, 20 Aug 2007 13:17:12 +0000 (13:17 +0000)]
* (bug 10983) Removing Wikipedia hardwired messages

16 years ago(bug 11001) Submit Special:Newpages as a GET, rather than a POST request
Rob Church [Mon, 20 Aug 2007 13:13:07 +0000 (13:13 +0000)]
(bug 11001) Submit Special:Newpages as a GET, rather than a POST request

16 years ago* (bug 10972) Update Chinese translations
Raimond Spekking [Mon, 20 Aug 2007 13:08:45 +0000 (13:08 +0000)]
* (bug 10972) Update Chinese translations
  Patch by Shinjiman

16 years agoBug number for image deletion confirmation stuff
Rob Church [Mon, 20 Aug 2007 13:03:00 +0000 (13:03 +0000)]
Bug number for image deletion confirmation stuff

16 years ago* (bug 10972) Update Chinese translations
Raimond Spekking [Mon, 20 Aug 2007 10:57:39 +0000 (10:57 +0000)]
* (bug 10972) Update Chinese translations
  Patch by Shinjiman

16 years ago* (bug 10977) Update Portuguese translations
Raimond Spekking [Mon, 20 Aug 2007 10:50:49 +0000 (10:50 +0000)]
* (bug 10977) Update Portuguese translations
  Patch by lugusto

16 years agoUpdate German
Raimond Spekking [Mon, 20 Aug 2007 09:47:17 +0000 (09:47 +0000)]
Update German