r111941 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r111940
|
r111941
|
r111942
>
Date:
17:26, 20 February 2012
Author:
yaron
Status:
resolved (
Comments
)
Tags:
Comment:
Added default 'link text' value if link points to Special:RunQuery, using new #queryformlink parser function
Modified paths:
/trunk/extensions/SemanticForms/includes/SF_Utils.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/SemanticForms/includes/SF_Utils.php
—
—
@@ -894,6 +894,9 @@
895
895
// Set defaults.
896
896
$inFormName = $inLinkStr = $inLinkType = $inTooltip =
897
897
$inQueryStr = $inTargetName = '';
898
+ if ( $specialPageName = 'RunQuery' ) {
899
+ $inLinkStr = wfMsg( 'runquery' );
900
+ }
898
901
$classStr = "";
899
902
$inQueryArr = array();
900
903
Follow-up revisions
Revision
Commit summary
Author
Date
r111957
bugfix (accidental assignment)
foxtrott
19:56, 20 February 2012
Comments
#
Comment by
Nikerabbit
(
talk
|
contribs
)
07:46, 21 February 2012
You probably want ===, not =.
Status & tagging log
07:59, 21 February 2012
Nikerabbit
(
talk
|
contribs
)
changed the
status
of r111941
[
removed:
fixme
added:
resolved]
07:46, 21 February 2012
Nikerabbit
(
talk
|
contribs
)
changed the
status
of r111941
[
removed:
deferred
added:
fixme]