Brion Vibber
bcf653c8f9
* (bug 3979) Save correct {{REVISIONID}} into parser cache on edit
...
* Substitute {{REVISIONID}} correctly in diff display
Removed hook for revision-id override, avar will change his extension to use the new system
2005-11-27 06:04:41 +00:00
Tim Starling
9c9f7fd57f
Implemented diff cache
2005-11-15 11:12:21 +00:00
Niklas Laxström
9c88904023
mediawiki:missingarticle to wikitext
2005-10-22 21:33:59 +00:00
Tim Starling
2157b6afbf
Fixed resource exhaustion problems due to long lines, e.g. http://en.wikipedia.org/w/index.php?title=New_Zealand&diff=prev&oldid=21847163
2005-08-31 02:22:05 +00:00
Niklas Laxström
2497a5511b
white-space: indentation
2005-08-15 12:11:10 +00:00
Niklas Laxström
93b4a21628
wfMsgHtml, id's to links, new akeytt() for testing
2005-08-02 11:41:35 +00:00
Brion Vibber
b0c41ad13b
* (bug 2885) Fix fatal errors and notices in PHP 5.1.0beta3
...
* (bug 2931) Fix additional notices on reference use in PHP 4.4.0
2005-07-22 11:29:15 +00:00
Brion Vibber
f8e302ec6a
* (bug 2620) Return to prior behavior for some more things (such as
...
subpage parent links) on current-diff view.
2005-06-30 06:11:07 +00:00
Brion Vibber
814778dcf9
* (bug 2614) Fix section edit links on diff-to-current with oldid set
...
Also fix navigation links on current-with-oldid view.
2005-06-29 23:44:03 +00:00
Jens Frank
4b76b80dae
(bug 2562) Show rollback link for current revisions on diff pages
2005-06-28 21:05:31 +00:00
Erik Moeller
8a3c7e3e89
1) actually do what it says (only use external diff when set in user prefs)
...
2) fix metafile (Special namespace is transferred, it's up to the script
whether it wants to log in, not really needed for diffs, though perhaps if
rollback etc. is to be implemented)
2005-04-13 21:06:09 +00:00
Erik Moeller
e7b1a9e8e3
1) add new preference: use external diffs (uses same framework as external
...
editors)
2) support for external diffs
3) shuffle some user preferences around
2005-04-12 03:36:20 +00:00
Antoine Musso
3825e915be
typo
2005-03-29 16:31:16 +00:00
Antoine Musso
3a6533e6dd
code formatting
2005-03-29 15:49:06 +00:00
Brion Vibber
92bb6aff58
Fail gracefully when given bogus revisions
2005-03-20 10:31:55 +00:00
Brion Vibber
014a1d1bab
Cruft war continues: more uses of isAnon() and isLoggedIn()
2005-02-21 12:46:37 +00:00
Brion Vibber
5a9e8c8c62
Audit tweaks: extra post checks, markup fixes.
2005-02-21 01:56:50 +00:00
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