Commit graph

81 commits

Author SHA1 Message Date
Antoine Musso
e00b2f8d2e Split enhanced and old changelist in two classes that inherit from the main
class. Need to setup more methods :)
2005-09-06 18:43:45 +00:00
Niklas Laxström
58dcec1168 more killing 2005-08-02 20:21:41 +00:00
River Tarnell
b817c0c15f merge ORACLE_WORK. sorry, this may break some parts of MySQL, i did not test extensively. 2005-08-02 13:35:19 +00:00
Niklas Laxström
96a9c327e2 * Refactored namespace selector to it's own function
* Killed one undefined variable warning
* some other cleanup like html-safe message fixes
2005-08-01 23:47:22 +00:00
Niklas Laxström
3d4fab1d95 * Special:Watchlist allowed only one type of limit at a time
* moved appendToArrayIfNotDefault to GlobalFunctions
* changed some html message in Special:Watchlist to wiki text or plain text
2005-07-31 17:56:51 +00:00
Brion Vibber
753cfc1553 * Various code cleanup and HTML escaping fixlets on page history, contribs etc
* fix page history with table prefix
* fix paging on history
* switch 'earliest' and 'latest' link order to fix 'prev' and 'next'
* use null where appropriate
* switch some messages to plaintext or wikitext
2005-06-29 06:16:03 +00:00
Tim Starling
5703792bbb Removed "show updated marker" user preference option. It's now visually inoffensive, and has no performance penalty for reads, so there's no reason users would want to have it off. System administrators may want to have it off though, since it impacts on page save performance. Also changed the watchlist header format. 2005-05-29 04:29:29 +00:00
Tim Starling
842fef7c4d basic support for special page inclusions 2005-05-28 11:09:22 +00:00
Ævar Arnfjörð Bjarmason
adb93d3b5d Bah!! 2005-05-15 10:00:04 +00:00
Ævar Arnfjörð Bjarmason
5e920905e6 * Bah! 2005-05-15 09:46:31 +00:00
Ævar Arnfjörð Bjarmason
0dc2aa1513 * Changed the namespace selection form from a table to a div 2005-05-15 09:44:29 +00:00
Ævar Arnfjörð Bjarmason
2dc0f67291 * Fixed a problem with the user preferences not being respected. 2005-05-09 22:46:03 +00:00
Ævar Arnfjörð Bjarmason
110ad11fcc * Some fixes from Nikerabbit. 2005-05-04 21:56:14 +00:00
Erik Moeller
d40e4b5a7e as discussed on IRC, move into the same line, but to the right of the [Go]
button
2005-05-04 20:49:59 +00:00
Ævar Arnfjörð Bjarmason
59969a47b7 * Reverting last commit by eloquence to version 1.65: This will look bad in
languages that don't have such a short word for "Invert" and it's out of
  tune with the rest of the UI where Go/Search buttons are immitiately
  accessable after <input>/<select>.
2005-05-04 20:12:58 +00:00
Erik Moeller
e2f5d100a1 move invert box into same line as namespace selection to avoid page clutter 2005-05-04 09:53:13 +00:00
Ævar Arnfjörð Bjarmason
b240544632 * Fixed a bug where a user would loose his namespace selection. 2005-05-03 19:57:46 +00:00
Ævar Arnfjörð Bjarmason
6f85b0c203 * Added the ability to sort by namespaces (patch by Nikerabbit which I modified) 2005-05-03 18:30:46 +00:00
Jens Frank
cf633f8569 Bug 1755: RecentChanges URL carries duplicate limit 2005-04-25 10:08:51 +00:00
Ævar Arnfjörð Bjarmason
9ac0b1cb9f * (bug 1754) Patch by Anders Wegge Jakobsen: Both Atom and RSS were using the
same objectcache timestamp, hence if one feed is pulled the other was marked
  as current as weel, this means that a substantial time could pass until the
  'loosing' feed got updated.
2005-04-23 21:47:10 +00:00
Tim Starling
10c548179c Don't need existence check for the article, it's implied 2005-04-03 08:30:05 +00:00
Tim Starling
7b489ec94c Use LinkBatch for faster link lookup 2005-04-03 08:27:08 +00:00
Brion Vibber
1b43d4ee09 Fix query syntax which broke a couple functions' debug info (foreport from 1.4) 2005-03-27 22:29:37 +00:00
Brion Vibber
6f5560867c Start removing the Latin-1 hacks. We're going pure UTF-8 for 1.5... 2005-03-26 22:23:48 +00:00
Ævar Arnfjörð Bjarmason
9b06a36f4a * (bug 1207) splitting 'all', into recentchangesall, imagelistall,
watchlistall1, watchlistall2, contributionsall to accommodate inflicted
  languages. ( perl -pi -e "s/^['\"]all['\"].*//gs" * is useful =)
