Commit graph

133 commits

Author SHA1 Message Date
Tim Starling
b9a44c69db Bringing calling convention into line with 1.3, for compatibility with plugin 2004-12-11 11:32:53 +00:00
Jens Frank
8d35a677b2 Bug 985 Fix auto-summary for section edits 2004-12-05 23:16:35 +00:00
Evan Prodromou
4b42f18b66 Removed CVS keywords from files, to make merging between branches
easier. Interpolated keywords cause lots of conflicts and headaches at
merge time for older (<1.12.x) CVS versions.
2004-11-29 18:25:30 +00:00
Evan Prodromou
f2b7dcc7b1 Add event hooks for article save. Documented in hooks.doc, and example
in Syslog extension.
2004-11-28 06:45:24 +00:00
Brion Vibber
be934bc08a Move edit toolbar generation code from the Skin to the EditPage user interface, where it belongs. 2004-11-25 13:52:56 +00:00
Shane King
23a94cea16 Added the ability to protect a page from moves but not from edits. See
bug #868.
2004-11-24 12:55:48 +00:00
Brion Vibber
7da809b1c2 fix notice: uninitialised var 2004-11-19 12:50:21 +00:00
Jens Frank
5c65524a10 removed sectionedit and commentedit messages. Replaced by editingsection and editingcomment messages.
Should be easier to translate for languages that want to have the (section) somewhere else than at the end
2004-11-06 09:21:28 +00:00
Brion Vibber
358d9ef5a3 Bug 774: section=new does not jump to the added section after save 2004-10-26 05:44:54 +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
801d0257b2 Work around weird vanishing form data problem (http://bugs.php.net/bug.php?id=22427 ) 2004-10-16 02:36:51 +00:00
Emmanuel Engelhart
154571e192 + checkUnicodeCompliantBrowser() and code to show if necessary a warning message 2004-10-10 21:30:17 +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
Wil Mahan
45b3ac166d Fix bug 56, which causes sections to be dropped or duplicated
in edit conflicts during section editing.
2004-09-19 20:58:10 +00:00
Antoine Musso
4d31897764 cvs version in phpdoc format ( @version ) 2004-09-19 17:12:31 +00:00
Antoine Musso
ec5fffe8ed Allow user to always preview text on editing ( implement http://bugzilla.wikipedia.org/show_bug.cgi?id=530 ) 2004-09-19 17:09:12 +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
7497367341 phpdocumentor comments placeholders 2004-09-03 16:51:45 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +00:00
Jens Frank
dac2ca94f4 BUG#160 Internationalize display of numbers:
* section numbers in TOC
* file size in edit page warning for big articles.
2004-08-28 19:08:49 +00:00
Jens Frank
73d29eea48 Remove call to parserOptions::setUseCategoryMagic. No longer needed with CategoryPage.php 2004-08-26 20:45:26 +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
d64197636f Don't load DifferenceEngine.php when not needed. This saves 200-300kb of ram. 2004-08-21 09:32:34 +00:00
Tim Starling
795cf11018 fix notice 2004-08-20 15:32:56 +00:00
Tim Starling
b6685480c2 FOR UPDATE mode for Article class, and for getArticleID function of Title. Using these modes in EditPage.php to prevent odd things happening on section edits and merged conflicts 2004-08-20 14:59:49 +00:00
Domas Mituzas
cb15d38e29 database timestamp fixup 2004-08-20 11:01:36 +00:00
Arne Heizmann
c5f7ded2f4 fix indentation 2004-08-19 11:43:48 +00:00
Jens Frank
4fc9a17db0 Show list of templates used by this page at the end of the EditPage. Bugzilla#143 2004-08-19 11:26:44 +00:00
Brion Vibber
f0aa57de1c The last checkin changed 'copyrightwarning' in a way that broke if the
wiki wasn't configured to provide copyright metadata, and requires editing
or rebuilding the message if the configuration is changed.

Now uses the value in existence at runtime so it can be reconfigured more
easily, and adds a 'copyrightwarning2' message which changes the wording
a bit to be used when no copyright metadata is provided.

This change should be more upwards-compatible. Also, changed 'copyrightwarning'
to be wikitext instead of raw HTML; this shouldn't break any of the built-in
texts but might requires adjustment to customized versions.
2004-08-18 00:04:06 +00:00
Arne Heizmann
01faac3d37 Display the text the spam regexp matched. Patch by akl. 2004-08-13 20:52:15 +00:00
Brion Vibber
cdfd80a38b Correct typo that broke edit conflict screen 2004-07-30 20:43:59 +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
Tim Starling
d56d507cac bug fix 2004-07-10 01:09:36 +00:00
Brion Vibber
a8d224b722 <large> is not a real tag. It doesn't do anything and would cause
XHTML 1.0 transitional validation to fail, so chucking it.
(bug #981237)
2004-06-30 07:45:47 +00:00
Brion Vibber
9fe232c102 Change id='wpSave' to correct id='wpPreview' (bug #981868) 2004-06-30 07:38:33 +00:00
Tim Starling
3c4d38faee Removed arbitrary change in timestamp formats between MySQL and PostgreSQL, moved global functions to GlobalFunctions 2004-06-29 12:23:59 +00:00
Tim Starling
24d8a8e50b new anti-bot code 2004-06-21 07:41:53 +00:00
Tim Starling
72adcbd659 Show category links in preview 2004-06-19 06:46:54 +00:00
Gabriel Wicke
f0d23d77da added id for copywarn message on edit page 2004-06-15 21:40:19 +00:00
Domas Mituzas
888f42f4ab * use different timestamp parsing regexps for PG/MySQL
* use old->"old" for PG
2004-06-11 14:45:39 +00:00
Gabriel Wicke
2fa717d4f6 ids on submits 2004-06-10 18:42:05 +00:00
Brion Vibber
796fec1321 Fixes for the edit help popup link:
* Now works w/ JavaScript disabled
* Doesn't override window chrome to make things unusable
* Doesn't hardcode window dimensions
* Notifies the user that it'll be a popup (new msg 'newwindow')

(The link is a popup because IE and perhaps other browsers will destroy
the edited page text if you go to another page then hit 'back'.)
2004-06-09 06:59:05 +00:00
Gabriel Wicke
c410b3f316 section anchor cleanup, unurlencode : 2004-06-05 10:34:32 +00:00
Gabriel Wicke
a0fbb5e730 section anchor encoding:
'%' -> '.'
pseudo-urlencoded for enough uniqueness in non-ascii languages
2004-06-02 15:19:28 +00:00
Gabriel Wicke
1c974f646f enable redirects for urlencoded anchor names 2004-06-01 19:51:22 +00:00
Gabriel Wicke
5f08be1bae show language links on preview 2004-06-01 18:29:52 +00:00
Gabriel Wicke
cef4acffba show scrollbars in help window 2004-06-01 09:36:28 +00:00