Ævar Arnfjörð Bjarmason [Sun, 15 May 2005 09:46:31 +0000 (09:46 +0000)]
* Bah!
Ævar Arnfjörð Bjarmason [Sun, 15 May 2005 09:44:29 +0000 (09:44 +0000)]
* Changed the namespace selection form from a table to a div
Ævar Arnfjörð Bjarmason [Sun, 15 May 2005 09:15:09 +0000 (09:15 +0000)]
* Fixed a typo in exif-digitalzoomratio
Tim Starling [Sun, 15 May 2005 06:18:48 +0000 (06:18 +0000)]
Renamed group table to groups, and renamed the fields from group_xxx to gr_xxx. Added static group support to Special:Listusers.
Brion Vibber [Sun, 15 May 2005 06:09:40 +0000 (06:09 +0000)]
Strip unprintables from debug log: they can cause font switching on the
terminal which is annoying.
Tim Starling [Sun, 15 May 2005 05:48:38 +0000 (05:48 +0000)]
sysop right no longer necessary, the 'protect' right is considered equivalent in the code
Tim Starling [Sun, 15 May 2005 04:44:57 +0000 (04:44 +0000)]
error in description
Ævar Arnfjörð Bjarmason [Sat, 14 May 2005 18:03:30 +0000 (18:03 +0000)]
* (bug 2016) Changed nospecialpagetext to link to Special:Specialpages
Tim Starling [Sat, 14 May 2005 17:55:04 +0000 (17:55 +0000)]
Attempting to get enotif into working order. Many aesthetic changes, a fair number of bug fixes too. There's also a couple of non-enotif bug fixes in this commit somewhere.
Ævar Arnfjörð Bjarmason [Sat, 14 May 2005 17:50:33 +0000 (17:50 +0000)]
* (bug 1975) The name for Limburgish (li) changed from "L��mburgs" to "Limburgs"
Domas Mituzas [Sat, 14 May 2005 16:00:33 +0000 (16:00 +0000)]
yay, use high level Database:: methods! :)
Ævar Arnfjörð Bjarmason [Sat, 14 May 2005 13:57:53 +0000 (13:57 +0000)]
* (bug 498) The Views heading in MonoBook.php is now localizable
Magnus Manske [Sat, 14 May 2005 11:49:11 +0000 (11:49 +0000)]
Validation database prefix fix
Tim Starling [Sat, 14 May 2005 09:54:26 +0000 (09:54 +0000)]
Ignore cache keys from previous version
Tim Starling [Sat, 14 May 2005 09:27:24 +0000 (09:27 +0000)]
Using a different session name for each database, so they don't interfere with each other. This is only significant where several wikis share a domain.
Tim Starling [Sat, 14 May 2005 09:26:32 +0000 (09:26 +0000)]
restored Special:Makesysop interwiki functionality
Tim Starling [Sat, 14 May 2005 09:25:41 +0000 (09:25 +0000)]
typos
Tim Starling [Sat, 14 May 2005 09:24:51 +0000 (09:24 +0000)]
nicer format for static groups record
Tim Starling [Sat, 14 May 2005 09:24:21 +0000 (09:24 +0000)]
friendlier error message
Tim Starling [Sat, 14 May 2005 05:42:47 +0000 (05:42 +0000)]
fixed Special:Userrights log, and a few other Special:Userrights problems
Tim Starling [Sat, 14 May 2005 05:42:29 +0000 (05:42 +0000)]
fixed potential XSS vulnerability
Tim Starling [Sat, 14 May 2005 05:41:22 +0000 (05:41 +0000)]
fixed style and minor XSS vulnerabilities
Tim Starling [Sat, 14 May 2005 05:39:39 +0000 (05:39 +0000)]
Fixed duplicate group problem, fixed isNewbie() function
Tim Starling [Sat, 14 May 2005 05:38:49 +0000 (05:38 +0000)]
Removed sysop right, it was removed from Defines.php long ago, rendering it useless, this is just cleaning up
Tim Starling [Sat, 14 May 2005 05:38:01 +0000 (05:38 +0000)]
allow people with the "protect" privilege to unprotect pages with "sysop" restriction
Tim Starling [Sat, 14 May 2005 05:36:43 +0000 (05:36 +0000)]
reworded some comments
Ævar Arnfjörð Bjarmason [Fri, 13 May 2005 22:05:54 +0000 (22:05 +0000)]
* Someone forgot to global the variable
Gabriel Wicke [Fri, 13 May 2005 21:18:45 +0000 (21:18 +0000)]
Incremental categorylink updates, mainly to keep the old timestamp.
Timestamp saved in memcached, to allow checking for updates without contacting the db.
Might be possible to improve further using the linkscache, i tried but didn't succeed.
As-is it should still be faster than the unconditional full deletion/re-addition cycle.
Ævar Arnfjörð Bjarmason [Fri, 13 May 2005 19:23:07 +0000 (19:23 +0000)]
* Improved the testcase for bug 787
Ævar Arnfjörð Bjarmason [Fri, 13 May 2005 15:41:30 +0000 (15:41 +0000)]
* Added a testcase for bug 787
Ævar Arnfjörð Bjarmason [Fri, 13 May 2005 11:59:26 +0000 (11:59 +0000)]
* Renamed Special:Randompage to Special:Random since it can get more than just
random pages now.
Ævar Arnfjörð Bjarmason [Fri, 13 May 2005 11:57:31 +0000 (11:57 +0000)]
* Special Page redirection now includes paramaters, e.g. Special:Orig/Par =>
Special:New/Par (it would previously have been truncated to Special:New)
* Renamed Special:Randompage to Special:Random since it can get more than just
random pages now.
Ævar Arnfjörð Bjarmason [Fri, 13 May 2005 11:11:30 +0000 (11:11 +0000)]
* Deprecated the {{msg:}} syntax for inclusion from the Template namespace.
Ævar Arnfjörð Bjarmason [Fri, 13 May 2005 10:38:14 +0000 (10:38 +0000)]
* isASCII() now only accepts \x0a\x20-\x7e and strings <= 1024 bytes
* isRational() and isSrational() improved to most definitely not accept a
non-faction value.
* Put all the debugging stufff into a debugging function
Ævar Arnfjörð Bjarmason [Fri, 13 May 2005 10:28:54 +0000 (10:28 +0000)]
* Removed some strange code which doesn't have any reason for being there
(and afaik never has)
* Using single quotes for msg's
Ævar Arnfjörð Bjarmason [Fri, 13 May 2005 09:58:53 +0000 (09:58 +0000)]
* Save '0' in img_metadata when no metadata has been found, to indicate that
it shouldn't be checked again.
Ævar Arnfjörð Bjarmason [Thu, 12 May 2005 17:17:08 +0000 (17:17 +0000)]
* (bug 2135) Updated various messages
Ævar Arnfjörð Bjarmason [Thu, 12 May 2005 15:42:16 +0000 (15:42 +0000)]
* (bug 2156) Added namespace translations
Brion Vibber [Thu, 12 May 2005 08:54:23 +0000 (08:54 +0000)]
* (bug 2152) Add missing bgcolor to attribute whitelist for <td> and <th>
Brion Vibber [Thu, 12 May 2005 08:28:26 +0000 (08:28 +0000)]
* (bug 2150) Fix tab indexes on edit form
Ævar Arnfjörð Bjarmason [Wed, 11 May 2005 04:43:58 +0000 (04:43 +0000)]
* Output wikitext rather than mixed HTML and wikitext
Ævar Arnfjörð Bjarmason [Wed, 11 May 2005 04:07:42 +0000 (04:07 +0000)]
* Deprecated by the new redirect mechanism in SpecialPage.php
Ævar Arnfjörð Bjarmason [Wed, 11 May 2005 04:06:36 +0000 (04:06 +0000)]
* $wgSpecialPageRedirects changed to hold title objects, needed to be able to
redirect to other things than other specialpages
* $wgSpecialPageRedirects now handles Special:My(?:page|talk|contributions
Ævar Arnfjörð Bjarmason [Wed, 11 May 2005 03:21:25 +0000 (03:21 +0000)]
* Added a new associative array ($wgSpecialPageRedirects) that holds
Specialpages to redirect from and to as keys and values respectively,
executePath() now uses it to check if it should redirect the request for a
specialpage to another location.
This removes the need for keeping stub redirects around in case we merge or
rename SpecialPages.
Ævar Arnfjörð Bjarmason [Wed, 11 May 2005 03:16:55 +0000 (03:16 +0000)]
* Removed this stub file that did nothing but redirect Special:Listadmins to
Special:Listusers, moved that functionality into SpecialPage.php
Ævar Arnfjörð Bjarmason [Tue, 10 May 2005 21:57:02 +0000 (21:57 +0000)]
* Set the $disabled variable if $wgEmailAuthentication && ($this->mUserEmail != '')
did not evaluate to true, otherwise the wiki would spew errors about undefined
variables on E_ALL
Ævar Arnfjörð Bjarmason [Tue, 10 May 2005 08:28:33 +0000 (08:28 +0000)]
* Fixed some phpdoc errors, see wikipedia.sf.net/doc/errors.html
Ævar Arnfjörð Bjarmason [Tue, 10 May 2005 02:15:16 +0000 (02:15 +0000)]
* Not returning true for whitespace ASCII tags (I found quite a few in my tests)
* isRational and isSrational now include a check to make sure they're being fed
a fraction, spewed errors otherwise.
* (S)rational numbers are now converted to intergers/floats
Ævar Arnfjörð Bjarmason [Tue, 10 May 2005 00:22:06 +0000 (00:22 +0000)]
* Made some messages a bit more to the point, e.g. 'Image input equipment
model' => 'Camera model' and 'Person who created the image' => 'Author'
* Finished the rest of the orientation tags.
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 22:46:03 +0000 (22:46 +0000)]
* Fixed a problem with the user preferences not being respected.
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 19:25:57 +0000 (19:25 +0000)]
* Removed checks for $wgShowEXIF, these functions never even get called from
the parent if it's false so they're redundant.
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 16:14:00 +0000 (16:14 +0000)]
* Switching is_numeric() in isByte(), isShort() and isLong() out for sprintf()
per wegges suggestion because:
1. $in can't be a floating point number
2. When typecast php ignores any non-integers after the first row of integers
3. A regular expression would be slower and insanely complex
* Insert kind comments about php and remarks about how much I appriciate its existance here*
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 14:09:58 +0000 (14:09 +0000)]
* Improved Exif::validate() debug output
* format() now returns the input value unformatted if it doesn't know what to
do with it
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 13:35:36 +0000 (13:35 +0000)]
* Removed a left over debug statement.
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 12:50:40 +0000 (12:50 +0000)]
* Added CSS styles to each Exif tag to make them styleable.
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 11:54:56 +0000 (11:54 +0000)]
* Deprecated $mValidExif and its constructor makeValidExifTags(), its function
of stripping UNDEFINED tags has been moved to the isUndefined() function
* Deprecated getExif(), makeFlatExifTags() accesses $mExif directly now
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 11:54:37 +0000 (11:54 +0000)]
* Checking against Exif::mFlatExif, Exif::mValidExif no longer exists
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 11:28:30 +0000 (11:28 +0000)]
* Improved the debug output of the type checking functions
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 11:26:44 +0000 (11:26 +0000)]
* Improved the debug output of retrieveExifData()
* Implemented the Exif::version() check, if the version in the stored metadata
does not match the current version the exif data is regenerated and the
current version saved in the metadata. Ensured that old images are updated
in the future if the output format is changed.
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 09:50:45 +0000 (09:50 +0000)]
* Moved the Metadata link next to the image link in the TOC
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 09:28:06 +0000 (09:28 +0000)]
* Added debug statements to retriveExifData()
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 09:25:56 +0000 (09:25 +0000)]
* Added support for wikifying the exif software tag
Ævar Arnfjörð Bjarmason [Mon, 9 May 2005 09:25:01 +0000 (09:25 +0000)]
* Documented the change to extractTags(), might be a php bug
* Added debug statements
* Added breakpoints to the switch statement
* Added support for wikifying the software tag
Brion Vibber [Mon, 9 May 2005 00:12:54 +0000 (00:12 +0000)]
Fix up spacing, indentation to match the codebase standards.
Brion Vibber [Sun, 8 May 2005 23:57:19 +0000 (23:57 +0000)]
Declare the EXIF type constants only once, when the script is read in,
instead of every time an Exif object is created. Constants cannot be
redefined and this produces a flurry of notice messages.
Also renamed the very generic names, as constants are a global namespace.
Brion Vibber [Sun, 8 May 2005 23:48:40 +0000 (23:48 +0000)]
Clean up makeFlatExifTags; a simple foreach loop is a little easier on the
eyes than the array_walk bit, and seems to explode and die less on PHP 5.
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 21:03:03 +0000 (21:03 +0000)]
* Removed the wfSuppressWarnings() I inserted previously
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 18:08:46 +0000 (18:08 +0000)]
* Deprecated.
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 17:09:36 +0000 (17:09 +0000)]
* Typo: missing $
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 16:19:12 +0000 (16:19 +0000)]
* Moving the metadata table back into a vertical table, I'm working on making
collapsable sections within it so it won't be so big.
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 16:18:16 +0000 (16:18 +0000)]
* Some adjustments to the metadata style
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 16:13:46 +0000 (16:13 +0000)]
* Renamed the $exif var to $metadata to avoid confusion
* The Exif class is now globally accessable from within Image
* Degrade gracefully if wfShowEXIF is false
* Support for the new format() function in the Exif class
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 16:08:04 +0000 (16:08 +0000)]
* Added a comment to the Exif part of wfTimestamp()
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 16:06:50 +0000 (16:06 +0000)]
* Added support for formatting of the DateTime tag inside format()
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 16:04:44 +0000 (16:04 +0000)]
* Added license information
* Fixed a bug in validate() that had to do with type casting, SHORT.','.LONG
would previously never have been evaluated as its value "3,4" was typecast
to 3 which matched SHORT.
* Added a new function, format(), to format the values of tags according to
the Exif 2.2 specification.
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 16:02:07 +0000 (16:02 +0000)]
* Changed the timeanddate() function to return the user selected date format
unless told otherwise
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 15:58:52 +0000 (15:58 +0000)]
* Changed the date() function to return the user selected date format unless
told otherwise
* Added some exif related messages
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 11:03:13 +0000 (11:03 +0000)]
* Use the user selected format by default
Brion Vibber [Sun, 8 May 2005 08:17:12 +0000 (08:17 +0000)]
* HistoryBlobStub: the last-used HistoryBlob is kept open to speed up
multiple-revision pulls
* Special:Export now includes page, revision, and user id numbers by
default (previously this was disabled for no particular reason)
* dumpBackup.php can dump the full database to Export XML, with current
revisions only or complete histories.
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 07:32:04 +0000 (07:32 +0000)]
* Adding wfSuppressWarnings() before the Exif validation, some of the type
checks in Exif::validate will spew warnings on invalid data.
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 07:16:10 +0000 (07:16 +0000)]
* Removed sitesettings related messages, it has been deprecated
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 07:10:21 +0000 (07:10 +0000)]
* Deprecated Special:Sitesettings
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 07:08:04 +0000 (07:08 +0000)]
* To the tune of "America, Fuck Yeah" from "Team America: World Police"
"Type checking, FUCK YEAH! Coming again, to save the mother fucking day yeah" !
(we now have typechecking of Exif tags)
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 07:06:04 +0000 (07:06 +0000)]
* To the tune of "America, Fuck Yeah" from "Team America: World Police"
"Type checking, FUCK YEAH! Coming again, to save the mother fucking day yeah" !
(we now have typechecking of Exif tags)
Ævar Arnfjörð Bjarmason [Sun, 8 May 2005 04:11:32 +0000 (04:11 +0000)]
* Removing /* private */ comment, already specified in the phpdoc
Ævar Arnfjörð Bjarmason [Sat, 7 May 2005 12:52:54 +0000 (12:52 +0000)]
* A new file with Exif functions
Ævar Arnfjörð Bjarmason [Sat, 7 May 2005 12:51:04 +0000 (12:51 +0000)]
* Removed stripExifData(), most of this functionality is now provided by the
Exif class
* Removed the check for $wgShowEXIF in getExifData(), this is already done in
ImagePage.php which is the only file that calls this function.
Ævar Arnfjörð Bjarmason [Sat, 7 May 2005 12:48:12 +0000 (12:48 +0000)]
* Added support for the Exif time format in wfTimestamp()
* Documented the TS_UNIX, TS_MW, TS_DB and TS_RFC2822 constants
* Documented wfTimestamp()
Tim Starling [Sat, 7 May 2005 11:01:26 +0000 (11:01 +0000)]
fixed weird composite random number function
Ævar Arnfjörð Bjarmason [Sat, 7 May 2005 07:44:51 +0000 (07:44 +0000)]
* (bug 2101) a single variable was being used as both a counter and as a
temporary variable causing invalid XHTML output.
Ævar Arnfjörð Bjarmason [Sat, 7 May 2005 07:23:46 +0000 (07:23 +0000)]
* Changing the personal urls to use the format Special:Page/Paramater rather
than ?title=Special:Page&target=Paramater
Brion Vibber [Sat, 7 May 2005 06:04:44 +0000 (06:04 +0000)]
* (bug 1692) Fix margin on unwatch tab
Ævar Arnfjörð Bjarmason [Sat, 7 May 2005 04:51:33 +0000 (04:51 +0000)]
* Added support for paramaters like Special:Movepage/Page_to_move
Ævar Arnfjörð Bjarmason [Sat, 7 May 2005 04:46:25 +0000 (04:46 +0000)]
* Cleanup
Ævar Arnfjörð Bjarmason [Sat, 7 May 2005 03:55:33 +0000 (03:55 +0000)]
* Wikilinking (un|)deletedarticle
Ævar Arnfjörð Bjarmason [Sat, 7 May 2005 03:30:08 +0000 (03:30 +0000)]
* Fixed a fatal XML error (the size attribute in one input element was unquoted)
Ævar Arnfjörð Bjarmason [Sat, 7 May 2005 00:47:52 +0000 (00:47 +0000)]
* Documented, removed $wgUser (not used) and more.
Ævar Arnfjörð Bjarmason [Fri, 6 May 2005 23:06:00 +0000 (23:06 +0000)]
* Deprecating msg:special_version_prefix and msg:special_version_postfix
Ævar Arnfjörð Bjarmason [Fri, 6 May 2005 21:54:00 +0000 (21:54 +0000)]
* Added a testcase for bug 785.
Brion Vibber [Fri, 6 May 2005 11:31:18 +0000 (11:31 +0000)]
* Add $wgLegacySchemaConversion update-time option to reduce amount of
copying during the schema upgrade: creates HistoryBlobCurStub reference
records in text instead of copying all the cur_text fields. Requires
that the cur table be left in place until/unless such fields are migrated
into the main text store.
In my test with a nl.wikipedia.org dump, this sped up the cur-to-old copy
operation from a few hours to a few minutes. Also added some hacky timer
echos in the updater for debug purposes. They should be prettied up but
probably kept.