r87995 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87994‎ | r87995 | r87996 >
Date:15:44, 13 May 2011
Author:janpaul123
Status:ok (Comments)
Tags:
Comment:
Updated documentation
Modified paths:
  • /trunk/extensions/WikiLove/WikiLove.api.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiLove/WikiLove.api.php
@@ -95,11 +95,14 @@
9696 public function getParamDescription() {
9797 return array(
9898 'title' => 'Title of the user or user talk page to send WikiLove to',
99 - 'text' => 'Wikitext to add in the new section',
 99+ 'text' => 'Raw ikitext to add in the new section',
100100 'token' => 'Edit token. You can get one of these through prop=info',
101101 'subject' => 'Subject header of the new section',
102 - 'template' => 'Template used in the wikitext (for statistics)',
103 - 'type' => 'Type of WikiLove (for statistics)',
 102+ 'template' => 'Template name used in the wikitext (for statistics)',
 103+ 'type' => array( 'Type of WikiLove (for statistics); this corresponds with a type',
 104+ 'selected in the left menu, and optionally a subtype after that',
 105+ '(e.g. "barnstar-normal" or "kitten")',
 106+ ),
104107 );
105108 }
106109
@@ -107,8 +110,9 @@
108111 return array(
109112 'Give WikiLove to another user.',
110113 "WikiLove is a positive message posted to a user's talk page through a",
111 - 'convenient interface with preset images and templates. For statistical',
112 - 'purposes, the type and template (among the other data) are logged.',
 114+ 'convenient interface with preset images and templates. This action adds',
 115+ 'the specified wikitext to a certain talk page. For statistical purposes,',
 116+ 'the type and template (among the other data) are logged.',
113117 );
114118 }
115119

Follow-up revisions

RevisionCommit summaryAuthorDate
r88358refactored to depend less on templates, you can now build most items with jus...kaldari22:25, 17 May 2011

Comments

#Comment by Krinkle (talk | contribs)   22:27, 31 May 2011
-			'text' => 'Wikitext to add in the new section',
+			'text' => 'Raw ikitext to add in the new section',

Little typo there. Fixed in r88358.

Status & tagging log