2005-03-26 21:26:32 +00:00
Brion Vibber
87401a6d34 * Run UTF-8 validation on old text in Recentchanges RSS diffs 2005-03-05 14:03:11 +00:00
Zheng Zhu
63d232acf4 Merged my changes from REL1_4 2004-12-24 02:47:38 +00:00
Brion Vibber
2b1127fe90 Start splitting back-end functions from the Article user-interface class.
Fix Special:Export for new schema.
2004-12-19 12:21:29 +00:00
Brion Vibber
ed1909d8d1 Clean up default options, and remove so-called "UseMod-style" RC option which fails to provide the information that UseMod's RC does, as has been noted before. 2004-12-18 03:59:06 +00:00
Brion Vibber
798270581d (bug 454) Merge e-notif 2.00
From http://bugzilla.wikipedia.org/attachment.cgi?id=171&action=view
and extra files from http://www.tgries.de/mw/cvs15+enea200-minus-cvs.tgz

Undid a couple minor bits like the broken changing of minoreditletter.
Have not yet made general corrections/reworkings. Since this changes
the user and watchlist tables, you must run the updaters (installer or
update.php) on an existing database.
2004-12-18 03:47:11 +00:00
Brion Vibber
8cd58f6551 Load limiting work for Recentchanges RSS/Atom feeds:
* Cache feeds for up to a day
* Maximum number of rows to show
* Minimum timeout between changes to re-cache
* Maximum article size to show diffs for (will show diff link instead for larger)
* Also, return 500 error if asked for an invalid feed format instead of silently showing the html
2004-12-12 04:13:19 +00:00
Brion Vibber
949ef6a744 Profiling points. Bump version to 1.4.0beta0; update HISTORY notes to current 1.3; prepare for REL1_4 branch. 2004-12-01 08:46:48 +00:00
Brion Vibber
ef985d1362 Split recentchanges and image history list formatters from Skin, where they never really belonged. No skin overrides these things, and they just waste server time loading and parsing the code for every page hit where they're not needed. 2004-11-25 13:47:17 +00:00
Tim Starling
e8dcbd4ee1 Less obtrusive RC patrol feature, also works with enhanced RC, disable client side cache for Special:Recentchanges if $wgUseRCPatrol 2004-11-18 11:37:14 +00:00
Brion Vibber
2914a8611c Don't try to output bogus Last-Modified timestamp if there are no recentchanges table entries 2004-10-24 10:23:36 +00:00
Brion Vibber
e211341459 fix for bug 149: Special:Recentchanges: Link that adds &from= to URL discards &limit= and vice-versa 2004-10-10 09:44:00 +00:00
Brion Vibber
32111c8310 Merge adjacent edits to same page by same user in the RSS feed 2004-10-09 06:49:28 +00:00
Brion Vibber
8dfaf08966 Put diffs into the RecentChanges RSS/Atom feed to make it more useful for offline reading (and more convenient in general). For new pages, includes the full wikitext.
Probably will want to do caching of diffs before pushing this one out the door, but it's not as bad as all that; nothing has to be parsed, just diffed.
2004-10-09 02:55:32 +00:00
Zheng Zhu
c05629c010 Third batch of files modified to replace selected wgLang with wgContLang 2004-09-24 16:45:31 +00:00
Antoine Musso
ba2afcd9fa Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema 2004-09-03 23:00:01 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +00:00
Antoine Musso
3d60242fb5 massive double to single quotes conversion. I have not noticed any bug after a lot of testing 2004-08-22 17:24:50 +00:00
Antoine Musso
fa79dd7e8b removing call to the database for "recentchangestext". That's automaticly get by calling wfMsg( "recentchangestext" ) 2004-08-21 23:16:32 +00:00
Antoine Musso
9057c60434 double to single quotes 2004-08-21 23:11:54 +00:00
Domas Mituzas
27e8894502 Fix recent changes cutoff to use Database::timestamp 2004-08-10 11:36:22 +00:00
Arne Heizmann
075396a961 New feature: Recent Changes Patrol. All edits and new pages are now highlighted on
Special:Recentchanges and Special:Newpages until someone "marks" them as
"patrolled" using a special link. For new pages, this link appears at the bottom
of the article if the link in Recent Changes or New Pages is followed. For all
other edits, this link appears only in the diff and only if the diff link is
followed from Recent Changes. (Might need to add this functionality to Watchlist
too; haven't done that yet.)
2004-08-09 05:38:11 +00:00
Tim Starling
ac549401d4 * Support for table name prefixes throughout the code. No support yet for converting static SQL, which also means no installation. But it has been tested by creating the tables in the ordinary way and then renaming them
* DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE
* Converted to use SQL wrapper functions instead of direct SQL in various places
* Experimental method for preserving the chronological order of events when slave servers are used. Untested.
* Fixes to the new post-parse existence test feature
* Some.. other stuff
2004-07-18 08:48:43 +00:00
Brion Vibber
6ae494e9e9 <br/> isn't compatible with Netscape 4.x; use <br /> to avoid gratuitously breaking it. (bug 963341) 2004-05-31 00:58:57 +00:00
Tim Starling
8f22cb45b1 include_once -> require_once 2004-05-07 13:43:10 +00:00
Brion Vibber
5be318f7e9 Fix use of the <comments> field in RSS feed. It's not a textual comment, but rather a URL to a comments page; using the talk page in this case. If the page in question already is a talk page, it'll be the same URL as the page itself. 2004-04-29 01:14:32 +00:00