Brion Vibber
271cfe07aa
* Fix XHTML validity error for pages with apostrophe (bug introduced in head, 1.3 looks quoted properly)
2004-10-03 01:31:12 +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
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
d0678c8e1c
fix typo
2004-08-28 18:54:23 +00:00
Arne Heizmann
2f2ac9175d
some code readability and "->'
2004-08-28 17:34:54 +00:00
Erik Moeller
67b3d708f8
adds '->' links to section before autogenerated section edit comments,
...
in recent changes, history, watchlist and contributions list. '->' is
defined in MediaWiki:sectionlink.
closes http://bugzilla.wikipedia.org/show_bug.cgi?id=45
2004-08-24 17:19:37 +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
Brion Vibber
41c8b7bf72
Antiglobalization!
...
* Remove some unused and some useless functions from GlobalSettings.php
* wfEscapeHTML() replaced with PHP built-in htmlspecialchars().
* Moved some functions into Parser.php and Image.php
2004-08-13 15:55:59 +00:00
Domas Mituzas
ad871685be
wfLimitResult() -> Database::limitResult()
2004-08-10 13:58:55 +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
Brion Vibber
6c8ce97c13
Be a little more careful about escaping displayed usernames
2004-06-24 05:32:52 +00:00
Tim Starling
8139bda498
moving new history copyright text to the bottom of revisions, making '-' the default text
2004-06-21 07:55:16 +00:00
Tim Starling
f277bbb85c
history copyright
2004-06-21 04:19:40 +00:00
Domas Mituzas
cd772bb357
* table name: use "old" instead of old for PG
...
* use wfLimitResult for lists with offsets
2004-06-11 14:44:13 +00:00
Gabriel Wicke
c623db3b08
id 'historysubmit' on lower submit button for changing the access keys
2004-06-10 18:49:24 +00:00
Domas Mituzas
9cac06d2cc
Remove 'USE INDEX' for non-mysql
2004-06-09 16:14:41 +00:00
Gabriel Wicke
923f5e9db3
easy fix for #969367
2004-06-09 10:19:25 +00:00
Gabriel Wicke
d2a5b4ca56
-
2004-05-27 13:45:03 +00:00
Gabriel Wicke
f6ba8f7c2f
dumdidum..
2004-05-27 13:19:57 +00:00
Gabriel Wicke
7fa4cafa17
$this->mTitle->escapeLocalURL
2004-05-27 12:36:22 +00:00
Gabriel Wicke
42d73a77f7
title escaping
2004-05-27 11:26:04 +00:00
Gabriel Wicke
c2b13b75fa
tweaks to page history
2004-05-24 22:13:23 +00:00
Gabriel Wicke
5d5c96e65e
second submit button on top, input instead of button for more consistent styling, xhtml nesting fix
2004-05-24 10:37:18 +00:00
Gabriel Wicke
98b8ce7cf5
access key and tooltip for 'compare selected versions' button, defaults to 'v'
2004-05-21 16:03:46 +00:00
Gabriel Wicke
7bbd0f1608
m moved to start of comment
2004-05-21 09:27:35 +00:00
Gabriel Wicke
e1ea205273
htmlspecialchars instead of urlencode
2004-05-18 12:50:53 +00:00
Gabriel Wicke
99e923553e
Arbitrary diff selection without javascript
...
The checkboxes are replaced by two columns of radio boxes. If js is available it does some styling tasks/makes sure sensible version combinations are selected.
2004-05-18 12:36:13 +00:00
Gabriel Wicke
75885b7ff7
minor bug
2004-04-10 00:05:49 +00:00
Gabriel Wicke
5ece805523
tab in indexes on 'last' links
2004-04-09 23:55:48 +00:00
Gabriel Wicke
ae9722ad4c
moved script outside the ul
2004-04-09 15:40:55 +00:00
Brion Vibber
78d09d6e75
XHTML protection
2004-04-09 00:59:39 +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
Brion Vibber
f72a855766
A little HTML cleanup on diff links
2004-04-02 06:09:58 +00:00
Mr. E23
ddb1eede15
Using full URL instead of relative for js arbitrary diff, since relative URLs seem to cause security warnings on some browsers
2004-03-26 15:38:04 +00:00
Erik Moeller
dbc5dc019d
1) section editing auto-summaries are now formatted as /* foo */
...
2) in RC, SpecialContributions and PageHistory, these are displayed using
the CSS class "autocomment" (gray in the standard skin)
2004-03-24 01:49:46 +00:00
Gabriel Wicke
eb5797d23b
added class for styling
2004-03-22 23:53:58 +00:00
Brion Vibber
b59ce22943
Replace the random boolean parameters on Title::getURL() with a set of
...
practical, clear methods:
Title::getLocalURL() - "/wiki/index.php/Foobar" or "/wiki/index.php?title=Foobar&action=edit"
Title::getFullUrl() - ditto with $wgServer on the front
Title::getInternalUrl() - ditto with $wgInternalServer on the front (for some squid-related functions)
Title::escapeLocalUrl() - local URL escaped for HTML output
Title::escapeFullUrl() - full URL escaped for HTML output
All take an optional query parameter.
Title::getURL(), wfFullUrl() and wfFullUrlE() are now officially
deprecated and will result in instant death. wfLocalUrl() and wfLocalUrlE()
will be killed shortly; they are still used in the language files.
2004-03-07 07:26:56 +00:00
Tim Starling
840dee3ad4
* Fixed magic quotes in $_REQUEST, in Setup.php
...
* Converted many instances of globals from the query to $_REQUEST
* Renamed near-useless Title::getURL() to Title::getPartialURL()
* Created new Title::getURL(), to replace wfLocalUrl, wfLocalUrlE, wfFullUrl and wfFullUrlE. Replaced most instances throughout the code
* In Parser.php, generalised stripping of <nowiki>, <pre> and <math> to allow more general use such as nesting
* Moved body of Article::preSaveTransform to Parser.php
* Put lots of comments in Title.php
2004-03-06 01:49:16 +00:00
Mr. E23
1b9e4b9992
Fixed bug causing diffs with cur to produce wrong result. Checkbox only showed if > 1 revision is shown on the page. Some code cleanup.
2004-02-07 00:08:55 +00:00
Mr. E23
9889d0f0f0
Fix for problem diffing with current revision
2004-02-06 14:46:01 +00:00
Mr. E23
c8ed712ea5
Feature for diffing any two revisions.
2004-01-31 04:10:53 +00:00
Jens Frank
58c8694cae
Feature-Request #816659,#668443: No (next 50) link if there is no next page
...
Implemented for:
PageHistory,
QueryPage and all derived from it,
SpecialContributions
2004-01-20 19:02:12 +00:00
Tim Starling
a12ffe0cea
Bug fixes: watchlist and recent changes linked were broken in the last commit
2004-01-17 09:49:43 +00:00
Brion Vibber
11e1749f49
Tweak offset/limit parameters for correctness. Enable 'last' diff link on
...
the last shown entry if there are further available entries, so it doesn't
look like the history ends there.
2003-12-21 12:33:34 +00:00
Brion Vibber
0020aa84d1
Split off page history code to PageHistory.php out of Article.php and Skin.php.
...
No substantive changes yet.
2003-12-21 12:01:29 +00:00