Antoine Musso
2104f62734
fix phpdoc comment
2005-01-27 19:51:47 +00:00
Brion Vibber
fee10481f0
* (bug 1178) Fix previous diff link when using 'oldid=0'
...
Forward port fix from REL1_4
2004-12-24 05:22:12 +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
64ac6b8e77
Merge SCHEMA_WORK into HEAD. Lots of changes, some things are probably broken:
...
* Page moves/overwrites are a little iffy
* Compression might not be working right
* Profit!
2004-12-19 08:00:50 +00:00
Zheng Zhu
3fca385791
Treat each Chinese character as a single word when diffing, and glue them back together afterward. This gives much more readable diff for zh.
2004-12-05 02:17:21 +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
5571242dd7
Fix indentation, add profiling points
2004-11-25 23:49:52 +00:00
Brion Vibber
a099de2322
Don't try to dl() the wikidiff module if it's already loaded.
2004-11-21 03:54:26 +00:00
Brion Vibber
b603401c08
More doc comment fiddling
2004-10-28 06:05:22 +00:00
Antoine Musso
28ea816fba
Implementing user levels management. This is only a very basic interface and several things need to be done! A tracking bug is at http://bugzilla.wikipedia.org/show_bug.cgi?id=767
2004-10-24 19:14:48 +00:00
Tim Starling
412eda0517
Correcting bugs due to double-prefixing table names. Removing obsolete Database member functions. Adding comments to Database.php
2004-10-24 07:10:33 +00:00
Brion Vibber
8a70a3f4d3
Reduce dependence on $wgOut global in the difference formatter; just buffer up the output and give it to $wgOut in a lump.
...
Also added DifferenceEngine::getDiff() so you can get a diff without sending it to $wgOut.
2004-10-09 02:53:11 +00:00
Brion Vibber
88e274b346
XHTML fix: escape links put into HTML
2004-10-03 01:45:45 +00:00
Jens Frank
c03d9ab67b
Add previous/next links to old revision pages
2004-10-02 21:36:36 +00:00
Jens Frank
186f6c4d5e
Moved 'get previous/next revision' code from DifferenceEngine to Title'
2004-10-02 19:49:54 +00:00
Brion Vibber
332a0cf268
Back out kturner's old table restructure for now.
...
This will require downtiime on upgrade, so we're not going to do it until we have a better idea of the cost and can make all necessary changes at once to minimize it.
2004-09-26 19:49:44 +00:00
River Tarnell
705c7680fc
remove old_namespace and old_title from old table.
2004-09-26 14:43:12 +00:00
Zheng Zhu
f84493db51
First batch of files modified to switch wgLang to wgContLang.
2004-09-24 13:14:52 +00:00
Tim Starling
29bae1fd56
better debug info
2004-09-11 09:41:42 +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
Arne Heizmann
b417a82c1a
Oops. Don't double-escape this.
2004-08-30 23:45:05 +00:00
Arne Heizmann
e037d70026
comment was incomplete
2004-08-30 23:23:10 +00:00
Arne Heizmann
d58b0d43f3
Re-insert my changes to the Diff engine that make it so that the original text is diffed
...
and only HTML-escaped on output. JeLuF was seeing unescaped HTML because he had
$wgUseExternalDiffEngine turned on; hence, this commit makes it so that pre-escaped text is
sent to such an external engine just as before. Also fixes indentation and readability
issues, adds a few comments, and removes trailing whitespace in only 4(!) lines. :)
2004-08-30 23:17:04 +00:00
Jens Frank
644f1d9067
BUG#244 Backed out changes done in Patch 1.33 due to major
...
security problems. HTML tags were not escaped and it was possible to execute arbitrary javascript code
2004-08-29 19:07:18 +00:00
Jens Frank
8444069f2b
Fix handling of oldest revision with diff-links from the user contributions.
...
ENH#228 Have next/previous links in diffs.
2004-08-29 18:13:23 +00:00
Jens Frank
79303cd93a
ENH#59 Provide a (diff) link in Special:Contributions
...
Does not look up the next old revision for every change but links to pseudo-revision 'prev'.
DifferenceEngine looks up the previous revision if user requests a specific diff.
2004-08-28 23:00:04 +00:00
Arne Heizmann
2a56d619e2
instead of HTML-escaping everything and then creating a diff of it, diff the original
...
text and HTML-escape each bit when we actually output it. Fixes
http://bugzilla.wikipedia.org/show_bug.cgi?id=216 in a non-hacky way.
2004-08-28 21:37:56 +00:00
Arne Heizmann
487722221b
make "Revision as of [time] [date]" link to the relevant revision
2004-08-28 19:08:17 +00:00
Brion Vibber
82571fa72d
Add back the slower version of Title::makeTitle as Title::makeTitleSafe()
...
and use it in a few places where user names, images, or messages are being
used to create titles.
2004-08-22 23:55:36 +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
Arne Heizmann
52bb460dc4
If you really must have a useless $wgUseRCPatrol option, might as well use it
...
consistently everywhere to ensure that setting it to 0 actually does disable the
feature. Also, tell the user that it is disabled if they happen to follow a link
with &action=markpatrolled in it. Additionally, make &action=markpatrolled say
"log in required" if the user is not logged in.
2004-08-09 23:30:02 +00:00
Jens Frank
ede710c2c2
Make RC patroling an optional feature that can be turned off by setting wgUseRCPatrol to false.
...
Enabled by default
2004-08-09 18:58:43 +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
Jens Frank
61c6f0b223
Integrated C++ wikidiff engine. Enable by setting wgUseExternalDiffEngine to true.
...
Needs wikidiff module from the extensions package and SWIG to compile.
2004-08-08 02:20:00 +00:00
Brion Vibber
66cd1734c5
Switch literal \xA0 for unicode-friendly  
2004-08-02 01:38:54 +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
Tim Starling
b96b707efa
OOP calling convention for database functions. DBMS abstraction implemented by means of functions instead of global variables, PostgreSQL object converted to a subclass instead of a drop-in replacement. Also the beginnings of a flexible table name feature.
2004-07-10 03:09:26 +00:00
Gabriel Wicke
0c16f4bc90
more cssification of diff rendering, some " -> ' in diff engine
2004-06-12 01:24:10 +00:00
Brion Vibber
6ee4547539
Remove damage to diffs
2004-06-11 23:28:50 +00:00
Domas Mituzas
c0e96b9152
table name old->"old" for PG
2004-06-11 14:46:25 +00:00
Domas Mituzas
9cac06d2cc
Remove 'USE INDEX' for non-mysql
2004-06-09 16:14:41 +00:00
Tim Starling
c20c05d91f
profiling bracket around main entry point
2004-06-06 14:23:04 +00:00
Brion Vibber
34ceac3add
Whitelist and diff fixes:
...
* Enforce whitelist on oldid and diff specifiers (bug 950911)
* Show the titles given for oldid and diff if they differ (UI change related to bug 622636)
* Use canonical text form in $wgWhitelistRead
2004-05-11 09:47:41 +00:00
Brion Vibber
3c736bf807
Well-formedness error
2004-04-22 09:03:21 +00:00
Tim Starling
5f4c1f24e5
Edit summary in diff header, written by Angela
2004-04-17 07:37:55 +00:00
Erik Moeller
9cd97d0197
use CSS for formatting diffs
2004-04-12 18:07:19 +00:00
Brion Vibber
fe5ff59ad6
XHTML fixes.
2004-04-09 01:37:41 +00:00
Brion Vibber
3d2a067e8c
HTML tweaks inching towards XHTML-friendly output. To test:
...
$wgMimeType = "text/xml";
$wgDocType = "-//W3C//DTD XHTML 1.0 Transitional//EN";
$wgDTD = "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ";
Mozilla will spit out angry erorrs at all the well-formedness errors.
2004-04-03 10:01:08 +00:00
Tim Starling
e44fec8359
restored width=98%, like I already did with the top table
2004-04-03 05:57:38 +00:00