Commit graph

237 commits

Author SHA1 Message Date
Antoine Musso
131e27f157 XHTML fix 2004-10-27 23:37:05 +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
Tim Starling
25b60fa1a0 fixed profiling error 2004-10-23 10:20:38 +00:00
River Tarnell
7a24bea2e7 fix potential xss attack 2004-10-14 04:50:14 +00:00
Wil Mahan
361c38da86 Use the new wfRandom() function for setting cur_random 2004-10-11 19:17:34 +00:00
Brion Vibber
03e42a53d6 old_text conversion on load, for future UTF-8 conversion of en.wikipedia.org and remaining holdouts.
* When not $wgUseLatin1, saved revisions are now marked with 'utf-8' in old_flags
* When $wgLegacyEncoding is set, an old row without 'utf-8' in old_flags is converted from $wgLegacyCharset to $wgInputEncoding at load time (after gzip decompression if applicable). Thus the old_text fields will not need to be modified when the wiki is converted; this will mainly be useful after the SCHEMA_WORK changes are made so that the other fields in the old table are discarded (they will need to be separately converted anyway)
2004-10-08 08:46:25 +00:00
Jens Frank
c03d9ab67b Add previous/next links to old revision pages 2004-10-02 21:36:36 +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
5188eebdf5 Set $fname to prevent warning in edit conflicts 2004-09-22 16:20:34 +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
Tim Starling
97643f63f9 Improved consistency in handling redirects. If #redirect [[Special:Userlogout]] isn't a redirect, it shouldn't be treated like one in various places. 2004-09-11 11:39:24 +00:00
Jens Frank
7be4991983 New user option. Provides a setting to limit the image size on image description pages. 2004-09-10 00:53:31 +00:00
Domas Mituzas
f8b32ec8db editupdates tsfix 2004-09-07 08:16:38 +00:00
Domas Mituzas
277c2f0ddc yet another group by fix! 2004-09-06 10:14:32 +00:00
Domas Mituzas
41791946ad fix GROUP BY 2004-09-06 10:02:16 +00:00
Brion Vibber
f3ec5c9291 Fix missing quotes in query which broke metadata XML loading 2004-09-06 09:00:44 +00:00
Antoine Musso
a0d30b1e03 Use the new skin tree hierarchy 2004-09-05 03:25:58 +00:00
Antoine Musso
cab1e5d817 some documentation 2004-09-03 00:20:26 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +00:00
Arne Heizmann
bb4b485679 We should try not to use the same message for different things :/ 2004-09-01 21:53:50 +00:00
Domas Mituzas
36530b6e55 get rid of all INSERT IGNORE in includes/, change into Database::insertArray 2004-09-01 12:29:07 +00:00
Arne Heizmann
a67ae36cfa display "view current revision" link on old revisions. (This means that the
Classic skin will have it twice in different places, but I hope people won't mind.)
2004-09-01 03:01:37 +00:00
Arne Heizmann
7eaaa7f7f5 remove trailing white space (sorry) 2004-09-01 02:57:26 +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
f621158326 NP_WIKIPEDIA => NP_PROJECT, and code readability stuff 2004-08-28 17:53:12 +00:00
Erik Moeller
f67b9ac43b do not parse malformed sections for section editing (fix bug #186) 2004-08-24 18:04:37 +00:00
Brion Vibber
41e752879c Special:Log and the logging table -- unified logging scariness!
Replaces the ugly, often breaking, manually archived log pages with
a nice clean table which can be sorted, trimmed, viewed in pieces, etc.
You can see all logged actions by some user, or affecting some page,
and can combine the views of all all logs in one.

There are probably still some broken things in here, but I want this
committed before the patch gets any bigger.

recentchanges table is altered to make rc_namespace signed so Special:
links can be listed in it.
2004-08-24 08:11:46 +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
Tim Starling
af496e87c6 minor bug fix 2004-08-21 15:14:56 +00:00
Tim Starling
db350f2bf6 Replaced link holders with actual links before saving into the cache, thereby speeding up parser cache hits. Profiling confirms a marked decrease in cache hit service time 2004-08-21 14:56:07 +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
Brion Vibber
370ef81916 Stray space 2004-08-21 08:50:49 +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
3aca2181ff fixup timestamps 2004-08-20 12:47:46 +00:00
Domas Mituzas
facfb655f7 fixup database timestamps 2004-08-19 12:59:57 +00:00
Jens Frank
f11481e968 Don't follow redirects pointing to Special:Userlogout 2004-08-16 04:42:48 +00:00
Brion Vibber
fbfb479b19 Validation tweaks:
* Code style consistency
* Use $wgRequest (comments now correctly encoded for eo)
* When disabled, show 'nosuchaction' and 'nosuchspecialpage' errors if triggered
2004-08-16 01:59:53 +00:00
Antoine Musso
06f23deb79 minor code standardization 2004-08-14 19:33:59 +00:00
Tim Starling
5698c6bcc7 Allowed post-parse link cache to be used for update as well as page view. This involves changes to Article::showArticle() and maintenance/refreshLinks.inc. Fixed various bugs that I noticed along the way. Added an option to recover the old 1.3.x behaviour, for profiling and debugging. 2004-08-14 13:34:57 +00:00
Arne Heizmann
31d5be7b78 slight bugfix to patrol feature, thanks to maveric149 for finding it 2004-08-14 06:40:14 +00:00
Antoine Musso
b148476df9 * using template : function foo() {
* Indentation fix (space to tab)
2004-08-12 14:27:38 +00:00
Arne Heizmann
4c38af21dc gah. 2004-08-10 22:01:30 +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
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
Brion Vibber
a55d07c1ef Suppress notices 2004-08-08 09:39:16 +00:00
Tim Starling
d73935a5f0 New feature, nicer display of redirects. Removed special case for redirects from Parser.php, which probably would have caused problems anyway. Changed a few places to use NS_xxx constants instead of the old Namespace:: functions. 2004-08-07 03:50:46 +00:00
Jens Frank
d53fdff1c2 Bug [ 969913 ] When (un)watching a page, returnto now points to (un)watched page instead of Main Page. 2004-08-06 05:51:09 +00:00