Yuvipanda has uploaded a new change for review.
https://gerrit.wikimedia.org/r/204013
Change subject: Temporarily remove 'web' link URLs from main page listing
......................................................................
Temporarily remove 'web' link URLs from main page listing
Since portgranter is no longer being used, these will be
not up to date
Bug: T93046
Change-Id: I2d834b140dcf2f83a47f0cc1dab476be41c0432b
---
M www/content/list.php
1 file changed, 1 insertion(+), 11 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/labs/toollabs
refs/changes/13/204013/1
diff --git a/www/content/list.php b/www/content/list.php
index eae034a..c3bffe8 100644
--- a/www/content/list.php
+++ b/www/content/list.php
@@ -66,17 +66,7 @@
}
?>
<tr class="tool" id="toollist-<?= $tool ?>">
- <td class="tool-name"><?
-
- if(array_key_exists('url', $json)) {
- print "<a class=\"tool-web\" href=\"" . $json['url'] . "\">$tool</a>";
- } elseif(array_key_exists($tool, $tooldyn) && !array_key_exists(0,
$json)) {
- print "<a class=\"tool-web\" href=\"/$tool/\">$tool</a>";
- } else {
- print $tool;
- }
-
-?>
+ <td class="tool-name"><?=$tool?>
<span class="mw-editsection">
[<a
href="https://wikitech.wikimedia.org/w/index.php?title=Special:NovaServiceGroup&action=managemembers&projectname=tools&servicegroupname=tools.<?=$tool?>">manage</a>
maintainers]
</span>
--
To view, visit https://gerrit.wikimedia.org/r/204013
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d834b140dcf2f83a47f0cc1dab476be41c0432b
Gerrit-PatchSet: 1
Gerrit-Project: labs/toollabs
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits