├── upload
├── 4300528.png
├── style
│ └── style.css
└── index.php
├── LICENSE
├── readme.md
└── documents
├── index.html
└── style
└── style.css
/upload/4300528.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mah-shamim/45915-broken-link-wikipedia-reserch/HEAD/upload/4300528.png
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2024 MD ARIFUL HAQUE
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/readme.md:
--------------------------------------------------------------------------------
1 | Broken Link Wikipedia Reserch
2 | ==============================
3 |
4 | Wikipedia is one of the biggest, oldest and most authoritative websites on the internet which makes Wikipedia backlinks one of the most powerful links on the planet.\n
5 | It’s hard to do a Google search for any term that doesn’t list Wikipedia in the top 10.\n
6 | The site, the traffic and the authority isn’t going anywhere in the near future. So there is a lot to be gained from Wikipedia backlinks.\n
7 | The best bit? If your site is linked from a Wikipedia page it will generate additional links from other websites looking to use your site as a reference!\n
8 | So Wikipedia isn’t only a backlink, it’s a traffic generating, natural backlink generating machine! And is a worthy place of spending your time.\n
9 | This Tool is simple reserch for link broken in wiki page for edit \n
10 | A Wikipedia link will actually generate very relevant traffic to your website.
11 |
12 |
13 | **Requirements**
14 | - Wikipedia API based, PHP Script
15 | - Easy to configure and Edit
16 | - Single Configeration file to have basic settings and functions
17 | - Search inside Wikispecies database
18 |
19 |
--------------------------------------------------------------------------------
/documents/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Wikipedia Search
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | Wikipedia is one of the biggest, oldest and most authoritative websites on the internet which makes Wikipedia backlinks one of the most powerful links on the planet.
29 | It’s hard to do a Google search for any term that doesn’t list Wikipedia in the top 10.
30 | The site, the traffic and the authority isn’t going anywhere in the near future. So there is a lot to be gained from Wikipedia backlinks.
31 | The best bit? If your site is linked from a Wikipedia page it will generate additional links from other websites looking to use your site as a reference!
32 | So Wikipedia isn’t only a backlink, it’s a traffic generating, natural backlink generating machine! And is a worthy place of spending your time.
33 | This Tool is simple reserch for link broken in wiki page for edit
34 | A Wikipedia link will actually generate very relevant traffic to your website.
35 |
Requirements
36 | Wikipedia API based, PHP Script
37 | Easy to configure and Edit
38 | Single Configeration file to have basic settings and functions
39 | Search inside Wikispecies database
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/upload/style/style.css:
--------------------------------------------------------------------------------
1 | body{
2 | background:#dcdcdc;
3 | margin-top:20px;}
4 |
5 | .widget-26 {
6 | color: #3c4142;
7 | font-weight: 400;
8 | }
9 |
10 | .widget-26 tr:first-child td {
11 | border: 0;
12 | }
13 |
14 | .widget-26 .widget-26-job-emp-img img {
15 | width: 35px;
16 | height: 35px;
17 | border-radius: 50%;
18 | }
19 |
20 | .widget-26 .widget-26-job-title {
21 | min-width: 200px;
22 | }
23 |
24 | .widget-26 .widget-26-job-title a {
25 | font-weight: 400;
26 | font-size: 0.875rem;
27 | color: #3c4142;
28 | line-height: 1.5;
29 | }
30 |
31 | .widget-26 .widget-26-job-title a:hover {
32 | color: #68CBD7;
33 | text-decoration: none;
34 | }
35 |
36 | .widget-26 .widget-26-job-title .employer-name {
37 | margin: 0;
38 | line-height: 1.5;
39 | font-weight: 400;
40 | color: #3c4142;
41 | font-size: 0.8125rem;
42 | color: #3c4142;
43 | }
44 |
45 | .widget-26 .widget-26-job-title .employer-name:hover {
46 | color: #68CBD7;
47 | text-decoration: none;
48 | }
49 |
50 | .widget-26 .widget-26-job-title .time {
51 | font-size: 12px;
52 | font-weight: 400;
53 | }
54 |
55 | .widget-26 .widget-26-job-info {
56 | min-width: 100px;
57 | font-weight: 400;
58 | }
59 |
60 | .widget-26 .widget-26-job-info p {
61 | line-height: 1.5;
62 | color: #3c4142;
63 | font-size: 0.8125rem;
64 | }
65 |
66 | .widget-26 .widget-26-job-info .location {
67 | color: #3c4142;
68 | }
69 |
70 | .widget-26 .widget-26-job-salary {
71 | min-width: 70px;
72 | font-weight: 400;
73 | color: #3c4142;
74 | font-size: 0.8125rem;
75 | }
76 |
77 | .widget-26 .widget-26-job-category {
78 | padding: .5rem;
79 | display: inline-flex;
80 | white-space: nowrap;
81 | border-radius: 15px;
82 | }
83 |
84 | .widget-26 .widget-26-job-category .indicator {
85 | width: 13px;
86 | height: 13px;
87 | margin-right: .5rem;
88 | float: left;
89 | border-radius: 50%;
90 | }
91 |
92 | .widget-26 .widget-26-job-category span {
93 | font-size: 0.8125rem;
94 | color: #3c4142;
95 | font-weight: 600;
96 | }
97 |
98 | .widget-26 .widget-26-job-starred svg {
99 | width: 20px;
100 | height: 20px;
101 | color: #fd8b2c;
102 | }
103 |
104 | .widget-26 .widget-26-job-starred svg.starred {
105 | fill: #fd8b2c;
106 | }
107 | .bg-soft-base {
108 | background-color: #e1f5f7;
109 | }
110 | .bg-soft-warning {
111 | background-color: #fff4e1;
112 | }
113 | .bg-soft-success {
114 | background-color: #d1f6f2;
115 | }
116 | .bg-soft-danger {
117 | background-color: #fedce0;
118 | }
119 | .bg-soft-info {
120 | background-color: #d7efff;
121 | }
122 |
123 |
124 | .search-form {
125 | width: 80%;
126 | margin: 0 auto;
127 | margin-top: 1rem;
128 | }
129 |
130 | .search-form input {
131 | height: 100%;
132 | background: transparent;
133 | border: 0;
134 | display: block;
135 | width: 100%;
136 | padding: 1rem;
137 | height: 100%;
138 | font-size: 1rem;
139 | }
140 |
141 | .search-form select {
142 | background: transparent;
143 | border: 0;
144 | padding: 1rem;
145 | height: 100%;
146 | font-size: 1rem;
147 | }
148 |
149 | .search-form select:focus {
150 | border: 0;
151 | }
152 |
153 | .search-form button {
154 | height: 100%;
155 | width: 100%;
156 | font-size: 1rem;
157 | }
158 |
159 | .search-form button svg {
160 | width: 24px;
161 | height: 24px;
162 | }
163 |
164 | .search-body {
165 | margin-bottom: 1.5rem;
166 | }
167 |
168 | .search-body .search-filters .filter-list {
169 | margin-bottom: 1.3rem;
170 | }
171 |
172 | .search-body .search-filters .filter-list .title {
173 | color: #3c4142;
174 | margin-bottom: 1rem;
175 | }
176 |
177 | .search-body .search-filters .filter-list .filter-text {
178 | color: #727686;
179 | }
180 |
181 | .search-body .search-result .result-header {
182 | margin-bottom: 2rem;
183 | }
184 |
185 | .search-body .search-result .result-header .records {
186 | color: #3c4142;
187 | }
188 |
189 | .search-body .search-result .result-header .result-actions {
190 | text-align: right;
191 | display: flex;
192 | align-items: center;
193 | justify-content: space-between;
194 | }
195 |
196 | .search-body .search-result .result-header .result-actions .result-sorting {
197 | display: flex;
198 | align-items: center;
199 | }
200 |
201 | .search-body .search-result .result-header .result-actions .result-sorting span {
202 | flex-shrink: 0;
203 | font-size: 0.8125rem;
204 | }
205 |
206 | .search-body .search-result .result-header .result-actions .result-sorting select {
207 | color: #68CBD7;
208 | }
209 |
210 | .search-body .search-result .result-header .result-actions .result-sorting select option {
211 | color: #3c4142;
212 | }
213 |
214 | @media (min-width: 768px) and (max-width: 991.98px) {
215 | .search-body .search-filters {
216 | display: flex;
217 | }
218 | .search-body .search-filters .filter-list {
219 | margin-right: 1rem;
220 | }
221 | }
222 |
223 | .card-margin {
224 | margin-bottom: 1.875rem;
225 | }
226 |
227 | @media (min-width: 992px){
228 | .col-lg-2 {
229 | flex: 0 0 16.66667%;
230 | max-width: 16.66667%;
231 | }
232 | }
233 |
234 | .card-margin {
235 | margin-bottom: 1.875rem;
236 | }
237 | .card {
238 | border: 0;
239 | box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
240 | -webkit-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
241 | -moz-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
242 | -ms-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
243 | }
244 | .card {
245 | position: relative;
246 | display: flex;
247 | flex-direction: column;
248 | min-width: 0;
249 | word-wrap: break-word;
250 | background-color: #ffffff;
251 | background-clip: border-box;
252 | border: 1px solid #e6e4e9;
253 | border-radius: 8px;
254 | }
255 |
256 |
257 |
258 | img {
259 | display: block;
260 | width: 37%;
261 | margin: auto;
262 | }
--------------------------------------------------------------------------------
/documents/style/style.css:
--------------------------------------------------------------------------------
1 | body{
2 | background:#dcdcdc;
3 | margin-top:20px;}
4 |
5 | .widget-26 {
6 | color: #3c4142;
7 | font-weight: 400;
8 | }
9 |
10 | .widget-26 tr:first-child td {
11 | border: 0;
12 | }
13 |
14 | .widget-26 .widget-26-job-emp-img img {
15 | width: 35px;
16 | height: 35px;
17 | border-radius: 50%;
18 | }
19 |
20 | .widget-26 .widget-26-job-title {
21 | min-width: 200px;
22 | }
23 |
24 | .widget-26 .widget-26-job-title a {
25 | font-weight: 400;
26 | font-size: 0.875rem;
27 | color: #3c4142;
28 | line-height: 1.5;
29 | }
30 |
31 | .widget-26 .widget-26-job-title a:hover {
32 | color: #68CBD7;
33 | text-decoration: none;
34 | }
35 |
36 | .widget-26 .widget-26-job-title .employer-name {
37 | margin: 0;
38 | line-height: 1.5;
39 | font-weight: 400;
40 | color: #3c4142;
41 | font-size: 0.8125rem;
42 | color: #3c4142;
43 | }
44 |
45 | .widget-26 .widget-26-job-title .employer-name:hover {
46 | color: #68CBD7;
47 | text-decoration: none;
48 | }
49 |
50 | .widget-26 .widget-26-job-title .time {
51 | font-size: 12px;
52 | font-weight: 400;
53 | }
54 |
55 | .widget-26 .widget-26-job-info {
56 | min-width: 100px;
57 | font-weight: 400;
58 | }
59 |
60 | .widget-26 .widget-26-job-info p {
61 | line-height: 1.5;
62 | color: #3c4142;
63 | font-size: 0.8125rem;
64 | }
65 |
66 | .widget-26 .widget-26-job-info .location {
67 | color: #3c4142;
68 | }
69 |
70 | .widget-26 .widget-26-job-salary {
71 | min-width: 70px;
72 | font-weight: 400;
73 | color: #3c4142;
74 | font-size: 0.8125rem;
75 | }
76 |
77 | .widget-26 .widget-26-job-category {
78 | padding: .5rem;
79 | display: inline-flex;
80 | white-space: nowrap;
81 | border-radius: 15px;
82 | }
83 |
84 | .widget-26 .widget-26-job-category .indicator {
85 | width: 13px;
86 | height: 13px;
87 | margin-right: .5rem;
88 | float: left;
89 | border-radius: 50%;
90 | }
91 |
92 | .widget-26 .widget-26-job-category span {
93 | font-size: 0.8125rem;
94 | color: #3c4142;
95 | font-weight: 600;
96 | }
97 |
98 | .widget-26 .widget-26-job-starred svg {
99 | width: 20px;
100 | height: 20px;
101 | color: #fd8b2c;
102 | }
103 |
104 | .widget-26 .widget-26-job-starred svg.starred {
105 | fill: #fd8b2c;
106 | }
107 | .bg-soft-base {
108 | background-color: #e1f5f7;
109 | }
110 | .bg-soft-warning {
111 | background-color: #fff4e1;
112 | }
113 | .bg-soft-success {
114 | background-color: #d1f6f2;
115 | }
116 | .bg-soft-danger {
117 | background-color: #fedce0;
118 | }
119 | .bg-soft-info {
120 | background-color: #d7efff;
121 | }
122 |
123 |
124 | .search-form {
125 | width: 80%;
126 | margin: 0 auto;
127 | margin-top: 1rem;
128 | }
129 |
130 | .search-form input {
131 | height: 100%;
132 | background: transparent;
133 | border: 0;
134 | display: block;
135 | width: 100%;
136 | padding: 1rem;
137 | height: 100%;
138 | font-size: 1rem;
139 | }
140 |
141 | .search-form select {
142 | background: transparent;
143 | border: 0;
144 | padding: 1rem;
145 | height: 100%;
146 | font-size: 1rem;
147 | }
148 |
149 | .search-form select:focus {
150 | border: 0;
151 | }
152 |
153 | .search-form button {
154 | height: 100%;
155 | width: 100%;
156 | font-size: 1rem;
157 | }
158 |
159 | .search-form button svg {
160 | width: 24px;
161 | height: 24px;
162 | }
163 |
164 | .search-body {
165 | margin-bottom: 1.5rem;
166 | }
167 |
168 | .search-body .search-filters .filter-list {
169 | margin-bottom: 1.3rem;
170 | }
171 |
172 | .search-body .search-filters .filter-list .title {
173 | color: #3c4142;
174 | margin-bottom: 1rem;
175 | }
176 |
177 | .search-body .search-filters .filter-list .filter-text {
178 | color: #727686;
179 | }
180 |
181 | .search-body .search-result .result-header {
182 | margin-bottom: 2rem;
183 | }
184 |
185 | .search-body .search-result .result-header .records {
186 | color: #3c4142;
187 | }
188 |
189 | .search-body .search-result .result-header .result-actions {
190 | text-align: right;
191 | display: flex;
192 | align-items: center;
193 | justify-content: space-between;
194 | }
195 |
196 | .search-body .search-result .result-header .result-actions .result-sorting {
197 | display: flex;
198 | align-items: center;
199 | }
200 |
201 | .search-body .search-result .result-header .result-actions .result-sorting span {
202 | flex-shrink: 0;
203 | font-size: 0.8125rem;
204 | }
205 |
206 | .search-body .search-result .result-header .result-actions .result-sorting select {
207 | color: #68CBD7;
208 | }
209 |
210 | .search-body .search-result .result-header .result-actions .result-sorting select option {
211 | color: #3c4142;
212 | }
213 |
214 | @media (min-width: 768px) and (max-width: 991.98px) {
215 | .search-body .search-filters {
216 | display: flex;
217 | }
218 | .search-body .search-filters .filter-list {
219 | margin-right: 1rem;
220 | }
221 | }
222 |
223 | .card-margin {
224 | margin-bottom: 1.875rem;
225 | }
226 |
227 | @media (min-width: 992px){
228 | .col-lg-2 {
229 | flex: 0 0 16.66667%;
230 | max-width: 16.66667%;
231 | }
232 | }
233 |
234 | .card-margin {
235 | margin-bottom: 1.875rem;
236 | }
237 | .card {
238 | border: 0;
239 | box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
240 | -webkit-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
241 | -moz-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
242 | -ms-box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.1);
243 | }
244 | .card {
245 | position: relative;
246 | display: flex;
247 | flex-direction: column;
248 | min-width: 0;
249 | word-wrap: break-word;
250 | background-color: #ffffff;
251 | background-clip: border-box;
252 | border: 1px solid #e6e4e9;
253 | border-radius: 8px;
254 | }
255 |
256 |
257 |
258 | img {
259 | display: block;
260 | width: 37%;
261 | margin: auto;
262 | }
--------------------------------------------------------------------------------
/upload/index.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Wikipedia Search
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
25 |
26 |
27 |
28 |
29 |
183 |
184 |
185 | "opensearch",
201 | "search" => $search,
202 | "limit" => "100",
203 | "namespace" => "0",
204 | "format" => "json"
205 | ];
206 |
207 | $url = $endPoint . "?" . http_build_query($params);
208 |
209 | $ch = curl_init($url);
210 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
211 | $output = curl_exec($ch);
212 | curl_close($ch);
213 |
214 | $result = json_decode($output, true);
215 |
216 | // Loop through the search results and display relevant information
217 | for ($i = 0; $i < 100; $i++) {
218 | echo '
';
219 | echo '';
220 |
221 | // Wikipedia API request to get external links for the current result
222 | $endPoint = "https://".$languages.".wikipedia.org/w/api.php";
223 | $param = [
224 | "action" => "query",
225 | "titles" => $result[1][$i],
226 | "prop" => "extlinks",
227 | "format" => "json"
228 | ];
229 |
230 | $ur = $endPoint . "?" . http_build_query($param);
231 |
232 | $c = curl_init($ur);
233 | curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
234 | $outpu = curl_exec($c);
235 | curl_close($c);
236 |
237 | echo '
';
238 | $resul = json_decode($outpu, true);
239 |
240 | // Loop through the external links and display their status
241 | foreach ($resul["query"]["pages"] as $k => $v) {
242 |
243 | if (isset($v)) {
244 | foreach ($v as $k => $v) {
245 | if (!empty($v)) {
246 | foreach ($v as $k => $v) {
247 | if (isset($v)) {
248 | foreach ($v as $k => $v) {
249 | $check_url_status = check_url($v);
250 | if (check_url($v)) {
251 | echo "
$v ";
252 | } else {
253 | echo " $v ";
254 | }
255 | }
256 | }
257 | }}
258 | }}
259 |
260 |
261 |
262 | }
263 | echo '';
264 | echo "
";
265 | }}else{?>
266 |
267 |
268 |
269 |
270 |
271 |
273 |
274 |
275 |
276 |
277 |
278 |
--------------------------------------------------------------------------------