Commit graph

56 commits

Author SHA1 Message Date
Magnus Manske
bb9e60d999 now sysops only can change the topic list 2005-08-06 14:58:43 +00:00
Ævar Arnfjörð Bjarmason
d69ce54118 * Proper usage of $1 2005-08-06 10:38:26 +00:00
Magnus Manske
1eeffaa68f Quick memory-saving fix 2005-08-06 10:23:56 +00:00
Magnus Manske
d56ffd1ece Pagination, done. Ready. Finished. All over. 2005-08-06 09:55:25 +00:00
Magnus Manske
6d64fd427f Pagination, part 1 2005-08-06 08:33:42 +00:00
Magnus Manske
04c7e55b1a fixes 2005-08-05 12:29:01 +00:00
Magnus Manske
3fa0ff73a3 better SQL calls 2005-08-05 12:02:32 +00:00
Magnus Manske
c3bf50bff4 removed I-am-sure checkbox 2005-08-05 06:34:01 +00:00
Magnus Manske
ecfe0e38fe Fixes for patch 2005-07-07 18:45:22 +00:00
Magnus Manske
96a61eaf14 Patch by David Iberri 2005-07-07 17:09:10 +00:00
Magnus Manske
6f4d48d913 validation feature updates 2005-06-22 17:33:28 +00:00
Brion Vibber
f8d1bc3ce3 Make an attempt to fix some more problems:
* incorrect escaping of URL components
* missing escaping of URLs in <a href> tags
* don't try to place HTML-formatted wikitext into a single-quoted attribute value
* an odd str_replace
* some other XHTML bits
2005-06-21 21:35:48 +00:00
Magnus Manske
c042af512e fixes to broken HTML messages; table markup now CSS 2005-06-21 19:59:19 +00:00
Ævar Arnfjörð Bjarmason
164f13e841 * plain & is invalid in XML 2005-06-19 16:15:18 +00:00
Magnus Manske
ff7acb3890 Validation feature misc updates 2005-06-12 14:11:29 +00:00
Brion Vibber
5e202cd323 Get this more or less in line with code formatting standard.
Fix some HTML/JS injection bugs. Some aggressive escaping; some message bits should be wikified.
Some database bits fixed up for current db system; others need to be done still.
2005-06-01 05:59:43 +00:00
Magnus Manske
130cae2878 Validation feature update; someone please update the DB updater! 2005-05-23 21:01:02 +00:00
Magnus Manske
2c4d15154a validation updates 2005-05-21 18:27:55 +00:00
Magnus Manske
48bf97d21a validation updates 2005-05-21 14:09:24 +00:00
Ævar Arnfjörð Bjarmason
8ef2eb8092 * & is invalid when it's unespecad inside attributes, please make sure your
output matches the XML specification.
* Don't use $x = wfMsg( 'foo' ); $x = str_replace( '$1', 'bar', $x ) when you
  can use $x = wfMsg( 'foo', 'bar' );
2005-05-15 17:03:55 +00:00
Magnus Manske
8186aba025 Validation database prefix fix 2005-05-14 11:49:11 +00:00
Magnus Manske
c04a3542d9 change to timestamp-sorted revisions 2005-03-21 19:30:02 +00:00
Magnus Manske
2a166cda5d Removed old code 2005-03-20 19:08:37 +00:00
Magnus Manske
ed73318336 validation improvements 2005-03-18 23:08:25 +00:00
Magnus Manske
4774018828 validation improvements 2005-03-18 21:59:13 +00:00
Magnus Manske
cd724523d6 The return of the validation feature (caveat: new table scheme!) 2005-03-18 15:02:27 +00:00
Brion Vibber
f7970a5e6f Move some of Magnus's experiments out of the main tree: Special:Data and Special:Validate 2005-02-18 11:27:10 +00:00
Antoine Musso
991f798587 * Remove some hardcoded 0 instead of NS_MAIN
* Note in define.php that people should NOT change the integer values for NS_* constants
2005-01-11 18:18:16 +00:00
Brion Vibber
963901c8dd * Drop a couple instances of wfTimestamp2Unix & reverse for wfTimestamp()
* Make wfTimestampNow() a wrapper on wfTimestamp()
* Add some tests and docstrings
2004-10-19 07:12:15 +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
92ac1abaa7 untested, but I'm pretty sure this fixes
http://bugzilla.wikipedia.org/show_bug.cgi?id=226
2004-08-28 22:11:47 +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
Arne Heizmann
539cdf55f6 Wrap the radio buttons in <span style='white-space: nowrap;'>. 2004-08-10 22:58:20 +00:00
Brion Vibber
797b07d809 Add escaping to SQL queries and HTML output. Also tweaked HTML to more or less pass as XML (haven't yet tested).
Fix for [ 1004067 ] article validation: SQL is unsafe
2004-08-06 08:04:55 +00:00
Magnus Manske
bd2c0ed7d5 Article validation code (list of validated pages) 2004-08-01 12:19:43 +00:00
Magnus Manske
77f3ed0506 Article validation code (bug fixes) 2004-08-01 09:47:50 +00:00
Arne Heizmann
28346910c6 Since nobody commented on this, I assume all the changes are OK
(http://mail.wikipedia.org/pipermail/wikitech-l/2004-July/011789.html)
Use wfMsg's own replacement functionality instead of str_replace ( "$1", ... )
2004-08-01 01:57:26 +00:00
Magnus Manske
df9be6ec21 Article validation code (bug fixes) 2004-07-31 21:23:14 +00:00
Magnus Manske
0362dd4171 Article validation code (version links on validation page) 2004-07-31 18:43:42 +00:00
Magnus Manske
6b4da8da8e Article validation code (article preview on validation page) 2004-07-31 15:42:29 +00:00
Magnus Manske
ff74ef5681 Article validation code (number of user validations) 2004-07-31 15:14:55 +00:00
Magnus Manske
477f1ce36b Article validation code (statistics update) 2004-07-31 13:55:52 +00:00
Magnus Manske
006d7a3bbb Article validation code (automatic version merging) 2004-07-28 20:18:00 +00:00
Arne Heizmann
a7c98b31ee - do not use str_replace to replace $1 in a message. Use wfMsg
- do not use "this article" as a link text. Use the article title
2004-07-25 19:31:48 +00:00
Magnus Manske
789c5d8e7d Article validation code 2004-07-25 16:05:36 +00:00
Magnus Manske
dabfc262ba Article validation code 2004-07-25 15:24:30 +00:00
Magnus Manske
fd34e637d2 Article validation code 2004-07-24 10:44:33 +00:00
Magnus Manske
bc08cee26e Article validation code 2004-07-23 20:58:43 +00:00
Magnus Manske
bfef9d4f81 Article validation code 2004-07-22 21:04:33 +00:00